/* ==========================================================================
   Desh & Shane — Wedding Website
   Design tokens, layout and components.
   Palette and type per the approved handover (section 8, Visual system).
   ========================================================================== */

:root {
  /* Reception palette */
  --black:     #080808; /* primary background   */
  --charcoal:  #0B0A0A; /* secondary background */
  --gold:      #C8A067; /* primary accent       */
  --bronze:    #8C6638; /* secondary accent     */
  --ivory:     #F4EBDD; /* body text            */
  --red:       #B51F22; /* accent only, ~5%     */

  /* The approved rose reads at 3.0:1 on black — below AA for text. This tint
     keeps the same hue at 4.7:1 and is used ONLY where red carries words.
     Borders, ticks, glyphs and selected states keep --red exactly. */
  --red-text:  #C85759;

  --rule:        rgba(140, 102, 56, 0.4);
  --rule-soft:   rgba(140, 102, 56, 0.35);
  --rule-strong: rgba(200, 160, 103, 0.5);
  --ivory-80:    rgba(244, 235, 221, 0.82);
  --ivory-75:    rgba(244, 235, 221, 0.75);
  --ivory-70:    rgba(244, 235, 221, 0.7);
  --ivory-68:    rgba(244, 235, 221, 0.68);
  --ivory-60:    rgba(244, 235, 221, 0.6);
  --ivory-50:    rgba(244, 235, 221, 0.5);
  --field-bg:    rgba(244, 235, 221, 0.04);

  /* Mehndi palette — the one section where jewel tones may dominate */
  --m-plum-a:  #2B0E30;
  --m-plum-b:  #3A1030;
  --m-plum-c:  #1E0B22;
  --m-orange:  #E8912D;
  --m-pink:    #C2185B;
  --m-teal:    #1F8A8C;
  --m-rose:    #E06A9F;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'EB Garamond', Georgia, serif;

  --nav-h: 58px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--ivory); }

/* height:auto is load-bearing — every <img> carries width/height attributes
   (to reserve space and keep CLS at zero) and those act as a specified height
   that would otherwise beat aspect-ratio and object-fit sizing. */
img { max-width: 100%; height: auto; }

input::placeholder,
textarea::placeholder { color: rgba(244, 235, 221, 0.35); }

::selection { background: var(--gold); color: var(--black); }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: var(--black); }

[hidden] { display: none !important; }

/* Grows a small text link's touch area to 44px without shifting anything
   visually — used on the nav strip and the venue contact links. */
