/* ============================================================
   QEERROO TRANS LLC - Desert Transit Side-Board Theme
   Palette:
     ADOBE-WHITE  #F4F1E8  body background
     CURB-INK     #2B2C28  body text
     TRANS-TEAL   #14666B  accent
     DUSK-SHELTER #26251F  shelter band / footer
     SIGN-CREAM   #FAF7EC  raised boards
     PAVE-TAUPE   #CFC5B2  pavement / pole bases
     LINE-COPPER  #B4552E  Line 3 band + stop dots ONLY
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #F4F1E8;
  color: #2B2C28;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: #14666B;
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #26251F;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  margin-top: 0;
  color: #2B2C28;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---------- Scroll reveal ---------- */
.revealable {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.revealable.is-shown {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- NAVIGATION: SIDE-BOARD POLE ---------- */
.tokenrail {
  background-color: #26251F;
  border-bottom: 6px solid #CFC5B2;
  position: relative;
}

.tokenrail-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px 20px 24px;
  position: relative;
}

.tokenrail-pole {
  position: absolute;
  top: 0;
  left: 16px;
  width: 14px;
  height: 100%;
  background-color: #CFC5B2;
  border-left: 3px solid #26251F;
  border-right: 3px solid #26251F;
}

.tokenrail-head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-left: 44px;
}

.brandsign {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FAF7EC;
  border: 3px solid #CFC5B2;
  border-radius: 30px;
  padding: 8px 20px 8px 14px;
}

.brandsign-glyph {
  display: inline-block;
  width: 26px;
  height: 12px;
  background-color: #14666B;
  border-left: 6px solid #B4552E;
}

.brandsign-name {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  font-size: 1.18rem;
  color: #26251F;
  letter-spacing: 0.4px;
  text-decoration: none;
}

.brandsign-name:hover,
.brandsign-name:focus {
  color: #14666B;
}

.tokenrail-tagline {
  color: #FAF7EC;
  font-size: 0.86rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0;
}

.tokenrail-boards {
  list-style: none;
  margin: 20px 0 0 44px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tokenrail-boards li {
  display: block;
}

.tokenboard {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #FAF7EC;
  color: #26251F;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border: 2px solid #CFC5B2;
  border-left-width: 8px;
  border-left-color: #14666B;
}

.tokenboard-line-copper {
  border-left-color: #B4552E;
}

.tokenboard:hover,
.tokenboard:focus {
  background-color: #14666B;
  color: #FAF7EC;
}

.tokenboard:hover .tokenboard-band,
.tokenboard:focus .tokenboard-band {
  background-color: #FAF7EC;
}

.tokenboard-band {
  display: inline-block;
  width: 22px;
  height: 8px;
  background-color: #14666B;
}

.tokenboard-band-copper {
  background-color: #B4552E;
}

.tokenboard.is-current {
  background-color: #14666B;
  color: #FAF7EC;
  border-left-color: #FAF7EC;
}

.tokenboard.is-current .tokenboard-band {
  background-color: #FAF7EC;
}

.tokenrail-toggle {
  display: none;
  margin: 16px 0 0 44px;
  background-color: #FAF7EC;
  color: #26251F;
  border: 3px solid #CFC5B2;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 18px;
  cursor: pointer;
}

.tokenrail-toggle:hover,
.tokenrail-toggle:focus {
  background-color: #14666B;
  color: #FAF7EC;
}

/* ---------- HERO: HEAD-SIGN ARRIVAL ---------- */
.turnline {
  background-color: #F4F1E8;
  padding: 0 0 46px 0;
}

.turnline-shelter {
  background-color: #26251F;
  border-bottom: 8px solid #CFC5B2;
}

.turnline-shelter-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 24px 30px 24px;
  border-top: 10px solid #CFC5B2;
  position: relative;
}

.turnline-posts {
  display: flex;
  gap: 26px;
  margin-bottom: 22px;
}

.turnline-post {
  width: 12px;
  height: 34px;
  background-color: #CFC5B2;
  border-left: 3px solid #26251F;
}

.turnline-headsign {
  display: inline-block;
  background-color: #FAF7EC;
  border: 4px solid #CFC5B2;
  border-radius: 44px;
  padding: 24px 40px;
  max-width: 900px;
}

.turnline-headsign h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #2B2C28;
}

.turnline-headsign h1 span {
  display: block;
}

.turnline-teal {
  color: #14666B;
}

.turnline-intro-board {
  margin-top: 28px;
  background-color: #FAF7EC;
  border: 4px solid #CFC5B2;
  padding: 22px;
}

