:root {
  --bg: #121b17;
  --bg-soft: #1a2620;
  --panel: rgba(250, 253, 250, 0.96);
  --ink: #17221d;
  --cream: #fbf5e8;
  --cream-muted: rgba(251, 245, 232, 0.76);
  --muted: #6e7a70;
  --line: rgba(230, 209, 166, 0.28);
  --gold: #d8bd78;
  --gold-soft: #efe0b0;
  --emerald: #0f5f49;
  --emerald-deep: #092d25;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--bg);
  font-family: var(--sans);
}

body.has-lightbox {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 20px;
  left: 50%;
  display: flex;
  width: min(1500px, calc(100% - 56px));
  align-items: center;
  padding: 12px 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(239, 224, 176, 0.42);
  border-radius: 8px;
  background: rgba(24, 29, 25, 0.45);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 96px;
  height: 60px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 189, 120, 0.32);
  border-radius: 8px;
  background: #6f1028;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 4px;
  line-height: 1;
}

.brand-name {
  color: var(--cream);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
}

.brand-line {
  color: var(--gold-soft);
  font-size: 0.83rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  padding: 170px 24px 80px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(18, 27, 23, 0.78) 0%, rgba(18, 27, 23, 0.45) 46%, rgba(18, 27, 23, 0.2) 100%),
    linear-gradient(180deg, rgba(18, 27, 23, 0.02), rgba(18, 27, 23, 0.5) 76%, var(--bg) 100%),
    url("assets/kupa-hero-placeholder.jpg") center / cover;
  filter: saturate(1.16) contrast(1.08);
}

.hero-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 82% 44%, rgba(239, 224, 176, 0.12), transparent 32%),
    radial-gradient(circle at 18% 22%, rgba(239, 224, 176, 0.08), transparent 34%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1400px, 100%);
  min-height: calc(92svh - 250px);
  align-items: end;
  margin: 0 auto;
}

.hero-content {
  max-width: 900px;
}

h1 {
  max-width: 950px;
  margin-bottom: 18px;
  color: #fff8e9;
  font-size: clamp(3.4rem, 7vw, 8rem);
  line-height: 0.94;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.24);
}

.hero-eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  font-weight: 900;
}

.hero-subtitle {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-size: clamp(1.25rem, 2vw, 2.05rem);
  font-weight: 900;
}

.hero-date {
  margin: 0 0 28px;
  color: var(--cream);
  font-size: clamp(1.55rem, 3.2vw, 3rem);
  font-weight: 900;
}

.hero-text,
.hero-signature {
  max-width: 820px;
  color: rgba(255, 250, 237, 0.88);
  font-size: clamp(1.03rem, 1.35vw, 1.38rem);
  line-height: 1.62;
}

.hero-text {
  margin-bottom: 30px;
}

.hero-signature {
  margin: 0;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 30px;
  font: 800 1rem var(--sans);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--cream);
  background: linear-gradient(135deg, #0f6f55, #0b4939);
  box-shadow: 0 18px 34px rgba(8, 49, 38, 0.32);
}

.button.secondary {
  color: var(--ink);
  background: linear-gradient(135deg, #efe0b0, #d8bd78);
  box-shadow: 0 18px 36px rgba(120, 83, 31, 0.2), inset 0 0 0 1px rgba(23, 34, 29, 0.18);
}

.button.wide {
  width: 100%;
}

.section {
  width: min(1400px, calc(100% - 56px));
  margin: 0 auto;
  padding: 86px 0;
}

.pitch-section {
  max-width: 960px;
  padding-top: 58px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(239, 224, 176, 0.22);
}

.pitch-section p {
  color: rgba(251, 245, 232, 0.78);
  font-size: clamp(1.08rem, 1.5vw, 1.45rem);
  line-height: 1.75;
}

.signature {
  margin-bottom: 0;
  color: var(--gold-soft) !important;
  font-weight: 900;
}

.section-heading.compact {
  max-width: 980px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 14px;
  color: var(--cream);
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  line-height: 0.98;
}

.section-heading p {
  margin-bottom: 0;
  color: rgba(251, 245, 232, 0.74);
  font-size: 1.08rem;
  line-height: 1.7;
}

.itinerary-section {
  position: relative;
}

.journey-layout {
  display: block;
}

.itinerary-list {
  display: grid;
  gap: 18px;
}

.itinerary-card {
  overflow: hidden;
  border: 1px solid rgba(121, 157, 165, 0.34);
  border-radius: 8px;
  padding: 0 0 26px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(250, 253, 250, 0.98), rgba(230, 243, 247, 0.95));
  box-shadow: 0 20px 58px rgba(23, 34, 29, 0.13);
}

