/* ============================================================
   LE CAVEAU — European wine cellar meets modern Dallas luxury
   ============================================================ */

:root {
  --wine: #5a1220;
  --wine-deep: #3e0c17;
  --charcoal: #1b1816;
  --charcoal-soft: #262220;
  --ivory: #f4eee2;
  --ivory-dim: #e6ddc9;
  --olive: #6b7350;
  --gold: #c2a14d;
  --gold-soft: rgba(194, 161, 77, 0.35);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

/* Grain texture over the whole experience */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--wine); color: var(--ivory); }

/* ---------- Typography ---------- */

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  text-transform: uppercase;
}

h1, h2, h3 { text-wrap: balance; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1.4rem;
}

.eyebrow--light { color: var(--gold); }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 1.4rem;
}

p + p { margin-top: 1.1rem; }

/* ---------- Layout ---------- */

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section { padding: clamp(5rem, 10vw, 9rem) 0; }

.center { text-align: center; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.section-head { max-width: 640px; margin-bottom: clamp(3rem, 5vw, 5rem); }
.section-head .display { margin-bottom: 1.5rem; }

.section-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(27, 24, 22, 0.75);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.4rem;
  border: 1px solid transparent;
  transition: background 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease), transform 0.6s var(--ease);
  cursor: pointer;
}

.btn-solid { background: var(--wine); color: var(--ivory); }
.btn-solid:hover { background: var(--wine-deep); transform: translateY(-2px); }

.btn-outline { border-color: rgba(244, 238, 226, 0.65); color: var(--ivory); }
.btn-outline:hover { border-color: var(--ivory); background: rgba(244, 238, 226, 0.08); transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: #d4b469; transform: translateY(-2px); }

.btn-ghost { border-color: rgba(27, 24, 22, 0.35); color: var(--charcoal); padding: 0.8rem 1.8rem; }
.btn-ghost:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.text-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--wine);
  position: relative;
  padding-bottom: 6px;
}

.text-link .line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.text-link:hover .line { transform: scaleX(1); }
.text-link--gold { color: var(--gold); }
.text-link--dark { color: var(--charcoal); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease), padding 0.5s var(--ease);
  padding: 1.4rem 0;
}

.site-header.is-solid {
  background: rgba(27, 24, 22, 0.96);
  padding: 0.8rem 0;
  box-shadow: 0 1px 0 rgba(194, 161, 77, 0.25);
}

.header-inner {
  width: min(1280px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.main-nav { display: flex; gap: 2.2rem; }

.main-nav a {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 238, 226, 0.8);
  transition: color 0.4s var(--ease);
}

.main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 1.6rem; flex-shrink: 0; }

.header-link {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(244, 238, 226, 0.8);
  transition: color 0.4s var(--ease);
}

.header-link:hover { color: var(--gold); }
.header-link--accent { color: var(--gold); }
.header-link--accent:hover { color: var(--ivory); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 120;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ivory);
  margin: 0 auto;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--wine-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu nav { text-align: center; }

.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.8rem);
  color: var(--ivory);
  text-decoration: none;
  padding: 0.55rem 0;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
}

.mobile-menu.is-open a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.18s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.26s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.34s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 0.42s; }
.mobile-menu a:hover { color: var(--gold); }

.mobile-menu-meta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 238, 226, 0.55);
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.5s;
}

.mobile-menu.is-open .mobile-menu-meta { opacity: 1; }

.mobile-menu-meta a { font-family: var(--sans); font-size: 0.72rem; color: var(--gold); padding: 0; opacity: 1; transform: none; }

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

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(27, 24, 22, 0.28) 0%, rgba(27, 24, 22, 0.62) 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; padding: 0 5%; }

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  line-height: 1;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--ivory-dim);
  margin-top: 1.2rem;
}

.hero-line {
  margin: 2.2rem auto 0;
  max-width: 540px;
  color: rgba(244, 238, 226, 0.85);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.hero-ctas {
  margin-top: 3rem;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(244, 238, 226, 0.55);
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 44px;
  margin: 10px auto 0;
  background: linear-gradient(to bottom, rgba(244, 238, 226, 0.6), transparent);
  animation: drip 2.4s var(--ease) infinite;
}

@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Philosophy ---------- */

.philosophy { background: var(--ivory); }

.philosophy .split-body {
  padding-top: 0.6rem;
  color: rgba(27, 24, 22, 0.8);
}

.philosophy-strip {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  margin-top: clamp(4rem, 8vw, 7rem);
  align-items: stretch;
}

.philosophy-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.philosophy-quote {
  background: var(--wine);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 4vw, 4rem);
}

