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

/* Nav state transitions */
#site-header { transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; }
#nav-logo-white, #nav-logo-light { transition: opacity 0.3s; }
#nav-logo-light { opacity: 0; position: absolute; top: 0; left: 0; }
.nav-solid #nav-logo-white { opacity: 0; }
.nav-solid #nav-logo-light { opacity: 1; }
.nav-solid { background: rgba(249,249,249,0.95) !important; backdrop-filter: blur(8px); border-bottom: 1px solid rgba(0,0,0,0.1) !important; }
#nav-links a { transition: color 0.3s; }
.nav-solid #nav-links a { color: #525252; }
.nav-solid #nav-links a:hover { color: #000; }
.nav-solid .nav-call { border-color: #000 !important; color: #000 !important; }
.nav-solid .nav-call:hover { background: #000 !important; color: #fff !important; }
.nav-solid .nav-book { background: #000 !important; color: #fff !important; }
.nav-solid .nav-book:hover { background: #262626 !important; }

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* Grain textures — light sections */
.grain-white {
  background-image: url('textures/grain-white.png');
  background-size: 500px 500px;
  background-repeat: repeat;
}

/* Grain textures — dark sections (pseudo-element overlay) */
.grain-dark {
  position: relative;
}

.grain-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('textures/grain.png');
  background-size: 500px 500px;
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.grain-dark>* {
  position: relative;
  z-index: 1;
}

/* Scroll animation */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
  transition: opacity 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  opacity: 0;
  animation: hero-rise 0.9s ease-out forwards;
}

.hero-animate-d1 {
  animation-delay: 0.15s;
}

.hero-animate-d2 {
  animation-delay: 0.35s;
}

.hero-animate-d3 {
  animation-delay: 0.55s;
}

.hero-animate-d4 {
  animation-delay: 0.7s;
}

/* Hero image — recentered for mobile */
.hero-img {
  object-position: 25% 65%;
}
@media (max-width: 767px) {
  .hero-img {
    object-position: 35% 70%;
  }
}

/* Hard shadow utilities */
.hard-shadow {
  box-shadow: 6px 6px 0 0 #d6d4d3;
}

.hard-shadow-sm {
  box-shadow: 3px 3px 0 0 #000;
}

/* Neo-brutal stamp buttons — 4 variants */
.btn-stamp, .btn-stamp-dark, .btn-stamp-outline, .btn-stamp-outline-dark {
  transform: translate(0, 0);
  transition: all 0.2s ease;
  cursor: pointer;
}

/* 1. Black button on light bg — grey shadow */
.btn-stamp {
  border: 3px solid #000;
  box-shadow: 6px 6px 0 0 #b0b0b0;
}
.btn-stamp:active {
  transform: translate(5px, 5px) !important;
  box-shadow: 0 0 0 0 #b0b0b0;
}

/* 2. White button on dark bg — light shadow */
.btn-stamp-dark {
  border: 3px solid #fff;
  box-shadow: 6px 6px 0 0 rgba(255,255,255,0.25);
}
.btn-stamp-dark:active {
  transform: translate(5px, 5px) !important;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.25);
}

/* 3. Outline button on light bg — dark shadow */
.btn-stamp-outline {
  border: 3px solid #000;
  box-shadow: 6px 6px 0 0 #000;
}
.btn-stamp-outline:active {
  transform: translate(5px, 5px) !important;
  box-shadow: 0 0 0 0 #000;
}

/* 4. Outline button on dark bg — light shadow */
.btn-stamp-outline-dark {
  border: 3px solid #fff;
  box-shadow: 6px 6px 0 0 rgba(255,255,255,0.25);
}
.btn-stamp-outline-dark:active {
  transform: translate(5px, 5px) !important;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.25);
}

/* Torn edges — black paint via inverted PNGs */
.torn-edge-bottom, .torn-edge-top {
  position: relative;
  z-index: 3;
  height: 50px;
  pointer-events: none;
  line-height: 0;
}
.torn-edge-bottom { margin-bottom: -50px; }
.torn-edge-top { margin-top: -50px; }
.torn-edge-bottom img, .torn-edge-top img {
  width: 100%; height: 100%; display: block; filter: invert(1) brightness(0);
}
.torn-edge-bottom img { transform: scaleY(-1); }
@media (min-width: 768px) {
  .torn-edge-bottom, .torn-edge-top { height: 70px; }
  .torn-edge-bottom { margin-bottom: -70px; }
  .torn-edge-top { margin-top: -70px; }
}

/* Infinite review marquee */
@keyframes review-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.review-track {
  animation: review-scroll 40s linear infinite;
}

/* ═══ LOADING SCREEN — spring variant ═══ */
#splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  clip-path: inset(0% 0% 0% 0%);
}

#splash-overlay.exit-content .splash-inner {
  opacity: 0;
  transform: scale(1.08);
}

#splash-overlay.exit-split {
  clip-path: inset(50% 0% 50% 0%);
}

#splash-overlay .splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  transition: opacity 0.35s ease-in, transform 0.35s ease-in;
}

@keyframes splash-spring-left {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }

  60% {
    opacity: 1;
    transform: translateX(-5px);
  }

  80% {
    transform: translateX(2px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

#splash-logo {
  max-width: 70vw;
  width: 280px;
  height: auto;
  opacity: 0;
  animation: splash-spring-left 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
  filter: invert(1);
}

#splash-overlay {
  transition: clip-path 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Animation gating — pause hero + fade-up while loading */
body[data-loading] .hero-animate {
  animation: none !important;
  opacity: 0;
}

body[data-loading] .fade-up {
  transition: none !important;
}

/* Contact form — floating label inputs */
.form-field { position: relative; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #c6c6c6;
  padding: 1.5rem 0 0.5rem;
  font-family: 'Newsreader', serif;
  font-size: 1.125rem;
  color: #1a1c1c;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.3s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: #000;
}
.form-field label {
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #474747;
  font-weight: 600;
  pointer-events: none;
  transition: color 0.3s ease;
}
.form-field input:focus ~ label,
.form-field select:focus ~ label,
.form-field textarea:focus ~ label {
  color: #000;
}
.form-field select {
  font-size: 0.875rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  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='%23777' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}


/* Trip accordion — mobile */
.trip-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.trip-accordion.open .trip-accordion-body {
  max-height: 400px;
}
.trip-accordion.open .trip-chevron {
  transform: rotate(180deg);
}


@media (prefers-reduced-motion: reduce) {
  #splash-overlay {
    display: none !important;
  }
}
