:root {
  --ocean-950: #052036;
  --ocean-850: #08334d;
  --ocean-750: #0b4d70;
  --ocean-620: #1178a1;
  --ocean-500: #27a7ce;
  --foam: #eaf9ff;
  --sand: #f2d5a8;
  --sun: #ff9152;
  --reef: #4ad1cf;
  --ink: #082136;
  --line: rgba(8, 33, 54, 0.3);
  --line-strong: rgba(8, 33, 54, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  background: #ffffff;
  position: relative;
  overflow-x: hidden;
}

.ocean-layers {
  display: none;
}

.sun-glow {
  position: absolute;
  top: -140px;
  right: 7%;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 174, 102, 0.42), rgba(255, 174, 102, 0));
  filter: blur(8px);
  animation: sunPulse 12s ease-in-out infinite;
}

.wave {
  position: absolute;
  left: -14%;
  width: 128%;
  border-radius: 58% 58% 0 0;
  transform-origin: center bottom;
  filter: blur(28px);
  opacity: 0.52;
  mix-blend-mode: soft-light;
}

.wave-back {
  bottom: -230px;
  height: 420px;
  background: linear-gradient(180deg, rgba(17, 120, 161, 0.12), rgba(8, 51, 77, 0.18));
  animation: driftBack 32s linear infinite;
}

.wave-mid {
  bottom: -250px;
  height: 390px;
  background: linear-gradient(180deg, rgba(39, 167, 206, 0.14), rgba(8, 51, 77, 0.2));
  animation: driftMid 24s linear infinite;
}

.wave-front {
  bottom: -275px;
  height: 360px;
  background: linear-gradient(180deg, rgba(26, 138, 186, 0.18), rgba(5, 32, 54, 0.24));
  animation: driftFront 18s linear infinite;
}

.site {
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 30px 28px 108px;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 16px;
  border: 2px solid var(--line-strong);
  background: rgba(234, 249, 255, 0.82);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(10%) sepia(40%) saturate(1200%) hue-rotate(175deg) brightness(0.7);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.menu a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean-750);
  text-decoration: none;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--ocean-950);
  border-bottom-color: var(--sun);
}

.header-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 2px solid var(--ocean-950);
  background: var(--sun);
  color: var(--ocean-950);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-rsvp:hover,
.header-rsvp:focus-visible {
  background: #ff7f35;
}

.panel,
.section-panel {
  border: 2px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 36px rgba(3, 27, 47, 0.15);
}

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

p {
  text-wrap: pretty;
}

.hero,
.section {
  scroll-margin-top: 120px;
}

.hero {
  margin-top: 44px;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 38px;
}

.kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ocean-750);
}

h1 {
  margin-top: 10px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(44px, 9vw, 104px);
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--ocean-950);
  white-space: nowrap;
}

.lead {
  margin-top: 18px;
  max-width: 64ch;
  font-size: 18px;
  line-height: 1.6;
  color: #163a57;
}

.hero-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 14px 16px;
  border: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(234, 249, 255, 0.9), rgba(255, 255, 255, 0.8));
}

.stat-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ocean-750);
}

.stat-value {
  margin-top: 6px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 30px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.fact-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(234, 249, 255, 0.85), rgba(255, 255, 255, 0.78));
}

.fact-item {
  padding: 14px 16px;
}

.fact-item + .fact-item {
  border-left: 2px solid var(--line);
}

.fact-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean-750);
}

.fact-value {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 2px solid var(--line-strong);
  margin-top: 15px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.03);
  animation: swell 9s ease-in-out infinite;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-slide-7 {
    object-position: center 20%;
  }
}

.hero-date {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: rgba(5, 32, 54, 0.84);
  color: var(--foam);
  border: 2px solid rgba(234, 249, 255, 0.34);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bob 4s ease-in-out infinite;
}

.board-tag {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 10px;
  border: 2px solid rgba(5, 32, 54, 0.7);
  background: rgba(242, 213, 168, 0.92);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transform: rotate(-3deg) translateY(0);
  animation: boardBob 4.2s ease-in-out infinite 0.12s;
}

.board-tag:hover {
  background: rgba(255, 145, 82, 0.92);
}