.philosophy-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.4;
}

.philosophy-quote cite {
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Selection ---------- */

.section--dark {
  background: var(--charcoal);
  color: var(--ivory);
}

.section--dark .section-lede { color: rgba(244, 238, 226, 0.7); }

.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sel-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  background: var(--charcoal-soft);
}

.sel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
  filter: saturate(0.85);
}

.sel-card:hover img { transform: scale(1.06); filter: saturate(1.05); }

.sel-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 8, 0.85) 0%, rgba(20, 10, 8, 0.15) 55%, transparent 100%);
  transition: background 0.8s var(--ease);
}

.sel-card:hover .sel-card-veil { background: linear-gradient(to top, rgba(90, 18, 32, 0.85) 0%, rgba(20, 10, 8, 0.2) 60%, transparent 100%); }

.sel-card-text {
  position: absolute;
  left: 1.8rem;
  bottom: 1.6rem;
  right: 1.8rem;
  z-index: 1;
  color: var(--ivory);
}

.sel-card-text h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sel-card-text span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244, 238, 226, 0.65);
}

.sel-card .btn-gold { margin-top: 4rem; }
.selection .center { margin-top: 4rem; }

/* ---------- Pairing ---------- */

.pairing { background: var(--ivory); }

.pairing-stage { margin-top: 1rem; }

.pairing-menu {
  border-top: 1px solid rgba(27, 24, 22, 0.18);
  border-bottom: 1px solid rgba(27, 24, 22, 0.18);
  padding: 1.6rem 0 1.8rem;
  margin-bottom: 3.5rem;
}

.pairing-question {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  margin-bottom: 1.4rem;
  color: var(--wine);
}

.pairing-tabs { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.pairing-tab {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  background: none;
  border: 1px solid rgba(27, 24, 22, 0.3);
  color: var(--charcoal);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.5s var(--ease);
}

.pairing-tab:hover { border-color: var(--wine); color: var(--wine); }

.pairing-tab.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--ivory);
}

.pairing-view {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}

.pairing-view.is-fading { opacity: 0; }

.pairing-photo {
  position: relative;
  overflow: hidden;
}

.pairing-photo::before {
  content: "";
  display: block;
  padding-top: 70%;
}

.pairing-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pairing-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 238, 226, 0.35);
  pointer-events: none;
}

.pairing-detail { color: rgba(27, 24, 22, 0.82); }

.pairing-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.pairing-copy { margin-bottom: 1.8rem; }

.pairing-wines { list-style: none; border-top: 1px solid rgba(27, 24, 22, 0.15); }

.pairing-wines li {
  display: flex;
  gap: 1.4rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(27, 24, 22, 0.15);
  align-items: baseline;
}

.pairing-wines .wine-region {
  flex-shrink: 0;
  width: 108px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}

.pairing-wines .wine-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--wine);
  white-space: nowrap;
}

.pairing-wines .wine-note { font-size: 0.88rem; color: rgba(27, 24, 22, 0.7); }

/* ---------- Library ---------- */

.library { background: var(--wine-deep); color: var(--ivory); }
.library .lede { color: var(--ivory); }

.library-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.library-media {
  position: relative;
  padding-bottom: 4.5rem;
}

.library-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.library-media-inset {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 52%;
  border: 6px solid var(--wine-deep);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.library-text { color: rgba(244, 238, 226, 0.78); }

/* ---------- Events ---------- */

.events { background: var(--ivory); }

.event-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.event-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(27, 24, 22, 0.14);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(27, 24, 22, 0.12);
  border-color: rgba(194, 161, 77, 0.6);
}

.event-date {
  background: var(--wine);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

.event-day {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
}

.event-month {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-body { padding: 1.8rem 2rem; }

.event-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--charcoal);
}

.event-meta {
  margin: 0.5rem 0 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive);
}

.event-body p { font-size: 0.95rem; color: rgba(27, 24, 22, 0.72); }

.event-rsvp { margin-top: 1.3rem; }

