/*
 * Christmas in Blue Ridge — "Depot Lights" (T22691).
 * Blue hour on the Blue Ridge: a night sky the colour of the range at dusk, frost-white paper, the haze blue the
 * mountains are named for, blue-spruce green and one warm accent, the amber of a depot lamp. Young Serif (poster
 * headlines) + Public Sans (text, timetable labels, tabular numerals). Rounded frosted cards, a departure-board
 * timetable, a string of depot lamps, lit shop windows for the guide chapters, a punched railway ticket.
 * Motion is CSS + IntersectionObserver only; every animated element has a still state under prefers-reduced-motion.
 */
@font-face { font-family: "CBR Display"; src: url("../fonts/cbr-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "CBR Text"; src: url("../fonts/cbr-text.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: optional; }
@font-face { font-family: "CBR Text"; src: url("../fonts/cbr-text-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: optional; }

:root {
  --frost: #EEF2F7; --snow: #FAFBFD; --mist: #DFE7F0; --mist-2: #C9D6E4;
  --night: #0E1829; --night-2: #15233B; --night-3: #213452; --board: #0A1120;
  --haze: #8DAED0; --haze-2: #B9CDE2; --haze-ink: #3D6187;
  --spruce: #1D4B47; --spruce-2: #2A6560; --spruce-lt: #A7CCC7;
  --lamp: #F2B544; --lamp-2: #F8CF7E; --lamp-ink: #8A5A0E;
  --caboose: #B2392D;
  --ink: #131B2B; --muted: #4F5B6C; --line: rgba(19, 27, 43, .13); --line-lt: rgba(220, 230, 242, .2);
  --on-dark: #E6EDF6; --on-dark-2: rgba(230, 237, 246, .8);
  --display: "CBR Display", Georgia, "Times New Roman", serif;
  --text: "CBR Text", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px; --gut: clamp(16px, 4vw, 40px);
  --r: 14px; --r-sm: 9px; --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sh: 0 1px 2px rgba(14, 24, 41, .06), 0 18px 40px -22px rgba(14, 24, 41, .38);
  --glow: 0 0 0 1px rgba(242, 181, 68, .5), 0 10px 34px -10px rgba(242, 181, 68, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--frost); color: var(--ink); font-family: var(--text); font-size: clamp(1rem, .97rem + .16vw, 1.0625rem); line-height: 1.66; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--haze-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--spruce); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lamp-2); color: var(--ink); }
.cbr-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cbr-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 12px 18px; font-weight: 700; border-radius: var(--r-sm); }
.cbr-skip:focus { top: 12px; color: #fff; }
.cbr-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wp-site-blocks > * { margin-block: 0; }
.cbr-main { display: block; }

/* ---------- type ---------- */
.cbr-h1, .cbr-h2, .cbr-h3, .cbr-prose h2, .cbr-prose h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; color: var(--night); margin: 0 0 .45em; text-wrap: balance; }
.cbr-h1 { font-size: clamp(2.5rem, 1.8rem + 3vw, 4.4rem); }
.cbr-h1--hero { font-size: clamp(3rem, 1.5rem + 6.2vw, 7rem); color: #fff; line-height: .95; margin-bottom: .3em; letter-spacing: -.02em; }
.cbr-h1--page { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.8rem); }
.cbr-h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.3rem); }
.cbr-h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.8rem); }
.cbr-lede { font-size: clamp(1.05rem, 1rem + .28vw, 1.2rem); color: var(--muted); max-width: 62ch; margin: 0 0 1.2em; }
.cbr-line { display: block; }
.cbr-line--b { font-family: var(--text); font-size: clamp(1rem, .86rem + .6vw, 1.38rem); font-weight: 500; letter-spacing: 0; margin-top: 1em; color: var(--lamp-2); line-height: 1.42; max-width: 36ch; }

/* The timetable plate: a small lit lamp and a tracked label. */
.cbr-plate { display: inline-flex; align-items: center; gap: .65em; margin: 0 0 1.05em; font: 700 .8rem/1.2 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--haze-ink); }
.cbr-plate::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 3px rgba(242, 181, 68, .22), 0 0 12px 2px rgba(242, 181, 68, .55); }
.cbr-plate--light { color: var(--haze-2); }

.cbr-roundel { display: inline-grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--night); color: var(--lamp-2); font: 700 .95rem/1 var(--text); font-variant-numeric: tabular-nums; flex: none; }

