/* Public site. Reuse .ride, .trip, .panel, and .btn for later Stay and Shop pages. */

:root {
  --ink: #121614;
  --ink-soft: #1c2420;
  --paper: #f3f0e8;
  --paper-2: #e7e2d6;
  --white: #fbfaf6;
  --muted: #5e675f;
  --line: rgba(18, 22, 20, 0.14);
  --orange: #ff5e14;
  --orange-deep: #e04e0c;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.92;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4.2rem, 11vw, 8.4rem);
}

h1.page-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.6rem, 2vw, 2.1rem);
}

p {
  margin: 0 0 0.75rem;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 40;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.lede {
  max-width: 36rem;
  font-size: 1.15rem;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 22, 20, 0.94);
  color: var(--paper);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243, 240, 232, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--paper);
}

.brand-mark {
  display: block;
  flex: none;
}

.brand-mark img {
  height: 48px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

.site-nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem 1.3rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a[aria-current="page"] {
  color: var(--orange);
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left:-20px;
  min-width: 260px;
  padding: 0.4rem;
  background: var(--ink);
  border: 1px solid rgba(243, 240, 232, 0.12);
  flex-direction: column;
  z-index: 5;
}

.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub {
  display: flex;
}

.nav-sub a {
  min-height: 40px;
  padding: 0.15rem 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.nav-sub a:hover,
.nav-sub a[aria-current="page"] {
  background: var(--ink-soft);
  color: var(--orange);
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.flag {
  width: 26px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border: 0;
  background: var(--orange);
  color: #1a0d06;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  background: var(--orange-deep);
}

.btn-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  flex: none;
  border: 2px solid rgba(26, 13, 6, 0.28);
  border-top-color: #1a0d06;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

.btn.is-sending {
  gap: 0.65rem;
  cursor: wait;
}

.btn.is-sending .btn-spinner {
  display: block;
}

.btn.is-sending:disabled {
  cursor: wait;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(243, 240, 232, 0.55);
}

.btn-ghost:hover {
  background: rgba(243, 240, 232, 0.1);
  color: var(--paper);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  background: #000;
}

.btn-small {
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  font-size: 1rem;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(12, 16, 14, 0.88) 0%, rgba(12, 16, 14, 0.25) 46%, rgba(12, 16, 14, 0.35) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 9rem));
  padding: 2rem 0 2.4rem;
}

.hero--center .hero-copy {
  text-align: center;
}

.hero--center .lede {
  margin-inline: auto;
}

.hero--center .hero-actions,
.hero--center .hero-dots {
  justify-content: center;
}

.hero--right .hero-copy {
  text-align: right;
}

.hero--right .lede {
  margin-left: auto;
}

.hero--right .hero-actions,
.hero--right .hero-dots {
  justify-content: flex-end;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(18, 22, 20, 0.55);
  color: var(--paper);
  cursor: pointer;
}

.hero-arrow--prev {
  left: 1rem;
}

.hero-arrow--next {
  right: 1rem;
}

.hero-arrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.hero-arrow--prev::before {
  transform: rotate(-135deg);
  margin-left: 0.2rem;
}

.hero-arrow--next::before {
  transform: rotate(45deg);
  margin-right: 0.2rem;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: var(--orange);
  color: var(--white);
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(243, 240, 232, 0.45);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--orange);
}

.hero h1 {
  max-width: none;
  font-size: clamp(3.4rem, 7.6vw, 6.4rem);
}

.hero .lede {
  color: rgba(243, 240, 232, 0.88);
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head p:last-child {
  margin: 0;
  max-width: 28rem;
}

.ride-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.ride {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 1.3rem;
  color: var(--paper);
  background-color: var(--ink);
  text-decoration: none;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
}

.ride::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 12, 0.82), rgba(10, 14, 12, 0.05) 55%);
}

.ride > * {
  position: relative;
}

.ride .index {
  font-family: var(--display);
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.is-home .ride .index {
  font-size: 1.45rem;
}

.ride p {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  color: rgba(243, 240, 232, 0.86);
}

.tour-search {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
}

.tour-search .kicker {
  margin: 0;
}

.tour-search input {
  max-width: 28rem;
}

.tour-search-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.trip-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.trip {
  display: grid;
  grid-template-columns: 168px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.trip img {
  width: 168px;
  height: 112px;
  object-fit: cover;
  background: var(--paper-2);
}

.trip h3 {
  font-size: 1.85rem;
  margin-bottom: 0.25rem;
}

.trip h3 span {
  text-transform: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
}

.trip-meta {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--orange);
}

.trip-end {
  text-align: right;
  min-width: 7rem;
}

.price {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  margin: 0;
}

.trip-end .go {
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.is-home .trip-meta,
.is-home .trip-end .go {
  font-size: 1.2rem;
}

.about-grid,
.contact-grid,
.tour-grid {
  display: grid;
  gap: 2rem;
}

.about-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.about-photo {
  margin: 0;
  height: 100%;
  min-height: 100%;
  border-radius: 8px;
  background-size: cover;
  background-position: center 68%;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.fact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.fact {
  background: var(--white);
  padding: 1rem 1rem 1.1rem;
  border-top: 3px solid var(--orange);
}

.fact h3 {
  font-size: 1.45rem;
}

.fact p {
  margin: 0;
  color: var(--muted);
}

.page-banner {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
  color: var(--paper);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 16, 14, 0.86), rgba(12, 16, 14, 0.2));
}

.page-banner-inner {
  position: relative;
  padding: 2.5rem 0;
}

.page-banner h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 16ch;
}

