/* MT-2 Digital Welcome Pack — welcome.css
 * ----------------------------------------------------------------------------
 * Lodge-photographic styling for /welcome/{clientId}. Per-client primary,
 * accent, surface, and background colors flow in via CSS variables set by
 * welcome.js::applyTheme(). Defaults below are the default lodge palette and
 * are overridden at runtime when the client provides their own colors.
 *
 * Phase 2: static layout + chrome. Premium polish (parallax, reveal-on-scroll,
 * print styles, reduced-motion) is layered on in Phase 4.
 * ============================================================================
 */

:root {
  /* Lodge default token palette. welcome.js overwrites these per client. */
  --w-primary:      #6b4a2b;
  --w-accent:       #c9a063;
  --w-surface:      #f6f1e8;
  --w-surface-tint: #ebe1cc;
  --w-bg:           #f6f1e8;
  --w-ink:          #2b2419;
  --w-on-primary:   #fdf8ee;
  --w-on-accent:    #2b1a0d;

  /* Layout tokens */
  --w-radius:       12px;
  --w-radius-lg:    14px;
  --w-section-pad:  44px 24px;
  --w-max-width:    640px;     /* mobile-first; centered on wider viewports */

  /* Typography */
  --w-serif:        Georgia, 'Cormorant Garamond', 'Times New Roman', serif;
  --w-sans:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* When the welcome page is active, treat <body> as the lodge canvas. */
body.welcome-active {
  margin: 0;
  background: var(--w-bg);
  color: var(--w-ink);
  font-family: var(--w-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.welcome-active #landing-app,
body.welcome-active #portal-app,
body.welcome-active #app-page {
  display: none !important;
}

#welcome-app {
  min-height: 100vh;
  background: var(--w-bg);
  color: var(--w-ink);
  position: relative;
}

#welcome-app main#wp-sections {
  display: block;
}

/* ── Sticky header ────────────────────────────────────────────────────── */

.wp-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--w-surface) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--w-ink) 8%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.wp-sticky.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.wp-sticky-inner {
  max-width: var(--w-max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.wp-sticky-name {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--w-primary);
}
.wp-lang {
  display: flex;
  gap: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.wp-lang button {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--w-ink) 12%, transparent);
  color: var(--w-ink);
  padding: 4px 9px;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
}
.wp-lang button.is-active {
  background: var(--w-primary);
  color: var(--w-on-primary);
  border-color: var(--w-primary);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.wp-hero {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: linear-gradient(135deg, var(--w-primary), color-mix(in srgb, var(--w-primary) 60%, #000));
}
.wp-hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.wp-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.7) 100%),
    radial-gradient(ellipse at 70% 90%,
      color-mix(in srgb, var(--w-accent) 35%, transparent),
      transparent 55%);
  z-index: 1;
}
.wp-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--w-max-width);
  margin: 0 auto;
  padding: 0 24px 36px 24px;
  color: #fdf8ee;
}
.wp-hero-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  opacity: 0.8;
  font-family: var(--w-sans);
}
.wp-hero-title {
  font-family: var(--w-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 7vw, 56px);
  line-height: 1.04;
  margin: 10px 0 14px 0;
}
.wp-hero-blurb {
  font-size: 14px;
  line-height: 1.55;
  max-width: 32em;
  opacity: 0.85;
  margin: 0 0 18px 0;
}
.wp-personal {
  display: inline-block;
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  border-left: 3px solid var(--w-accent);
  border-radius: var(--w-radius);
  padding: 12px 16px;
  font-family: var(--w-sans);
  max-width: 100%;
}
.wp-personal small {
  letter-spacing: 2px;
  opacity: 0.75;
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 600;
}
.wp-personal strong {
  display: block;
  font-size: 14px;
  margin-top: 4px;
  font-weight: 600;
}
.wp-personal-meta {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 6px;
}
.wp-scroll-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 26px;
  z-index: 3;
  background: linear-gradient(180deg, transparent, #fdf8ee);
  opacity: 0.6;
}

/* ── Section base ─────────────────────────────────────────────────────── */

