/* Jellybean Transportation — preliminary site styles
   Warm, festive, professional. No frameworks. */

:root {
  --burgundy: #6b172f;
  --burgundy-deep: #3f0d1c;
  --burgundy-hover: #551226;
  --gold: #c39a56;
  --gold-soft: #e0c48a;
  --cream: #fbf7ec;
  --ivory: #f6f0e4;
  --paper: #fffdf8;
  --ink: #1c1410;
  --ink-soft: #4e433c;
  --muted: #6b6058;
  --line: rgba(107, 23, 47, 0.16);
  --line-strong: rgba(107, 23, 47, 0.28);
  --shadow: 0 10px 30px rgba(63, 13, 28, 0.08);
  --shadow-lg: 0 18px 50px rgba(63, 13, 28, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 4.5rem;
  --max: 72rem;
  --narrow: 44rem;
  --font-serif: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: 180ms ease;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--burgundy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--ease);
}

a:hover { color: var(--burgundy-hover); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--burgundy-deep);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.15rem, 5vw, 3.6rem); font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--burgundy);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus { top: 0; color: var(--cream); }

/* Top bar */
.topbar {
  background: var(--burgundy-deep);
  color: var(--cream);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  color: var(--cream);
  text-decoration: none;
}

.topbar a:hover { color: var(--gold-soft); text-decoration: underline; }

.topbar-note {
  color: var(--gold-soft);
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--burgundy-deep);
  min-width: 0;
}

.logo:hover { color: var(--burgundy); }

.logo img,
.logo svg {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-serif);
  font-weight: 650;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--burgundy);
}

.nav-toggle-bars {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-nav ul {
  display: flex;
  gap: 0.2rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--burgundy);
  background: var(--ivory);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
  border-radius: 8px;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap-narrow { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

.section { padding: 4rem 0; }

.section-tight { padding: 3rem 0; }

.kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.lede {
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn:hover { color: var(--cream); transform: translateY(-1px); }

.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}

.btn-primary:hover { background: var(--burgundy-hover); color: var(--cream); }

.btn-gold {
  background: var(--gold);
  color: var(--burgundy-deep);
  border-color: var(--gold);
}

.btn-gold:hover { background: var(--gold-soft); color: var(--burgundy-deep); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 247, 236, 0.55);
}

.btn-ghost:hover {
  background: rgba(251, 247, 236, 0.1);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--cream);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 42rem);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: var(--burgundy-deep) center/cover no-repeat;
}

.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 16, 18, 0.25) 0%, rgba(28, 16, 18, 0.45) 40%, rgba(28, 16, 18, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem 3.5rem;
  width: 100%;
}

.hero h1 { color: var(--cream); max-width: 16ch; }

.hero .lede { color: rgba(251, 247, 236, 0.9); }

.hero .kicker { color: var(--gold-soft); }

/* Featured trips */
.featured {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured-banner {
  background: var(--burgundy-deep);
  color: var(--cream);
  padding: 1.1rem 1.25rem;
  text-align: center;
}

.featured-banner p { margin: 0; }

.featured-banner a { color: var(--gold-soft); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2 { margin: 0; }

.trip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.trip-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trip-card a.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.trip-card a.card-link:hover h3 { color: var(--burgundy); }

.trip-card .card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--burgundy-deep);
}

.trip-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.trip-card a.card-link:hover .card-image img { transform: scale(1.04); }

.card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }

.card-body h3 { margin-bottom: 0.35rem; }

.meta {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 0.7rem;
}