.section {
  margin-top: 96px;
}

h2 {
  margin-bottom: 28px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ocean-950);
  text-wrap: balance;
}

.section .section-panel + .section-panel {
  margin-top: 28px;
}

.cool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cool-card {
  padding: 22px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: linear-gradient(150deg, rgba(74, 209, 207, 0.12), rgba(255, 255, 255, 0.9));
}

.cool-card:nth-child(2n) {
  border-right: 0;
}

.cool-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.cool-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ocean-750);
}

h3 {
  margin-top: 7px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 34px;
  letter-spacing: 0.03em;
  line-height: 1;
  text-wrap: balance;
}

.cool-card p:last-child {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: #173d59;
}

.report-panel {
  margin-top: 28px;
  padding: 20px 22px;
  background: linear-gradient(180deg, rgba(5, 32, 54, 0.9), rgba(11, 77, 112, 0.88));
  color: var(--foam);
}

.report-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.report-text {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.report-text.is-visible {
  opacity: 1;
  transform: none;
}

.agenda-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.agenda-card {
  border: 2px solid var(--line-strong);
  background: rgba(234, 249, 255, 0.3);
  overflow: hidden;
}

.agenda-day {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--ocean-950);
  padding: 14px 20px;
  margin: 0;
  line-height: 1;
}

.agenda-card-body {
  padding: 8px 20px 20px;
}

.agenda-item {
  padding: 14px 0;
}

.agenda-item + .agenda-item {
  border-top: 1px solid var(--line);
}

.agenda-time {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean-620);
  margin-bottom: 4px;
}

.agenda-copy {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ocean-950);
}

.agenda-venue {
  font-size: 14px;
  font-weight: 500;
  color: var(--ocean-750);
  margin-top: 2px;
}

.agenda-note {
  margin: 6px 0 16px;
  padding: 18px 0 8px;
  border-top: 2px solid var(--line);
  font-size: 16px;
  line-height: 1.55;
  color: #143852;
}

.section-note {
  margin-top: -12px;
  margin-bottom: 24px;
  max-width: 72ch;
  font-size: 18px;
  line-height: 1.6;
  color: #143852;
}

/* ===== MAP SECTION ===== */
.map-wrap {
  position: relative;
  border: 2px solid var(--line-strong);
  box-shadow: 0 12px 36px rgba(3, 27, 47, 0.15);
  overflow: hidden;
  background: #f8f6f2;
}

#ogt-map {
  width: 100%;
  height: 640px;
}

/* ---- Markers ---- */
.ogt-marker {
  background: none !important;
  border: none !important;
}

.ogt-pin {
  width: 30px;
  height: 30px;
  border: 2.5px solid var(--ocean-950);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 3px 10px rgba(5, 32, 54, 0.25),
    0 1px 3px rgba(5, 32, 54, 0.12);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  cursor: pointer;
}

.ogt-pin:hover {
  transform: rotate(-45deg) scale(1.22) translateY(-3px);
  box-shadow:
    0 10px 28px rgba(5, 32, 54, 0.35),
    0 3px 8px rgba(5, 32, 54, 0.18);
}

.ogt-pin--home {
  box-shadow:
    0 3px 14px rgba(255, 145, 82, 0.4),
    0 1px 3px rgba(5, 32, 54, 0.12);
}

.pin-dot {
  transform: rotate(45deg);
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

/* Pulsing beacon on Home Base */
.pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin-top: -36px;
  margin-left: -36px;
  border-radius: 50%;
  background: #ff9152;
  opacity: 0;
  pointer-events: none;
  animation: pinPulse 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pinPulse {
  0% { transform: scale(0.3); opacity: 0.45; }
  100% { transform: scale(1); opacity: 0; }
}

/* ---- Tooltips ---- */
.ogt-tooltip {
  background: var(--ocean-950) !important;
  color: var(--foam) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 6px 12px !important;
  font-family: "Manrope", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 4px 16px rgba(5, 32, 54, 0.3) !important;
}

.ogt-tooltip .leaflet-tooltip-arrow {
  display: none;
}

/* ---- Popups ---- */
.ogt-popup-wrap {
  animation: popupIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.9) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.ogt-popup-wrap .leaflet-popup-content-wrapper {
  background: #fff;
  border-radius: 0;
  border: 2px solid var(--line-strong);
  box-shadow: 0 8px 28px rgba(5, 32, 54, 0.18);
  padding: 0;
  overflow: hidden;
}

.ogt-popup-wrap .leaflet-popup-content {
  margin: 0;
}

.ogt-popup-wrap .leaflet-popup-tip {
  background: #fff;
  border: 1px solid rgba(8, 33, 54, 0.3);
  box-shadow: none;
}

.ogt-popup {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.popup-accent {
  display: block;
  width: 5px;
  flex-shrink: 0;
}

.popup-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ogt-popup strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--ocean-950);
  line-height: 1.1;
}