.events .center { margin-top: 3.5rem; }

/* ---------- People ---------- */

.people { background: var(--ivory); padding-top: 0; }

.people .split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.people .split-body, .people .split-text { color: rgba(27, 24, 22, 0.8); }

/* ---------- Visit ---------- */

.visit { background: var(--charcoal); color: var(--ivory); }

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.visit-info address { font-style: normal; }

.visit-name {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.visit-info p { color: rgba(244, 238, 226, 0.8); }

.visit-phone {
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  transition: color 0.4s var(--ease);
}

.visit-phone:hover { color: var(--gold); }

.hours {
  margin: 2.2rem 0;
  width: 100%;
  border-collapse: collapse;
  max-width: 460px;
}

.hours td {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(244, 238, 226, 0.14);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(244, 238, 226, 0.8);
}

.hours td:first-child { text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.26em; }
.hours td:last-child { text-align: right; color: var(--gold); }

.visit-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.visit-map iframe {
  width: 100%;
  height: 480px;
  filter: grayscale(0.6) contrast(1.05);
  display: block;
  border: 1px solid rgba(194, 161, 77, 0.35);
}

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

.rsvp-wrap {
  margin-top: clamp(4rem, 7vw, 6rem);
  border-top: 1px solid rgba(244, 238, 226, 0.16);
  padding-top: clamp(3rem, 5vw, 4rem);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.rsvp-head { text-align: center; margin-bottom: 2.5rem; }

.rsvp-head h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ivory);
}

.rsvp-head p { color: rgba(244, 238, 226, 0.65); margin-top: 0.6rem; font-size: 0.92rem; }

.rsvp-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(244, 238, 226, 0.3);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.9rem 0.2rem;
  margin-bottom: 1.2rem;
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder { color: rgba(244, 238, 226, 0.45); }

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus { outline: none; border-bottom-color: var(--gold); }

.rsvp-form select { color: var(--ivory); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c2a14d' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.4rem center; }
.rsvp-form select option { background: var(--charcoal); color: var(--ivory); }

.rsvp-form textarea { resize: vertical; }

.rsvp-form .btn { display: block; margin: 1.5rem auto 0; min-width: 220px; }

.form-status { text-align: center; margin-top: 1.2rem; font-size: 0.9rem; min-height: 1.4em; }

/* ---------- Finale ---------- */

.finale {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--wine-deep);
}

.finale-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.finale-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 8, 0.55);
}

.finale-content {
  position: relative;
  z-index: 1;
  padding: 0 5%;
  color: var(--ivory);
}

.finale-content .display { font-size: clamp(3rem, 8vw, 6.5rem); }
.finale-content p {
  margin: 1.6rem auto 2.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: rgba(244, 238, 226, 0.88);
}

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

.site-footer {
  background: var(--charcoal);
  color: rgba(244, 238, 226, 0.7);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid rgba(194, 161, 77, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244, 238, 226, 0.1);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.24em;
  color: var(--ivory);
}

.footer-tag { margin-top: 0.6rem; font-size: 0.78rem; letter-spacing: 0.12em; }

.footer-head {
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.footer-grid p { font-size: 0.85rem; line-height: 1.8; }

.footer-grid a { color: inherit; text-decoration: none; transition: color 0.4s var(--ease); }
.footer-grid a:hover { color: var(--gold); }

.footer-legal {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(244, 238, 226, 0.45);
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Parallax hint on the finale */
@media (prefers-reduced-motion: no-preference) {
  .finale-bg { will-change: transform; transform: scale(1.08); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .selection-grid { grid-template-columns: repeat(2, 1fr); }
  .pairing-view { grid-template-columns: 1fr; }
  .pairing-photo::before { padding-top: 58%; }
  .library-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-link { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split--media-first .split-media { order: -1; }
  .philosophy-strip { grid-template-columns: 1fr; }
  .philosophy-img { min-height: 300px; }
  .event-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .selection-grid { grid-template-columns: 1fr; }
  .sel-card { aspect-ratio: 16 / 10; }
  .rsvp-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .event-card { grid-template-columns: 84px 1fr; }
  .event-body { padding: 1.3rem 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-ctas .btn { width: 100%; }
  .library-media-inset { display: none; }
  .library-media { padding-bottom: 0; }
}