.wp-sec {
  padding: var(--w-section-pad);
  max-width: var(--w-max-width);
  margin: 0 auto;
  position: relative;
}
.wp-sec-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--w-primary);
  margin: 0 0 8px 0;
  font-family: var(--w-sans);
}
.wp-sec-title {
  font-family: var(--w-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 22px 0;
  color: var(--w-ink);
}

/* Alternating tint for activities and custom blocks. Applied via wrapper. */
.wp-sec-act,
.wp-sec-custom {
  background: var(--w-surface-tint);
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}
.wp-sec-act > *,
.wp-sec-custom > * {
  max-width: var(--w-max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ── Wi-Fi ────────────────────────────────────────────────────────────── */

.wp-wifi {
  background: var(--w-surface-tint);
  border-radius: var(--w-radius-lg);
  padding: 18px 18px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.wp-wifi-qr {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  background: #fdf8ee;
  border: 1px solid color-mix(in srgb, var(--w-ink) 8%, transparent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wp-wifi-qr canvas {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.wp-wifi-info {
  flex: 1;
  min-width: 0;
}
.wp-wifi-info small {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 600;
}
.wp-wifi-ssid {
  font-size: 14px;
  font-weight: 600;
  margin-top: 3px;
  word-break: break-all;
}
.wp-wifi-pw {
  margin-top: 8px;
  width: 100%;
  background: #fdf8ee;
  color: var(--w-ink);
  border: 1px solid color-mix(in srgb, var(--w-ink) 8%, transparent);
  border-radius: 8px;
  padding: 9px 12px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.wp-wifi-pw:hover {
  background: var(--w-surface);
}
.wp-wifi-pw.is-copied {
  background: color-mix(in srgb, var(--w-accent) 30%, var(--w-surface));
}
.wp-wifi-pw-text {
  word-break: break-all;
  text-align: left;
}
.wp-wifi-pw-copy {
  font-size: 9px;
  letter-spacing: 1.2px;
  font-family: var(--w-sans);
  opacity: 0.6;
  white-space: nowrap;
}
.wp-wifi-caption {
  margin: 12px 0 0 0;
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.5;
}

/* ── Park rules ───────────────────────────────────────────────────────── */

.wp-rules {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wp-rule {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  align-items: flex-start;
  border-bottom: 1px solid color-mix(in srgb, var(--w-ink) 8%, transparent);
}
.wp-rule:last-child {
  border-bottom: none;
}
.wp-rule-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--w-surface-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.wp-rule-text {
  font-size: 14px;
  line-height: 1.55;
  padding-top: 6px;
  flex: 1;
}

/* ── Emergency contacts ───────────────────────────────────────────────── */

.wp-emerg {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wp-emerg-card {
  background: var(--w-surface);
  border: 1px solid color-mix(in srgb, var(--w-ink) 10%, transparent);
  border-radius: var(--w-radius);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.wp-emerg-info {
  flex: 1;
  min-width: 0;
}
.wp-emerg-info small {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 600;
  display: block;
}
.wp-emerg-info strong {
  display: block;
  font-size: 14px;
  margin-top: 3px;
  font-weight: 600;
  word-break: break-word;
}
.wp-emerg-call {
  background: var(--w-accent);
  color: var(--w-on-accent);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.12s ease;
}
.wp-emerg-call:hover {
  transform: translateY(-1px);
}

/* ── Activities ───────────────────────────────────────────────────────── */

.wp-activities {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wp-day-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.65;
  font-weight: 600;
  margin: 14px 0 4px 0;
}
.wp-day-label:first-child {
  margin-top: 0;
}
.wp-act {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--w-surface);
  border-radius: var(--w-radius);
  align-items: center;
  flex-wrap: wrap;
}
.wp-act-main {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1 1 200px;
  min-width: 0;
}
.wp-act-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--w-primary);
  min-width: 50px;
  letter-spacing: 0.5px;
}
.wp-act-info {
  flex: 1;
  min-width: 0;
}
.wp-act-info strong {
  font-size: 14px;
  font-weight: 600;
  display: block;
}
.wp-act-info small {
  font-size: 11px;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}
.wp-act-notes {
  font-style: italic;
  margin-top: 4px !important;
}
.wp-act-trailing {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wp-act-pill {
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 4px;
  background: color-mix(in srgb, #2d6c30 15%, transparent);
  color: #2d6c30;
  letter-spacing: 0.6px;
  font-weight: 700;
  white-space: nowrap;
}
.wp-act-pill.is-full {
  background: color-mix(in srgb, #b00020 15%, transparent);
  color: #b00020;
}
.wp-act-register {
  background: var(--w-accent);
  color: var(--w-on-accent);
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: var(--w-sans);
  transition: transform 0.12s ease, opacity 0.18s ease;
}
.wp-act-register:hover {
  transform: translateY(-1px);
}
.wp-act-register.is-disabled,
.wp-act-register[disabled] {
  background: color-mix(in srgb, var(--w-ink) 12%, transparent);
  color: color-mix(in srgb, var(--w-ink) 50%, transparent);
  cursor: not-allowed;
  transform: none;
}
.wp-activities-empty {
  font-size: 13px;
  opacity: 0.65;
  margin: 0;
  padding: 8px 0;
}

/* ── Modal (registration dialog) ──────────────────────────────────────── */

.wp-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.wp-modal.is-open {
  display: flex;
  animation: wp-modal-fade 0.25s ease;
}
@keyframes wp-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.wp-modal-open {
  overflow: hidden;
}

.wp-modal-sheet {
  background: var(--w-surface);
  color: var(--w-ink);
  width: 100%;
  max-width: 480px;
  border-radius: 18px 18px 0 0;
  padding: 22px 22px 24px 22px;
  max-height: 90vh;
  overflow-y: auto;
  font-family: var(--w-sans);
  animation: wp-modal-slide 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes wp-modal-slide {
  from { transform: translateY(40px); opacity: 0.6; }
  to   { transform: none; opacity: 1; }
}
@media (min-width: 720px) {
  .wp-modal {
    align-items: center;
  }
  .wp-modal-sheet {
    border-radius: 18px;
    margin: 20px;
  }
}

.wp-modal-header small {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--w-primary);
}
.wp-modal-header h3 {
  font-family: var(--w-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 6px 0 6px 0;
}
.wp-modal-header p {
  font-size: 12px;
  margin: 0 0 18px 0;
  opacity: 0.7;
}

.wp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wp-form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wp-form-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--w-primary);
}
.wp-form-row input {
  background: color-mix(in srgb, var(--w-ink) 5%, var(--w-surface));
  border: 1px solid color-mix(in srgb, var(--w-ink) 12%, transparent);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 14px;
  color: var(--w-ink);
  font-family: var(--w-sans);
  transition: border-color 0.15s ease;
}
.wp-form-row input:focus {
  outline: none;
  border-color: var(--w-accent);
}
.wp-form-status {
  font-size: 12px;
  margin-top: 4px;
  min-height: 14px;
  color: var(--w-ink);
}
.wp-form-status.is-error {
  color: #b00020;
}
.wp-form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}
.wp-form-cancel,
.wp-form-submit {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  font-family: var(--w-sans);
  transition: opacity 0.18s ease;
}
.wp-form-cancel {
  background: transparent;
  color: var(--w-ink);
}
.wp-form-submit {
  background: var(--w-primary);
  color: var(--w-on-primary);
}
.wp-form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.wp-modal-success {
  text-align: center;
  padding: 14px 0 8px 0;
}
.wp-success-tick {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background: #2d6c30;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
}
.wp-modal-success h3 {
  font-family: var(--w-serif);
  font-style: italic;
  font-size: 22px;
  margin: 4px 0 8px 0;
}
.wp-modal-success p {
  font-size: 13px;
  margin: 4px 0;
}
.wp-success-meta {
  opacity: 0.7;
  font-size: 12px;
}
.wp-success-note {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 14px !important;
  line-height: 1.5;
}

/* ── Local attractions (horizontal scroll-snap row) ───────────────────── */

.wp-att-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  -webkit-overflow-scrolling: touch;
}
.wp-att {
  min-width: 220px;
  max-width: 220px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.wp-att-img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: var(--w-radius);
  background: linear-gradient(135deg, var(--w-primary), var(--w-accent));
}
.wp-att-img-placeholder {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--w-primary) 50%, var(--w-accent)),
    color-mix(in srgb, var(--w-primary) 80%, #000));
}
.wp-att strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 9px;
}
.wp-att small {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
  line-height: 1.45;
}
.wp-att-dist {
  font-size: 9px;
  color: var(--w-primary);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 6px;
}
.wp-att-link {
  display: inline-block;
  font-size: 11px;
  color: var(--w-primary);
  text-decoration: none;
  margin-top: 4px;
  font-weight: 600;
}
.wp-att-link:hover { text-decoration: underline; }
.wp-att-empty {
  font-size: 13px;
  opacity: 0.6;
  margin: 0;
}

/* Hide horizontal scrollbar visually but keep it functional. */
.wp-att-row::-webkit-scrollbar {
  height: 4px;
}
.wp-att-row::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--w-ink) 18%, transparent);
  border-radius: 2px;
}

/* ── Map / directions ─────────────────────────────────────────────────── */

.wp-map-wrap {
  display: block;
}
.wp-map {
  height: 220px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--w-accent) 25%, var(--w-surface-tint)),
    color-mix(in srgb, var(--w-primary) 30%, var(--w-surface-tint)));
  border-radius: var(--w-radius-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-map-pin {
  font-size: 38px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
.wp-map-link {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--w-primary);
  color: var(--w-on-primary);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.wp-map-placeholder {
  font-size: 12px;
  opacity: 0.7;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Primary navigation CTA — opens the user's preferred maps app with the
 * park as destination. Big, friendly, single-tap-to-navigate. */
.wp-map-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--w-primary);
  color: var(--w-on-primary);
  border-radius: var(--w-radius-lg);
  text-decoration: none;
  margin: 0 0 16px 0;
  transition: transform 0.15s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--w-primary) 30%, transparent);
}
.wp-map-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--w-primary) 40%, transparent);
}
.wp-map-cta-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.wp-map-cta-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex: 1;
  margin-right: 8px;
}
.wp-map-cta-sub {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  letter-spacing: 0.4px;
  margin-top: 2px;
  font-weight: 500;
}
@media (min-width: 600px) {
  .wp-map-cta {
    align-items: center;
  }
  .wp-map-cta-label {
    display: inline;
    margin-right: 8px;
  }
  .wp-map-cta-sub {
    display: inline;
    margin-top: 0;
    margin-left: 8px;
    border-left: 1px solid color-mix(in srgb, var(--w-on-primary) 30%, transparent);
    padding-left: 10px;
  }
}

