/* ccn -- css/site.css
   Purpose: Commute Connect public site skin on top of Bootstrap 5. Brand from the
            logo (orange bars, cream sign, charcoal type); the calendar is styled
            as a station departure board. Mobile first. Colours are CSS variables
            so the site can be re-skinned in one place.
   Version: 1.3  2026-10-12  station photo beside the About text (.cc-about-img)
            1.2  2026-10-12  inline sign-up card (.cc-join) for the pre-launch site,
                             hero / band split layouts, Launching 2027 nav label
            1.1  2026-09-27  wider container, 2x logo, next-mornings hero strip,
                             big theme cards, 3 x 2 station grid, sign-up modal,
                             rotating hero, maps always shown, no consent bar
            1.0  2026-09-27 */

:root {
  --cc-orange: #f65904;
  --cc-orange-dark: #cf4800;
  --cc-cream: #eef3cf;
  --cc-cream-soft: #f7f8ec;
  --cc-ink: #1f232a;
  --cc-ink-2: #3a404a;
  --cc-muted: #646b76;
  --cc-line: #e4e6e9;
  --cc-board: #15181d;
  --cc-board-row: #1c2027;
  --cc-amber: #ffb000;
  --cc-radius: 14px;
  --cc-font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cc-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bs-body-font-family: var(--cc-font);
  --bs-body-color: var(--cc-ink);
  --bs-link-color: var(--cc-orange-dark);
  --bs-link-hover-color: var(--cc-orange);
}