.itinerary-image {
  margin: 0 0 24px;
  background: rgba(18, 27, 23, 0.08);
}

.itinerary-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.itinerary-card time {
  display: inline-flex;
  margin: 0 26px 12px;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--cream);
  background: var(--emerald);
  font-size: 0.78rem;
  font-weight: 900;
}

.itinerary-card h3 {
  margin: 0 26px 10px;
  color: var(--emerald-deep);
  font-size: clamp(1.42rem, 2vw, 2rem);
  line-height: 1.1;
}

.itinerary-card p {
  margin: 0 26px;
  color: #516158;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.68;
}

.itinerary-card p + p {
  margin-top: 14px;
}

.feature-card {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(239, 224, 176, 0.72));
}

.included-list,
.rsvp-form,
.deadline-note {
  border: 1px solid rgba(121, 157, 165, 0.34);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.included-list {
  padding: 28px;
}

.included-main,
.included-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 22px;
  margin: 0 0 24px;
  padding-left: 1.1rem;
}

.included-list li {
  color: var(--emerald-deep);
  font-weight: 900;
  line-height: 1.35;
}

.included-highlights {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.included-highlights li {
  color: var(--emerald-deep);
  line-height: 1.55;
}

.resort-groups,
.room-list {
  display: grid;
  gap: 24px;
}

.resort-group,
.room-row {
  border: 1px solid rgba(121, 157, 165, 0.34);
  border-radius: 8px;
  padding: 24px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(250, 253, 250, 0.96), rgba(230, 243, 247, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.resort-group h3,
.room-copy h3 {
  margin: 0 0 18px;
  font-size: 1.5rem;
}

.gallery-grid {
  display: grid;
  gap: 12px;
}

.resort-gallery {
  grid-template-columns: repeat(4, 1fr);
}

.room-gallery {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(18, 27, 23, 0.08);
}

.gallery-item button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-more {
  min-height: 100%;
  border: 1px solid rgba(15, 95, 73, 0.24);
  border-radius: 8px;
  padding: 18px;
  color: var(--emerald-deep);
  background: rgba(239, 224, 176, 0.48);
  font: 900 1rem var(--sans);
  cursor: zoom-in;
  transition: transform 160ms ease, background 160ms ease;
}

.gallery-more:hover {
  transform: translateY(-1px);
  background: rgba(239, 224, 176, 0.72);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.room-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: start;
}

.room-copy p {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 900;
}

.room-copy strong {
  color: var(--emerald);
  font-size: 1.08rem;
}

.room-price-note {
  margin: 22px 0 0;
  color: var(--cream);
  font-weight: 900;
}

.booking-note {
  margin: 24px 0 0;
  border: 1px solid rgba(239, 224, 176, 0.32);
  border-radius: 8px;
  padding: 22px 24px;
  color: var(--gold-soft);
  background: rgba(251, 245, 232, 0.08);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  font-weight: 900;
  line-height: 1.45;
}

.booking-note a {
  color: #fff8e9;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.activity-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 2px solid rgba(23, 34, 29, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(250, 253, 250, 0.96), rgba(230, 243, 247, 0.94));
  box-shadow: 0 20px 58px rgba(23, 34, 29, 0.13);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.activity-card:hover,
.activity-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(216, 189, 120, 0.92);
  box-shadow: 0 0 0 4px rgba(216, 189, 120, 0.18), 0 24px 70px rgba(15, 95, 73, 0.2);
}

.activity-card.is-selected {
  background: linear-gradient(180deg, rgba(236, 248, 242, 0.98), rgba(201, 231, 222, 0.96));
}

.activity-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.activity-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(255, 253, 247, 0.86);
  border-radius: 999px;
  background: rgba(18, 27, 23, 0.34);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.activity-card.is-selected::before {
  content: "✓";
  color: var(--cream);
  background: var(--emerald);
  font-size: 1.2rem;
  font-weight: 900;
}

.activity-card:has(input:disabled:not(:checked)) {
  opacity: 0.62;
}

.activity-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.activity-body {
  display: grid;
  gap: 14px;
  padding: 20px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.activity-head {
  display: grid;
  gap: 8px;
}

.activity-head strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.activity-card.is-selected .activity-head strong::after {
  content: "Selected";
  display: inline-flex;
  margin-left: 10px;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--cream);
  background: var(--emerald);
  font: 800 0.72rem var(--sans);
  vertical-align: middle;
}

.price-tag,
.activity-note {
  display: inline-flex;
  width: fit-content;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.price-tag {
  color: var(--emerald-deep);
  background: rgba(15, 95, 73, 0.1);
}

.activity-note {
  color: #7c4a31;
  background: #fff1d4;
}

.suggestion-card {
  align-content: center;
  min-height: 280px;
  cursor: default;
}

.suggestion-card::before {
  content: none;
}

.suggestion-card:hover {
  transform: none;
  border-color: rgba(23, 34, 29, 0.16);
  box-shadow: 0 20px 58px rgba(23, 34, 29, 0.13);
}

.vote-submit {
  width: min(420px, 100%);
  margin-top: 28px;
}

.vote-message {
  min-height: 1.5em;
  margin: 18px 0 0;
  color: var(--gold-soft);
  font-weight: 900;
}

.vote-message a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.deadline-note {
  margin-bottom: 24px;
  padding: 22px 24px;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.6;
}

.rsvp-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.rsvp-form .section-heading {
  margin-bottom: 0;
}

.rsvp-form h2 {
  color: var(--ink);
}

.rsvp-form label,
.rsvp-form fieldset legend {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rsvp-form label {
  display: grid;
  gap: 8px;
}

.rsvp-form label small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
  text-transform: none;
}

input,
textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(23, 34, 29, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fffdf7;
  font: 700 1rem var(--sans);
}

textarea {
  min-height: 118px;
  resize: vertical;
  padding-top: 14px;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(15, 95, 73, 0.18);
  border-color: rgba(15, 95, 73, 0.5);
}

.room-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.room-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.room-choice .field-help {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.55;
  text-transform: none;
}

.room-choice label {
  cursor: pointer;
}

.room-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.room-choice span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(23, 34, 29, 0.16);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 253, 247, 0.9);
  font-size: 1rem;
  font-weight: 900;
  text-transform: none;
}

.room-choice input:checked + span {
  border-color: rgba(15, 95, 73, 0.58);
  color: var(--cream);
  background: var(--emerald);
}

.submit-note,
.form-message {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-message {
  min-height: 1.5em;
  color: var(--emerald);
}

.footer {
  display: flex;
  width: min(1400px, calc(100% - 56px));
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  border-top: 1px solid rgba(239, 224, 176, 0.22);
  padding: 34px 0 48px;
}

.footer-fact {
  max-width: 720px;
  margin: 0;
  color: rgba(251, 245, 232, 0.76);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.6;
}

.footer-fact strong {
  color: var(--gold-soft);
}

.lightbox {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(44px, 80px) minmax(0, 1fr) minmax(44px, 80px);
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: rgba(8, 13, 11, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox[aria-hidden="true"] {
  display: none;
}

.lightbox figure {
  display: grid;
  gap: 12px;
  margin: 0;
}

.lightbox img {
  max-height: 82svh;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.lightbox figcaption {
  color: var(--cream-muted);
  text-align: center;
  font-weight: 800;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid rgba(239, 224, 176, 0.4);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(18, 27, 23, 0.72);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  width: 58px;
  height: 58px;
  justify-self: center;
  font-size: 2.6rem;
  line-height: 1;
}

@media (max-width: 1100px) {
  .included-main,
  .resort-gallery,
  .vote-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .room-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    padding: 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 74px;
    height: 48px;
  }

  .brand-name {
    font-size: 1.7rem;
  }

  .brand-line {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 88svh;
    padding: 128px 18px 48px;
  }

  .hero-inner {
    min-height: calc(88svh - 176px);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .section,
  .footer {
    width: calc(100% - 36px);
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 64px 0;
  }

  .included-main,
  .resort-gallery,
  .room-gallery,
  .vote-grid,
  .room-choice {
    grid-template-columns: 1fr;
  }

  .itinerary-card {
    padding-bottom: 20px;
  }

  .itinerary-image {
    margin-bottom: 18px;
  }

  .itinerary-image img {
    aspect-ratio: 16 / 10;
  }

  .itinerary-card time,
  .itinerary-card h3,
  .itinerary-card p {
    margin-right: 20px;
    margin-left: 20px;
  }

  .resort-group,
  .room-row,
  .rsvp-form,
  .included-list {
    padding: 18px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    font-size: 2rem;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }
}

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

  .gallery-item img,
  .button,
  .activity-card,
  .gallery-more {
    animation: none;
    transition: none;
  }
}