/* Direction asset download chips — the operator's curated roadmap /
 * brochure / site layout. Helps when the guest has no signal. */
.wp-map-assets {
  margin: 0 0 18px 0;
}
.wp-map-assets-label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 700;
  margin-bottom: 8px;
}
.wp-map-assets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wp-map-asset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--w-surface-tint);
  color: var(--w-ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--w-ink) 8%, transparent);
  transition: transform 0.12s ease, background 0.18s ease;
}
.wp-map-asset:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--w-accent) 18%, var(--w-surface));
}
.wp-map-asset-icon {
  font-size: 14px;
  line-height: 1;
}
.wp-map-asset-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-map-info {
  font-size: 13px;
  line-height: 1.55;
}
.wp-map-info strong {
  display: block;
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--w-primary);
  margin: 12px 0 2px 0;
  font-weight: 700;
}
.wp-map-info strong:first-child { margin-top: 0; }
.wp-map-info p {
  margin: 0 0 4px 0;
}
.wp-map-gps {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  opacity: 0.85;
}

/* ── Custom blocks ────────────────────────────────────────────────────── */

.wp-custom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wp-custom-image-left {
  flex-direction: row;
  gap: 18px;
  align-items: flex-start;
}
.wp-custom-image-left .wp-custom-img {
  width: 38%;
  flex-shrink: 0;
}
.wp-custom-img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--w-radius);
}
.wp-custom-text {
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}
.wp-custom-text p {
  margin: 0 0 12px 0;
}
.wp-custom-text p:last-child {
  margin-bottom: 0;
}