.tap-target { position: relative; }
.tap-target::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 44px;
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  12%  { opacity: 0.75; }
  100% { transform: translateY(-105vh) scale(0.6); opacity: 0; }
}
@keyframes drift {
  0%   { transform: translate(0, 0); opacity: 0; }
  12%  { opacity: 0.85; }
  55%  { transform: translate(20px, -48vh); opacity: 0.6; }
  100% { transform: translate(-16px, -92vh); opacity: 0; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes sectionReveal {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: none; }
}
@keyframes glowPulse {
  from { box-shadow: 0 0 22px rgba(232, 145, 45, 0.12); }
  to   { box-shadow: 0 0 46px rgba(232, 145, 45, 0.32); }
}

/* Scroll-linked reveal where supported; IntersectionObserver fallback
   (.reveal / .is-visible) elsewhere. Content is never left hidden. */
.reveal { position: relative; }

@supports (animation-timeline: view()) {
  .reveal {
    animation: sectionReveal 0.9s ease both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}
@supports not (animation-timeline: view()) {
  .js .reveal { opacity: 0; transform: translateY(36px); }
  .js .reveal.is-visible {
    animation: sectionReveal 0.9s ease both;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(72px, 10vw, 120px) 20px;
  scroll-margin-top: var(--nav-h);
}
.section--alt {
  background: var(--charcoal);
  border-top: 1px solid rgba(140, 102, 56, 0.3);
  border-bottom: 1px solid rgba(140, 102, 56, 0.3);
}
.section--alt-top {
  background: var(--charcoal);
  border-top: 1px solid rgba(140, 102, 56, 0.3);
}

.wrap      { max-width: 1060px; margin: 0 auto; }
.wrap--narrow { max-width: 760px; margin: 0 auto; }
.wrap--form   { max-width: 820px; margin: 0 auto; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.12;
  color: var(--ivory);
}
.section-title em,
.accent-italic {
  font-style: italic;
  color: var(--gold);
}

.rule {
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: var(--bronze);
}
.rule::before,
.rule::after {
  content: "";
  height: 1px;
  width: 56px;
  background: var(--bronze);
}
.rule span { font-size: 11px; }

.lede {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ivory-75);
  text-wrap: pretty;
}

/* Ambient particles (hero + mehndi) */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particles span {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  opacity: 0;
}
.particles--gold span {
  background: radial-gradient(circle, #F8E9C8, var(--gold) 70%);
  animation-name: rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.particles--jewel span {
  animation-name: drift;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 160, 103, 0.25);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  height: var(--nav-h);
}
.nav__mark {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.18em;
  color: var(--gold);
  white-space: nowrap;
}
.nav__mark em { font-style: italic; font-size: 16px; }

.nav__links {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 0;
}
.nav__links::-webkit-scrollbar { display: none; }

/* Fades the trailing edge only while the strip actually overflows, so the
   row reads as scrollable instead of arbitrarily clipped. */
.nav__links[data-scrollable="true"] {
  mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
}

/* Mobile menu button — hidden until the strip stops fitting. */
.nav__toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 10px 14px;
  min-height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gold);
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.nav__burger {
  display: block;
  position: relative;
  width: 22px;
  height: 14px;
}
.nav__burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 6.5px; }
.nav__burger span:nth-child(3) { top: 13px; }

.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__burger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.nav__links a {
  position: relative;
  color: rgba(244, 235, 221, 0.78);
  white-space: nowrap;
}
/* 44px touch area inside the 58px bar, without moving the label. */
.nav__mark,
.nav__links a { padding: 14px 0; }
.nav__links a:hover,
.nav__links a[aria-current="true"] { color: var(--gold); }
.nav__links a.is-primary { color: var(--gold); }
.nav__links a.is-primary:hover { color: var(--ivory); }

/* The nine-link strip needs ~930px to lay out without scrolling, so below
   that it becomes a drop-down panel behind the Menu button — phones and
   tablets both. Above it, the strip renders exactly as designed.
   Gated on .js so that without JavaScript the links stay a reachable
   horizontal scroller rather than a panel nothing can open. */
@media (max-width: 930px) {
  .js .nav__toggle { display: flex; }

  .js .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: block;
    gap: 0;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    /* Fully opaque and unfiltered: the panel is a child of the blurred nav,
       and a nested backdrop-filter lets the hero ghost through it. */
    background: var(--black);
    backdrop-filter: none;
    mask-image: none;
    transition: max-height 0.32s ease;
  }
  .js .nav__links[data-open="true"] {
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    border-bottom: 1px solid rgba(200, 160, 103, 0.25);
  }
  .js .nav__links a {
    display: block;
    padding: 17px 20px;
    border-top: 1px solid rgba(140, 102, 56, 0.28);
  }
  @media (prefers-reduced-motion: reduce) {
    .js .nav__links { transition: none; }
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 20px 70px;
}
.hero__photo {
  position: absolute;
  inset: 0;
  background-image: url("../../images/couple-portrait.jpeg");
  background-size: cover;
  background-position: center 22%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.72) 0%,
    rgba(8, 8, 8, 0.55) 40%,
    rgba(8, 8, 8, 0.88) 100%
  );
}
.hero__card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(200, 160, 103, 0.55);
  outline: 1px solid rgba(200, 160, 103, 0.2);
  outline-offset: 5px;
  padding: clamp(36px, 7vw, 64px) clamp(22px, 5vw, 56px);
  background: rgba(8, 8, 8, 0.35);
  animation: heroFade 1.2s ease both;
}
.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__names {
  margin: 26px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(52px, 11vw, 88px);
  line-height: 1.02;
  color: var(--ivory);
  letter-spacing: 0.06em;
}
.hero__names em {
  display: block;
  font-style: italic;
  font-size: clamp(24px, 4.5vw, 34px);
  color: var(--gold);
  letter-spacing: 0.1em;
  margin: 10px 0;
}
.hero__kind {
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__date {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: 0.14em;
  color: var(--ivory);
}
.hero__where {
  margin-top: 8px;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: rgba(244, 235, 221, 0.85);
}
.hero__cta {
  display: inline-block;
  margin-top: 32px;
  padding: 15px 34px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: rgba(11, 10, 10, 0.6);
  transition: all 0.25s;
}
.hero__cta:hover { background: var(--gold); color: var(--black); }

.hero .rule { margin-top: 26px; }

/* --------------------------------------------------------------------------
   Our celebration
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split--tight {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 5vw, 56px);
}

.prose {
  margin: 22px 0 0;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ivory-80);
  text-wrap: pretty;
}
.prose + .prose { margin-top: 16px; }

.signoff {
  margin-top: 26px;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
}

.framed {
  margin: 0;
  border: 1px solid rgba(200, 160, 103, 0.45);
  padding: 10px;
  background: var(--charcoal);
}
.framed img { display: block; width: 100%; height: auto; }

figure.figure { margin: 0; }
.figure figcaption {
  margin-top: 12px;
  text-align: center;
  font-style: italic;
  font-size: 15px;
  color: var(--ivory-60);
}
.rose { color: var(--red); }

.gallery {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.gallery__tile {
  border: 1px solid var(--rule);
  padding: 6px;
  background: var(--charcoal);
  aspect-ratio: 4 / 5;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.gallery__tile:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 160, 103, 0.7);
}
.gallery__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__tile img.pos-low { object-position: center 70%; }

/* Closing feature for the story section — the Paris collage. The artwork has
   its own gold border and wordmark, so it sits unframed. */
.story-feature {
  margin: clamp(40px, 6vw, 64px) auto 0;
  max-width: 900px;
}
.story-feature img {
  display: block;
  width: 100%;
  height: auto;
}
.story-feature figcaption {
  margin-top: 14px;
  text-align: center;
  font-style: italic;
  font-size: 15px;
  color: var(--ivory-60);
}

/* --------------------------------------------------------------------------
   Venue & directions
   -------------------------------------------------------------------------- */

.venue__photos {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.photo-frame {
  border: 1px solid var(--rule);
  padding: 6px;
  background: var(--black);
}
.photo-frame > div { overflow: hidden; }
.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s ease;
}
.photo-frame:hover img { transform: scale(1.05); }

.info-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  text-align: center;
}
.info-card {
  border: 1px solid var(--rule-soft);
  padding: 26px 20px;
}
.info-card__label {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.info-card p {
  margin: 12px 0 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(244, 235, 221, 0.85);
}
.info-card__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 3px;
}