.status-pill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(195, 154, 86, 0.18);
  color: var(--burgundy-deep);
  border: 1px solid rgba(195, 154, 86, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.card-body .btn { margin-top: auto; align-self: flex-start; }

/* Split / about teaser */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Coming soon services */
.services {
  background: var(--burgundy-deep);
  color: var(--cream);
}

.services h2,
.services h3 { color: var(--cream); }

.services .kicker { color: var(--gold-soft); }

.services .lede { color: rgba(251, 247, 236, 0.85); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-card {
  background: rgba(251, 247, 236, 0.06);
  border: 1px solid rgba(195, 154, 86, 0.28);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
}

.service-card p { margin-bottom: 0; color: rgba(251, 247, 236, 0.86); }

/* Contact band */
.contact-band {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-details li {
  margin-bottom: 0.7rem;
}

.contact-details span.label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}

/* Page hero (interior) */
.page-hero {
  background: var(--burgundy-deep);
  color: var(--cream);
  padding: 3.2rem 0 2.6rem;
  position: relative;
  overflow: hidden;
}

.page-hero.page-hero-image { padding: 0; min-height: 22rem; display: flex; align-items: flex-end; }

.page-hero.page-hero-image .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.page-hero-image .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,16,18,0.25), rgba(28,16,18,0.78));
}

.page-hero-content { position: relative; z-index: 1; padding: 5rem 0 2.4rem; }

.page-hero h1 { color: var(--cream); }

.page-hero .lede,
.page-hero p { color: rgba(251, 247, 236, 0.9); }

.page-hero .kicker { color: var(--gold-soft); }

/* Trip detail */
.trip-layout {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.prose h2 { margin-top: 2rem; }

.schedule {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  border-top: 1px solid var(--line);
}

.schedule li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.schedule .when {
  font-weight: 700;
  color: var(--burgundy);
}

.note {
  background: var(--ivory);
  border-left: 4px solid var(--gold);
  padding: 0.9rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.25rem 0;
}

.note p:last-child { margin: 0; }

.disclaimer {
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.interest-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem 1.6rem;
  position: sticky;
  top: 5.5rem;
}

.interest-box h2 { font-size: 1.45rem; }

.interest-box .btn { width: 100%; }

.interest-box .cta-row { flex-direction: column; }

/* Travel info / FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--burgundy-deep);
}

.faq details p { margin: 0.7rem 0 0.2rem; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.2rem;
}

.info-card h2 { font-size: 1.35rem; }

.info-card p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  background: #2a1218;
  color: rgba(251, 247, 236, 0.86);
  padding: 3rem 0 1.5rem;
  font-size: 1rem;
}

.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--cream); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h2 {
  color: var(--cream);
  font-size: 0.8rem;
  font-family: var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }

.footer-brand {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.8rem;
  color: var(--cream);
  text-decoration: none;
}

.footer-brand img { width: 2.4rem; height: 2.4rem; }
.footer-brand .logo-name { font-size: 1.1rem; }

.legal {
  border-top: 1px solid rgba(251, 247, 236, 0.12);
  padding-top: 1.1rem;
  font-size: 0.88rem;
  color: rgba(251, 247, 236, 0.65);
}

.legal p { margin-bottom: 0.5rem; }

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

.muted { color: var(--muted); }

hr.gold {
  border: 0;
  height: 2px;
  width: 3.5rem;
  background: var(--gold);
  margin: 0 0 1.2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .trip-grid,
  .split,
  .service-grid,
  .contact-grid,
  .trip-layout,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .schedule li { grid-template-columns: 1fr; gap: 0.15rem; }

  .interest-box { position: static; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul { flex-direction: column; align-items: stretch; }

  .site-header { position: sticky; }

  .header-inner { position: relative; }

  .hero { min-height: 28rem; }
}

@media (max-width: 640px) {
  body { font-size: 1.05rem; }
  .hero-content { padding: 4.5rem 1.25rem 2.25rem; }
  .section { padding: 2.75rem 0; }
  .topbar-note { display: none; }
}

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

.page-hero .status-pill {
  background: rgba(28, 16, 18, 0.55);
  color: var(--cream);
  border-color: var(--gold);
  margin-top: 1rem;
}

.status-pill {
  max-width: 100%;
  line-height: 1.35;
  white-space: normal;
}