/* ── Photo divider strips ─────────────────────────────────────────────── */

.wp-divider {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.wp-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--w-bg) 55%, transparent) 0%,
    transparent 30%,
    transparent 70%,
    color-mix(in srgb, var(--w-bg) 55%, transparent) 100%);
}
.wp-divider-placeholder {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--w-primary) 70%, var(--w-accent)),
    color-mix(in srgb, var(--w-primary) 90%, #000));
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.wp-footer {
  background: color-mix(in srgb, var(--w-primary) 90%, #000);
  color: var(--w-on-primary);
  padding: 36px 24px 32px 24px;
  text-align: center;
  margin-top: 24px;
}
.wp-footer-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px auto;
  border-radius: 50%;
  background: var(--w-accent);
  background-size: cover;
  background-position: center;
}
.wp-footer-logo.has-logo {
  background-color: rgba(255,255,255,0.08);
}
.wp-footer-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 600;
}

/* ── Wider viewports ──────────────────────────────────────────────────── */

/* Tablet: a touch more breathing room and a wider readable column. */
@media (min-width: 720px) {
  :root {
    --w-section-pad: 60px 32px;
    --w-max-width: 720px;
  }
  .wp-hero {
    min-height: 70vh;
  }
}

/* Small laptop: typography scales up a notch, hero shorter so the rest of
 * the content peeks above the fold instead of feeling like a phone screen
 * floating in white space. */
