/* ==========================================================================
   Goths on a Bus — stylesheet
   Design tokens
   ========================================================================== */

:root {
  /* Colour */
  --void: #0f0d12;
  --void-2: #151119;
  --surface: #1c1720;
  --surface-raised: #251e2b;
  --oxblood: #7a1f2b;
  --oxblood-bright: #a5303f;
  --brass: #a8874f;
  --brass-dim: #6f5c3a;
  --parchment: #e7e0d3;
  --parchment-dim: #a79c8f;
  --iron: #3a3340;

  /* Type */
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-accent: "Cormorant Garamond", "Georgia", serif;
  --font-body: "EB Garamond", "Georgia", serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-soft: 2px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--void);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.65;
  background-image:
    radial-gradient(ellipse at 20% -10%, rgba(122, 31, 43, 0.18), transparent 55%),
    radial-gradient(ellipse at 100% 10%, rgba(168, 135, 79, 0.08), transparent 45%);
}

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

a { color: var(--brass); text-decoration-color: rgba(168, 135, 79, 0.45); text-underline-offset: 3px; }
a:hover { color: var(--oxblood-bright); }
a:focus-visible,
button:focus-visible,
.ticket:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--parchment);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.9rem;
}

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- ornamental divider (wrought-iron gate motif) ---------- */
.divider {
  width: 100%;
  height: 34px;
  margin: 0 auto;
  background-repeat: repeat-x;
  background-position: center;
  background-size: 68px 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='34' viewBox='0 0 68 34'%3E%3Cg fill='none' stroke='%23a8874f' stroke-width='1.1' opacity='0.55'%3E%3Cpath d='M0 17 H68'/%3E%3Cpath d='M34 2 L34 32'/%3E%3Ccircle cx='34' cy='17' r='6'/%3E%3Cpath d='M28 11 L34 2 L40 11'/%3E%3Cpath d='M28 23 L34 32 L40 23'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 13, 18, 0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--iron);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1.5rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 1.05rem;
  color: var(--parchment);
}

.logo-placeholder {
  width: 38px;
  height: 38px;
  border: 1px solid var(--brass-dim);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.02em;
  color: var(--brass);
  text-align: center;
  line-height: 1.1;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a { color: var(--parchment-dim); }
.nav-links a:hover { color: var(--brass); }

.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--void-2);
    border-bottom: 1px solid var(--iron);
    flex-direction: column;
    padding: 1.2rem var(--gutter) 1.5rem;
    gap: 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--iron);
    color: var(--parchment);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 8vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--iron);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='260' viewBox='0 0 900 260'%3E%3Cg fill='%230b090d'%3E%3Cpath d='M0 260 L0 190 L20 190 L20 150 L45 150 L45 120 L60 120 L60 150 L80 150 L80 100 L95 100 L95 60 L100 40 L105 60 L110 100 L130 100 L130 160 L150 160 L150 190 L170 190 L170 130 L185 130 L185 90 L200 90 L200 60 L210 40 L220 60 L220 90 L235 90 L235 140 L255 140 L255 190 L270 190 L270 150 L285 150 L285 110 L300 110 L300 70 L310 45 L320 70 L320 110 L335 110 L335 160 L360 160 L360 190 L380 190 L380 130 L400 130 L400 90 L410 55 L420 90 L420 130 L440 130 L440 175 L460 175 L460 195 L480 195 L480 140 L495 140 L495 95 L505 60 L515 95 L515 140 L530 140 L530 185 L550 185 L550 200 L570 200 L570 150 L585 150 L585 110 L595 75 L605 110 L605 150 L620 150 L620 190 L640 190 L640 200 L660 200 L660 160 L675 160 L675 120 L685 85 L695 120 L695 160 L710 160 L710 195 L730 195 L730 210 L750 210 L750 170 L765 170 L765 130 L775 95 L785 130 L785 170 L800 170 L800 205 L820 205 L820 215 L840 215 L840 185 L855 185 L855 150 L865 120 L875 150 L875 185 L890 185 L890 220 L900 220 L900 260 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 900px 260px;
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero h1 span {
  display: block;
  color: var(--oxblood-bright);
  font-size: 0.42em;
  letter-spacing: 0.4em;
  margin-top: 0.6em;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--parchment-dim);
  max-width: 46ch;
  margin: 1.2rem 0 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-soft);
  border: 1px solid var(--brass-dim);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--oxblood);
  border-color: var(--oxblood-bright);
  color: var(--parchment);
}
.btn-primary:hover { background: var(--oxblood-bright); color: var(--void); }

.btn-ghost { color: var(--brass); }
.btn-ghost:hover { border-color: var(--brass); background: rgba(168, 135, 79, 0.08); color: var(--brass); }

/* ==========================================================================
   Sections, generic
   ========================================================================== */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
section + section { border-top: 1px solid var(--iron); }

.section-head {
  max-width: 100ch;
  margin-bottom: 2.75rem;
}

.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }

.lede {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--parchment-dim);
  margin-top: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- About / two-column ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-grid h3 {
  font-size: 1.1rem;
  color: var(--brass);
  margin-bottom: 0.7rem;
  letter-spacing: 0.08em;
}

.about-grid p { margin: 0 0 1rem; }

.stat-panel {
  border: 1px solid var(--iron);
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-soft);
}

.stat-panel dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem 1.2rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.stat-panel dt { color: var(--brass); }
.stat-panel dd { margin: 0; color: var(--parchment-dim); }

.bandlist {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--parchment-dim);
  border-left: 2px solid var(--oxblood);
  padding-left: 1.1rem;
  margin: 1.5rem 0;
}

/* ==========================================================================
   Route tickets — signature element
   ========================================================================== */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.2rem 1.6rem;
}