.ogt-popup span {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #3d5a6e;
  line-height: 1.45;
}

/* ---- Floating Legend ---- */
.map-legend {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1000;
  width: 220px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--line);
  box-shadow: 0 8px 24px rgba(5, 32, 54, 0.12);
  padding: 14px 0 10px;
  overflow: hidden;
}

.map-legend-head {
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ocean-750);
  text-transform: uppercase;
  padding: 0 16px 10px;
  border-bottom: 2px solid var(--line);
}

.map-legend-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 360px;
  overflow-y: auto;
}

.map-legend-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
  border-left: 3px solid transparent;
}

.map-legend-list li:hover {
  background: rgba(5, 32, 54, 0.03);
}

.map-legend-list li.is-active {
  background: linear-gradient(90deg, rgba(255, 145, 82, 0.1), transparent);
  border-left-color: var(--sun);
  padding-left: 20px;
}

.map-legend-list li i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid var(--ocean-950);
}

.map-legend-list li span {
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ocean-850);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.map-legend-list li.is-active span {
  color: var(--ocean-950);
  font-weight: 700;
}

.map-legend-reset {
  display: block;
  width: calc(100% - 32px);
  margin: 8px 16px 4px;
  padding: 8px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ocean-750);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.map-legend-reset:hover {
  background: var(--ocean-950);
  border-color: var(--ocean-950);
  color: #fff;
}

/* ---- Leaflet control overrides ---- */
.leaflet-control-zoom {
  border: 2px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 12px rgba(5, 32, 54, 0.1) !important;
  overflow: hidden;
}

.leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--ocean-950) !important;
  border-color: var(--line) !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  transition: background 0.15s ease !important;
}

.leaflet-control-zoom a:hover {
  background: var(--foam) !important;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.6) !important;
  font-size: 9px !important;
  padding: 2px 6px !important;
  color: #aaa !important;
}

.leaflet-control-attribution a {
  color: #999 !important;
}

/* ---- Map Responsive ---- */
@media (max-width: 767px) {
  #ogt-map {
    height: 380px;
  }

  .map-legend {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    border: none;
    border-top: 2px solid var(--line);
    box-shadow: none;
    backdrop-filter: none;
    background: linear-gradient(180deg, rgba(234, 249, 255, 0.6), rgba(255, 255, 255, 0.9));
    padding: 14px 0 10px;
  }

  .map-legend-head {
    padding: 0 16px 10px;
  }

  .map-legend-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-height: none;
  }

  .map-legend-list li {
    padding: 8px 16px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(8, 33, 54, 0.06);
  }

  .map-legend-list li span {
    font-size: 12px;
  }

  .map-legend-reset {
    margin: 10px 16px 4px;
    width: calc(100% - 32px);
  }
}

.shore-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.shore-card {
  border: 2px solid var(--line);
  border-right: none;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(242, 213, 168, 0.25), rgba(255, 255, 255, 0.8));
  text-align: center;
}

.shore-card:last-child {
  border-right: 2px solid var(--line);
}

.shore-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean-750);
}

.shore-card p:not(.shore-label) {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #163a57;
}

.lodging-mobile-nav {
  display: none;
}

.lodging-panel {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: stretch;
}