@media (min-width: 1024px) {
  :root {
    --w-section-pad: 80px 40px;
    --w-max-width: 820px;
    --w-radius: 14px;
    --w-radius-lg: 16px;
  }
  .wp-hero {
    min-height: 64vh;
  }
  .wp-hero-content {
    padding: 0 40px 56px 40px;
  }
  .wp-hero-title {
    font-size: clamp(48px, 5.6vw, 76px);
  }
  .wp-hero-blurb {
    font-size: 16px;
    max-width: 36em;
  }
  .wp-sec-title {
    font-size: 32px;
    margin-bottom: 28px;
  }
  .wp-sec-eyebrow {
    font-size: 12px;
    letter-spacing: 5px;
  }
  /* Photo dividers feel taller and more cinematic on widescreen. */
  .wp-divider {
    height: 280px;
  }
  /* Wi-Fi card flows two-column on desktop instead of stacking. */
  .wp-wifi {
    padding: 22px;
  }
  /* Sticky header pads more to match the wider canvas. */
  .wp-sticky-inner {
    padding: 14px 40px;
  }
}

/* Large desktop: introduce a soft full-bleed accent so the page doesn't
 * look like a centered phone view on ultra-wide displays. */
@media (min-width: 1440px) {
  :root {
    --w-max-width: 880px;
    --w-section-pad: 96px 48px;
  }
  body.welcome-active {
    background:
      radial-gradient(ellipse at top,
        color-mix(in srgb, var(--w-primary) 6%, var(--w-bg)) 0%,
        var(--w-bg) 60%);
  }
  /* Subtle column shadow framing the content so it reads as a deliberate
   * page rather than text floating in space. */
  #welcome-app main#wp-sections {
    background: var(--w-bg);
    box-shadow:
      0 0 80px color-mix(in srgb, var(--w-ink) 8%, transparent),
      0 0 0 1px color-mix(in srgb, var(--w-ink) 4%, transparent);
    max-width: calc(var(--w-max-width) + 80px);
    margin: 0 auto;
    border-radius: 0;
  }
  .wp-hero-title {
    font-size: clamp(56px, 5vw, 88px);
  }
  /* Attractions row — show 3 cards visually in a row instead of a tight
   * scroll snap that wastes the wide viewport. */
  .wp-att {
    min-width: 240px;
    max-width: 240px;
  }
  /* Activities + custom section background tint stretches full-width on
   * wide screens for visual rhythm. */
  .wp-sec-act,
  .wp-sec-custom {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* ──────────────────────────────────────────────────────────────────────────
 *  PREMIUM POLISH (Phase 4)
 *  - Reveal-on-scroll for every section root + photo divider
 *  - Hero parallax (driven by JS via --w-hero-parallax variable)
 *  - Hero entrance animation (load-time fade + slight scale up)
 *  - Photo divider parallax (CSS-only background-attachment fallback)
 *  - Scroll-hint bounce
 *  - Reduced-motion: collapses all animation to static fade-in
 *  - Print: flattens hero, reveals everything, strips dividers
 * ────────────────────────────────────────────────────────────────────────── */

.wp-sec, .wp-divider {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.wp-sec.is-revealed,
.wp-divider.is-revealed {
  opacity: 1;
  transform: none;
}

/* Stagger items inside revealing sections so the eye has something to follow. */
.wp-sec.is-revealed .wp-rule,
.wp-sec.is-revealed .wp-emerg-card,
.wp-sec.is-revealed .wp-act,
.wp-sec.is-revealed .wp-att {
  opacity: 0;
  transform: translateY(12px);
  animation: wp-fade-up 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.wp-sec.is-revealed .wp-rule:nth-child(1),
.wp-sec.is-revealed .wp-emerg-card:nth-child(1),
.wp-sec.is-revealed .wp-act:nth-child(1) { animation-delay: 0.05s; }
.wp-sec.is-revealed .wp-rule:nth-child(2),
.wp-sec.is-revealed .wp-emerg-card:nth-child(2),
.wp-sec.is-revealed .wp-act:nth-child(2) { animation-delay: 0.13s; }
.wp-sec.is-revealed .wp-rule:nth-child(3),
.wp-sec.is-revealed .wp-emerg-card:nth-child(3),
.wp-sec.is-revealed .wp-act:nth-child(3) { animation-delay: 0.21s; }
.wp-sec.is-revealed .wp-rule:nth-child(4),
.wp-sec.is-revealed .wp-emerg-card:nth-child(4),
.wp-sec.is-revealed .wp-act:nth-child(4) { animation-delay: 0.29s; }
.wp-sec.is-revealed .wp-rule:nth-child(n+5),
.wp-sec.is-revealed .wp-emerg-card:nth-child(n+5),
.wp-sec.is-revealed .wp-act:nth-child(n+5) { animation-delay: 0.35s; }

@keyframes wp-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Hero parallax — JS sets --w-hero-parallax to a translateY value as the
 * page scrolls, this rule reads it. Falls back to 0 if JS isn't running. */
.wp-hero-photo {
  transform: translate3d(0, var(--w-hero-parallax, 0px), 0) scale(var(--w-hero-zoom, 1));
  transition: none;
  will-change: transform;
}

/* Title entrance: fade up + slight scale at page load. */
.wp-hero-title,
.wp-hero-eyebrow,
.wp-hero-blurb,
.wp-personal {
  opacity: 0;
  animation: wp-hero-enter 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.wp-hero-eyebrow { animation-delay: 0.15s; }
.wp-hero-title   { animation-delay: 0.25s; }
.wp-hero-blurb   { animation-delay: 0.45s; }
.wp-personal     { animation-delay: 0.55s; }

@keyframes wp-hero-enter {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* Scroll hint: pulsing line in the hero. */
.wp-scroll-hint {
  animation: wp-scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes wp-scroll-bounce {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.85; transform: translateX(-50%) translateY(4px); }
}

/* ── Reduced motion ─────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .wp-sec, .wp-divider {
    transform: none;
    transition: opacity 0.3s ease;
  }
  .wp-sec.is-revealed .wp-rule,
  .wp-sec.is-revealed .wp-emerg-card,
  .wp-sec.is-revealed .wp-act,
  .wp-sec.is-revealed .wp-att {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .wp-hero-photo {
    transform: none !important;
  }
  .wp-hero-title,
  .wp-hero-eyebrow,
  .wp-hero-blurb,
  .wp-personal {
    animation: none;
    opacity: 1;
  }
  .wp-scroll-hint {
    animation: none;
    opacity: 0.4;
  }
}

/* ── Print ──────────────────────────────────────────────────────────── */

@media print {
  body.welcome-active {
    background: #ffffff;
    color: #111;
  }
  .wp-sticky,
  .wp-divider,
  .wp-hero-photo,
  .wp-hero-overlay,
  .wp-scroll-hint,
  .wp-att-link,
  .wp-map-link {
    display: none !important;
  }
  /* Reveal everything regardless of scroll position. */
  .wp-sec, .wp-divider {
    opacity: 1 !important;
    transform: none !important;
    page-break-inside: avoid;
  }
  .wp-hero {
    min-height: 0;
    padding: 30px 0;
    background: #fff !important;
  }
  .wp-hero-content {
    color: #111 !important;
  }
  .wp-hero-title {
    color: #111 !important;
    font-size: 28px;
  }
  .wp-hero-eyebrow,
  .wp-hero-blurb {
    color: #555 !important;
  }
  .wp-personal {
    background: #f0f0f0 !important;
    color: #111 !important;
    border: 1px solid #ccc !important;
  }
  .wp-footer {
    background: #fff !important;
    color: #111 !important;
    border-top: 1px solid #ccc;
  }
  /* Make Wi-Fi + emergency the most prominent print elements. */
  .wp-sec-wifi, .wp-sec-emerg {
    border: 2px solid #111;
    border-radius: 6px;
    padding: 18px;
    margin: 18px 0;
  }
  .wp-wifi-pw, .wp-emerg-call {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #111 !important;
  }
  .wp-att-row {
    flex-wrap: wrap;
    overflow: visible;
  }
  .wp-att-img { display: none; }
}