.ticket {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--iron);
  border-radius: 46% 46% 4px 4px / 22% 22% 4px 4px;
  padding: 2.4rem 1.5rem 1.6rem;
  isolation: isolate;
}

.ticket::before {
  /* perforation notches, ticket-stub style */
  content: "";
  position: absolute;
  left: -9px;
  right: -9px;
  top: 108px;
  height: 0;
  border-top: 2px dashed var(--iron);
  z-index: -1;
}

.ticket::after {
  content: "";
  position: absolute;
  top: 100px;
  left: -9px;
  width: 18px;
  height: 18px;
  background: var(--void);
  border-radius: 50%;
  box-shadow: 218px 0 0 var(--void);
  border: 1px solid var(--iron);
}

.ticket-badge {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  border: 1px solid var(--brass);
  display: grid;
  place-items: center;
  color: var(--brass);
}

.ticket-badge svg { width: 22px; height: 22px; }

.ticket h3 {
  text-align: center;
  font-size: 1.02rem;
  color: var(--parchment);
  margin-bottom: 0.2rem;
}

.ticket .ticket-code {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--oxblood-bright);
  margin-bottom: 1.6rem;
}

.route-line {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0 0.4rem;
  border-left: 1px solid var(--brass-dim);
}

.route-line li {
  position: relative;
  padding: 0 0 1.05rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--parchment-dim);
}

.route-line li::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 0.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--void);
  border: 1px solid var(--brass);
}

.route-line li:last-child { color: var(--parchment); padding-bottom: 0; }
.route-line li:last-child::before { background: var(--oxblood); border-color: var(--oxblood-bright); }

.ticket-note {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--iron);
  font-size: 0.8rem;
  color: var(--parchment-dim);
  text-align: center;
}

/* ==========================================================================
   Timeline (travel dates)
   ========================================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}

.timeline-item {
  border-top: 2px solid var(--brass-dim);
  padding-top: 1rem;
}

.timeline-item .day {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.timeline-item .date {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0.3rem 0 0.5rem;
}

.timeline-item p { margin: 0; color: var(--parchment-dim); font-size: 0.92rem; }

/* ==========================================================================
   Pricing ledger
   ========================================================================== */
.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ledger caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--parchment-dim);
}

.ledger th, .ledger td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--iron);
  text-align: left;
}

.ledger thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--brass-dim);
}

.ledger tbody tr:hover { background: rgba(122, 31, 43, 0.08); }

.ledger td.price {
  font-family: var(--font-mono);
  color: var(--oxblood-bright);
  white-space: nowrap;
}

.ledger tr.expired td {
  text-decoration: line-through;
  color: var(--parchment-dim);
}

.plan-name { color: var(--parchment); }
.plan-name small { display: block; color: var(--parchment-dim); font-weight: 400; font-family: var(--font-body); font-size: 0.88rem; }

.cancellation {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.9rem;
}

.cancellation-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  font-size: 0.92rem;
  border-left: 2px solid var(--iron);
  padding-left: 1rem;
}

.cancellation-row strong {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brass);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .cancellation-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA / contact
   ========================================================================== */
.cta {
  background: var(--surface-raised);
  border: 1px solid var(--iron);
  border-radius: var(--radius-soft);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 760px) {
  .cta { grid-template-columns: 1fr; }
}

.cta h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.cta p { color: var(--parchment-dim); margin: 0; }

.cta-actions { display: flex; flex-direction: column; gap: 0.8rem; }

.faq {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
}

.faq details {
  border: 1px solid var(--iron);
  border-radius: var(--radius-soft);
  padding: 0.9rem 1.2rem;
  background: var(--surface);
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--parchment);
}

.faq summary::marker { color: var(--brass); }

.faq p { margin: 0.8rem 0 0; color: var(--parchment-dim); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--iron);
  padding-block: 2.5rem;
  background: var(--void-2);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.footer-fine {
  width: 100%;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--parchment-dim);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Guide pages — generated from the markdown source
   ========================================================================== */
.guide-page { max-width: 760px; margin-inline: auto; }
.guide-page p, .guide-page ul, .guide-page ol { margin: 0 0 1.1rem; }
.guide-page h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.guide-page h3 { font-size: 1.15rem; color: var(--brass); margin-top: 1.8rem; }

.guide-back {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

/* ---------- images ---------- */
.guide-img {
  display: block;
  max-width: 100%;
  margin: 1.5rem auto;
  border-radius: var(--radius-soft);
}

.guide-img-small {
  float: right;
  max-width: min(280px, 45%);
  margin: 0.3rem 0 1rem 1.5rem;
}

.guide-img ~ em {
  display: block;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  color: var(--parchment-dim);
  margin-top: -0.8rem;
}

/* A small image loses its float inside a table cell — there's rarely enough surrounding
   text there for "wraps around it" to mean anything, so it just centres like a large one. */
.guide-table .guide-img-small {
  float: none;
  max-width: 100%;
  margin: 0.5rem auto;
}

/* ---------- tables ---------- */
.guide-table {
  margin: 0 auto 1.1rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.guide-table th, .guide-table td {
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--iron);
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  background: var(--surface);
}

.guide-table tbody tr:hover { background: rgba(122, 31, 43, 0.08); }

/* ---------- callouts (NOTE / WARNING / IMPORTANT paragraphs) ---------- */
.callout {
  border-left: 3px solid var(--brass);
  background: var(--surface);
  padding: 1rem 1.25rem;
  margin: 0 0 1.1rem;
  border-radius: var(--radius-soft);
}

.callout p { margin: 0; }

.callout-warning, .callout-important {
  border-left-color: var(--oxblood-bright);
  background: rgba(122, 31, 43, 0.12);
}