.arrow-btn {
  border: 0;
  border-left: 2px solid var(--line);
  border-right: 2px solid var(--line);
  background: linear-gradient(180deg, rgba(242, 213, 168, 0.75), rgba(255, 255, 255, 0.7));
  color: var(--ocean-950);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lodging-panel .arrow-btn:first-child {
  border-left: 0;
}

.lodging-panel .arrow-btn:last-child {
  border-right: 0;
}

.arrow-btn:hover {
  background: linear-gradient(180deg, rgba(255, 145, 82, 0.52), rgba(255, 255, 255, 0.7));
}

.arrow-btn:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: -3px;
}

.arrow-icon {
  width: 18px;
  height: 28px;
}

.lodging-card {
  display: grid;
  grid-template-columns: minmax(220px, 36%) minmax(0, 1fr);
  min-height: 258px;
}

.lodging-card img {
  width: 100%;
  height: 258px;
  object-fit: cover;
  filter: saturate(1.05);
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.lodging-card img.is-visible {
  opacity: 1;
  transform: scale(1);
}

.lodging-body {
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: center;
  background: linear-gradient(180deg, rgba(74, 209, 207, 0.1), rgba(234, 249, 255, 0.5));
}

.lodging-name {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 38px;
  letter-spacing: 0.03em;
  line-height: 1;
}

.lodging-meta {
  font-size: 14px;
  font-weight: 700;
  color: var(--ocean-750);
  line-height: 1.55;
}

.lodging-description {
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.55;
  color: #143852;
}

.lodging-offer {
  display: inline-block;
  margin-top: 4px;
  padding: 5px 10px;
  background: linear-gradient(135deg, rgba(255, 145, 82, 0.15), rgba(255, 145, 82, 0.08));
  border: 2px solid rgba(255, 145, 82, 0.35);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b85a20;
}

.lodging-offer:empty {
  display: none;
}

/* ---- Rates Table ---- */
.lodging-rates {
  border: 2px solid var(--line);
  border-top: none;
  background: linear-gradient(180deg, rgba(234, 249, 255, 0.5), rgba(255, 255, 255, 0.9));
}

.rate-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 2px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean-750);
}

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(8, 33, 54, 0.07);
  transition: background 0.15s ease;
}

.rate-row:last-child {
  border-bottom: none;
}

.rate-row:hover {
  background: rgba(255, 145, 82, 0.04);
}

.rate-room {
  font-size: 14px;
  font-weight: 600;
  color: var(--ocean-950);
}

.rate-price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--ocean-950);
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    position: static;
  }

  .menu {
    justify-content: flex-start;
  }

  .header-rsvp {
    justify-self: start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-slide {
    min-height: 340px;
  }

  .hero-stats,
  .fact-grid,
  .shore-grid {
    grid-template-columns: 1fr;
  }

  .fact-item + .fact-item {
    border-left: 0;
    border-top: 2px solid var(--line);
  }

  .cool-grid {
    grid-template-columns: 1fr;
  }

  .cool-card,
  .cool-card:nth-child(2n) {
    border-right: 0;
  }

  .cool-card {
    border-bottom: 2px solid var(--line);
  }

  .cool-card:last-child {
    border-bottom: 0;
  }

  .agenda-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .agenda-copy,
  .agenda-note,
  .lodging-description,
  .lead,
  .report-text {
    font-size: 16px;
  }

  .lodging-panel {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }

  .lodging-card {
    grid-template-columns: 1fr;
  }

  .lodging-card img {
    height: 220px;
  }

  .lodging-name {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .site {
    padding: 18px 16px 72px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 74px);
  }

  h2 {
    font-size: 36px;
  }

  .hero-visual,
  .hero-slide {
    min-height: 280px;
  }

  .hero-date,
  .kicker,
  .menu a,
  .header-rsvp,
  .fact-label,
  .stat-label,
  .cool-label,
  .shore-label {
    font-size: 11px;
  }

  .agenda-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .lodging-card img {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    transition: none;
  }

  .hero-visual {
    transform: none;
  }
}

@keyframes driftBack {
  from {
    transform: translateX(0) rotate(0.4deg);
  }

  to {
    transform: translateX(-42px) rotate(-0.4deg);
  }
}

@keyframes driftMid {
  from {
    transform: translateX(-12px);
  }

  to {
    transform: translateX(34px);
  }
}