.turnline-board-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #26251F;
  margin: 0 0 14px 0;
  font-weight: bold;
}

.departurerow {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #FAF7EC;
  border: 2px solid #CFC5B2;
  padding: 12px 16px;
  margin-bottom: 10px;
}

.departurerow-band {
  width: 14px;
  align-self: stretch;
  background-color: #14666B;
  flex-shrink: 0;
}

.departurerow-band-copper {
  background-color: #B4552E;
}

.departurerow-num {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  font-size: 1.3rem;
  color: #26251F;
  min-width: 44px;
}

.departurerow-dest {
  flex: 1;
  color: #2B2C28;
  font-weight: 600;
}

.departurerow-time {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  color: #14666B;
  min-width: 120px;
  text-align: right;
}

.departurerow-time-leaving {
  color: #B4552E;
}

.stopdot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #B4552E;
  margin-left: 8px;
  vertical-align: middle;
}

.turnline-pavement {
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 24px 0 24px;
}

.turnline-pavement-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  background-color: #F4F1E8;
  border-top: 6px solid #CFC5B2;
  padding-top: 30px;
}

.turnline-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 250px;
}

.ticketplate {
  display: inline-block;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  padding: 16px 26px;
  text-decoration: none;
  background-color: #14666B;
  color: #FAF7EC;
  border: 3px solid #14666B;
}

.ticketplate:hover,
.ticketplate:focus {
  background-color: #26251F;
  border-color: #26251F;
  color: #FAF7EC;
}

.ticketplate-outline {
  background-color: #F4F1E8;
  color: #26251F;
  border: 3px solid #14666B;
}

.ticketplate-outline:hover,
.ticketplate-outline:focus {
  background-color: #14666B;
  color: #FAF7EC;
}

.ticketplate-outline small {
  display: inline-block;
  width: 20px;
  height: 8px;
  background-color: #14666B;
  margin-right: 8px;
  vertical-align: middle;
}

.ticketplate-outline:hover small,
.ticketplate-outline:focus small {
  background-color: #FAF7EC;
}

.turnline-lede {
  flex: 1;
  min-width: 300px;
  font-size: 1.06rem;
  color: #2B2C28;
}

.turnline-lede p {
  margin-top: 0;
}

/* ---------- SECTIONS: ROUTE SIDE-BOARDS ---------- */
.gatebay {
  padding: 56px 0 40px 0;
  background-color: #F4F1E8;
}

.gatebay-alt {
  background-color: #FAF7EC;
  border-top: 6px solid #CFC5B2;
  border-bottom: 6px solid #CFC5B2;
}

.gatebay-head {
  max-width: 1140px;
  margin: 0 auto 34px auto;
  padding: 0 24px;
}

.gatebay-head h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.gatebay-head p {
  max-width: 760px;
  color: #2B2C28;
}

.routeboards {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.routeboard {
  position: relative;
  background-color: #FAF7EC;
  border: 3px solid #CFC5B2;
  border-left-width: 16px;
  border-left-color: #14666B;
  padding: 26px 30px 26px 34px;
  margin-bottom: 26px;
}

.routeboard-copper {
  border-left-color: #B4552E;
}

.routeboard-clips {
  position: absolute;
  top: -14px;
  left: 30px;
  display: flex;
  gap: 60px;
}

.routeboard-clip {
  width: 10px;
  height: 14px;
  background-color: #CFC5B2;
  border: 2px solid #26251F;
}

.routeboard-rtag {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #26251F;
  background-color: #CFC5B2;
  padding: 2px 8px;
}

.routeboard-body {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.routeboard-text {
  flex: 1;
}

.routeboard-text h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #2B2C28;
}

.routeboard-text p {
  margin: 0;
  color: #2B2C28;
}

.routeboard-glyph {
  flex-shrink: 0;
  width: 110px;
  text-align: center;
  border-left: 2px solid #CFC5B2;
  padding-left: 18px;
}

.glyph-mark {
  display: inline-block;
  width: 46px;
  height: 46px;
  border: 4px solid #14666B;
  border-radius: 50%;
  position: relative;
}

.glyph-mark-pin::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 10px;
  height: 10px;
  background-color: #14666B;
  border-radius: 50%;
}

.glyph-mark-clock::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 10px;
  width: 4px;
  height: 14px;
  background-color: #14666B;
}

.glyph-mark-sat::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 13px;
  width: 20px;
  height: 20px;
  background-color: #14666B;
}