.getting-there {
  margin-top: 36px;
  border: 1px solid var(--rule-soft);
  padding: 28px 24px;
}
.getting-there__label {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.getting-there__grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  text-align: center;
}
.getting-there h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  color: var(--ivory);
}
.getting-there p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ivory-70);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Programme
   -------------------------------------------------------------------------- */

.programme { text-align: center; }

.timeline {
  margin: 44px 0 0;
  text-align: left;
  border-bottom: 1px solid var(--rule-soft);
}
.timeline__row {
  display: grid;
  grid-template-columns: minmax(88px, 110px) 1px 1fr;
  gap: clamp(16px, 4vw, 32px);
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--rule-soft);
}
.timeline__time {
  font-family: var(--display);
  font-size: clamp(22px, 3.5vw, 27px);
  color: var(--gold);
  letter-spacing: 0.04em;
}
.timeline__stem {
  background: rgba(140, 102, 56, 0.5);
  height: 100%;
  min-height: 44px;
}
.timeline__label {
  font-size: 15px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ivory);
}
.timeline__detail {
  margin: 8px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ivory-68);
  text-wrap: pretty;
}

.cal-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cal-btn {
  position: relative;
  padding: 12px 22px;
  border: 1px solid rgba(140, 102, 56, 0.6);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  transition: all 0.25s;
}
.cal-btn:hover {
  border-color: var(--gold);
  background: rgba(200, 160, 103, 0.08);
  color: var(--gold);
}
/* The design's compact calendar chips sit just under the 44px touch
   minimum; this lifts the hit area without changing how they look. */
.cal-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 44px;
  transform: translateY(-50%);
}

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

.rsvp__notice,
.rsvp__thanks {
  margin-top: 44px;
  border: 1px solid var(--rule-strong);
  text-align: center;
}
.rsvp__notice { padding: 44px 28px; }
.rsvp__thanks { padding: 48px 28px; animation: popIn 0.5s ease both; }

.rsvp__notice-title {
  font-family: var(--display);
  font-size: 30px;
  color: var(--gold);
  font-style: italic;
}
.rsvp__notice p,
.rsvp__thanks p {
  margin: 16px auto 0;
  max-width: 480px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(244, 235, 221, 0.78);
}

