/* camino.html — page styles on top of the styles.css tokens (Geist · Geist Mono · Instrument Serif italic · one amber) */

#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 100; }

.cam-head { position: sticky; top: 0; z-index: 90; background: var(--sec-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.cam-head.scrolled { border-bottom-color: var(--line); }
.cam-head__in { display: flex; align-items: center; justify-content: space-between; height: 57px; }
.cam-head nav { display: flex; gap: 20px; font-size: 12.5px; color: var(--muted); }
.cam-head nav a { color: inherit; text-decoration: none; padding: 6px 0; position: relative; transition: color .2s; }
.cam-head nav a:hover { color: var(--fg); }
.cam-head nav a.active { color: var(--accent); }
@media (max-width: 760px) { .cam-head nav { display: none; } }

.hero { position: relative; min-height: calc(100svh - 57px); display: flex; flex-direction: column; justify-content: center; padding: 72px 0 120px; }
.klabel { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.krule { width: 44px; height: 1px; background: var(--accent); flex: none; }
.hero h1 { margin: 0; }
.hero__lede { max-width: 56ch; font-size: 1.05rem; margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { border: 1px solid var(--line); background: var(--bg-2); border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 500; color: var(--fg-2); }
.chip b { color: var(--accent); font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .2s var(--ease-out), box-shadow .2s, background-color .2s, border-color .2s; }
.btn--acc { background: var(--accent); color: var(--bg); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); }
@media (hover: hover) and (pointer: fine) {
  .btn--acc:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px var(--card-shadow); }
  .btn--ghost:hover { background: var(--surface); transform: translateY(-2px); }
}
.hero-foot { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.scroll-cue { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue .line { width: 1px; height: 44px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--accent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { top: -100%; } 60%, 100% { top: 100%; } }
.hero-stat { text-align: right; color: var(--muted); font-size: .9rem; }
.hero-stat b { display: block; font-size: 1.9rem; font-weight: 600; color: var(--fg); letter-spacing: -.03em; line-height: 1.1; }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 12px 0; margin-top: 8px; }
.marquee-track { display: flex; width: max-content; animation: mscroll 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--fg-2); padding: 0 18px; white-space: nowrap; }
.marquee i { color: var(--accent); font-style: normal; }
@keyframes mscroll { to { transform: translateX(-50%); } }

.sec { padding: 100px 0 8px; scroll-margin-top: 76px; }
.sec--tight { padding-top: 64px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; margin: 10px 0 0; line-height: 1.1; }
.sec-head h2 em, .epi-card h2 em, .whybox h3 em, .cam-foot .big em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: 0; color: var(--accent); }
.idx { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .95rem; padding-bottom: 6px; }
.sec-lede { max-width: 64ch; color: var(--fg-2); font-size: 1.02rem; margin: 0 0 40px; }
.sec-lede--end { margin: 24px 0 0; font-size: .92rem; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
.pcard { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; transition: transform .25s var(--ease-out), border-color .25s; }
@media (hover: hover) and (pointer: fine) { .pcard:hover { transform: translateY(-3px); border-color: var(--line-2); } }
.shell-ic { width: 28px; height: 28px; color: var(--accent); margin-bottom: 14px; }
.pcard h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 8px; }
.pcard p { color: var(--fg-2); font-size: .9rem; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: 48px; }
.stat { background: var(--bg); padding: 22px 18px; }
.stat b { display: block; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.stat b em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .55em; color: var(--accent); }
.stat span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.whybox { margin-top: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px 36px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.whybox h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.2; }
.whybox p { font-size: .92rem; color: var(--fg-2); margin: 0; }
.whybox ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.whybox li { font-size: .88rem; color: var(--fg-2); padding-left: 20px; position: relative; }
.whybox li::before { content: "✦"; position: absolute; left: 0; top: 1px; color: var(--accent); font-size: 10px; }
.whybox li b { color: var(--fg); }
@media (max-width: 900px) { .whybox { grid-template-columns: 1fr; padding: 26px; } }

.trips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 900px) { .trips { grid-template-columns: 1fr; } }
.trip { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; }
.trip--pick { border-color: var(--accent); background: var(--accent-soft); }
.trip__tag { margin: 0; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.trip h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 4px; }
.trip__route { font-size: .88rem; color: var(--fg-2); margin: 0; }
.trip__stats { font-size: .78rem; color: var(--muted); margin: 12px 0; padding: 10px 0; border-block: 1px solid var(--line); }
.trip__verdict { font-size: .88rem; color: var(--fg-2); margin: 0; }
.trip__pick { margin: 12px 0 0; font-size: .88rem; }
.trip__pick a { color: var(--accent); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .trip__pick a:hover { text-decoration: underline; text-underline-offset: 3px; } }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); margin-top: 18px; }
.cmp { border-collapse: collapse; width: 100%; min-width: 840px; font-size: .86rem; }
.cmp th, .cmp td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--fg-2); }
.cmp thead th { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.cmp td:first-child { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cmp .pick { background: var(--accent-soft); }
.cmp thead .pick { color: var(--accent); }
.cmp tbody tr:last-child td { border-bottom: 0; }

.mapcard { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-top: 8px; }
.mapcard svg { width: 100%; height: auto; display: block; border-radius: 10px; }
#routeMap .graticule line { stroke: var(--line); }
#routeMap .geo text { fill: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 2.5px; }
#routeMap .labels text { fill: var(--fg); font-family: var(--sans); font-size: 11.5px; font-weight: 600; paint-order: stroke; stroke: var(--bg-2); stroke-width: 4px; }
#routeMap .labels .sub { fill: var(--muted); font-size: 10px; }
#routeMap .labels .big-label { font-size: 13px; }
#routeMap .labels .epi-lbl { fill: var(--muted); }
#routePath { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
#epiPath { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 8; opacity: 0; transition: opacity .5s; }
.town { fill: var(--bg-2); stroke: var(--accent); stroke-width: 1.6; opacity: 0; transition: opacity .4s, fill .4s; }
.town.on { fill: var(--accent); opacity: 1; }
.start-ring { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.start-dot { fill: var(--accent); }
#routeMap .scale text { fill: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 600; }
#routeMap .scale line { stroke: var(--muted); stroke-width: 1.4; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px 8px 6px; font-size: 12px; color: var(--fg-2); }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.legend .dot--day { background: var(--bg-2); border: 2px solid var(--accent); }
.legend .dot--ep { background: transparent; border: 2px dotted var(--muted); }
#elevWrap { margin-top: 18px; }
#elev .gl { stroke: var(--line); }
#elev .ax { fill: var(--muted); font-family: var(--mono); font-size: 10px; }
#elev .band { fill: var(--accent); }
#elev .bl { fill: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 1.5px; }
#elev .earea { fill: var(--accent); opacity: 0; }
#elev .eline { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
#elev .pk { fill: var(--bg-2); stroke: var(--accent); stroke-width: 1.8; }
#elev .pl { fill: var(--accent); font-family: var(--mono); font-size: 10px; font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 36px; }
.fchip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--fg-2); transition: background-color .2s, color .2s, border-color .2s; }
.fchip:hover { border-color: var(--line-2); color: var(--fg); }
.fchip.on { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.act { margin-bottom: 52px; }
.act-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 20px; }
.act-head h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; letter-spacing: -.02em; margin: 0; }
.act-head h3 i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); font-size: .85em; margin-right: 10px; }
.act-head p { flex: 1; min-width: 240px; margin: 0; font-size: .9rem; color: var(--fg-2); }
.act-head .range { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.day { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; transition: border-color .2s; }
@media (hover: hover) and (pointer: fine) { .day:hover { border-color: var(--line-2); } }
.day.hidden { display: none; }
.day-head { width: 100%; display: grid; grid-template-columns: 92px 1fr auto 40px; gap: 18px; align-items: center; padding: 18px 20px; text-align: left; }
.d-no { font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.d-no small { display: block; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.d-route { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
.d-route .arr { color: var(--accent); font-weight: 400; }
.d-sub { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; }
.d-why { display: block; font-size: .85rem; color: var(--fg-2); margin-top: 8px; max-width: 640px; }
.d-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.d-tags i { font-style: normal; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; }
.d-stats { display: flex; gap: 16px; text-align: right; }
.d-stats b { display: block; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.d-stats span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.d-chev { width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: var(--fg-2); justify-self: end; transition: transform .3s var(--ease-out), background-color .2s, color .2s, border-color .2s; }
.day.open .d-chev { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--bg); }
.d-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.day.open .d-detail { grid-template-rows: 1fr; }
.d-detail-in { overflow: hidden; }
.d-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 16px 20px 20px 130px; border-top: 1px dashed var(--line); }
.d-detail-grid .lbl { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 5px; }
.d-detail-grid p { font-size: .82rem; color: var(--fg-2); margin: 0; }
@media (max-width: 860px) {
  .day-head { grid-template-columns: 60px 1fr 36px; }
  .d-stats { display: none; }
  .d-detail-grid { grid-template-columns: 1fr; padding-left: 20px; }
}
.day.rest { background: var(--accent-soft); border-color: transparent; }
.day.rest .d-route { color: var(--fg); }
.day.rest .d-sub, .day.rest .d-why { color: var(--fg-2); }
.day.epi .d-no { color: var(--muted); }

.prac-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 900px) { .prac-grid { grid-template-columns: 1fr; } }
.prac { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 28px; }
.prac h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; margin: 0 0 6px; }
.prac .n { font-size: 11px; font-weight: 600; background: var(--accent); color: var(--bg); border-radius: 6px; padding: 3px 8px; }
.prac .tag-line { font-size: .8rem; color: var(--muted); margin: 0 0 14px; }
.prac ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.prac li { font-size: .88rem; color: var(--fg-2); padding-left: 18px; position: relative; }
.prac li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.prac li b { color: var(--fg); font-weight: 600; }
.prac .cols { columns: 2; column-gap: 26px; }
.prac .cols li { break-inside: avoid; }
@media (max-width: 560px) { .prac .cols { columns: 1; } }
.prac table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.prac td { padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--fg-2); }
.prac td:last-child { text-align: right; font-weight: 600; color: var(--fg); white-space: nowrap; }
.prac tr:last-child td { border-bottom: 0; }

.epi-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
.epi-card h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.epi-card p { margin: 16px 0 0; color: var(--fg-2); font-size: .95rem; max-width: 54ch; }
.epi-stats { display: flex; flex-direction: column; gap: 14px; }
.epi-stats .e { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; }
.epi-stats b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.epi-stats span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .epi-card { grid-template-columns: 1fr; } }

.cam-foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 72px 0 44px; }
.cam-foot .big { margin: 0; font-size: clamp(3rem, 9vw, 6.5rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; font-size: 12px; color: var(--muted); }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .scroll-cue .line::after { animation: none; }
  html { scroll-behavior: auto; }
}
@media print {
  #progress, .cam-head, .marquee, .filters, .cta-row, .hero-foot, .scroll-cue { display: none; }
  .day .d-detail { grid-template-rows: 1fr; }
  .sec { padding: 32px 0 8px; }
}

.cmp--cut { min-width: 640px; }
.cmp .cut-head { color: var(--accent); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--line-2); }