.glyph-mark-flag {
  border-radius: 4px;
}

.glyph-mark-flag::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 22px;
  height: 14px;
  background-color: #14666B;
}

.glyph-mark-clip {
  border-radius: 6px;
}

.glyph-mark-clip::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 22px;
  height: 4px;
  background-color: #14666B;
  box-shadow: 0 8px 0 0 #14666B;
}

.glyph-mark-wrench {
  border-radius: 50%;
}

.glyph-mark-wrench::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 8px;
  width: 6px;
  height: 30px;
  background-color: #14666B;
}

.glyph-minutes {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  color: #14666B;
  font-size: 1.05rem;
}

.glyph-minutes small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #26251F;
  font-family: "Segoe UI", Arial, sans-serif;
}

.routeboard:nth-child(1) { width: 92%; }
.routeboard:nth-child(2) { width: 84%; margin-left: 16%; }
.routeboard:nth-child(3) { width: 90%; }
.routeboard:nth-child(4) { width: 86%; margin-left: 14%; }
.routeboard:nth-child(5) { width: 94%; }
.routeboard:nth-child(6) { width: 88%; margin-left: 12%; }

/* ---------- ACCENT STRIP: FIRST AND LAST SERVICE ---------- */
.firstlast {
  background-color: #26251F;
  border-top: 6px solid #CFC5B2;
  border-bottom: 6px solid #CFC5B2;
}

.firstlast-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.firstlast-plates {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.timeplate {
  background-color: #FAF7EC;
  border-left: 8px solid #14666B;
  padding: 8px 16px;
  min-width: 130px;
}

.timeplate-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #26251F;
  font-weight: bold;
}

.timeplate-value {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: bold;
  color: #14666B;
  font-size: 1.1rem;
}

.firstlast-note {
  flex: 1;
  min-width: 260px;
  color: #FAF7EC;
  margin: 0;
  font-size: 1rem;
}

/* ---------- Shared content blocks ---------- */
.plainband {
  padding: 54px 0;
  background-color: #F4F1E8;
}

.plainband-cream {
  background-color: #FAF7EC;
  border-top: 6px solid #CFC5B2;
  border-bottom: 6px solid #CFC5B2;
}

.plainband-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.plainband h2 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.plainband p {
  color: #2B2C28;
}

.prose-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}

.prose-columns > div {
  flex: 1;
  min-width: 280px;
}

.panelrow {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

.panelrow-item {
  flex: 1;
  min-width: 250px;
  background-color: #FAF7EC;
  border: 3px solid #CFC5B2;
  border-top: 8px solid #14666B;
  padding: 22px;
}

.panelrow-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.panelrow-item p {
  margin: 0;
  font-size: 0.98rem;
}

.factlist {
  list-style: none;
  margin: 18px 0 0 0;
  padding: 0;
}

.factlist li {
  padding: 10px 0 10px 26px;
  border-bottom: 2px solid #CFC5B2;
  position: relative;
  color: #2B2C28;
}

.factlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 12px;
  background-color: #14666B;
}

.ctastrip {
  background-color: #14666B;
  padding: 44px 0;
}

.ctastrip-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.ctastrip-inner h2 {
  color: #FAF7EC;
  margin: 0;
  flex: 1;
  min-width: 280px;
  font-size: 1.6rem;
}

.ctastrip-inner p {
  color: #FAF7EC;
  margin: 6px 0 0 0;
  width: 100%;
  max-width: 780px;
}

.ctastrip .ticketplate {
  background-color: #FAF7EC;
  color: #14666B;
  border-color: #FAF7EC;
}

.ctastrip .ticketplate:hover,
.ctastrip .ticketplate:focus {
  background-color: #26251F;
  color: #FAF7EC;
  border-color: #26251F;
}

/* ---------- Accordion ---------- */
.accordion {
  border: 3px solid #CFC5B2;
  background-color: #FAF7EC;
}

