/* Journal article layout (Oct 2026).
   Brand tokens come from main.css: espresso grounds, champagne accent,
   Cormorant for display and figures, DM Sans for reading.
   The one memorable device is the route card — a chauffeur job sheet:
   pickup, a dashed route, drop-off, and the fixed price set large. Everything
   else stays quiet so the writing carries the page. */

.jr { --jr-measure: 68ch; }
.jr__head { max-width: 46rem; }
.jr__title { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem); color: var(--on-dark); margin: .7rem 0 1.1rem; text-wrap: balance; }
.jr__stand { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.45; color: var(--on-dark-mid);
  max-width: 40ch; margin: 0 0 1.8rem; }
.jr__by { display: flex; align-items: center; gap: .85rem; padding: 1rem 0; border-top: 1px solid var(--on-dark-line);
  border-bottom: 1px solid var(--on-dark-line); font-size: .9rem; color: var(--on-dark-dim); margin-bottom: 2.2rem; }
.jr__avatar { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--graphite-2); border: 1px solid rgba(201,169,110,.45); color: var(--champagne);
  font-family: var(--serif); font-size: 1.25rem; }
.jr__by b { color: var(--on-dark); font-weight: 500; }
.jr__by span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%;
  background: currentColor; margin: 0 .6rem .2rem; opacity: .6; }
.jr__by .jr__upd { color: var(--champagne-soft); }

.jr__cover { border-radius: var(--radius-md); overflow: hidden; margin: 0 0 2.4rem; }
.jr__cover img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; }

/* Contents — only rendered for guides with three or more sections */
.jr__toc { margin: 0 0 2.6rem; padding: .2rem 0 .2rem 1.2rem; border-left: 1px solid rgba(201,169,110,.5); max-width: var(--jr-measure); }
.jr__toc p { margin: 0 0 .5rem; color: var(--on-dark); font-family: var(--serif); font-size: 1.15rem; }
.jr__toc ol { margin: 0; padding: 0 0 0 1.1rem; color: var(--on-dark-dim); font-size: .92rem; line-height: 1.9; }
.jr__toc a { color: var(--on-dark-mid); text-decoration: none; border-bottom: 1px solid transparent; }
.jr__toc a:hover, .jr__toc a:focus-visible { color: var(--champagne); border-bottom-color: currentColor; }

/* Reading column */
.jr .prose { max-width: var(--jr-measure); font-size: 1.04rem; }
.jr .prose p, .jr .prose li { max-width: var(--jr-measure); }
.jr .prose h2 { scroll-margin-top: 6rem; padding-top: 1.2rem; margin-top: 2.6rem; }
.jr .prose h2::before { content: ""; display: block; width: 2.2rem; height: 1px; background: var(--champagne); margin-bottom: 1.1rem; }
.jr .prose img { max-width: 100%; height: auto; }

/* Route card: the job sheet */
.route { max-width: var(--jr-measure); margin: 0 0 2.6rem; border: 1px solid rgba(201,169,110,.38); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(201,169,110,.06), rgba(201,169,110,0) 60%), var(--graphite); overflow: hidden; }
.route__trip { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; padding: 1.4rem 1.5rem .4rem; }
.route__pin { width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--champagne); margin-top: .35rem; }
.route__pin--end { background: var(--champagne); }
.route__line { width: .7rem; display: flex; justify-content: center; }
.route__line::before { content: ""; width: 0; border-left: 2px dashed rgba(201,169,110,.55); min-height: 1.6rem; }
.route__place { color: var(--on-dark); font-size: 1.02rem; line-height: 1.4; }
.route__place small { display: block; color: var(--on-dark-dim); font-size: .82rem; }
.route__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); border-top: 1px dashed rgba(201,169,110,.35); margin-top: .9rem; }
.route__meta > div { padding: 1rem 1.5rem 1.1rem; }
.route__meta > div + div { border-left: 1px dashed rgba(201,169,110,.25); }
.route__meta dt { color: var(--on-dark-dim); font-size: .8rem; margin: 0 0 .25rem; }
.route__meta dd { margin: 0; color: var(--on-dark); font-size: .95rem; line-height: 1.35; }
.route__fare dd { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--champagne); font-variant-numeric: lining-nums; }
.route__fare dd small { display: block; font-family: var(--sans); font-size: .76rem; color: var(--on-dark-dim); margin-top: .35rem; line-height: 1.35; }
@media (max-width: 560px) { .route__meta > div + div { border-left: 0; border-top: 1px dashed rgba(201,169,110,.25); } }