@keyframes driftFront {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-56px);
  }
}

@keyframes sunPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes swell {
  0%,
  100% {
    transform: scale(1.03);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes boardBob {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }

  50% {
    transform: rotate(-3deg) translateY(-6px);
  }
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
  display: none;
}

.menu-rsvp {
  display: none;
}

@media (max-width: 767px) {
  /* ---- Header bar ---- */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 10000;
    background: rgba(234, 249, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--line-strong);
  }

  .site-header {
    flex-wrap: wrap;
  }

  .desktop-only {
    display: none;
  }

  /* ---- Hamburger button ---- */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 2px solid var(--line);
    cursor: pointer;
    padding: 0;
    gap: 5px;
    position: relative;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s ease;
  }

  .hamburger:active {
    border-color: var(--ocean-950);
  }

  .hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ocean-950);
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
  }

  .hamburger.active {
    border-color: var(--ocean-950);
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ---- Nav links ---- */
  .menu {
    width: 100%;
    order: 3;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .menu.open {
    max-height: 400px;
    padding: 16px 0 4px;
  }

  .menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-family: "Bebas Neue", sans-serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--ocean-950);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 2px solid var(--line);
    text-align: left;
    text-transform: none;
  }

  .menu a::after {
    content: '→';
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    color: var(--ocean-750);
    opacity: 0.4;
  }

  .menu a:first-child {
    border-top: 2px solid var(--line);
  }

  .menu a:hover,
  .menu a:active {
    color: var(--sun);
  }

  .menu a:active::after {
    opacity: 1;
    color: var(--sun);
  }

  .menu .menu-rsvp {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    padding: 16px 32px;
    background: var(--sun);
    color: var(--ocean-950);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid var(--ocean-950);
    text-align: center;
    border-bottom: 2px solid var(--ocean-950);
  }

  .menu .menu-rsvp::after {
    display: none;
  }

  /* ---- Mobile layout ---- */
  .site {
    padding: 12px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .hero {
    flex-direction: column;
    padding: 20px;
    margin-top: 14px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-visual {
    width: 100%;
    margin: 16px 0;
  }

  .hero-slide {
    height: 260px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-date, .board-tag {
    font-size: 11px;
    padding: 8px 12px;
  }

  .board-tag {
    bottom: auto;
    top: 14px;
    right: 14px;
  }

  .section {
    padding: 0;
    margin-top: 64px;
  }

  .fact-grid,
  .cool-grid {
    grid-template-columns: 1fr;
  }

  .shore-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 0;
  }

  .shore-card {
    border-right: none;
    border-top: none;
    border-bottom: 2px solid var(--line);
    border-left: 2px solid var(--line);
  }

  .shore-card:nth-child(2n) {
    border-right: 2px solid var(--line);
  }

  .shore-card:last-child {
    grid-column: 1 / -1;
    border-right: 2px solid var(--line);
  }

  .lodging-panel {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .lodging-card {
    display: block;
    grid-column: 1;
    grid-row: 1;
  }

  .lodging-card img {
    height: 200px;
  }

  .arrow-btn {
    display: none;
  }

  .lodging-rates {
    border: 2px solid var(--line);
    border-top: none;
  }

  .rate-head {
    padding: 10px 14px;
  }

  .rate-row {
    padding: 9px 14px;
  }

  .rate-room {
    font-size: 13px;
  }

  .rate-price {
    font-size: 17px;
  }

  .lodging-mobile-nav {
    display: flex;
    gap: 0;
    border-top: 2px solid var(--line);
  }

  .lodging-mobile-nav button {
    flex: 1;
    padding: 14px;
    border: none;
    background: linear-gradient(180deg, rgba(242, 213, 168, 0.3), rgba(255, 255, 255, 0.8));
    color: var(--ocean-950);
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .lodging-mobile-nav button:first-child {
    border-right: 2px solid var(--line);
  }

  .lodging-mobile-nav button:active {
    background: rgba(255, 145, 82, 0.2);
  }

  h2 {
    font-size: 36px;
    margin-bottom: 16px;
  }
}

/* ========== RSVP MODAL ========== */
.rsvp-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(5, 32, 54, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.rsvp-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rsvp-modal {
  position: relative;
  width: min(520px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border: 2px solid var(--line-strong);
  box-shadow: 0 24px 64px rgba(5, 32, 54, 0.35);
  padding: 36px 32px 32px;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rsvp-overlay.is-open .rsvp-modal {
  transform: translateY(0) scale(1);
}

.rsvp-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--line);
  background: transparent;
  color: var(--ocean-950);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rsvp-close:hover {
  background: var(--foam);
  border-color: var(--ocean-950);
}

.rsvp-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 42px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ocean-950);
  margin: 0;
}

.rsvp-subtitle {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ocean-750);
}

.rsvp-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rsvp-field > label:first-child {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean-750);
  margin-bottom: 6px;
}

.rsvp-field input[type="text"],
.rsvp-field input[type="email"],
.rsvp-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--line);
  background: rgba(234, 249, 255, 0.4);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  color: var(--ocean-950);
  transition: border-color 0.15s ease;
}