.tick {
  width: 64px; height: 64px;
  margin: 0 auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--red);
}
.rsvp__thanks-title {
  margin-top: 22px;
  font-family: var(--display);
  font-size: 32px;
  color: var(--ivory);
}

.btn-ghost {
  margin-top: 26px;
  padding: 12px 26px;
  background: transparent;
  border: 1px solid rgba(140, 102, 56, 0.6);
  color: var(--gold);
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--gold); }

.form-card {
  margin-top: 44px;
  border: 1px solid var(--rule);
  padding: clamp(24px, 5vw, 44px);
  background: var(--black);
}
.form-label {
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-label + .field-grid,
.form-label + .choice-row { margin-top: 14px; }

.field-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--field-bg);
  border: 1px solid rgba(140, 102, 56, 0.5);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 16px;
  outline: none;
}
.field:focus { border-color: var(--gold); }
textarea.field {
  margin-top: 14px;
  line-height: 1.6;
  resize: vertical;
}

.stack-gap { margin-top: 32px; }

.choice-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.choice {
  flex: 1;
  min-width: 140px;
  min-height: 50px;
  padding: 13px 20px;
  font-family: var(--body);
  font-size: 13.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  border: 1px solid rgba(140, 102, 56, 0.6);
  color: rgba(244, 235, 221, 0.85);
}
.choice:hover { border-color: var(--gold); }
.choice[aria-checked="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.guest-card {
  margin-top: 30px;
  border: 1px solid var(--rule);
  padding: clamp(18px, 4vw, 28px);
  background: var(--charcoal);
}
.guest-card__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.guest-card__title {
  font-family: var(--display);
  font-size: 24px;
  color: var(--gold);
}
.guest-card__hint {
  font-size: 13px;
  color: var(--ivory-50);
  font-style: italic;
}
.guest-card .field { margin-top: 14px; }

.menu-pref { margin-top: 22px; }
.menu-pref__label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-60);
}
.menu-pref__options {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.menu-option {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  transition: all 0.2s;
  min-height: 44px;
  border: 1px solid rgba(140, 102, 56, 0.45);
  background: rgba(244, 235, 221, 0.02);
  font-family: var(--body);
}
.menu-option:hover { border-color: var(--gold); }
.menu-option[aria-checked="true"] {
  border-color: var(--gold);
  background: rgba(200, 160, 103, 0.08);
}

/* Square tick box, checkbox-style. Selection stays single-choice — the
   caterer needs exactly one meal per guest. */
.menu-option__box {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1px solid rgba(200, 160, 103, 0.6);
  background: rgba(8, 8, 8, 0.6);
  transition: border-color 0.2s, background 0.2s;
}
.menu-option__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0.6);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.menu-option[aria-checked="true"] .menu-option__box {
  background: var(--gold);
  border-color: var(--gold);
}
.menu-option[aria-checked="true"] .menu-option__box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.menu-option__text { display: block; }
.menu-option__name {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  color: var(--ivory);
}
.menu-option__desc {
  margin: 5px 0 0;
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ivory-60);
}

.form-error {
  margin-top: 22px;
  font-size: 15px;
  color: var(--red-text);
}

.btn-submit {
  margin-top: 28px;
  width: 100%;
  min-height: 54px;
  padding: 15px 34px;
  background: var(--charcoal);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-submit:hover { background: var(--gold); color: var(--black); }
.btn-submit[disabled] { opacity: 0.6; cursor: progress; }

.form-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13.5px;
  font-style: italic;
  color: var(--ivory-50);
}

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

.menu-intro {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(244, 235, 221, 0.8);
  text-wrap: pretty;
}

.course { margin-top: clamp(48px, 7vw, 72px); }
.course__head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.course__label {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--gold);
  font-style: italic;
  margin: 0;
}
.course__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.course__dishes {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.dish {
  border: 1px solid var(--rule);
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
}
.dish__media {
  padding: 6px 6px 0;
}
.dish__media > div { overflow: hidden; aspect-ratio: 4 / 3; }
.dish__media img {
  display: block;
  width: 100%;
  height: 100%;          /* the wrapper's aspect-ratio sets the box */
  object-fit: cover;
  transition: transform 0.7s ease;
}
.dish:hover .dish__media img { transform: scale(1.06); }
.dish__body { padding: 18px 20px 22px; }
.dish__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 23px;
  color: var(--ivory);
}
.dish__desc {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ivory-68);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Attire
   -------------------------------------------------------------------------- */