/* Figures (diagrams drawn as inline SVG in brand colours) */
.fig { margin: 2.2rem 0; max-width: var(--jr-measure); }
.fig svg { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); background: var(--graphite); border: 1px solid var(--on-dark-line); }
@media (max-width: 640px) { .fig { overflow-x: auto; -webkit-overflow-scrolling: touch; } .fig svg { min-width: 600px; } }
.fig figcaption { margin-top: .7rem; color: var(--on-dark-dim); font-size: .86rem; line-height: 1.55; }

/* Fare tables */
.fares { max-width: var(--jr-measure); margin: 1.6rem 0 2rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fares table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 30rem; }
.fares th, .fares td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid var(--on-dark-line); vertical-align: baseline; }
.fares thead th { color: var(--on-dark-dim); font-weight: 500; font-size: .82rem; border-bottom-color: rgba(201,169,110,.45); }
.fares td { color: var(--on-dark-mid); }
.fares td:first-child { color: var(--on-dark); }
.fares td small { color: var(--on-dark-dim); font-size: .8rem; }
.fares .n { text-align: right; font-family: var(--serif); font-size: 1.15rem; color: var(--on-dark); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.fares thead .n { font-family: var(--sans); font-size: .82rem; }
.fares tbody tr:hover td { background: rgba(245,241,234,.025); }
.fares caption { caption-side: bottom; text-align: left; color: var(--on-dark-dim); font-size: .82rem; padding-top: .7rem; line-height: 1.5; }
.fares__filter { display: block; width: 100%; max-width: 22rem; margin: 0 0 1rem; padding: .7rem .9rem; font: inherit; font-size: .95rem;
  color: var(--on-dark); background: var(--graphite); border: 1px solid var(--on-dark-line); border-radius: var(--radius-md); }
.fares__filter:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }
.fares__group { color: var(--champagne-soft) !important; font-family: var(--serif); font-size: 1.1rem; padding-top: 1.3rem !important; }

/* Notes and step lists */
.note { max-width: var(--jr-measure); margin: 1.8rem 0; padding: 1.1rem 1.3rem; background: var(--graphite); border-left: 2px solid var(--champagne);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--on-dark-mid); line-height: 1.7; }
.note strong { color: var(--on-dark); }
.prose ol.steps { list-style: none; counter-reset: st; margin: 1.2rem 0 1.8rem; padding: 0; }
.prose ol.steps > li { counter-increment: st; position: relative; padding: 0 0 1.1rem 3rem; margin: 0; }
.prose ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(201,169,110,.55); color: var(--champagne); font-family: var(--serif); font-size: 1.05rem; }
.prose ol.steps > li > strong:first-child { display: block; color: var(--on-dark); margin-bottom: .15rem; }

/* Inline price box (a prefilled booking bar) */
.jr-quote { max-width: 60rem; margin: 2.4rem 0; }
.jr-quote .mb { margin: 0; }

/* End of article: one way forward */
.jr__end { max-width: 60rem; margin: 3.2rem 0 0; padding-top: 2rem; border-top: 1px solid var(--on-dark-line); }
.jr__end h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--on-dark); margin: 0 0 .5rem; }
.jr__end p { color: var(--on-dark-dim); margin: 0 0 1.4rem; max-width: 52ch; }
.jr__end .jr__call { margin-top: 1rem; font-size: .92rem; }
.jr__end .jr__call a { color: var(--champagne); }
.jr__trust { max-width: var(--jr-measure); margin: 2.4rem 0 0; color: var(--on-dark-dim); font-size: .86rem; line-height: 1.65; }

@media (prefers-reduced-motion: reduce) { .jr * { scroll-behavior: auto !important; transition: none !important; } }