html { scroll-behavior: smooth; scroll-padding-top: 140px; }
@media (max-width: 575.98px) { html { scroll-padding-top: 100px; } }
/* use more of wide screens (Bootstrap stops at 1320px) */
@media (min-width: 1400px) { .container { max-width: min(1640px, calc(100vw - 112px)); } }
body { font-family: var(--cc-font); color: var(--cc-ink); background: #fff; font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: .75rem; }
h3 { font-size: 1.2rem; }
a { color: var(--cc-orange-dark); }
img { max-width: 100%; height: auto; }

.cc-skip { position: absolute; left: -999px; top: 8px; background: var(--cc-ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.cc-skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn-cc { background: var(--cc-orange); border: 2px solid var(--cc-orange); color: #fff; font-weight: 700; border-radius: 999px; padding: .55rem 1.25rem; }
.btn-cc:hover, .btn-cc:focus { background: var(--cc-orange-dark); border-color: var(--cc-orange-dark); color: #fff; }
.btn-cc-ghost { background: transparent; border: 2px solid currentColor; color: inherit; font-weight: 700; border-radius: 999px; padding: .55rem 1.25rem; }
.btn-cc-ghost:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn-cc-dark { background: var(--cc-ink); border: 2px solid var(--cc-ink); color: #fff; font-weight: 700; border-radius: 999px; padding: .7rem 1.6rem; }
.btn-cc-dark:hover { background: #000; color: #fff; }
.btn-lg { font-size: 1.05rem; padding: .75rem 1.6rem; }

/* ---------- header ---------- */
.cc-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--cc-line); }
.cc-header .navbar { padding: .45rem 0; }
.cc-brand img { display: block; width: 184px; height: auto; }
@media (max-width: 575.98px) { .cc-brand img { width: 132px; } }
.cc-header .nav-link { color: var(--cc-ink); font-weight: 500; padding: .5rem .85rem !important; border-radius: 999px; }
@media (min-width: 1200px) and (max-width: 1499.98px) { .cc-header .nav-link { padding: .5rem .55rem !important; font-size: .98rem; } }
.cc-header .nav-link:hover, .cc-header .nav-link.active { color: var(--cc-orange-dark); background: var(--cc-cream-soft); }
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(246,89,4,.35); }
@media (max-width: 1199.98px) {
  .cc-header .navbar-collapse { padding: .5rem 0 1rem; }
  .cc-header .btn-cc, .cc-header .btn-cc-outline { margin-top: .5rem; }
}
.btn-cc-outline { background: #fff; border: 2px solid var(--cc-orange); color: var(--cc-orange-dark); font-weight: 700; border-radius: 999px; padding: .55rem 1.1rem; }
.btn-cc-outline:hover, .btn-cc-outline:focus { background: var(--cc-orange); color: #fff; }
.btn-cc-light { background: var(--cc-cream); border: 2px solid var(--cc-cream); color: var(--cc-ink); font-weight: 700; border-radius: 999px; padding: .7rem 1.6rem; }
.btn-cc-light:hover { background: #fff; border-color: #fff; color: var(--cc-ink); }

/* ---------- hero ---------- */
.cc-hero { position: relative; color: #fff; overflow: hidden; background: var(--cc-board); isolation: isolate; }
.cc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cc-hero picture { position: absolute; inset: 0; z-index: -2; }
.cc-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.cc-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(21,24,29,.92) 0%, rgba(21,24,29,.78) 45%, rgba(21,24,29,.35) 100%); }
.cc-hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--cc-orange); z-index: 1; }
.cc-hero-inner { padding-top: clamp(3rem, 8vw, 6.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.cc-hero h1 { max-width: 16ch; margin-bottom: 1rem; }
.cc-hero-page h1 { max-width: 28ch; }
.cc-hero-home h1 { max-width: none; font-size: clamp(2rem, 4.4vw, 3.9rem); }
.cc-h1-th { color: var(--cc-amber); }
/* home hero grid: phones stack text, next mornings, station picker; desktop puts the
   next mornings beside the text and the picker, centred on both */
.cc-hero-grid { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "side" "pick"; }
.cc-hero-text { grid-area: text; }
.cc-hero-side { grid-area: side; }
.cc-hero-pick { grid-area: pick; }
.cc-hero-pick .cc-pick-label { margin-top: 0; }
@media (min-width: 992px) {
  .cc-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "text side" "pick side"; column-gap: 3rem; row-gap: 2rem; align-items: center; }
  .cc-hero-pick { align-self: start; }
}
.cc-hero .cc-rot { opacity: 0; transition: opacity 1.4s ease; }
.cc-hero .cc-rot.is-on { opacity: 1; }
.cc-kicker { font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--cc-amber); margin-bottom: .75rem; }
.cc-lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 72ch; opacity: .95; }
.cc-lead-sm { font-size: 1.1rem; }
.cc-pick-label { margin: 2rem 0 .75rem; font-weight: 700; font-size: 1.15rem; }
.cc-pick { display: flex; flex-wrap: wrap; gap: .5rem; }
.cc-pick-chip { display: inline-block; padding: .6rem 1.05rem; border-radius: 999px; background: var(--cc-cream); color: var(--cc-ink); font-weight: 700; text-decoration: none; border: 2px solid var(--cc-cream); transition: transform .12s ease, background .12s ease; }
.cc-pick-chip:hover, .cc-pick-chip:focus { background: var(--cc-orange); border-color: var(--cc-orange); color: #fff; transform: translateY(-1px); }
.cc-hero-next { margin-top: 1.25rem; font-family: var(--cc-mono); font-size: .9rem; color: #d7dbe0; }
.cc-hero-next a { color: #fff; }
.cc-hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.cc-when-line { font-family: var(--cc-mono); color: var(--cc-cream); font-size: 1rem; }
.cc-past { margin-top: 1.25rem; background: rgba(255,255,255,.1); border-left: 4px solid var(--cc-amber); padding: .8rem 1rem; border-radius: 8px; max-width: 60ch; }
.cc-past a { color: #fff; font-weight: 700; }

/* plain page header band */
.cc-band { background: var(--cc-cream-soft); border-bottom: 1px solid var(--cc-line); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); position: relative; }
.cc-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 6px; background: var(--cc-orange); }
.cc-band .cc-kicker { color: var(--cc-orange-dark); }
.cc-band h1 { max-width: 28ch; }
.cc-band .btn-cc-ghost { color: var(--cc-ink); }
.cc-band .btn-cc-ghost:hover { background: rgba(0,0,0,.05); }

/* breadcrumbs */
.cc-crumbs { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .85rem; }
.cc-crumbs li + li::before { content: "\203A"; margin: 0 .4rem 0 .15rem; opacity: .6; }
.cc-crumbs a { color: inherit; opacity: .85; }
.cc-hero .cc-crumbs { color: #d7dbe0; }

/* ---------- sections ---------- */
.cc-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.cc-alt { background: var(--cc-cream-soft); }
.cc-head { max-width: 1000px; margin-bottom: 1.75rem; }
.cc-head p { color: var(--cc-muted); font-size: 1.05rem; margin: 0; }
.cc-narrow > * { max-width: 1000px; }
.cc-more { margin-top: 1.5rem; }
.cc-link { font-weight: 700; color: var(--cc-orange-dark); text-decoration: none; border-bottom: 2px solid rgba(246,89,4,.35); }
.cc-link:hover { border-bottom-color: var(--cc-orange); }
.cc-small { font-size: .9rem; color: var(--cc-muted); }
.cc-cal-count { font-family: var(--cc-mono); color: var(--cc-orange-dark); margin: 1rem 0 0; }
.cc-muted { color: var(--cc-muted); font-size: .92rem; }
.cc-center { text-align: center; }
.cc-rounded { border-radius: var(--cc-radius); }
.cc-prose h2 { font-size: 1.35rem; margin-top: 2rem; }

/* ---------- filters ---------- */
.cc-tools { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; margin-bottom: 1rem; }
.cc-chips, .cc-view { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; max-width: 100%; }
.cc-chips::-webkit-scrollbar { display: none; }
.cc-view { margin-left: auto; }
.cc-chip { flex: 0 0 auto; border: 2px solid var(--cc-line); background: #fff; color: var(--cc-ink); border-radius: 999px; padding: .35rem .85rem; font-weight: 500; font-size: .92rem; white-space: nowrap; }
.cc-chip:hover { border-color: var(--cc-ink-2); }
.cc-chip.is-on { background: var(--cc-ink); border-color: var(--cc-ink); color: #fff; }
@media (max-width: 767.98px) { .cc-view { margin-left: 0; } }

/* ---------- departures board ---------- */
.cc-board { background: var(--cc-board); color: var(--cc-cream); border-radius: var(--cc-radius); overflow: hidden; border-top: 8px solid var(--cc-orange); border-bottom: 8px solid var(--cc-orange); box-shadow: 0 18px 40px -24px rgba(0,0,0,.6); }
.cc-board-head { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.25rem; font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--cc-amber); border-bottom: 1px solid rgba(255,255,255,.08); }
.cc-clock { font-size: 1.05rem; letter-spacing: .08em; }
.cc-board-cols { display: none; }
.cc-rows { list-style: none; margin: 0; padding: 0; }
.cc-row { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "when dest" "time theme" "buy buy"; gap: .35rem 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.07); align-items: center; }
.cc-row:nth-child(even) { background: var(--cc-board-row); }
.cc-row[hidden] { display: none; }
.cc-when { grid-area: when; font-family: var(--cc-mono); font-weight: 700; color: var(--cc-amber); white-space: nowrap; }
.cc-time { grid-area: time; font-family: var(--cc-mono); color: var(--cc-amber); opacity: .85; }
.cc-dest { grid-area: dest; min-width: 0; }
.cc-dest a { color: #fff; font-weight: 700; font-size: 1.12rem; text-decoration: none; }
.cc-dest a:hover { color: var(--cc-amber); }
.cc-via { display: block; font-size: .88rem; color: #aeb4bd; }
.cc-theme { grid-area: theme; }
.cc-buy { grid-area: buy; display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .35rem; }
.cc-price { font-family: var(--cc-mono); font-size: .85rem; color: var(--cc-cream); }
.cc-book { padding: .4rem 1.2rem; }
.cc-empty { padding: 1.5rem 1.25rem; margin: 0; color: #cfd3d8; font-family: var(--cc-mono); }
.cc-fee-note { font-size: .82rem; color: var(--cc-muted); margin: .6rem 0 0; }
@media (min-width: 768px) {
  .cc-board-cols { display: grid; grid-template-columns: 130px 120px 1fr 250px 250px; gap: 1rem; padding: .55rem 1.25rem; font-family: var(--cc-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #8a919b; border-bottom: 1px solid rgba(255,255,255,.08); }
  .cc-row { grid-template-columns: 130px 120px 1fr 250px 250px; grid-template-areas: "when time dest theme buy"; padding: .95rem 1.25rem; }
  .cc-buy { margin-top: 0; justify-content: flex-end; }
}

/* theme tags */
.cc-tag { display: inline-block; padding: .28rem .75rem; border-radius: 7px; font-size: .9rem; font-weight: 700; letter-spacing: .02em; background: #2b313b; color: #e8ecf1; white-space: nowrap; }
.cc-tag.cc-th-cchf { background: #243b63; color: #d7e5ff; }
.cc-tag.cc-th-ccpc { background: #5a3a12; color: #ffe0b2; }
.cc-details .cc-tag.cc-th-cchf { background: #e3ecfb; color: #1d3a6b; }
.cc-details .cc-tag.cc-th-ccpc { background: #fdebd3; color: #6b3c05; }

/* month view */
.cc-month { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); overflow: hidden; }
.cc-mv-head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; background: var(--cc-board); color: var(--cc-amber); font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .1em; border-top: 6px solid var(--cc-orange); }
.cc-mv-head button { background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; padding: .2rem .7rem; }
.cc-mv-head button[disabled] { opacity: .3; }
.cc-mv-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cc-mv-dow { padding: .45rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cc-muted); text-align: center; border-bottom: 1px solid var(--cc-line); background: var(--cc-cream-soft); }
.cc-mv-day { min-height: 92px; padding: .35rem; border-right: 1px solid var(--cc-line); border-bottom: 1px solid var(--cc-line); font-size: .8rem; }
.cc-mv-day:nth-child(7n) { border-right: 0; }
.cc-mv-day.is-out { background: #fafafa; color: #c4c8cd; }
.cc-mv-day.is-today { box-shadow: inset 0 0 0 2px var(--cc-orange); }
.cc-mv-num { font-weight: 700; display: block; margin-bottom: .2rem; }
.cc-mv-ev { display: block; margin-top: .2rem; padding: .15rem .35rem; border-radius: 5px; font-size: .72rem; line-height: 1.25; font-weight: 700; text-decoration: none; color: #fff; background: var(--cc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-mv-ev.cc-th-cchf { background: #243b63; }
.cc-mv-ev.cc-th-ccpc { background: #8a4a0b; }
.cc-mv-ev:hover { background: var(--cc-orange); color: #fff; }
@media (max-width: 575.98px) { .cc-mv-day { min-height: 64px; padding: .2rem; } .cc-mv-ev { font-size: .62rem; padding: .1rem .2rem; } }

/* ---------- cards ---------- */
.cc-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 576px) { .cc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .cc-grid { grid-template-columns: repeat(3, 1fr); } }
.cc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); overflow: hidden; color: var(--cc-ink); text-decoration: none; height: 100%; transition: transform .15s ease, box-shadow .15s ease; }
.cc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(0,0,0,.45); color: var(--cc-ink); }
.cc-card img { width: 100%; aspect-ratio: 800 / 420; object-fit: cover; }
.cc-card-body { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.1rem 1.2rem; }
.cc-card-title { font-weight: 700; font-size: 1.35rem; }
.cc-card-meta { color: var(--cc-muted); font-size: .95rem; }
.cc-card-next { font-family: var(--cc-mono); font-size: .82rem; color: var(--cc-orange-dark); margin-top: .35rem; }
/* big theme cards */
.cc-tcard { position: relative; height: 100%; display: flex; flex-direction: column; gap: .35rem; padding: clamp(1.75rem, 3.5vw, 3rem); border-radius: 18px; color: #fff; background: var(--cc-ink); border-top: 10px solid var(--cc-orange); box-shadow: 0 24px 50px -30px rgba(0,0,0,.7); }
.cc-tcard.cc-th-cchf { background: #1d2e4d; }
.cc-tcard.cc-th-ccpc { background: #3b2a14; }
.cc-tcard-kicker { font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--cc-amber); margin: 0; }
.cc-tcard-title { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; margin: .2rem 0 .4rem; }
.cc-tcard-title a { color: #fff; text-decoration: none; }
.cc-tcard-title a:hover { color: var(--cc-amber); }
.cc-tcard-aud { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #d5dae1; margin: 0 0 1rem; max-width: 42ch; }
.cc-tcard-next { display: flex; flex-direction: column; gap: .15rem; padding: 1.1rem 1.25rem; border-radius: 12px; background: rgba(0,0,0,.28); border-left: 6px solid var(--cc-amber); }
.cc-tcard-label { font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: #c3c9d1; }
.cc-tcard-date { font-family: var(--cc-mono); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; color: var(--cc-amber); text-decoration: none; }
a.cc-tcard-date:hover { color: #fff; }
.cc-tcard-where { font-size: 1.15rem; font-weight: 500; color: #fff; }
.cc-tcard-price { font-family: var(--cc-mono); font-size: .95rem; color: var(--cc-cream); }
.cc-tcard-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.cc-tcard-cta .btn-cc-ghost { color: #fff; }
.cc-tcard-then { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem .6rem; font-size: 1rem; }
.cc-tcard-then li a { display: inline-block; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .25rem .8rem; }
.cc-tcard-then li a:hover { background: rgba(255,255,255,.12); }
.cc-tcard-then-h { font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: #c3c9d1; align-self: center; margin-right: .2rem; }

/* next mornings strip in the home hero */
.cc-next { background: rgba(21,24,29,.9); backdrop-filter: blur(6px); border-radius: var(--cc-radius); border-top: 8px solid var(--cc-orange); border-bottom: 8px solid var(--cc-orange); overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.cc-next-head { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.2rem; font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--cc-amber); border-bottom: 1px solid rgba(255,255,255,.1); }
.cc-next-rows { list-style: none; margin: 0; padding: 0; }
.cc-next-row { display: grid; grid-template-columns: 92px 1fr auto; gap: .9rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.cc-next-row:nth-child(even) { background: rgba(255,255,255,.04); }
.cc-next-when { display: flex; flex-direction: column; font-family: var(--cc-mono); font-weight: 700; color: var(--cc-amber); text-decoration: none; line-height: 1.15; }
.cc-next-day { font-size: .9rem; opacity: .85; }
.cc-next-date { font-size: 1.35rem; }
.cc-next-what { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.cc-next-st { color: #fff; font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.cc-next-st:hover { color: var(--cc-amber); }
.cc-next-via { font-size: .9rem; color: #b8bec7; }
.cc-next-buy { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.cc-next-price { font-family: var(--cc-mono); font-size: .78rem; color: var(--cc-cream); white-space: nowrap; }
.cc-next-all { display: block; padding: .8rem 1.2rem; font-weight: 700; color: var(--cc-amber); text-decoration: none; }
.cc-next-all:hover { color: #fff; }
.cc-next-empty { padding: 1.2rem; margin: 0; color: #cfd3d8; font-family: var(--cc-mono); }
@media (max-width: 400px) { .cc-next-row { grid-template-columns: 74px 1fr; } .cc-next-buy { grid-column: 1 / -1; flex-direction: row-reverse; justify-content: space-between; align-items: center; } }

/* why / steps */
.cc-why { background: #fff; border-radius: var(--cc-radius); padding: 1.5rem; height: 100%; border-left: 6px solid var(--cc-orange); }
.cc-why h3 { margin-bottom: .4rem; }
.cc-why p { margin: 0; color: var(--cc-ink-2); }
.cc-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 768px) { .cc-steps { grid-template-columns: repeat(3, 1fr); } }
.cc-steps li { position: relative; padding: 1.4rem 1.4rem 1.4rem; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); background: #fff; }
.cc-step-n { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cc-orange); color: #fff; font-family: var(--cc-mono); font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; }
.cc-steps p { margin: 0; color: var(--cc-ink-2); }
.cc-ticks { list-style: none; padding: 0; }
.cc-ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.cc-ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .6rem; border-left: 3px solid var(--cc-orange); border-bottom: 3px solid var(--cc-orange); transform: rotate(-45deg); }

/* details card */
.cc-details { position: sticky; top: 150px; background: var(--cc-cream-soft); border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 1.5rem; border-top: 6px solid var(--cc-orange); }
.cc-details h2 { font-size: 1.3rem; }
.cc-details dl { margin: 0 0 1.25rem; }
.cc-details dt { font-family: var(--cc-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cc-muted); margin-top: .8rem; }
.cc-details dd { margin: .1rem 0 0; font-weight: 500; }

/* venue */
.cc-venue-img { border-radius: var(--cc-radius); margin-bottom: 1rem; width: 100%; }
.cc-address { font-style: normal; background: #fff; border: 1px solid var(--cc-line); border-radius: 10px; padding: .8rem 1rem; }
.cc-map { margin-top: 2.5rem; border-radius: var(--cc-radius); overflow: hidden; height: clamp(300px, 38vw, 460px); position: relative; background: var(--cc-cream); border: 1px solid var(--cc-line); }
.cc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Trainline block */
.cc-train { margin-top: 1.75rem; background: #fff; border: 1px solid var(--cc-line); border-left: 6px solid var(--cc-orange); border-radius: 12px; padding: 1.2rem 1.3rem; }
.cc-train-h { font-weight: 700; font-size: 1.15rem; margin-bottom: .25rem; }
.cc-train .btn-cc-ghost { color: var(--cc-ink); }
.cc-train .btn-cc-ghost:hover { background: var(--cc-cream-soft); }
.cc-train .cc-small { margin: .6rem 0 0; }

/* sectors */
.cc-sectors { list-style: none; padding: 0; margin: 1.25rem 0 .75rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.cc-sectors li { background: #fff; border: 1px solid var(--cc-line); border-radius: 999px; padding: .25rem .75rem; font-size: .88rem; }
.cc-sectors li[hidden] { display: none; }
.cc-sectors-lg { gap: .55rem; margin-top: .5rem; }
.cc-sectors-lg li { font-size: 1.02rem; padding: .45rem 1rem; }
.cc-sector-h { font-size: 1.35rem; margin-bottom: .75rem; }
.cc-sector-find { max-width: 640px; margin-top: 1.75rem; }
.cc-sector-find .form-label { font-weight: 700; }
.cc-sector-find .form-control { border: 2px solid var(--cc-ink); border-radius: 12px; }
.cc-sector-find .form-control:focus { box-shadow: 0 0 0 4px rgba(246,89,4,.3); border-color: var(--cc-orange); }
[data-sector-group][hidden] { display: none; }
.cc-faq-h { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.cc-faq-h:first-child { margin-top: 0; }
.cc-jump li { margin-bottom: .35rem; }

/* faq */
.cc-faq .accordion-item { border: 1px solid var(--cc-line); border-radius: 10px !important; margin-bottom: .6rem; overflow: hidden; }
.cc-faq .accordion-button { font-weight: 700; font-family: var(--cc-font); color: var(--cc-ink); }
.cc-faq .accordion-button:not(.collapsed) { background: var(--cc-cream-soft); color: var(--cc-ink); box-shadow: none; }
.cc-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(246,89,4,.3); }
.cc-faq h3 { margin: 0; }

/* photos */
.cc-photos { overflow: hidden; }
.cc-photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .cc-photo-strip { grid-template-columns: repeat(4, 1fr); } }
.cc-photo-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* cta band */
.cc-cta { background: var(--cc-orange); color: #fff; padding: clamp(3rem, 7vw, 4.5rem) 0; text-align: center; }
.cc-cta h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
.cc-cta p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.cc-cta-strap { font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--cc-cream); margin-bottom: .6rem; }
.cc-cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* footer */
.cc-footer { background: var(--cc-board); color: #c7ccd3; padding: 3.5rem 0 2rem; font-size: .95rem; }
.cc-footer a { color: #fff; text-decoration: none; }
.cc-footer a:hover { color: var(--cc-amber); }
.cc-foot-strap { margin: 1rem 0 0; font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--cc-amber); }
.cc-foot-tag { margin-top: .4rem; max-width: 32ch; }
.cc-foot-h { font-family: var(--cc-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--cc-amber); margin-bottom: .8rem; }
.cc-foot-list { list-style: none; padding: 0; margin: 0; }
.cc-foot-list li { margin-bottom: .35rem; }
.cc-foot-small { font-size: .85rem; color: #9aa1ab; }
.cc-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .8rem; color: #8d949e; }

/* analytics opt-out link in the footer */
.cc-optout { background: none; border: 0; padding: 0; color: #c7ccd3; text-decoration: underline; font: inherit; cursor: pointer; }
.cc-optout:hover { color: var(--cc-amber); }

/* email sign-up modal */
.cc-signup .modal-content { border: 0; border-radius: 18px; overflow: hidden; border-top: 10px solid var(--cc-orange); }
.cc-signup-close { position: absolute; top: .9rem; right: .9rem; z-index: 2; }
.cc-signup-top { background: var(--cc-ink); color: #fff; padding: 1.75rem 1.75rem 1.25rem; }
.cc-signup-top p { margin: 0; color: #d5dae1; }
.cc-signup-top .cc-kicker { margin-bottom: .5rem; }
.cc-signup .btn-close { filter: invert(1) grayscale(1) brightness(2); }
.cc-signup-title { font-size: clamp(1.9rem, 5vw, 2.6rem); color: #fff; margin-bottom: .5rem; }
.cc-signup-body { padding: 1.5rem 1.75rem 1.75rem; }
.cc-signup .form-control, .cc-signup .form-select { border: 2px solid var(--cc-line); border-radius: 10px; }
.cc-signup .form-control:focus, .cc-signup .form-select:focus { border-color: var(--cc-orange); box-shadow: 0 0 0 4px rgba(246,89,4,.25); }
.cc-signup-msg { margin: .75rem 0 0; color: #b42318; font-weight: 700; }
.cc-signup-ok { font-size: 1.4rem; font-weight: 700; }
.cc-signup-code { font-family: var(--cc-mono); font-weight: 700; font-size: 2rem; letter-spacing: .08em; text-align: center; background: var(--cc-cream); border: 2px dashed var(--cc-orange); border-radius: 12px; padding: .6rem; user-select: all; }
.cc-verify-code { max-width: 460px; margin: 1.25rem 0; }
.cc-signup-terms { color: var(--cc-ink-2); font-weight: 500; }
.cc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cc-card, .cc-pick-chip, .cc-hero .cc-rot { transition: none; }
}

/* keep wide Bootstrap gutters from pushing past the phone gutter */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }

/* ---------- pre-launch: inline sign-up card + split hero / band ---------- */
.cc-nav-soon { font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: var(--cc-orange-dark); white-space: nowrap; }
@media (max-width: 1199.98px) { .cc-nav-soon { display: inline-block; margin: .6rem 0 0 .85rem; } }
.cc-join { background: rgba(21,24,29,.94); color: #fff; border-radius: var(--cc-radius); border-top: 8px solid var(--cc-orange); padding: 1.5rem 1.5rem 1.6rem; box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); scroll-margin-top: 140px; }
.cc-join-kicker { font-family: var(--cc-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--cc-amber); margin: 0 0 .5rem; }
.cc-join-title { color: #fff; font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-bottom: .75rem; }
.cc-join-text { color: #d5dae1; }
.cc-join .form-label { color: #e8ecf1; font-weight: 500; }
.cc-join .cc-muted { color: #aeb4bd; }
.cc-join .form-control, .cc-join .form-select { border: 2px solid transparent; border-radius: 10px; }
.cc-join .form-control:focus, .cc-join .form-select:focus { border-color: var(--cc-orange); box-shadow: 0 0 0 4px rgba(246,89,4,.35); }
.cc-join .cc-small { color: #b8bec7; }
.cc-join .cc-small a { color: #fff; }
.cc-join .cc-signup-terms { color: var(--cc-cream); }
.cc-join .cc-signup-msg { color: #ffb4a8; }
.cc-join .cc-signup-ok { color: var(--cc-amber); }
.cc-join .cc-signup-done p { color: #e8ecf1; }
.cc-hero-split, .cc-band-split { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 992px) {
  .cc-hero-split, .cc-band-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 3rem; }
}
.cc-band-split .cc-join { box-shadow: 0 24px 50px -30px rgba(0,0,0,.55); }
/* station photo beside the About text */
.cc-about-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--cc-radius); border-top: 8px solid var(--cc-orange); box-shadow: 0 24px 50px -30px rgba(0,0,0,.55); }