/* Two stacked wide shots: one black tie, one traditional. They are group
   photographs, so they run full width and uncropped — the point is to read
   what people are wearing. */
.attire__media {
  display: grid;
  gap: 14px;
}
.attire__media figure {
  margin: 0;
  border: 1px solid var(--rule);
  padding: 6px;
  background: var(--black);
}
.attire__media img {
  display: block;
  width: 100%;
  height: auto;
}
.attire__note {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ivory-60);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Gifts
   -------------------------------------------------------------------------- */

.gifts {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--rule-strong);
  outline: 1px solid rgba(200, 160, 103, 0.18);
  outline-offset: 5px;
  padding: clamp(40px, 7vw, 64px) clamp(24px, 5vw, 48px);
}
.gifts__title {
  margin: 18px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.15;
  color: var(--ivory);
}
.gifts .rule { margin-top: 22px; }
.gifts .rule::before,
.gifts .rule::after { width: 48px; }
.gifts .rule span { font-size: 14px; color: var(--red); }
.gifts p {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(244, 235, 221, 0.8);
}

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

.hotels {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.hotel {
  border: 1px solid var(--rule);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--charcoal);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.hotel:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 160, 103, 0.7);
}
.hotel--venue { border-color: var(--rule-strong); }
.hotel__flag {
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-50);
}
/* No colour override: the venue card's label matches "Nearby option" on the
   other two. Its gold border already marks it out. */
.hotel__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ivory);
}
.hotel p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ivory-70);
  flex: 1;
  text-wrap: pretty;
}
.hotel__cta {
  display: block;
  text-align: center;
  padding: 13px 18px;
  border: 1px solid rgba(140, 102, 56, 0.7);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.hotel--venue .hotel__cta { border-color: var(--gold); }
.hotel__cta:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--rule-soft);
}
.faq-item { border-bottom: 1px solid var(--rule-soft); }
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 20px 4px;
  min-height: 52px;
  text-align: left;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(19px, 3vw, 23px);
}
.faq-item__chev {
  font-size: 26px;
  color: var(--gold);
  line-height: 1;
  flex: none;
  transition: transform 0.3s ease;
}
.faq-item__q[aria-expanded="true"] .faq-item__chev { transform: rotate(45deg); }
.faq-item__a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.3s ease;
}
.faq-item__a.is-open { max-height: 320px; opacity: 1; }
.faq-item__a p {
  margin: 0;
  padding: 0 4px 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ivory-75);
  font-family: var(--body);
  text-wrap: pretty;
}
.faq-foot {
  margin: 28px 0 0;
  text-align: center;
  font-style: italic;
  font-size: 15.5px;
  color: rgba(244, 235, 221, 0.55);
}

/* Without JS every answer stays open and readable. */
html:not(.js) .faq-item__a { max-height: none; opacity: 1; }
html:not(.js) .faq-item__chev { display: none; }

/* --------------------------------------------------------------------------
   Mehndi Night
   -------------------------------------------------------------------------- */

.mehndi {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 20px;
  background: linear-gradient(160deg, var(--m-plum-a) 0%, var(--m-plum-b) 45%, var(--m-plum-c) 100%);
  border-top: 1px solid rgba(200, 160, 103, 0.4);
  scroll-margin-top: var(--nav-h);
}
.mehndi__eyebrow {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--m-orange);
}
.mehndi__title {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 56px);
  color: var(--ivory);
}
.mehndi__title em { font-style: italic; color: var(--gold); }
.mehndi__theme {
  margin-top: 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 3vw, 22px);
  color: var(--m-rose);
}
.mehndi__rule {
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.mehndi__rule::before,
.mehndi__rule::after {
  content: "";
  height: 1px;
  width: 44px;
}
.mehndi__rule::before { background: var(--m-pink); }
.mehndi__rule::after  { background: var(--m-teal); }
.mehndi__rule span { font-size: 11px; color: var(--m-orange); }

.mehndi__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.mehndi__invite-wrap {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.mehndi__invite {
  border: 1px solid rgba(232, 145, 45, 0.55);
  outline: 1px solid rgba(194, 24, 91, 0.35);
  outline-offset: 5px;
  padding: 8px;
  background: var(--m-plum-c);
  animation: glowPulse 3.4s ease-in-out infinite alternate;
  transition: transform 0.4s ease;
}
.mehndi__invite:hover { transform: scale(1.01); }
.mehndi__invite img { display: block; width: 100%; height: auto; }

.detail-list { display: grid; gap: 12px; }
.detail-list > div {
  display: flex;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid rgba(232, 145, 45, 0.3);
  padding-bottom: 12px;
}
.detail-list dt,
.detail-list__key {
  width: 88px;
  flex: none;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--m-orange);
}
.detail-list dd,
.detail-list__val {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ivory);
  text-wrap: pretty;
}
.detail-list a { font-size: 13px; letter-spacing: 0.14em; white-space: nowrap; }