.accordion-item + .accordion-item {
  border-top: 3px solid #CFC5B2;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background-color: #FAF7EC;
  color: #2B2C28;
  border: 0;
  font-size: 1.05rem;
  font-weight: bold;
  font-family: Georgia, "Times New Roman", serif;
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-trigger:hover,
.accordion-trigger:focus {
  background-color: #CFC5B2;
}

.accordion-marker {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #14666B;
  margin-left: 14px;
  flex-shrink: 0;
}

.accordion-trigger[aria-expanded="true"] .accordion-marker {
  background-color: #B4552E;
}

.accordion-panel {
  padding: 0 22px 20px 22px;
  color: #2B2C28;
}

.accordion-panel[hidden] {
  display: none;
}

/* ---------- Contact form ---------- */
.formgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.formfield {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.formfield-wide {
  flex-basis: 100%;
}

.formlabel {
  font-weight: bold;
  color: #26251F;
  font-size: 0.92rem;
}

.forminput,
.formtextarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 3px solid #CFC5B2;
  background-color: #FAF7EC;
  color: #2B2C28;
}

.forminput:focus,
.formtextarea:focus {
  outline: 3px solid #14666B;
}

.formtextarea {
  min-height: 160px;
  resize: vertical;
}

.formsubmit {
  margin-top: 8px;
  background-color: #14666B;
  color: #FAF7EC;
  border: 3px solid #14666B;
  font-size: 1rem;
  font-weight: bold;
  padding: 14px 30px;
  cursor: pointer;
}

.formsubmit:hover,
.formsubmit:focus {
  background-color: #26251F;
  border-color: #26251F;
}

.formnote {
  margin-top: 14px;
  font-size: 0.92rem;
  color: #2B2C28;
}

.contactcards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.contactcard {
  flex: 1;
  min-width: 240px;
  background-color: #FAF7EC;
  border: 3px solid #CFC5B2;
  border-left: 12px solid #14666B;
  padding: 22px;
}

.contactcard h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contactcard p {
  margin: 0 0 6px 0;
  color: #2B2C28;
}

.hourstable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background-color: #FAF7EC;
}

.hourstable th,
.hourstable td {
  text-align: left;
  padding: 12px 16px;
  border: 2px solid #CFC5B2;
  color: #2B2C28;
}

.hourstable th {
  background-color: #26251F;
  color: #FAF7EC;
}

/* ---------- FOOTER: WHEEL CHOCK BASE ---------- */
.platformbase {
  background-color: #26251F;
  position: relative;
  padding-top: 22px;
  margin-top: 40px;
}

.platformbase-curb {
  height: 18px;
  background-color: #CFC5B2;
  position: relative;
}

.wheelchock {
  position: absolute;
  top: -16px;
  width: 34px;
  height: 34px;
  background-color: #CFC5B2;
  border: 3px solid #26251F;
}

.wheelchock::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 16px;
  height: 4px;
  background-color: #26251F;
}

.wheelchock-left {
  left: 12%;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.wheelchock-right {
  left: 24%;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.platformbase-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 24px 30px 24px;
}

.platformbase-poleplate {
  background-color: #FAF7EC;
  border: 3px solid #CFC5B2;
  padding: 22px;
  max-width: 560px;
}

.platformbase-poleplate h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.platformbase-poleplate p {
  margin: 0;
  color: #2B2C28;
  font-size: 0.95rem;
}

.platformbase-chips {
  list-style: none;
  margin: 24px 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.platformbase-chips a {
  display: inline-block;
  background-color: #FAF7EC;
  color: #26251F;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border: 2px solid #CFC5B2;
}

.platformbase-chips a:hover,
.platformbase-chips a:focus {
  background-color: #14666B;
  color: #FAF7EC;
}

.platformbase-plinth {
  background-color: #14666B;
  margin-top: 26px;
}

.platformbase-plinth-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  color: #FAF7EC;
  font-size: 0.9rem;
}

.platformbase-plinth-inner a {
  color: #FAF7EC;
}

.platformbase-plinth-inner a:hover,
.platformbase-plinth-inner a:focus {
  color: #CFC5B2;
}

.plinth-stopdot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #CFC5B2;
  margin-right: 6px;
}

/* ---------- Utility ---------- */
.offboard {
  margin-top: 30px;
}

.text-link-block {
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tokenrail-toggle {
    display: inline-block;
  }

  .tokenrail-boards {
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .tokenrail-boards.is-open {
    display: flex;
  }

  .tokenboard {
    display: block;
    width: 100%;
  }

  .routeboard,
  .routeboard:nth-child(n) {
    width: 100%;
    margin-left: 0;
  }

  .turnline-headsign h1 {
    font-size: 1.9rem;
  }

  .turnline-ctas {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .tokenrail-head {
    margin-left: 30px;
  }

  .tokenrail-boards,
  .tokenrail-toggle {
    margin-left: 30px;
  }

  .turnline-headsign {
    padding: 18px 20px;
  }

  .departurerow {
    flex-wrap: wrap;
  }

  .departurerow-time {
    text-align: left;
    min-width: 0;
  }
}