/* ---------- buttons, chips, pills ---------- */
.cbr-btn { --bg: var(--night); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .72em 1.45em; border: 2px solid var(--bg); border-radius: 999px; background: var(--bg); color: var(--fg); font: 700 .98rem/1 var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s; }
.cbr-btn:hover { color: var(--fg); transform: translateY(-2px); }
.cbr-btn .cbr-icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.cbr-btn:hover .cbr-icon:last-child { transform: translateX(3px); }
.cbr-btn--sm { min-height: 44px; padding: .5em 1.1em; font-size: .92rem; }
.cbr-btn--lamp { --bg: var(--lamp); --fg: var(--night); }
.cbr-btn--lamp:hover { --bg: var(--lamp-2); box-shadow: var(--glow); }
.cbr-btn--amber { --bg: var(--lamp); --fg: var(--night); }
.cbr-btn--copper, .cbr-btn--spruce { --bg: var(--spruce); }
.cbr-btn--copper:hover, .cbr-btn--spruce:hover { --bg: #153A37; }
.cbr-btn--outline { --bg: transparent; --fg: var(--night); border-color: rgba(14, 24, 41, .35); }
.cbr-btn--outline:hover { --bg: var(--night); --fg: #fff; border-color: var(--night); }
.cbr-btn--ghost-light { --bg: rgba(14, 24, 41, .25); --fg: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.cbr-btn--ghost-light:hover { --bg: #fff; --fg: var(--night); border-color: #fff; }
.cbr-chip { display: inline-flex; align-items: center; gap: .35em; padding: .3em .7em; border-radius: 999px; font: 700 .74rem/1.2 var(--text); letter-spacing: .04em; }
.cbr-chip .cbr-icon { width: 14px; height: 14px; }
.cbr-chip--ok { background: #DDEEE9; color: var(--spruce); }
.cbr-chip--wait { background: #FBEBCB; color: var(--lamp-ink); }
.cbr-pill { display: inline-flex; align-items: center; min-height: 44px; padding: .45em 1.05em; border: 1.5px solid rgba(14, 24, 41, .2); border-radius: 999px; background: var(--snow); color: var(--ink); font: 650 .92rem/1.1 var(--text); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.cbr-pill:hover { border-color: var(--night); }
.cbr-pill.is-on, .cbr-pill[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.cbr-link-light { color: var(--lamp-2); }
.cbr-link-light:hover { color: #fff; }
.cbr-icon { flex: none; }

/* ---------- header ---------- */
.cbr-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 24, 41, .94); color: var(--on-dark); backdrop-filter: saturate(1.3) blur(10px); transition: box-shadow .3s, background-color .3s; }
.cbr-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 181, 68, .65), transparent); }
.cbr-header.is-scrolled { box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .7); background: rgba(14, 24, 41, .98); }
.cbr-header__bar { display: flex; align-items: center; gap: 18px; max-width: var(--wrap); margin-inline: auto; padding: 8px var(--gut); min-height: 70px; }
.cbr-logo { display: inline-flex; align-items: center; text-decoration: none; color: #fff; margin-right: auto; }
.cbr-logo:hover { color: #fff; }
.cbr-wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.cbr-wordmark__a { font: 700 .62rem/1 var(--text); letter-spacing: .3em; text-transform: uppercase; color: var(--lamp); margin-bottom: .45em; }
.cbr-wordmark__b { font: 400 1.55rem/.95 var(--display); letter-spacing: -.01em; }
.cbr-logo--dark { color: var(--night); }
.cbr-logo--dark .cbr-wordmark__a { color: var(--lamp-ink); }
.cbr-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.cbr-nav > ul > li { position: relative; display: flex; align-items: center; }
.cbr-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; color: var(--on-dark); font: 600 .95rem/1 var(--text); text-decoration: none; border-radius: 999px; }
.cbr-nav a:hover, .cbr-nav a[aria-current="page"] { color: var(--lamp-2); }
.cbr-subtoggle { display: inline-grid; place-items: center; width: 30px; height: 44px; margin-left: -8px; border: 0; background: none; color: var(--on-dark-2); cursor: pointer; }
.cbr-subtoggle .cbr-icon { width: 16px; height: 16px; transition: transform .2s; }
.cbr-subtoggle[aria-expanded="true"] .cbr-icon { transform: rotate(180deg); }
.cbr-sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; display: none !important; flex-direction: column; gap: 0 !important; padding: 8px !important; background: var(--night-2); border: 1px solid var(--line-lt); border-radius: var(--r); box-shadow: var(--sh); }
.cbr-has-sub:hover > .cbr-sub, .cbr-subtoggle[aria-expanded="true"] + .cbr-sub, .cbr-has-sub:focus-within > .cbr-sub { display: flex !important; }
.cbr-sub a { width: 100%; font-size: .94rem; border-radius: var(--r-sm); }
.cbr-sub a:hover { background: rgba(255, 255, 255, .06); }
.cbr-burger { display: none; width: 48px; height: 48px; border: 1.5px solid var(--line-lt); border-radius: 50%; background: transparent; cursor: pointer; place-items: center; }
.cbr-burger__lines, .cbr-burger__lines::before, .cbr-burger__lines::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; border-radius: 2px; transition: transform .25s, background-color .25s; }
.cbr-burger__lines::before, .cbr-burger__lines::after { content: ""; position: absolute; left: 0; }
.cbr-burger__lines::before { top: -6px; }
.cbr-burger__lines::after { top: 6px; }
.cbr-burger[aria-expanded="true"] .cbr-burger__lines { background: transparent; }
.cbr-burger[aria-expanded="true"] .cbr-burger__lines::before { transform: translateY(6px) rotate(45deg); }
.cbr-burger[aria-expanded="true"] .cbr-burger__lines::after { transform: translateY(-6px) rotate(-45deg); }
.cbr-drawer { border-top: 1px solid var(--line-lt); background: var(--night); padding: 14px var(--gut) 24px; max-height: calc(100svh - 70px); overflow-y: auto; }
.cbr-drawer ul { list-style: none; margin: 0; padding: 0; }
.cbr-drawer a { display: flex; align-items: center; min-height: 48px; color: #fff; text-decoration: none; font: 400 1.35rem/1.1 var(--display); }
.cbr-drawer .cbr-has-sub { display: flex; flex-wrap: wrap; align-items: center; }
.cbr-drawer .cbr-has-sub > a { flex: 1; }
.cbr-drawer .cbr-subtoggle { width: 48px; height: 48px; margin: 0; }
.cbr-drawer .cbr-sub { position: static; display: none !important; width: 100%; box-shadow: none; border: 0; padding: 0 0 6px 14px !important; background: none; }
.cbr-drawer .cbr-subtoggle[aria-expanded="true"] + .cbr-sub { display: flex !important; }
.cbr-drawer .cbr-sub a { font: 600 1rem/1.2 var(--text); color: var(--on-dark-2); }
.cbr-drawer__own { margin: 16px 0 0; font-size: .9rem; color: var(--on-dark-2); }
.cbr-drawer__own a { color: var(--lamp-2); }
.cbr-noscript-nav { background: var(--night); }
.cbr-noscript-nav ul { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 10px var(--gut); margin: 0; }
.cbr-noscript-nav a { color: #fff; }
.cbr-js .cbr-noscript-nav { display: none; }
@media (max-width: 1120px) {
  .cbr-nav, .cbr-header__cta { display: none; }
  .cbr-burger { display: inline-grid; }
}

/* ---------- ridgeline seam ---------- */
.cbr-ridge { position: relative; height: clamp(34px, 5vw, 70px); margin-top: -1px; pointer-events: none; overflow: hidden; }
.cbr-ridge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cbr-ridge__a { fill: var(--haze-2); opacity: .55; }
.cbr-ridge__b { fill: var(--haze); opacity: .55; }
.cbr-ridge__c { fill: var(--haze-ink); opacity: .45; }
.cbr-ridge--night .cbr-ridge__a { fill: #33507A; opacity: .5; }
.cbr-ridge--night .cbr-ridge__b { fill: #243B5E; opacity: .8; }
.cbr-ridge--night .cbr-ridge__c { fill: var(--night); opacity: 1; }
.cbr-ridge--footer .cbr-ridge__a { fill: #33507A; opacity: .45; }
.cbr-ridge--footer .cbr-ridge__b { fill: #22385A; opacity: .9; }
.cbr-ridge--footer .cbr-ridge__c { fill: var(--night); opacity: 1; }
.cbr-js .cbr-ridge path { transform: translateY(40%); transition: transform 1.4s var(--ease); }
.cbr-js .cbr-ridge .cbr-ridge__b { transition-delay: .15s; }
.cbr-js .cbr-ridge .cbr-ridge__c { transition-delay: .3s; }
.cbr-js .cbr-ridge.is-in path { transform: none; }

/* ---------- the string of depot lamps ---------- */
.cbr-bulbs { position: relative; display: flex; justify-content: space-between; height: 46px; padding: 0 2vw; background: var(--night); overflow: hidden; }
.cbr-bulbs__wire { position: absolute; left: -5%; right: -5%; top: -60px; height: 80px; border-bottom: 1.5px solid rgba(201, 214, 228, .35); border-radius: 0 0 50% 50% / 0 0 40px 40px; }
.cbr-bulbs i { position: relative; top: calc(6px + 14px * sin(calc((var(--i) / 21) * 3.1416))); width: 11px; height: 16px; border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%; background: #2B3A52; transition: background-color .5s ease, box-shadow .5s ease; transition-delay: calc(var(--i) * 60ms); }
.cbr-bulbs i::before { content: ""; position: absolute; left: 3px; top: -5px; width: 5px; height: 6px; border-radius: 1px; background: #6C7A8E; }
.cbr-bulbs.is-in i, .cbr-bulbs:not([data-cbr-line]) i { background: var(--lamp); box-shadow: 0 0 10px 2px rgba(242, 181, 68, .55); }
.cbr-bulbs.is-in i:nth-child(3n) { background: var(--haze-2); box-shadow: 0 0 10px 2px rgba(185, 205, 226, .55); }
.cbr-bulbs.is-in i:nth-child(3n+1) { background: #FFF4DE; box-shadow: 0 0 10px 2px rgba(255, 244, 222, .5); }
.cbr-bulbs.is-in i:nth-child(4n) { animation: cbr-twinkle 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * 180ms + 1.6s); }
@keyframes cbr-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (max-width: 700px) { .cbr-bulbs i:nth-child(2n+1) { display: none; } }
.cbr-js .cbr-bulbs:not(.is-in) i { background: #2B3A52; box-shadow: none; }

/* ---------- reveal ---------- */
.cbr-js [data-cbr-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.cbr-js [data-cbr-reveal].is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.cbr-hero { position: relative; min-height: min(94svh, 940px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.cbr-hero__media { position: absolute; inset: 0; z-index: -1; }
.cbr-hero__media picture, .cbr-hero__img, .cbr-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cbr-hero__img { transform: scale(1.05); transition: transform 8s var(--ease); }
.cbr-hero.is-ready .cbr-hero__img { transform: scale(1); }
.cbr-hero__video { opacity: 0; transition: opacity 1.4s ease; }
.cbr-hero__video.is-playing { opacity: 1; }
.cbr-hero.is-paused .cbr-hero__video { opacity: 0; }
.cbr-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 24, 41, .62) 0%, rgba(14, 24, 41, .08) 24%, rgba(21, 35, 59, .18) 48%, rgba(14, 24, 41, .92) 100%), linear-gradient(90deg, rgba(14, 24, 41, .76) 0%, rgba(14, 24, 41, 0) 62%); }
/* a few slow flakes over the photograph: decorative, two layers of drawn dots, off under reduced motion */
.cbr-hero__snow { position: absolute; inset: -10% 0 0; opacity: .5; pointer-events: none; background-image: radial-gradient(1.6px 1.6px at 20px 30px, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 140px 90px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 260px 40px, rgba(255, 255, 255, .85) 50%, transparent 52%), radial-gradient(1.4px 1.4px at 330px 170px, #fff 50%, transparent 52%), radial-gradient(1.8px 1.8px at 90px 220px, rgba(255, 255, 255, .8) 50%, transparent 52%); background-size: 380px 260px; animation: cbr-snow 26s linear infinite; }
@keyframes cbr-snow { from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: 40px 260px, -30px 260px, 60px 260px, -20px 260px, 30px 260px; } }
.cbr-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 34px; align-items: end; padding-top: 130px; padding-bottom: 26px; }
.cbr-hero__copy { max-width: 800px; }
.cbr-hero__lede { font-size: clamp(1.04rem, .98rem + .34vw, 1.22rem); line-height: 1.58; max-width: 58ch; margin: 0 0 1.4em; color: rgba(255, 255, 255, .95); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.cbr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1.3em; }
.cbr-hero__own { font-size: .86rem; margin: 0; color: rgba(255, 255, 255, .86); max-width: 70ch; }
.cbr-hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 26px; font-size: .78rem; color: rgba(255, 255, 255, .82); }
.cbr-hero__label { margin: 0; max-width: 72ch; }
.cbr-motion { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: rgba(14, 24, 41, .45); color: #fff; font: 600 .86rem/1 var(--text); cursor: pointer; flex: none; }
.cbr-motion .cbr-icon { width: 16px; height: 16px; }
.cbr-count { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.25em; padding: .5em 1em; border-radius: 999px; background: rgba(14, 24, 41, .55); border: 1px solid rgba(255, 255, 255, .32); font: 600 .95rem/1.2 var(--text); color: #fff; backdrop-filter: blur(4px); }
.cbr-count__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 0 rgba(242, 181, 68, .7); }
.cbr-count.is-live .cbr-count__dot { background: #7DD9B0; animation: cbr-pulse 1.8s infinite; }
.cbr-count.is-soon .cbr-count__dot { animation: cbr-pulse 2.4s infinite; }
@keyframes cbr-pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 181, 68, .65); } 70% { box-shadow: 0 0 0 12px rgba(242, 181, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 181, 68, 0); } }
.cbr-js .cbr-hero .cbr-plate, .cbr-js .cbr-hero .cbr-line, .cbr-js .cbr-hero .cbr-count, .cbr-js .cbr-hero__lede, .cbr-js .cbr-hero__actions, .cbr-js .cbr-hero__own { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.cbr-js .cbr-hero.is-ready .cbr-plate { opacity: 1; transform: none; transition-delay: .05s; }
.cbr-js .cbr-hero.is-ready .cbr-line { opacity: 1; transform: none; transition-delay: .15s; }
.cbr-js .cbr-hero.is-ready .cbr-line--b { transition-delay: .35s; }
.cbr-js .cbr-hero.is-ready .cbr-count { opacity: 1; transform: none; transition-delay: .42s; }
.cbr-js .cbr-hero.is-ready .cbr-hero__lede { opacity: 1; transform: none; transition-delay: .5s; }
.cbr-js .cbr-hero.is-ready .cbr-hero__actions { opacity: 1; transform: none; transition-delay: .62s; }
.cbr-js .cbr-hero.is-ready .cbr-hero__own { opacity: 1; transform: none; transition-delay: .72s; }
@media (max-width: 700px) {
  .cbr-hero__shade { background: linear-gradient(180deg, rgba(14, 24, 41, .66) 0%, rgba(14, 24, 41, .5) 28%, rgba(14, 24, 41, .8) 52%, rgba(14, 24, 41, .95) 100%); }
  .cbr-line--b, .cbr-hero__lede { text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
}
@media (max-width: 1000px) {
  .cbr-hero__inner { grid-template-columns: 1fr; }
}

/* ---------- the departure board ---------- */
.cbr-board { position: relative; padding: 18px 18px 14px; background: linear-gradient(180deg, #0D1628, var(--board)); color: var(--lamp-2); border-radius: var(--r); border: 1px solid rgba(201, 214, 228, .18); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06); font-family: var(--text); font-variant-numeric: tabular-nums; }
.cbr-board::before { content: ""; position: absolute; left: 50%; top: -14px; width: 40%; height: 14px; transform: translateX(-50%); border: 1.5px solid rgba(201, 214, 228, .3); border-bottom: 0; border-radius: 8px 8px 0 0; }
.cbr-board__title { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(201, 214, 228, .16); font: 700 .78rem/1 var(--text); letter-spacing: .24em; text-transform: uppercase; color: #fff; }
.cbr-board__yr { color: var(--lamp); letter-spacing: .1em; }
.cbr-board__cols { display: grid; grid-template-columns: 5.4em 4.6em minmax(0, 1fr) auto; gap: 8px; margin: 0 0 4px; font: 600 .62rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: rgba(201, 214, 228, .6); }
.cbr-board__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cbr-board__row { display: grid; grid-template-columns: 5.4em 4.6em minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 8px 0; border-top: 1px dashed rgba(201, 214, 228, .12); font-size: .9rem; line-height: 1.3; }
.cbr-board__when { color: #fff; font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; }
.cbr-board__time { color: var(--lamp); font-weight: 700; font-size: .84rem; }
.cbr-board__what { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.cbr-board__what:hover { color: var(--lamp-2); text-decoration: underline; }
.cbr-board__st { font: 700 .66rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: #8FE0BD; padding: .35em .5em; border: 1px solid rgba(143, 224, 189, .4); border-radius: 4px; }
.cbr-board__row.is-tba .cbr-board__st { color: var(--lamp-2); border-color: rgba(248, 207, 126, .45); }
.cbr-board__note { margin: 10px 0 0; font-size: .7rem; line-height: 1.45; color: rgba(201, 214, 228, .72); }
.cbr-js .cbr-board .cbr-board__row { opacity: 0; transform: perspective(400px) rotateX(-80deg); transform-origin: 50% 0; transition: opacity .45s ease, transform .6s var(--ease); transition-delay: calc(.5s + var(--i) * 120ms); }
.cbr-js .cbr-board.is-in .cbr-board__row { opacity: 1; transform: none; }
.cbr-board--wide { max-width: 860px; }
.cbr-board--wide .cbr-board__row { font-size: 1rem; padding: 11px 0; }
@media (max-width: 460px) {
  .cbr-board__cols { display: none; }
  .cbr-board__row { grid-template-columns: 4.8em minmax(0, 1fr) auto; }
  .cbr-board__time { grid-column: 2; grid-row: 1; }
  .cbr-board__what { grid-column: 1 / -1; grid-row: 2; }
  .cbr-board__st { grid-column: 3; grid-row: 1; }
}

/* ---------- sections ---------- */
.cbr-sec { padding-block: clamp(64px, 8vw, 120px); }
.cbr-sechead { max-width: 780px; margin-bottom: clamp(26px, 3.5vw, 44px); }
.cbr-sechead--light .cbr-h2 { color: #fff; }
.cbr-sechead--light .cbr-lede { color: var(--on-dark-2); }
.cbr-sec__more { margin: 28px 0 0; }
.cbr-sec__more a:not(.cbr-btn) { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; min-height: 44px; }
.cbr-sec__more a .cbr-icon { width: 18px; height: 18px; }

/* ---------- map ---------- */
.cbr-map__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cbr-map__stage { position: relative; background: #12213A; border: 1px solid var(--line-lt); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.cbr-map__svg { width: 100%; height: auto; }
.cbr-map__area { fill: rgba(201, 214, 228, .07); stroke: rgba(201, 214, 228, .16); stroke-width: 1; }
.cbr-map__area--venue { fill: rgba(242, 181, 68, .2); stroke: var(--lamp); stroke-width: 1.4; }
.cbr-map__area--park { fill: rgba(126, 190, 170, .2); stroke: rgba(126, 190, 170, .5); }
.cbr-map__area--water { fill: rgba(141, 174, 208, .3); stroke: rgba(141, 174, 208, .5); }
.cbr-map__road { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cbr-map__road--minor { stroke: #2C4061; stroke-width: 3; }
.cbr-map__road--major { stroke: #56709A; stroke-width: 6.5; }
.cbr-map__road--major-in { stroke: #12213A; stroke-width: 2; stroke-dasharray: 7 7; }
.cbr-map__road--rail { stroke: #A9B8CC; stroke-width: 2.2; stroke-dasharray: 2 6; }
.cbr-map__road--route { stroke: var(--lamp); stroke-width: 6; filter: drop-shadow(0 0 6px rgba(242, 181, 68, .6)); }
.cbr-js .cbr-map__road--route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3s var(--ease); }
.cbr-js .cbr-map__road--route.is-drawn, .cbr-js .cbr-map.is-in .cbr-map__road--route { stroke-dashoffset: 0; }
.cbr-map__label { font: 700 12px var(--text); letter-spacing: .12em; text-transform: uppercase; fill: #9FB2CC; }
.cbr-map__label--major { fill: #D2DCEA; font-size: 13px; }
.cbr-map__label--title { font: 400 34px var(--display); fill: #fff; letter-spacing: 0; text-transform: none; }
.cbr-map__label--area { fill: var(--lamp-2); font-size: 12px; }
.cbr-map__label--route { fill: var(--lamp); font-size: 13px; }
.cbr-map__pin { cursor: pointer; }
.cbr-map__dot { fill: var(--haze-ink); stroke: #fff; stroke-width: 2.4; transition: fill .2s; }
.cbr-map__pin--venue .cbr-map__dot, .cbr-map__pin--depot .cbr-map__dot, .cbr-map__pin--santa .cbr-map__dot { fill: var(--lamp); }
.cbr-map__pin--venue .cbr-map__num, .cbr-map__pin--depot .cbr-map__num, .cbr-map__pin--santa .cbr-map__num { fill: var(--night); }
.cbr-map__pin--parking .cbr-map__dot { fill: #3E7CC0; }
.cbr-map__pin--route .cbr-map__dot, .cbr-map__pin--parade .cbr-map__dot { fill: var(--caboose); }
.cbr-map__pin--park .cbr-map__dot, .cbr-map__pin--market .cbr-map__dot { fill: var(--spruce-2); }
.cbr-map__num { font: 800 12.5px var(--text); fill: #fff; pointer-events: none; }
.cbr-map__halo { fill: var(--lamp); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .2s; }
.cbr-map__pin:hover .cbr-map__halo, .cbr-map__pin.is-on .cbr-map__halo { opacity: .55; animation: cbr-ping 1.6s var(--ease) infinite; }
.cbr-map__pin.is-dim { opacity: .15; }
.cbr-js .cbr-map__pin { opacity: 0; transition: opacity .5s ease; transition-delay: calc(.45s + var(--d) * 60ms); }
.cbr-js .cbr-map.is-in .cbr-map__pin { opacity: 1; }
.cbr-js .cbr-map.is-in .cbr-map__pin.is-dim { opacity: .15; transition-delay: 0s; }
@keyframes cbr-ping { 0% { transform: scale(.7); } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }
.cbr-map__off path { fill: none; stroke: var(--on-dark-2); stroke-width: 1.8; }
.cbr-map__off text { font: 700 12px var(--text); letter-spacing: .08em; text-transform: uppercase; fill: var(--on-dark-2); }
.cbr-map__compass path { fill: #fff; }
.cbr-map__compass text, .cbr-map__scale text { font: 700 12px var(--text); fill: #fff; }
.cbr-map__scale path { stroke: #fff; stroke-width: 1.6; fill: none; }
.cbr-map__lead path { stroke: #fff; stroke-width: 1.3; fill: none; opacity: .8; }
.cbr-map__lead circle { fill: #fff; }
.cbr-js .cbr-map__lead { opacity: 0; transition: opacity .5s ease .4s; }
.cbr-js .cbr-map.is-in .cbr-map__lead { opacity: 1; }
.cbr-map__panel { position: absolute; right: 16px; top: 16px; width: min(370px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; padding: 20px 20px 16px; background: var(--snow); color: var(--ink); border-radius: var(--r); border-top: 5px solid var(--lamp); box-shadow: var(--sh); animation: cbr-panel .35s var(--ease); }
.cbr-map__panel--left { right: auto; left: 16px; }
.cbr-map__panel h3 { font: 400 1.5rem/1.05 var(--display); color: var(--night); margin: .15em 2em .45em 0; }
.cbr-map__panel p { margin: 0 0 .6em; font-size: .93rem; }
.cbr-map__panel a { color: var(--haze-ink); }
.cbr-map__panel .cbr-map__close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--muted); }
.cbr-map__panel .cbr-map__src { color: var(--muted); }
.cbr-map__kind { font: 700 .74rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--lamp-ink); }
.cbr-map__panel a .cbr-icon, .cbr-map__detail a .cbr-icon { display: inline; vertical-align: -4px; width: 16px; height: 16px; }
@keyframes cbr-panel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cbr-map__note { font-size: .82rem; color: var(--muted); margin: 10px 2px 18px; }
.cbr-map__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 6px 18px; }
.cbr-map__list > li { border-top: 1px solid var(--line); }
.cbr-map__list > li.is-dim { display: none; }
.cbr-map__item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 0; border: 0; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.cbr-map__item:hover .cbr-map__itemname { text-decoration: underline; }
.cbr-map__itemn { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: var(--lamp-2); font: 700 .82rem/1 var(--text); }
.cbr-map__itemname { font-weight: 700; line-height: 1.25; }
.cbr-map__itemkind { margin-left: auto; font-size: .76rem; color: var(--muted); text-align: right; }
.cbr-map__detail { padding: 0 0 14px 42px; font-size: .92rem; }
.cbr-map__detail p { margin: 0 0 .5em; }
.cbr-js .cbr-map__list .cbr-map__detail { display: none; }
.cbr-map__src { font-size: .78rem; color: var(--muted); }
.cbr-map--mini .cbr-map__panel { display: none !important; }
.cbr-sec--lightup .cbr-map, .cbr-prose .cbr-map { color: var(--on-dark); }
.cbr-prose .cbr-map { background: var(--night); padding: clamp(14px, 2.4vw, 26px); border-radius: var(--r-lg); }
.cbr-sec--lightup .cbr-map__item, .cbr-sec--lightup .cbr-map__note, .cbr-sec--lightup .cbr-map__itemkind, .cbr-sec--lightup .cbr-map__src,
.cbr-prose .cbr-map .cbr-map__item, .cbr-prose .cbr-map .cbr-map__note, .cbr-prose .cbr-map .cbr-map__itemkind, .cbr-prose .cbr-map .cbr-map__src { color: var(--on-dark); }
.cbr-sec--lightup .cbr-map__list > li, .cbr-prose .cbr-map .cbr-map__list > li { border-color: var(--line-lt); }
.cbr-sec--lightup .cbr-map__itemn, .cbr-prose .cbr-map .cbr-map__itemn { background: var(--lamp); color: var(--night); }
.cbr-sec--lightup .cbr-map__detail a, .cbr-sec--lightup .cbr-map__src a, .cbr-prose .cbr-map .cbr-map__detail a, .cbr-prose .cbr-map .cbr-map__src a { color: var(--lamp-2); }
.cbr-sec--lightup .cbr-pill, .cbr-prose .cbr-map .cbr-pill { background: transparent; color: var(--on-dark); border-color: var(--line-lt); }
.cbr-sec--lightup .cbr-pill.is-on, .cbr-sec--lightup .cbr-pill[aria-pressed="true"], .cbr-prose .cbr-map .cbr-pill.is-on, .cbr-prose .cbr-map .cbr-pill[aria-pressed="true"] { background: var(--lamp); color: var(--night); border-color: var(--lamp); }
@media (max-width: 760px) {
  .cbr-map__panel { position: relative; inset: auto; width: auto; max-height: none; margin: 0 10px 10px; }
  .cbr-map__label { font-size: 20px; }
  .cbr-map__label--title { font-size: 44px; }
  .cbr-map__num { font-size: 15px; }
  .cbr-map__off text { font-size: 19px; }
}

/* ---------- Light Up Saturday section ---------- */
.cbr-sec--lightup { background: var(--night); color: var(--on-dark); background-image: radial-gradient(70% 60% at 85% 0%, rgba(61, 97, 135, .45), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(242, 181, 68, .1), transparent 70%); }
.cbr-sec--lightup .cbr-plate { color: var(--haze-2); }
.cbr-sec--lightup .cbr-tool .cbr-plate { color: var(--haze-ink); }
.cbr-lu { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 52px); align-items: start; }
.cbr-lu__facts { padding: clamp(20px, 3vw, 30px); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-lt); border-radius: var(--r-lg); }
.cbr-lu__tool { margin-top: clamp(40px, 6vw, 80px); }
.cbr-checks--light li { color: var(--on-dark); }
.cbr-checks--light .cbr-icon { color: var(--lamp); }
.cbr-checks--light .cbr-tool__src, .cbr-checks--light .cbr-tool__src a { color: var(--haze-2); }
.cbr-checks--light .cbr-at { color: var(--lamp); }
@media (max-width: 980px) { .cbr-lu { grid-template-columns: 1fr; } }

/* ---------- tools ---------- */
.cbr-sec--tool { padding-block: clamp(56px, 7vw, 104px); }
.cbr-sec--planner { background: var(--snow); background-image: linear-gradient(180deg, var(--frost), var(--snow) 40%); }
.cbr-tool { position: relative; }
.cbr-tool__head { max-width: 780px; margin-bottom: 24px; }
.cbr-tool__q { display: flex; align-items: center; gap: .6em; width: 100%; margin: 0 0 8px; font: 700 1.02rem/1.25 var(--text); color: var(--night); }
.cbr-tool__q .cbr-roundel { font-size: .82rem; }
.cbr-tool__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.cbr-choice { display: inline-flex; align-items: center; gap: .6em; min-height: 54px; padding: .7em 1.15em; border: 1.5px solid rgba(14, 24, 41, .18); border-radius: var(--r); background: var(--snow); color: var(--ink); font: 650 .98rem/1.2 var(--text); cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background-color .2s, color .2s, box-shadow .25s; text-align: left; }
.cbr-choice:hover { border-color: var(--night); transform: translateY(-2px); box-shadow: var(--sh); }
.cbr-choice .cbr-icon { width: 22px; height: 22px; color: var(--haze-ink); }
.cbr-choice[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; box-shadow: var(--glow); }
.cbr-choice[aria-pressed="true"] .cbr-icon { color: var(--lamp); }
.cbr-choice--sm { min-height: 46px; padding: .5em .9em; font-size: .93rem; }
.cbr-tool__src { font-size: .82rem; color: var(--muted); }
.cbr-tool--lightup { padding: clamp(20px, 3.4vw, 40px); background: var(--frost); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.cbr-tool--lightup .cbr-h2 { color: var(--night); }
.cbr-answer { background: var(--snow); border: 1px solid var(--line); padding: clamp(18px, 2.6vw, 28px); border-radius: var(--r); box-shadow: var(--sh); border-top: 4px solid var(--haze-ink); }
.cbr-answer__h { font: 400 clamp(1.3rem, 1.15rem + .6vw, 1.75rem)/1.08 var(--display); color: var(--night); margin: 0 0 .5em; }
.cbr-answer__if { display: block; font: 700 .74rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--lamp-ink); margin-bottom: .6em; }
.cbr-answer__lead { font-size: 1.02rem; max-width: 72ch; }
.cbr-tplaces { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.cbr-tplace { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); border-left: 4px solid var(--lamp); }
.cbr-tplace__name { font-weight: 800; margin: 0 0 .3em; }
.cbr-tplace p { margin: 0 0 .4em; font-size: .93rem; }
.cbr-tplace__meta { color: var(--lamp-ink); font-weight: 700; }
.cbr-tplace__src { font-size: .76rem !important; color: var(--muted); }
.cbr-answer__tips { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.cbr-answer__tips li, .cbr-checks li { display: flex; gap: 10px; }
.cbr-answer__tips li { font-size: .97rem; }
.cbr-answer__tips .cbr-icon { color: var(--spruce-2); margin-top: 4px; }
.cbr-at { flex: none; min-width: 4.8em; font: 800 .86rem/1.6 var(--text); color: var(--lamp-ink); font-variant-numeric: tabular-nums; }
.cbr-tool__cta { margin: 22px 0 0; }
.cbr-tool__foot { font-size: .8rem; color: var(--muted); margin: 18px 0 0; max-width: 84ch; }
.cbr-arrival__qs { display: grid; gap: 22px; margin-bottom: 26px; }
.cbr-arrival__out { display: grid; gap: 16px; }
.cbr-js .cbr-tool--lightup.is-live .cbr-answer { display: none; }
.cbr-answer--always { border-top-color: var(--spruce-2); }
.cbr-answer--goal { border-top-color: var(--lamp); }
.cbr-answer--arrive { border-top-color: var(--caboose); }
/* the composed plan: a timeline on a lamp-lit rail */
.cbr-plan { margin: 0 0 18px; padding: clamp(18px, 3vw, 30px); background: var(--night); color: var(--on-dark); border-radius: var(--r); animation: cbr-panel .4s var(--ease); }
.cbr-plan__h { font: 400 clamp(1.4rem, 1.2rem + .8vw, 2rem)/1.05 var(--display); color: #fff; margin: 0 0 .7em; }
.cbr-plan__list { list-style: none; margin: 0; padding: 0 0 0 22px; display: grid; gap: 12px; position: relative; }
.cbr-plan__list::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--lamp), rgba(242, 181, 68, .15)); }
.cbr-plan__list li { position: relative; display: flex; gap: 10px; font-size: .97rem; }
.cbr-plan__list li::before { content: ""; position: absolute; left: -22px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--night-3); border: 2px solid var(--haze); }
.cbr-plan__list li.is-timed::before { background: var(--lamp); border-color: var(--lamp-2); box-shadow: 0 0 10px rgba(242, 181, 68, .7); }
.cbr-plan__list .cbr-icon { color: var(--haze); margin-top: 4px; width: 18px; height: 18px; }
.cbr-plan__list .cbr-at { color: var(--lamp); }
.cbr-plan__list .cbr-tool__src, .cbr-plan__list .cbr-tool__src a { color: var(--haze-2); }
.cbr-plan__note { margin: 14px 0 0; font-size: .8rem; color: var(--on-dark-2); }
.cbr-tool--lightup.has-plan .cbr-arrival__out { display: none; }

/* planner */
.cbr-planner__controls { display: grid; gap: 18px; margin-bottom: 26px; padding: clamp(16px, 2.4vw, 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); }
.cbr-planner__days, .cbr-planner__cats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cbr-planner__count { margin: 0; font: 700 .8rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--haze-ink); }
.cbr-pdays { display: grid; gap: 28px; }
.cbr-pday[hidden] { display: none; }
.cbr-pday__h { display: flex; align-items: baseline; gap: .5em; flex-wrap: wrap; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--mist-2); font: 400 clamp(1.4rem, 1.2rem + .8vw, 2rem)/1.05 var(--display); color: var(--night); }
.cbr-pday__dow { font: 700 .78rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--lamp-ink); align-self: center; }
.cbr-pday--runs .cbr-slot__t { background: var(--spruce); color: #fff; }
.cbr-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cbr-slot { display: grid; grid-template-columns: 124px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cbr-slot[hidden] { display: none; }
.cbr-slot__t { margin: 0; padding: 14px 12px; background: var(--night); color: var(--lamp-2); font: 700 .98rem/1.2 var(--text); font-variant-numeric: tabular-nums; }
.cbr-slot__b { padding: 12px 16px; }
.cbr-slot__name { margin: 0 0 .25em; font: 750 1.06rem/1.3 var(--text); color: var(--night); }
.cbr-slot__where, .cbr-slot__cost { display: flex; gap: 6px; margin: 0 0 .35em; font-size: .9rem; color: var(--muted); }
.cbr-slot__where .cbr-icon, .cbr-slot__cost .cbr-icon { width: 16px; height: 16px; margin-top: 3px; color: var(--haze-ink); }
.cbr-slot__sum { margin: 0 0 .4em; font-size: .95rem; }
.cbr-slot__meta { margin: 0 0 .4em; }
.cbr-slot__src { margin: 0 0 .5em; font-size: .76rem; color: var(--muted); }
.cbr-slot__act { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cbr-slot--compact .cbr-slot__b { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; }
.cbr-slot--compact .cbr-slot__name, .cbr-slot--compact .cbr-slot__where, .cbr-slot--compact .cbr-slot__cost, .cbr-slot--compact .cbr-slot__meta { grid-column: 1; margin: 0; }
.cbr-slot--compact .cbr-slot__act { grid-column: 2; grid-row: 1 / span 3; justify-content: flex-end; }
.cbr-planner__note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 18px; font-size: .88rem; color: var(--muted); max-width: 80ch; }
.cbr-planner__note .cbr-icon { width: 18px; height: 18px; color: var(--haze-ink); margin-top: 2px; }
.cbr-cal { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: .35em .85em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--snow); color: var(--night); font: 650 .84rem/1 var(--text); text-decoration: none; cursor: pointer; }
.cbr-cal:hover { border-color: var(--night); color: var(--night); }
.cbr-cal .cbr-icon { width: 16px; height: 16px; color: var(--haze-ink); }
.cbr-cal--pick[aria-pressed="true"] { background: var(--spruce); border-color: var(--spruce); color: #fff; }
.cbr-cal--pick[aria-pressed="true"] .cbr-icon { color: #fff; }
.cbr-planner__empty { padding: 18px; background: #fff; border: 1px dashed var(--mist-2); border-radius: var(--r); }
.cbr-myday { margin-top: 26px; padding: clamp(18px, 3vw, 28px); background: var(--night); color: var(--on-dark); border-radius: var(--r-lg); box-shadow: var(--glow); }
.cbr-myday .cbr-h3 { color: #fff; }
.cbr-myday__list { margin: 0 0 16px; padding-left: 1.3em; display: grid; gap: 4px; }
.cbr-myday__act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.cbr-myday__clear { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-lt); border-radius: 999px; background: none; color: var(--on-dark); font: 650 .9rem var(--text); cursor: pointer; }
@media (max-width: 760px) {
  .cbr-slot { grid-template-columns: minmax(0, 1fr); }
  .cbr-slot__t { padding: 8px 14px; font-size: .94rem; }
  .cbr-slot--compact .cbr-slot__b { grid-template-columns: 1fr; }
  .cbr-slot--compact .cbr-slot__act { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}

/* ---------- chapters: lit shop windows ---------- */
.cbr-sec--chapters { background: var(--frost); }
.cbr-chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cbr-chapter { min-width: 0; }
.cbr-chapter--lead { grid-column: span 2; grid-row: span 2; }
.cbr-chapter__link { position: relative; display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh); transition: transform .35s var(--ease), box-shadow .35s; }
.cbr-chapter__link:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(14, 24, 41, .55), 0 0 0 1px rgba(242, 181, 68, .5); }
.cbr-chapter__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
.cbr-chapter--lead .cbr-chapter__img { aspect-ratio: auto; flex: 1; min-height: 260px; }
.cbr-chapter__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92) brightness(.92); }
/* window muntins + a warm inner glow that comes up on hover */
.cbr-chapter__img::before, .cbr-chapter__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.cbr-chapter__img::before { background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, .5) calc(50% - 1px), rgba(255, 255, 255, .5) calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(180deg, transparent calc(45% - 1px), rgba(255, 255, 255, .5) calc(45% - 1px), rgba(255, 255, 255, .5) calc(45% + 1px), transparent calc(45% + 1px)); opacity: .55; z-index: 1; }
.cbr-chapter__img::after { box-shadow: inset 0 0 0 0 rgba(242, 181, 68, 0); transition: box-shadow .5s; }
.cbr-chapter__link:hover .cbr-chapter__img img { transform: scale(1.05); filter: saturate(1.05) brightness(1.02); }
.cbr-chapter__link:hover .cbr-chapter__img::after { box-shadow: inset 0 0 60px 6px rgba(242, 181, 68, .45); }
.cbr-chapter__copy { padding: 18px 20px 20px; }
.cbr-chapter__k { margin: 0 0 .4em; font: 700 .72rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--lamp-ink); }
.cbr-chapter__t { font: 400 1.42rem/1.08 var(--display); color: var(--night); margin: 0 0 .35em; }
.cbr-chapter--lead .cbr-chapter__t { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); }
.cbr-chapter__copy p { margin: 0 0 .8em; font-size: .95rem; color: var(--muted); }
.cbr-chapter__go { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--haze-ink); font-size: .92rem; }
.cbr-chapter__go .cbr-icon { width: 17px; height: 17px; }
@media (max-width: 980px) { .cbr-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cbr-chapter--lead { grid-column: span 2; grid-row: auto; } .cbr-chapter--lead .cbr-chapter__img { aspect-ratio: 16 / 9; flex: none; min-height: 0; } }
@media (max-width: 620px) { .cbr-chapters { grid-template-columns: 1fr; } .cbr-chapter--lead { grid-column: auto; } }

/* ---------- holiday-train band + ticket ---------- */
.cbr-band { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--night); }
.cbr-band__img { position: absolute; inset: -60px 0; z-index: -2; transform: translateY(var(--py, 0)); }
.cbr-band__img img { width: 100%; height: 100%; object-fit: cover; }
.cbr-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 24, 41, .92) 0%, rgba(14, 24, 41, .72) 45%, rgba(14, 24, 41, .25) 100%); }
.cbr-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: clamp(26px, 5vw, 70px); align-items: center; padding-block: clamp(80px, 10vw, 150px); }
.cbr-band__head .cbr-h2 { color: #fff; }
.cbr-band__head p { color: var(--on-dark); max-width: 56ch; }
.cbr-band__more { margin-top: 22px; }
.cbr-band__credit { grid-column: 1 / -1; margin: 0; font-size: .76rem; color: rgba(230, 237, 246, .7); }
.cbr-band__credit .cbr-credit { color: inherit; }
.cbr-ticket { --punch: radial-gradient(circle at 100% 50%, transparent 13px, #000 13.5px) left / 72% 100% no-repeat, radial-gradient(circle at 0 50%, transparent 13px, #000 13.5px) right / 28.2% 100% no-repeat;
  display: grid; grid-template-columns: minmax(0, 1fr) 30%; background: #FBF4E4; color: var(--ink); border-radius: 12px; -webkit-mask: var(--punch); mask: var(--punch); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); transform: rotate(-2deg); }
.cbr-ticket__main { padding: 22px 22px 18px 24px; border-right: 2px dashed rgba(19, 27, 43, .22); }
.cbr-ticket__line { margin: 0 0 4px; font: 700 .7rem/1.2 var(--text); letter-spacing: .22em; text-transform: uppercase; color: var(--caboose); }
.cbr-ticket__name { margin: 0 0 14px; font: 400 1.7rem/1.02 var(--display); color: var(--night); }
.cbr-ticket__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cbr-ticket__rows li { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 10px; font-size: .9rem; line-height: 1.35; }
.cbr-ticket__k { font: 700 .66rem/1.5 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cbr-ticket__v { font-weight: 650; }
.cbr-ticket__src { margin: 14px 0 0; font-size: .7rem; color: var(--muted); }
.cbr-ticket__src a { color: var(--haze-ink); }
.cbr-ticket__stub { display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(178, 57, 45, .07) 0 8px, transparent 8px 16px); }
.cbr-ticket__stub span { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 1.3rem/1 var(--display); color: var(--caboose); letter-spacing: .04em; }
.cbr-js .cbr-ticket { opacity: 0; transform: translateY(30px) rotate(4deg); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.cbr-js .cbr-ticket.is-in { opacity: 1; transform: rotate(-2deg); }
@media (max-width: 900px) { .cbr-band__inner { grid-template-columns: 1fr; } .cbr-ticket { max-width: 460px; } }
@media (max-width: 420px) { .cbr-ticket__rows li { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 560px) { .cbr-ticket, .cbr-js .cbr-ticket.is-in { transform: none; } .cbr-js .cbr-ticket { transform: translateY(24px); } .cbr-ticket { grid-template-columns: minmax(0, 1fr) 3.4rem; } }

/* ---------- December by the numbers ---------- */
.cbr-sec--weather { background: linear-gradient(180deg, var(--mist) 0%, var(--frost) 100%); }
.cbr-wx__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 14px; }
.cbr-wx__tile { padding: 22px 20px 18px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-lg); box-shadow: var(--sh); backdrop-filter: blur(6px); }
.cbr-wx__v { margin: 0 0 6px; font: 400 clamp(2.4rem, 1.8rem + 2vw, 3.4rem)/1 var(--display); color: var(--night); display: flex; align-items: baseline; gap: .15em; }
.cbr-wx__v small { font: 700 1rem/1 var(--text); color: var(--haze-ink); }
.cbr-wx__k { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.4; }
.cbr-wx__answer { margin: 22px 0 6px; font-size: 1.08rem; max-width: 70ch; }
.cbr-wx__src { margin: 0; font-size: .8rem; color: var(--muted); }

/* ---------- places (weekend + pages) ---------- */
.cbr-sec--weekend { background: var(--snow); }
.cbr-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 14px; }
.cbr-place { position: relative; display: flex; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 1px 2px rgba(14, 24, 41, .05); }
.cbr-place__n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--frost); color: var(--haze-ink); font: 700 .86rem/1 var(--text); font-variant-numeric: tabular-nums; }
.cbr-place__body { min-width: 0; }
.cbr-place__kind { margin: 0 0 .3em; font: 700 .72rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp-ink); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cbr-place__name { font: 400 1.25rem/1.15 var(--display); color: var(--night); margin: 0 0 .4em; }
.cbr-place__name a { color: inherit; }
.cbr-place__note { margin: 0 0 .6em; font-size: .95rem !important; }
.cbr-place__rows { list-style: none; padding: 0 !important; margin: 0 0 .6em; display: grid; gap: 4px; }
.cbr-place__rows li { display: flex; gap: 8px; font-size: .9rem !important; margin: 0 !important; }
.cbr-place__rows .cbr-icon { width: 17px; height: 17px; margin-top: 3px; color: var(--haze-ink); }
.cbr-place__src { margin: 0; font-size: .76rem !important; color: var(--muted); }

/* ---------- living + listings + seller ---------- */
.cbr-sec--living { background: var(--frost); }
.cbr-living { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.cbr-living__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cbr-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cbr-checks .cbr-icon { color: var(--spruce-2); margin-top: 4px; }
.cbr-checks strong { color: var(--night); }
.cbr-checks--light strong { color: #fff; }
.cbr-frame { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: 0 30px 60px -32px rgba(14, 24, 41, .6); aspect-ratio: 4 / 5; background: var(--mist); }
.cbr-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .55); border-radius: calc(var(--r-lg) - 6px); pointer-events: none; }
.cbr-frame img { width: 100%; height: 100%; object-fit: cover; }
.cbr-frame--wide { aspect-ratio: 5 / 4; }
.cbr-frame--tall { aspect-ratio: 3 / 4; }
figure { margin: 0; }
figcaption { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.cbr-listings-wrap { background: var(--frost); padding-bottom: 30px; }
.cbr-seller-wrap { background: var(--frost); padding-block: 0 clamp(56px, 7vw, 96px); }
.cbr-seller { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 26px; align-items: center; padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); background-image: radial-gradient(60% 120% at 100% 0%, rgba(242, 181, 68, .14), transparent 60%); }
.cbr-seller__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--night); color: var(--lamp); box-shadow: var(--glow); }
.cbr-seller__mark .cbr-icon { width: 30px; height: 30px; }
.cbr-seller .cbr-h3 { margin-bottom: .25em; }
.cbr-seller__copy p:last-child { margin: 0; }
.cbr-seller__copy .cbr-plate { margin-bottom: .7em; }
.cbr-seller__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
.cbr-seller__alt { font-weight: 700; font-size: .92rem; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 900px) {
  .cbr-living { grid-template-columns: 1fr; }
  .cbr-living__media { max-width: 420px; }
  .cbr-seller { grid-template-columns: 1fr; }
}

/* ---------- journal cards ---------- */
.cbr-sec--journal { background: var(--snow); border-top: 1px solid var(--line); }
.cbr-postgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cbr-postcard__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.cbr-postcard__link:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh); }
.cbr-postcard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.cbr-postcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cbr-postcard__link:hover .cbr-postcard__img img { transform: scale(1.04); }
.cbr-postcard__date { margin: 16px 20px 0; font: 700 .72rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp-ink); }
.cbr-postcard__title { font: 400 1.35rem/1.12 var(--display); color: var(--night); margin: 8px 20px; }
.cbr-postcard__link p { margin: 0 20px 20px; font-size: .94rem; color: var(--muted); }
@media (max-width: 900px) { .cbr-postgrid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.cbr-sec--faq { background: var(--frost); border-top: 1px solid var(--line); }
.cbr-faqwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
.cbr-faq { display: grid; gap: 8px; }
.cbr-faq__item { border: 1px solid var(--line); background: #fff; border-radius: var(--r); overflow: hidden; }
.cbr-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; min-height: 56px; cursor: pointer; list-style: none; }
.cbr-faq__item summary::-webkit-details-marker { display: none; }
.cbr-faq__q { margin: 0; font: 700 1.02rem/1.35 var(--text); color: var(--night); }
.cbr-faq__item .cbr-icon { transition: transform .25s; color: var(--haze-ink); }
.cbr-faq__item[open] { box-shadow: inset 4px 0 0 var(--lamp); }
.cbr-faq__item[open] .cbr-icon { transform: rotate(180deg); }
.cbr-faq__a { padding: 0 20px 16px; }
.cbr-faq__a p { margin: 0 0 .5em; }
.cbr-faq__src { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .cbr-faqwrap { grid-template-columns: 1fr; } }

/* ---------- brokerage CTA band ---------- */
.cbr-parent { background: var(--night-2); color: var(--on-dark); padding-block: clamp(64px, 8vw, 116px); background-image: radial-gradient(70% 110% at 100% 0%, rgba(242, 181, 68, .16), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(61, 97, 135, .35), transparent 70%); }
.cbr-parent__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.cbr-parent .cbr-h2 { color: #fff; }
.cbr-parent p { color: var(--on-dark-2); }
.cbr-parent__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }
.cbr-parent__more { font-size: .92rem; }
.cbr-parent figcaption, .cbr-parent .cbr-credit { color: rgba(230, 237, 246, .7); }
@media (max-width: 900px) { .cbr-parent__inner { grid-template-columns: 1fr; } .cbr-parent__media { max-width: 460px; } }

/* ---------- page head ---------- */
.cbr-head { position: relative; background: linear-gradient(180deg, var(--mist) 0%, var(--frost) 100%); padding-top: clamp(34px, 5vw, 64px); }
.cbr-head__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; padding-bottom: 18px; }
.cbr-head--photo .cbr-head__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
.cbr-head__copy { max-width: 820px; }
.cbr-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .84rem; color: var(--muted); }
.cbr-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--mist-2); }
.cbr-crumbs a { color: var(--muted); }
.cbr-tldr { position: relative; margin: 4px 0 18px; padding: 18px 22px 18px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); max-width: 70ch; }
.cbr-tldr::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--lamp); }
.cbr-tldr__label { margin: 0 0 .4em; font: 700 .74rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--lamp-ink); }
.cbr-tldr__text { margin: 0; font-size: 1.04rem; }
.cbr-head__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .82rem; color: var(--muted); margin: 14px 0 8px; }
.cbr-head__media figcaption { margin-top: 12px; }
.cbr-head .cbr-ridge { margin-top: 10px; }
.cbr-head__media .cbr-frame { aspect-ratio: 5 / 4; }
@media (max-width: 900px) { .cbr-head--photo .cbr-head__inner { grid-template-columns: 1fr; } .cbr-head__media { max-width: 540px; } }

/* ---------- prose ---------- */
.cbr-prose { padding-block: clamp(30px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.cbr-prose > .wp-block-post-content, .cbr-prose > .entry-content { max-width: 760px; }
.cbr-prose--page > .wp-block-post-content { max-width: 1040px; }
.cbr-prose--page > .wp-block-post-content > :where(p, ul, ol, h2, h3, blockquote, table, .cbr-factline, .cbr-note) { max-width: 760px; }
.cbr-prose p, .cbr-prose li { font-size: 1.04rem; }
.cbr-prose h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin-top: 1.6em; }
.cbr-prose h3 { font-size: clamp(1.3rem, 1.15rem + .55vw, 1.6rem); margin-top: 1.5em; }
.cbr-prose ul, .cbr-prose ol { padding-left: 1.3em; }
.cbr-prose li { margin-bottom: .4em; }
.cbr-prose li::marker { color: var(--haze-ink); }
.cbr-prose table { width: 100%; max-width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; background: #fff; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.cbr-prose th, .cbr-prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cbr-prose th { background: var(--night); color: #fff; font: 700 .84rem/1.2 var(--text); letter-spacing: .06em; text-transform: uppercase; }
.cbr-prose blockquote { margin: 1.5em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--lamp); font: 400 1.5rem/1.25 var(--display); color: var(--night); }
.cbr-prose .cbr-tool, .cbr-prose .cbr-map, .cbr-prose .cbr-places, .cbr-prose .cbr-evs, .cbr-prose .cbr-faq, .cbr-prose .cbr-seller, .cbr-prose .cbr-tl, .cbr-prose .cbr-board, .cbr-prose .cbr-wx, .cbr-prose .cbr-ticket { margin-block: 2em; }
.cbr-prose .cbr-tool--planner { padding: clamp(18px, 3vw, 34px); background: var(--snow); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cbr-prose .cbr-tool--lightup { border: 1px solid var(--line); box-shadow: var(--sh); }
.cbr-prose .cbr-ticket { max-width: 460px; }
.cbr-factline { padding: 12px 16px; background: #fff; border: 1px dashed var(--mist-2); border-radius: var(--r-sm); }
.cbr-factline__src { font-size: .82rem; color: var(--muted); }
.cbr-note { padding: 14px 18px; background: var(--mist); border-radius: var(--r-sm); font-size: .93rem; }
.cbr-note p { margin: 0; }
.cbr-ainote { margin-top: 2.2em; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.cbr-fig { margin: 2em 0; }
.cbr-fig img { width: 100%; border-radius: var(--r-lg); box-shadow: 0 24px 50px -30px rgba(14, 24, 41, .55); }
.cbr-fig figcaption { margin-top: 12px; }
.cbr-prose .cbr-checks li { font-size: 1rem; }

/* timeline */
.cbr-tl__list { list-style: none; margin: 0; padding: 0 0 0 26px; display: grid; gap: 18px; position: relative; }
.cbr-tl__list::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--haze-ink), var(--haze-2)); }
.cbr-tl__item { position: relative; }
.cbr-tl__item::before { content: ""; position: absolute; left: -24px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 3px var(--frost); }
.cbr-tl__year { font: 700 .82rem/1 var(--text); letter-spacing: .12em; color: var(--lamp-ink); }
.cbr-tl__h { font: 400 1.25rem/1.15 var(--display); color: var(--night); margin: .2em 0; }
.cbr-tl__body p { margin: 0 0 .3em; }
.cbr-tl__src { font-size: .8rem; color: var(--muted); }

/* events as railway-ticket rows */
.cbr-evs { display: grid; gap: 12px; }
.cbr-ev { display: grid; grid-template-columns: 96px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cbr-ev__stub { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 6px; background: var(--night); color: #fff; text-align: center; border-right: 2px dashed rgba(201, 214, 228, .35); }
.cbr-ev__mon { font: 700 .74rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--lamp-2); }
.cbr-ev__day { font: 400 2.4rem/1.05 var(--display); }
.cbr-ev__dow { font: 600 .7rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.cbr-ev__body { padding: 14px 18px; }
.cbr-ev__name { font: 750 1.06rem/1.3 var(--text); color: var(--night); margin: 0 0 .4em; }
.cbr-ev__meta { list-style: none; padding: 0 !important; margin: .5em 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.cbr-ev__meta li { display: flex; gap: 6px; align-items: center; font-size: .9rem !important; margin: 0 !important; }
.cbr-ev__meta .cbr-icon { width: 16px; height: 16px; color: var(--haze-ink); }
.cbr-ev__sum { margin: 0 0 .4em; font-size: .95rem !important; }
.cbr-ev__src { margin: 0; font-size: .76rem !important; color: var(--muted); }
.cbr-empty { color: var(--muted); font-style: italic; }

/* contact + credits + archive */
.cbr-contact__card { padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 18px; }
.cbr-contact__line { display: flex; gap: 8px; align-items: center; margin: .3em 0; }
.cbr-contact__line a { min-height: 44px; display: inline-flex; align-items: center; }
.cbr-contact__own { font-weight: 800; color: var(--night); margin: 0 0 .4em; }
.cbr-creditlist { list-style: none; padding: 0 !important; display: grid; gap: 16px; }
.cbr-creditrow { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; }
.cbr-creditrow__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r-sm); }
.cbr-creditrow__what { font-weight: 700; margin: 0 0 .3em; }
.cbr-creditrow p { font-size: .9rem !important; margin: 0 0 .3em; }
@media (max-width: 480px) { .cbr-creditrow { grid-template-columns: 96px 1fr; } }
.cbr-archive { padding-block: 30px 80px; }
.cbr-archive__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.cbr-archive__list > li { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.cbr-archive__list .wp-block-post-date { font: 700 .76rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp-ink); }
.cbr-archive__list .wp-block-post-title { font: 400 1.6rem/1.1 var(--display); margin: .3em 0; }
.cbr-archive__list .wp-block-post-title a { color: var(--night); text-decoration: none; }
.cbr-related { padding-block: 0 70px; }

/* Fluent Forms inside the theme */
.fluentform .ff-el-input--label label { font-weight: 700; color: var(--night); }
.fluentform .ff-el-form-control { min-height: 48px; border-radius: var(--r-sm) !important; border: 1.5px solid var(--mist-2) !important; background: #fff !important; font: inherit !important; }
.fluentform .ff-el-form-control:focus { border-color: var(--night) !important; }
.fluentform .ff-btn-submit { min-height: 50px; padding: .7em 1.6em !important; border-radius: 999px !important; background: var(--night) !important; border: 0 !important; font: 700 1rem/1 var(--text) !important; }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.wp-block-search__input { flex: 1; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--mist-2); border-radius: var(--r-sm); font: inherit; }
.wp-block-search__button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--night); color: #fff; font: 700 1rem var(--text); cursor: pointer; }
.wp-block-query-pagination { display: flex; gap: 10px; margin-top: 24px; }

/* ---------- footer ---------- */
.cbr-footer { background: var(--night); color: var(--on-dark-2); font-size: .94rem; }
.cbr-footer a { color: var(--on-dark); text-decoration-color: rgba(230, 237, 246, .35); }
.cbr-footer a:hover { color: var(--lamp-2); }
.cbr-footer .cbr-ridge { background: var(--frost); }
.cbr-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding-block: 44px 34px; }
.cbr-footer__tag { color: #fff; font: 400 1.35rem/1.2 var(--display); margin: 18px 0 10px; }
.cbr-footer__indep { font-size: .86rem; color: var(--on-dark-2); max-width: 54ch; }
.cbr-footer__h { font: 700 .76rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--lamp); margin: 8px 0 14px; }
.cbr-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cbr-footer__col a { display: inline-flex; align-items: center; min-height: 40px; }
.cbr-footer__parent { padding-block: 26px; border-top: 1px solid var(--line-lt); }
.cbr-footer__own { margin: 0 0 6px; font-weight: 700; color: #fff; }
.cbr-footer__sentence { margin: 0 0 10px; max-width: 80ch; }
.cbr-footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.cbr-footer__contact a { min-height: 44px; display: inline-flex; align-items: center; }
.cbr-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-block: 18px 30px; border-top: 1px solid var(--line-lt); font-size: .82rem; color: rgba(230, 237, 246, .72); }
.cbr-footer__legal p { margin: 0; max-width: 80ch; }
.cbr-footer__legal ul { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 0; padding: 0; }
.cbr-footer__legal a { min-height: 40px; display: inline-flex; align-items: center; }
@media (max-width: 900px) { .cbr-footer__top { grid-template-columns: 1fr 1fr; } .cbr-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .cbr-footer__top { grid-template-columns: 1fr; } }

/* ---------- GPR listings plugin output ---------- */
.gpr-listings, .gprl { max-width: 100%; }

/* ---------- rendering cost: skip layout of far-below-the-fold LIGHT sections until they come near ---------- */
.cbr-is-home .cbr-sec--chapters, .cbr-is-home .cbr-sec--weather, .cbr-is-home .cbr-sec--weekend, .cbr-is-home .cbr-sec--living,
.cbr-is-home .cbr-sec--journal, .cbr-is-home .cbr-sec--faq { content-visibility: auto; contain-intrinsic-size: auto 1100px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .cbr-js [data-cbr-reveal], .cbr-js .cbr-hero .cbr-plate, .cbr-js .cbr-hero .cbr-line, .cbr-js .cbr-hero .cbr-count, .cbr-js .cbr-hero__lede, .cbr-js .cbr-hero__actions, .cbr-js .cbr-hero__own { opacity: 1; transform: none; }
  .cbr-js .cbr-board .cbr-board__row { opacity: 1; transform: none; }
  .cbr-js .cbr-ticket { opacity: 1; transform: none; }
  .cbr-js .cbr-ridge path { transform: none; }
  .cbr-js .cbr-bulbs:not(.is-in) i { background: var(--lamp); }
  .cbr-js .cbr-map__road--route { stroke-dashoffset: 0; }
  .cbr-js .cbr-map__pin, .cbr-js .cbr-map__lead { opacity: 1; }
  .cbr-hero__img { transform: none; }
  .cbr-hero__video, .cbr-hero__snow { display: none; }
  .cbr-band__img { transform: none !important; }
  .cbr-count__dot { animation: none !important; }
}
@media print { .cbr-header, .cbr-footer, .cbr-hero__media, .cbr-parent, .cbr-bulbs { display: none; } }