.mehndi-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cal-btn--mehndi {
  padding: 11px 18px;
  border: 1px solid rgba(232, 145, 45, 0.5);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--m-orange);
}
.cal-btn--mehndi:hover {
  border-color: var(--m-orange);
  background: rgba(232, 145, 45, 0.08);
  color: var(--m-orange);
}

.mehndi__notice,
.mehndi__thanks,
.mehndi__form {
  margin-top: 32px;
  background: rgba(30, 11, 34, 0.6);
}
.mehndi__notice {
  border: 1px solid rgba(232, 145, 45, 0.5);
  padding: 32px 24px;
  text-align: center;
}
.mehndi__notice-title {
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
  color: var(--m-orange);
}
.mehndi__notice p,
.mehndi__thanks p {
  margin: 12px auto 0;
  max-width: 400px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 235, 221, 0.8);
}
.mehndi__thanks {
  border: 1px solid rgba(232, 145, 45, 0.55);
  padding: 36px 24px;
  text-align: center;
  animation: popIn 0.5s ease both;
}
.tick--mehndi {
  width: 56px; height: 56px;
  border-color: var(--m-orange);
  font-size: 22px;
  color: var(--m-rose);
}
.mehndi__thanks-title {
  margin-top: 18px;
  font-family: var(--display);
  font-size: 27px;
  color: var(--ivory);
}
.btn-ghost--mehndi {
  margin-top: 22px;
  padding: 11px 22px;
  border-color: rgba(232, 145, 45, 0.5);
  color: var(--m-orange);
  font-size: 11.5px;
  letter-spacing: 0.24em;
}
.btn-ghost--mehndi:hover { border-color: var(--m-orange); }

.mehndi__form {
  border: 1px solid rgba(232, 145, 45, 0.45);
  padding: clamp(20px, 4vw, 32px);
}
.form-label--mehndi { color: var(--m-orange); }
.field--mehndi {
  margin-top: 16px;
  background: rgba(244, 235, 221, 0.05);
  border-color: rgba(232, 145, 45, 0.45);
}
.field--mehndi:focus { border-color: var(--m-orange); }

.choice-row--mehndi { margin-top: 16px; gap: 10px; }
.choice-row--mehndi + .choice-row--mehndi { margin-top: 18px; }
.choice--mehndi {
  border-color: rgba(232, 145, 45, 0.45);
}
.choice--mehndi:hover { border-color: var(--m-orange); }
.choice--mehndi[aria-checked="true"] {
  background: var(--m-orange);
  border-color: var(--m-orange);
  color: var(--m-plum-c);
}
.form-error--mehndi { margin-top: 16px; color: var(--m-rose); }

.btn-submit--mehndi {
  margin-top: 22px;
  min-height: 50px;
  padding: 13px 26px;
  background: transparent;
  border-color: var(--m-orange);
  color: var(--m-orange);
  font-size: 12.5px;
  letter-spacing: 0.28em;
}
.btn-submit--mehndi:hover {
  background: var(--m-orange);
  color: var(--m-plum-c);
}

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

.site-footer {
  padding: 64px 20px 48px;
  text-align: center;
  border-top: 1px solid var(--rule-soft);
}
.site-footer__mark {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.site-footer__mark em { font-style: italic; font-size: 22px; }
.site-footer__meta {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-60);
}
.site-footer .rule { margin-top: 20px; }
.site-footer .rule::before,
.site-footer .rule::after { width: 40px; }
.site-footer .rule span { font-size: 12px; color: var(--red); }
.site-footer p {
  margin: 18px auto 0;
  max-width: 420px;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: var(--ivory-75);
}