.rsvp-field input:focus,
.rsvp-field textarea:focus {
  outline: none;
  border-color: var(--ocean-620);
}

.rsvp-field textarea {
  resize: vertical;
}

.rsvp-radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.rsvp-field .rsvp-radio-group .rsvp-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ocean-950);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.rsvp-field .rsvp-radio-group .rsvp-radio input {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: 2px solid var(--ocean-950);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
}

.rsvp-field .rsvp-radio-group .rsvp-radio span {
  font-size: 15px;
  font-weight: 600;
  color: var(--ocean-950);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}

.rsvp-radio input:checked {
  border-color: var(--sun);
  background: var(--sun);
}

.rsvp-radio input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ocean-950);
}

.rsvp-checkbox-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.rsvp-field .rsvp-checkbox-group .rsvp-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ocean-950);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.rsvp-field .rsvp-checkbox-group .rsvp-checkbox input {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  border: 2px solid var(--ocean-950);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.rsvp-field .rsvp-checkbox-group .rsvp-checkbox input:checked {
  border-color: var(--sun);
  background: var(--sun);
}

.rsvp-field .rsvp-checkbox-group .rsvp-checkbox input:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 11px;
  border: solid var(--ocean-950);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.rsvp-field .rsvp-checkbox-group .rsvp-checkbox span {
  font-size: 15px;
  font-weight: 600;
  color: var(--ocean-950);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1;
}

.rsvp-submit {
  margin-top: 6px;
  padding: 14px 28px;
  border: 2px solid var(--ocean-950);
  background: var(--sun);
  color: var(--ocean-950);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.rsvp-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.rsvp-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(5, 32, 54, 0.3);
  border-top-color: var(--ocean-950);
  border-radius: 50%;
  animation: rsvp-spin 0.6s linear infinite;
}

@keyframes rsvp-spin {
  to { transform: rotate(360deg); }
}

.rsvp-submit:hover {
  background: #ff7f35;
}

.rsvp-success {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

#confettiCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.rsvp-success-msg {
  position: relative;
  z-index: 2;
  font-size: 18px;
  font-weight: 600;
  color: var(--ocean-950);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .rsvp-modal {
    padding: 24px 18px 20px;
  }

  .rsvp-title {
    font-size: 34px;
  }

  .rsvp-radio-group {
    flex-direction: row;
    gap: 20px;
  }

  .rsvp-checkbox-group {
    gap: 16px;
  }

  .rsvp-field .rsvp-radio-group .rsvp-radio,
  .rsvp-field .rsvp-checkbox-group .rsvp-checkbox {
    font-size: 14px;
  }

  .rsvp-field .rsvp-radio-group .rsvp-radio span,
  .rsvp-field .rsvp-checkbox-group .rsvp-checkbox span {
    font-size: 14px;
  }

  .rsvp-form {
    gap: 14px;
  }

  .rsvp-field > label:first-child {
    font-size: 10px;
    margin-bottom: 4px;
  }

  .rsvp-field input[type="text"],
  .rsvp-field input[type="email"],
  .rsvp-field textarea {
    padding: 8px 10px;
    font-size: 14px;
  }

  .rsvp-submit {
    padding: 12px 20px;
    font-size: 13px;
  }
}
