@font-face{font-family:"Yatra One";src:url(fonts/yatra-one-latin-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Hind;src:url(fonts/hind-latin-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Hind;src:url(fonts/hind-latin-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Hind;src:url(fonts/hind-latin-700.woff2) format("woff2");font-weight:700;font-display:swap}

/* Block-print palette: indigo, madder, turmeric and leaf on unbleached cotton. */
:root{
  --cloth:#F6E7C8;
  --cloth-deep:#EDD6A8;
  --ink:#2A1A12;
  --ink-soft:#5A4030;
  --indigo:#1F3A6B;
  --madder:#C2281D;
  --turmeric:#E9A21A;
  --leaf:#2E7D4F;
  --gutter:clamp(1.1rem,4.5vw,4rem);
  --display:"Yatra One",Georgia,serif;
  --text:Hind,system-ui,sans-serif;
  --band:3rem;
  /* One printed repeat: madder dot on a turmeric medallion on indigo. */
  --print:radial-gradient(circle at 50% 50%,var(--madder) 0 5px,transparent 5.5px) 0 0/30px 30px,
          radial-gradient(circle at 50% 50%,var(--cloth) 0 9px,transparent 9.5px) 0 0/30px 30px,
          radial-gradient(circle at 50% 50%,var(--turmeric) 0 12px,transparent 12.5px) 0 0/30px 30px,
          radial-gradient(circle at 0 50%,var(--turmeric) 0 3px,transparent 3.5px) 0 0/30px 30px,
          var(--indigo);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--band) + .5rem);scrollbar-color:var(--indigo) var(--cloth-deep)}
body{margin:0;background:var(--cloth);color:var(--ink);font:400 1.0625rem/1.55 var(--text);font-variant-numeric:lining-nums tabular-nums;-webkit-text-size-adjust:100%}
::selection{background:var(--turmeric);color:var(--ink)}
a{color:inherit;text-decoration-color:var(--madder);text-decoration-thickness:.09em;text-underline-offset:.18em}
a:hover{color:var(--madder)}
:focus-visible{outline:3px solid var(--madder);outline-offset:3px}
h1,h2,h3{margin:0;font-family:var(--display);font-weight:400;text-wrap:balance}
p{margin:0}
.skip{position:absolute;left:-999rem;top:0;background:var(--cloth);color:var(--ink);padding:.6rem 1rem;z-index:20}
.skip:focus{left:0}

/* Masthead: indigo cloth with a printed border beneath */
.mast{background:var(--indigo);color:var(--cloth);padding:clamp(1.1rem,2.4vw,1.6rem) var(--gutter) clamp(.9rem,1.8vw,1.2rem);display:grid;grid-template-columns:1fr minmax(16rem,22rem);gap:1.2rem 3rem;align-items:end;position:relative}
.mast::after{content:"";position:absolute;left:0;right:0;bottom:-30px;height:30px;background:var(--print);box-shadow:0 -3px 0 var(--turmeric),0 3px 0 var(--turmeric)}
.mast h1{font-size:clamp(2.6rem,8.4vw,5.6rem);line-height:.95;color:var(--turmeric)}
.mast h1 span{color:var(--cloth)}
.mast p{font-size:1rem;line-height:1.45;padding-bottom:.4rem}
.find{margin-top:.7rem;position:relative}
/* The form is hidden until its script starts. On a scripted page it is drawn from the start, so the text under it does not move. */
.js .find[hidden]{display:block}
.find label{display:block;font:600 .85rem/1 var(--text);color:var(--turmeric);margin-bottom:.35rem}
.find input{width:100%;font:400 1rem/1.2 var(--text);color:var(--ink);background:var(--cloth);border:3px solid var(--turmeric);border-radius:999px;padding:.6rem 1rem;min-height:44px}
.find input::placeholder{color:var(--ink-soft);opacity:.8}
.find input:focus-visible{outline:3px solid var(--cloth);outline-offset:2px}
/* The line is kept at its full height while empty, so the box above does not move when a count appears. */
.mast .find-count{font-size:.85rem;line-height:1.45;margin:.35rem 0 0 .4rem;padding-bottom:0;min-height:1.45em}
.find-results{list-style:none;margin:.35rem 0 0;padding:0;position:absolute;left:0;right:0;z-index:30;background:var(--cloth);border:3px solid var(--indigo);border-radius:10px;box-shadow:0 10px 24px -12px rgba(42,26,18,.55);max-height:22rem;overflow:auto}
.find-results:empty{display:none}
.find-results a{display:block;padding:.55rem .9rem;color:var(--ink);text-decoration:none;border-bottom:1px dotted rgba(31,58,107,.35)}
.find-results a:hover,.find-results a:focus-visible{background:var(--turmeric);outline:none}
.find-results b{display:block;font-weight:700;color:var(--indigo)}
.find-results span{font-size:.85rem;color:var(--ink-soft)}
/* The way into the themes page, under the search. */
.mast .browse{margin:.1rem 0 0 .4rem;font-size:.9rem}
.mast .browse a{color:var(--cloth);text-decoration-color:var(--turmeric)}
.mast .browse a:hover{color:var(--turmeric)}
/* A label leads to a page of its own, so it is set apart from the rows it sits above. */
.find-results .find-label a{background:#FFF8E6}
.find-results .find-label b{color:var(--madder)}
tbody tr:target td,tbody tr.found td{background:#F3D27A}
tbody tr.camp:target td,tbody tr.camp.found td{background:#1F5A39}

/* Year band: printed pills */
.years{position:sticky;top:0;z-index:10;margin-top:30px;background:var(--cloth);display:flex;gap:.15rem;align-items:center;padding:.35rem var(--gutter);min-height:var(--band);border-bottom:2px dotted var(--indigo);overflow-x:auto;scrollbar-width:none;font:600 1rem/1 var(--text)}
.years::-webkit-scrollbar{display:none}
.years a{flex:none;color:var(--indigo);text-decoration:none;padding:.5rem .42rem .4rem;border-radius:999px;white-space:nowrap;transition:background-color .25s cubic-bezier(.16,1,.3,1),color .25s cubic-bezier(.16,1,.3,1)}
.years .decade{flex:none;align-self:center;font:400 .9rem/1 var(--display);color:var(--madder);padding:0 0 0 .5rem}
.years a:hover{background:var(--cloth-deep);color:var(--indigo)}
.years a[aria-current]{background:var(--madder);color:#fff}
.years a:focus-visible{outline-offset:-3px}
.years a[aria-current]:focus-visible{outline-color:var(--indigo)}
.years.more::after{content:"";position:sticky;right:calc(-1 * var(--gutter));flex:none;width:3.5rem;margin-left:-3.5rem;align-self:stretch;background:linear-gradient(90deg,rgba(246,231,200,0),var(--cloth) 75%);pointer-events:none}

/* Reading notes */
.reading,.year,footer{padding-inline:var(--gutter)}
.reading{padding-block:1.6rem 2rem}
footer h2{font-size:clamp(2rem,3.6vw,2.8rem);line-height:1;margin-bottom:1rem;color:var(--turmeric)}
.swatch{background:var(--leaf);color:#fff;padding:.08rem .5rem;border-radius:4px;font-weight:600}
.cols{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1.5rem 4rem;align-items:start}

/* Opening line and the four-card tour */
.lead{font:400 clamp(1.5rem,2.6vw,2.1rem)/1.2 var(--display);color:var(--indigo);max-width:60rem}
.lead small{display:block;font:600 1rem/1.5 var(--text);color:var(--ink);margin-top:.45rem;max-width:62ch}
.tour{display:grid;grid-template-columns:minmax(17rem,24rem) minmax(0,1fr);gap:1.6rem 2.4rem;align-items:center;margin-top:1.4rem}
.tcards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
/* One card shows at a time, but all four share one grid cell, so the cell is always as tall as the tallest card and nothing moves between steps. */
.tour.js .tcards,.js .tour .tcards{grid-template-columns:minmax(0,1fr);gap:0}
.tour.js .tcard,.js .tour .tcard{grid-area:1/1;visibility:hidden}
.tour.js .tcard.active{visibility:visible}
/* Before the tour's script starts on a scripted page, draw its first step: one card, the nav's space kept, the example rows dimmed.
   Without this, all four cards show two by two and then collapse, and the page below jumps. */
.js .tour:not(.js) .tcard:first-child{visibility:visible}
.js .tour:not(.js) .tnav[hidden]{display:grid;visibility:hidden}
.js .tour:not(.js) .tour-stage tr{opacity:.28}
.js .tour:not(.js) .tour-stage tr[data-tour-row~="row"]{opacity:1}
.js .tour:not(.js) .tour-stage tr[data-tour-row~="row"] .title{background:#F3D27A;box-shadow:0 0 0 3px #F3D27A}
.tcard{--tone:var(--indigo);position:relative;flex-direction:column;display:flex;background:#FFF8E6;border:3px solid var(--tone);box-shadow:0 0 0 3px var(--turmeric);border-radius:50% 50% 14px 14px / 16% 16% 14px 14px;padding:2.2rem 1.7rem 1.5rem;min-height:17rem;overflow:hidden}
.tcard::before{content:"";position:absolute;inset:7px;border:5px dotted var(--tone);border-radius:50% 50% 9px 9px / 15% 15% 9px 9px;opacity:.5;pointer-events:none}
.t-leaf{--tone:var(--leaf)}.t-madder{--tone:var(--madder)}.t-turmeric{--tone:#B97A06}
.tnum{flex:none;width:2.3rem;height:2.3rem;border-radius:50%;background:var(--tone);color:#fff;display:grid;place-items:center;font:400 1.3rem/1 var(--display);box-shadow:0 0 0 3px var(--turmeric)}
.ticon{display:block;margin:0 auto .1rem;width:2.2rem;height:2.2rem;fill:none;stroke:var(--tone);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;position:relative}
.tcard h3{display:flex;align-items:center;gap:.75rem;min-height:2.3em;font:400 1.55rem/1.15 var(--display);color:var(--tone);margin:.5rem 0 .8rem;position:relative}
.tcard p{font-size:1rem;line-height:1.5;margin:0;position:relative}
.tcard p + p{margin-top:.55rem}
.tcard h3 > span:last-child{flex:1 1 0;min-width:0}
.tnav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-top:.9rem}
.tnav .tback{justify-self:start}
.tnav .tnext{justify-self:end}
.tnav[hidden]{display:none}
.tnav button{font:600 .95rem/1 var(--text);border:2px solid var(--indigo);background:var(--indigo);color:var(--cloth);border-radius:999px;padding:0 1.1rem;min-height:44px;cursor:pointer}
.tnav .tback{background:none;color:var(--indigo)}
.tnav button:disabled{opacity:.35;cursor:default}
.tdots{display:flex;gap:.45rem}
.tdots i{width:.8rem;height:.8rem;border-radius:50%;background:var(--cloth);border:2px solid var(--indigo)}
.tdots i.on{background:var(--madder);border-color:var(--madder);box-shadow:0 0 0 2px var(--turmeric)}
.tour-stage{padding:0}
.tour-stage caption{caption-side:top;position:static;width:auto;height:auto;clip-path:none;white-space:normal;text-align:left;font:600 .8rem/1 var(--text);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);padding:0 0 .5rem}
.tour-stage tr{transition:opacity .35s cubic-bezier(.16,1,.3,1)}
.tour[data-step] .tour-stage tr{opacity:.28}
.tour[data-step="row"] tr[data-tour-row~="row"],.tour[data-step="camp"] tr[data-tour-row~="camp"],
.tour[data-step="count"] tr[data-tour-row~="count"],.tour[data-step="links"] tr[data-tour-row~="links"]{opacity:1}
.tour[data-step="row"] tr[data-tour-row~="row"] .title{background:#F3D27A;box-shadow:0 0 0 3px #F3D27A}
.tour[data-step="count"] tr[data-tour-row~="count"] td.talks,.tour[data-step="count"] tr[data-tour-row~="count"] td.dates{outline:3px solid var(--turmeric);outline-offset:-3px}
.tour[data-step="links"] tr[data-tour-row~="links"] .media{outline:3px solid var(--turmeric);outline-offset:3px;border-radius:6px}
.tour[data-step="camp"] tr[data-tour-row~="camp"] td{box-shadow:0 0 0 0 transparent}

/* Year section: a printed border opens every year */
.year{display:grid;grid-template-columns:minmax(16rem,24%) minmax(0,1fr);position:relative;padding-top:18px}
.year::before{content:"";position:absolute;left:0;right:0;top:0;height:18px;
  background:radial-gradient(circle at 50% 50%,var(--madder) 0 2.6px,transparent 3px) 0 0/18px 18px,
             radial-gradient(circle at 50% 50%,var(--cloth) 0 5px,transparent 5.4px) 0 0/18px 18px,
             radial-gradient(circle at 50% 50%,var(--turmeric) 0 7px,transparent 7.4px) 0 0/18px 18px,
             var(--indigo);
  box-shadow:0 2px 0 var(--turmeric)}
.rail{position:relative;border-right:3px dotted var(--indigo);padding:1.8rem 1.9rem 3rem 0;container-type:inline-size}
.rail h2{font-size:clamp(4.6rem,47cqi,13rem);line-height:.9;color:var(--madder);margin-left:-.03em}
.rail h2 .num{display:block}
.rail h2 .num a{text-decoration:none}
.rail h2 .num a:hover,.rail h2 .num a:focus-visible{color:var(--indigo)}
.rail h2 .sub{display:block;font-size:clamp(1.5rem,2.4vw,2.2rem);line-height:1;color:var(--indigo);margin-top:.35rem}
.stud{position:absolute;right:-15px;top:3.6rem;width:27px;height:27px;border-radius:50%;background:var(--cloth);border:5px solid var(--indigo);box-shadow:0 0 0 3px var(--turmeric);transition:background-color .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1)}
.year.arrived .stud{background:var(--madder);transform:scale(1.15)}
.towns{font:400 1.35rem/1.15 var(--display);color:var(--indigo);margin-top:.9rem;text-wrap:balance}
.summary{margin-top:.7rem;font-size:.98rem;line-height:1.45;max-width:34ch}
.map{margin:1.2rem 0 0}
.map svg{display:block;width:100%;height:auto;overflow:hidden;border-radius:50% 50% 8px 8px / 30% 30% 8px 8px;border:3px solid var(--indigo);box-shadow:0 0 0 3px var(--turmeric);background:#CFE0E6}
.map .land{fill:#F1D99A;stroke:var(--indigo);stroke-width:.8;stroke-linejoin:round}
#o-india,#o-world{vector-effect:non-scaling-stroke}
.map .town{fill:var(--madder);stroke:#fff;stroke-width:1}
.map .camp{fill:var(--leaf);stroke:#fff;stroke-width:1.2}
.map text{font:700 11.5px var(--text);fill:var(--indigo);paint-order:stroke;stroke:#F1D99A;stroke-width:3px;stroke-linejoin:round}
.map figcaption,.photo figcaption,.source{font-size:.875rem;line-height:1.4;color:var(--ink-soft)}
.map figcaption{margin-top:.5rem}
.map .route{fill:none;stroke:var(--madder);stroke-width:1.6;stroke-dasharray:4 3;stroke-linejoin:round;opacity:.85}

/* Month strip: one-place years show when, not where */
.months{margin:1.2rem 0 0;padding:.9rem 1rem .8rem;border:3px solid var(--indigo);box-shadow:0 0 0 3px var(--turmeric);border-radius:50% 50% 8px 8px / 22% 22% 8px 8px;background:var(--cloth)}
.months .where{font:400 1.25rem/1.1 var(--display);color:var(--indigo);text-align:center;margin:.4rem 0 .7rem}
.months ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(12,1fr);gap:3px;align-items:end;height:8.5rem}
.months li{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0}
.months .bar{width:100%;height:calc(var(--v) * 5.6rem);min-height:2px;background:var(--madder);border-radius:3px 3px 0 0}
.months .c{order:-1;font:700 .68rem/1 var(--text);color:var(--madder);margin-bottom:.2rem;min-height:.68rem}
.months .m{font:600 .66rem/1 var(--text);color:var(--indigo);margin-top:.3rem;text-transform:uppercase;letter-spacing:.02em}
.months figcaption{font-size:.8rem;line-height:1.35;color:var(--ink-soft);margin-top:.6rem}

/* The closing year: no table, the dates set apart */
.closing{border-top:3px solid var(--indigo);padding:1.6rem 0 .5rem;max-width:40rem}
.closing .when{font:400 clamp(1.4rem,2.4vw,1.9rem)/1.1 var(--display);color:var(--madder)}
.closing .what{font-size:1.1rem;margin:.35rem 0 1.6rem;max-width:52ch}
.closing .what:last-child{font:400 clamp(1.6rem,3vw,2.2rem)/1.15 var(--display);color:var(--indigo);margin-bottom:0}
.body{padding:1.5rem 0 3.4rem 2.8rem;min-width:0}
.body h3{font-size:clamp(2rem,3.8vw,3rem);line-height:1.05;color:var(--indigo)}
.lede{max-width:62ch;margin-top:.6rem}
.opener{margin-bottom:1rem}
.opener.has-photo{display:grid;grid-template-columns:minmax(0,1fr) minmax(14rem,26rem);gap:1.2rem 2.2rem;align-items:start}
.photo{margin:0}
/* Colour photograph in an arched window */
.plate{overflow:hidden;aspect-ratio:4/3;border-radius:50% 50% 6px 6px / 66.6% 66.6% 6px 6px;border:6px solid var(--indigo);box-shadow:0 0 0 4px var(--turmeric);background:var(--cloth-deep)}
.plate img{display:block;width:100%;height:100%;object-fit:cover}
.photo figcaption{margin-top:.55rem;font-size:.8rem;line-height:1.35}
.photo .credit{display:block}
.source{margin-top:.9rem}
.keep{white-space:nowrap}
.sprite{position:absolute}

/* Outside links: one quiet line under the series title */
.media{display:flex;flex-wrap:wrap;gap:.1rem 1.1rem;margin-top:.3rem;font-size:.86rem;line-height:1.3}
.media a{display:inline-flex;align-items:center;gap:.35em;color:var(--indigo);font-weight:600;text-decoration:none;padding:.15rem 0;white-space:nowrap}
.media a:hover{color:var(--madder);text-decoration:underline}
.media svg{width:.95em;height:.95em;fill:currentColor;flex:none}
/* A search is not a recording: it reads quieter than the links that lead to one. */
/* A few words after a link, such as "official; full talks for members", so its terms are known before it is opened. */
.media .note{font-weight:400;font-size:.92em;color:var(--ink-soft)}
tr.camp .media .note{color:#fff}
/* Beside a title listed without its row: headphones for free audio, a play mark for a video. */
.marks{display:inline-flex;gap:.3em;margin-left:.45em;vertical-align:-.08em}
.marks svg{width:.9em;height:.9em;fill:var(--indigo);flex:none}
.marks svg.v{fill:var(--madder)}
tr.camp .media a{color:#fff}
tr.camp .media a:hover{color:var(--turmeric)}
.series-size{display:block;font-size:.78rem;font-weight:600;color:var(--ink-soft);white-space:nowrap;margin-top:.15rem}
tr.camp .series-size{color:#fff}
.place-inline{display:none}
.place.same{color:var(--ink-soft)}
tr.camp .place.same{color:#fff}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
tr.month th{background:none;color:var(--madder);font:400 1.15rem/1 var(--display);letter-spacing:0;text-transform:none;text-align:left;padding:1.1rem 0 .3rem .75rem;border-bottom:2px dotted var(--madder);border-radius:0}
.key{font-size:.82rem;color:var(--ink-soft);margin-top:.3rem}
.key .swatch{font-size:.78rem;padding:.02rem .4rem}

/* Tables */
table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}
caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
th{font:700 .8rem/1 var(--text);letter-spacing:.08em;text-transform:uppercase;color:var(--cloth);background:var(--indigo);text-align:left;padding:.6rem .9rem .5rem 0;vertical-align:bottom}
th:first-child{padding-left:.75rem;border-radius:8px 0 0 0}
th:last-child{border-radius:0 8px 0 0}
td:first-child{padding-left:.75rem}
td{padding:.62rem .9rem .58rem 0;border-bottom:2px dotted rgba(31,58,107,.35);vertical-align:top;overflow-wrap:break-word}
th.dates{width:11.5rem}
th.place{width:27%}
th.talks{width:6.6rem}
td.dates{font-weight:600;color:var(--indigo)}
td.talks,th.talks{text-align:right;padding-right:.75rem}
td.talks{font-weight:700;color:var(--madder)}
.title{font-weight:700}
.title a{text-decoration-thickness:.07em}
tr.camp .title a{text-decoration-color:#fff}
tr.camp .title a:hover{color:var(--turmeric)}
.untitled .title{font-weight:400}
.lang{font-size:.7rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:.12em .55em .05em;margin-left:.4em;vertical-align:.12em;white-space:nowrap;background:var(--turmeric);color:var(--ink)}
.lang[data-l="hi"]{background:var(--madder);color:#fff}
.note{display:block;font-size:.9rem;line-height:1.4;color:var(--ink-soft);margin-top:.1rem}
tr.camp td{background:var(--leaf);color:#fff;border-bottom:3px solid var(--cloth)}
tr.camp td.dates,tr.camp td.talks{color:#fff}
tr.camp td:first-child{padding-left:.75rem;border-radius:8px 0 0 8px}
tr.camp td:last-child{padding-right:.75rem;border-radius:0 8px 8px 0}
tr.camp .note{color:#fff}
tbody tr:not(.camp):hover td{background:#F3E1BA}
.unsure{width:.82em;height:.82em;margin-left:.4em;vertical-align:-.06em;overflow:visible}
.unsure circle{fill:none;stroke:currentColor;stroke-width:2.2;stroke-dasharray:5.2 4.2;stroke-linecap:butt}

/* Footer */
footer{background:var(--indigo);color:var(--cloth);padding-block:3.4rem 3.4rem;position:relative}
footer::before{content:"";position:absolute;left:0;right:0;top:0;height:30px;background:var(--print);box-shadow:inset 0 3px 0 var(--turmeric),0 3px 0 var(--turmeric)}
footer a{text-decoration-color:var(--turmeric)}
footer a:hover{color:var(--turmeric)}
footer :focus-visible{outline-color:var(--turmeric)}
footer p{max-width:60ch;margin-bottom:.9rem}
.links{list-style:none;margin:0;padding:0}
.links li{padding:.45rem 0;border-bottom:1px dotted rgba(246,231,200,.4)}

@media (min-width:1200px){
  .year{grid-template-columns:30% minmax(0,1fr)}
}
@media (min-width:861px) and (min-height:880px){
  .rail-in{position:sticky;top:calc(var(--band) + 1.4rem)}
}
@media (max-width:1100px){
  .opener.has-photo{grid-template-columns:1fr}
  .plate{aspect-ratio:16/9;max-width:34rem}
  th.dates{width:10rem}
}
@media (max-width:860px){
  .tour{grid-template-columns:1fr}
  .tour-stage caption{display:block;width:100%}
  .tour[data-step="count"] tr[data-tour-row~="count"] td.talks,.tour[data-step="count"] tr[data-tour-row~="count"] td.dates{outline-offset:2px}
  .tcards{grid-template-columns:1fr}
  .mast{grid-template-columns:1fr}
  .mast p{max-width:52ch}
  .cols{grid-template-columns:1fr}
  .year{grid-template-columns:1fr}
  .rail{border-right:0;border-bottom:3px dotted var(--indigo);padding:1.6rem 0 1.6rem;container-type:normal}
  .rail-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(9rem,13rem);gap:0 1.4rem;align-items:end}
  .rail h2{grid-column:1;font-size:clamp(4.4rem,22vw,9rem)}
  .towns,.summary{grid-column:1;max-width:none}
  .map{grid-column:2;grid-row:1 / span 3;margin:0}
  .map figcaption{display:none}
  .stud{right:auto;left:1.2rem;top:auto;bottom:-15px}
  .body{padding:1.6rem 0 2.8rem}
}
@media (max-width:640px){
  body{font-size:1rem}
  /* The map and the month chart run the full width under the summary, large enough to read the town names. */
  .rail-in{display:block}
  .map,.months{margin:1.2rem 0 0}
  .map{max-width:20rem}
  .map figcaption,.months figcaption,.months .where{display:block}
  .rail{padding:1.4rem 0 1.2rem}
  .opener.has-photo .plate{aspect-ratio:16/9}
  .plate{aspect-ratio:4/3}
  thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .body table,.body tbody{display:block}
  .body tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.05rem 1rem;padding:.6rem 0;border-bottom:2px dotted rgba(31,58,107,.35)}
  .body td{display:block;border:0;padding:0;width:auto}
  .body td.dates{grid-column:1;font-size:.92rem}
  .body td.talks{grid-column:2;grid-row:1;font-size:.92rem}
  .body td.talks .n::after{content:" " attr(data-unit);font-weight:400}
  .body td.talks .n[data-unit=""]::before{content:"count ";font-weight:400}
  .body td.place{display:none}
  .place-inline{display:block;font-size:.95rem;margin-top:.1rem}
  .body tr.month{display:block;padding:0;border:0}
  .body tr.month th{display:block;padding:1rem 0 .3rem}
  .media a{min-height:44px;padding:0 .2rem}
  .media{gap:0 1rem;margin-top:.1rem}
  /* The link stays 44px for the thumb; the highlight is drawn 4px inside it, so a two-digit year is a 36px circle. */
  .years a{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;padding:0 .6rem;position:relative}
  .years a[aria-current]{background:none}
  .years a[aria-current]::before{content:"";position:absolute;inset:4px;border-radius:999px;background:var(--madder);z-index:-1}
  :root{--band:3.6rem}
  .series-size{display:inline;margin:0 0 0 .4rem}
  .body td.what{grid-column:1 / -1}
  .body td.place{grid-column:1 / -1;font-size:.95rem}
  .body tr.camp{background:var(--leaf);padding-inline:.75rem;border-radius:8px;border-bottom:0;margin-bottom:3px}
  .body tr.camp td,.body tr.camp td:first-child,.body tr.camp td:last-child{padding:0;background:none;border-radius:0;border-bottom:0}
  tbody tr:not(.camp):hover td{background:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .stud,.years a,.tour-stage tr{transition:none}
}
@media print{
  .years,.skip,.year::before,.mast::after,footer::before{display:none}
  .mast,footer{background:none;color:var(--ink)}
  tr.camp td{background:none;color:var(--ink);font-weight:700;border-bottom:2px solid var(--ink)}
  .year{break-before:page}
}