.page-banner--compact {
  min-height: 340px;
}

.page-banner--compact h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0 0 0.7rem;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crumbs a {
  color: #ffd0b8;
  text-decoration: none;
}

.tour-grid {
  grid-template-columns: 1fr 300px;
  align-items: start;
}

.panel {
  background: var(--ink);
  color: var(--paper);
  padding: 1.3rem;
  position: sticky;
  top: 88px;
}

.panel .price {
  font-size: 3rem;
  color: var(--orange);
}

.panel .btn {
  width: 100%;
  margin-top: 0.8rem;
}

.panel a.quiet {
  display: block;
  margin-top: 0.8rem;
  text-align: center;
  color: var(--paper);
}

.place-map {
  height: 380px;
  border: 1px solid var(--line);
  background: #d5e0d2;
}

.place-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.place-map-note {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
}

.place-map-note a {
  color: var(--ink);
}

.prose {
  max-width: 68ch;
}

.prose--full {
  max-width: none;
}

.prose h2,
.prose h3 {
  margin-top: 1.3rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.15;
  font-size: 1.7rem;
}

.prose a,
.theme-font-color {
  color: var(--orange-deep);
}

.prose img {
  margin: 1rem 0;
  height: auto;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose [style*="background"] {
  background: transparent !important;
  background-color: transparent !important;
}

.film-row,
.gallery-grid {
  display: grid;
  gap: 0.5rem;
}

.film-row {
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 32%);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.4rem;
}

.film-row img,
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  scroll-snap-align: start;
  background: var(--paper-2);
}

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--paper-2);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-item img {
  height: 200px;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.stay-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.stay {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--white);
}

.stay img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.stay div {
  padding: 1rem;
}

.stay p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.contact-side {
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem;
}

.contact-side a {
  color: var(--paper);
}

.contact-side h1 {
  font-size: 2.6rem;
}

.form-card {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  padding: 1.4rem;
}

.form-card label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.notice {
  margin: 0;
  padding: 0.85rem 1rem;
}

.notice-ok {
  background: #e7f2e4;
}

.notice-error {
  background: #fff1f1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-note a {
  color: var(--ink);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mobile-book {
  display: none;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 2rem;
}

.site-footer a {
  color: var(--paper);
  text-decoration: none;
}

.site-footer h2 {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.site-footer ul,
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer p {
  max-width: 28rem;
  color: #d9d3c6;
}

.fine {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 240, 232, 0.12);
  font-size: 0.9rem;
  color: #b7b1a4;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(10, 12, 11, 0.88);
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

.empty {
  padding: 1.2rem 0 0.2rem;
}

@media (max-width: 900px) {
  .ride-grid,
  .about-grid,
  .tour-grid,
  .contact-grid,
  .stay-list,
  .footer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    position: static;
  }

  .about-photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .trip {
    grid-template-columns: 120px 1fr;
    align-items: start;
  }

  .trip-end {
    grid-column: 2;
    text-align: left;
  }

  .trip img {
    width: 120px;
    height: 90px;
  }
}

@media (max-width: 700px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand actions";
    align-content: center;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-book,
  .flag {
    display: none;
  }

  body.has-mobile-book .mobile-book {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(18, 22, 20, 0.96);
    border-top: 1px solid rgba(243, 240, 232, 0.12);
  }

  body.has-mobile-book .mobile-book .btn {
    flex: 1;
    width: auto;
    min-height: 44px;
  }

  body.has-mobile-book {
    padding-bottom: 4.6rem;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 25;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    max-height: calc(100svh - 72px);
    overflow-y: auto;
    padding: 0.35rem 1rem 1rem;
    background: rgba(18, 22, 20, 0.98);
    border-bottom: 1px solid rgba(243, 240, 232, 0.08);
  }

  body.has-mobile-book .site-nav {
    max-height: calc(100svh - 72px - 4.6rem);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-sub {
    position: static;
    display: flex;
    min-width: 0;
    padding: 0 0 0.3rem 0.85rem;
    border: 0;
    background: transparent;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-arrow {
    top: 28%;
    width: 44px;
    height: 44px;
  }

  .hero-arrow--prev {
    left: 0.55rem;
  }

  .hero-arrow--next {
    right: 0.55rem;
  }

  .hero-actions .btn,
  .panel .btn {
    width: 100%;
  }

  .ride {
    min-height: 240px;
  }

  .place-map {
    height: 280px;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-item img,
  .hero-slide,
  .btn-spinner {
    animation: none;
    transition: none;
  }
}
