/* The connecting rail makes the reading order visible without colouring whole sections. */
.process-path{list-style:none;margin:45px 0 0;padding:0;counter-reset:brew-step}
.path-stop{position:relative;display:grid;grid-template-columns:66px minmax(0,1fr);gap:22px;padding:0 0 45px;scroll-margin-top:185px;--stop-accent:#f5d6df;--stop-tint:#fff7fa}
.path-stop:not(:last-child)::before{content:"";position:absolute;left:27px;top:54px;bottom:-1px;width:3px;background:#edd6df}
.path-number{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border:2px solid #c591a5;border-radius:50%;background:white;color:var(--navy);font-size:1.125rem;font-weight:700;line-height:1;transition:background .2s,border-color .2s}
.path-stop.is-current>.path-number{background:var(--navy);color:white;border-color:var(--navy)}
.path-stop.is-past>.path-number{background:var(--stop-accent);border-color:#b97891}
.path-stop.is-past:not(:last-child)::before{background:#b97891}
.path-stage{min-width:0;border:1px solid var(--line);border-top:4px solid var(--stop-accent);border-radius:25px;padding:32px;background:white}
.path-stop--blue{--stop-accent:#d4e6f7;--stop-tint:#f3f8fd}.path-stop--lavender{--stop-accent:#e3d6f5;--stop-tint:#faf7fe}.path-stop--peach{--stop-accent:#f6dcc9;--stop-tint:#fff8f2}.path-stop--mint{--stop-accent:#d4eee3;--stop-tint:#f4faf7}
.path-stage-main{display:grid;grid-template-columns:250px minmax(0,1fr);gap:38px;align-items:center}
.path-stage-main>*{min-width:0}.path-visual{margin:0;text-align:center}
.path-illustration img{display:block;width:100%;height:230px;object-fit:contain}
.path-illustration figcaption,.path-icon-visual p{font-size:.875rem!important;line-height:1.6!important;color:var(--muted);margin:15px 0 0!important}
.path-icon-visual>.topic-cue{width:140px;height:140px;flex-basis:140px;border-radius:40px;background:var(--stop-accent);border:1px solid #30356515;margin:0 auto}
.path-icon-visual>.topic-cue svg{width:70px;height:70px;stroke-width:1.3}
.path-copy>.eyebrow{font-size:.75rem;margin:0 0 12px;letter-spacing:.08em}
.topic-section .path-copy h3{font-size:clamp(1.6rem,2.6vw,2.2rem);line-height:1.2;font-weight:800;letter-spacing:-.035em;margin:0 0 20px}
.topic-section .path-copy p:not(.eyebrow){font-size:1.0625rem;line-height:1.75;margin-bottom:18px}.path-copy>p:last-child{margin-bottom:0!important}
.path-stage>.source-note{padding-top:18px;margin-top:20px!important;border-top:1px solid var(--line)}
.path-stage>.path-detail{margin-top:25px;border-top:1px solid var(--line);border-bottom:0;padding-bottom:0}
.path-detail-content{padding-top:22px}.path-detail-content .topic-takeaway{margin:24px 0 0}
.path-stage .topic-detail summary{font-size:1rem}
.path-stage .path-detail summary>span{background:var(--stop-accent)}
.path-stage .starter-comparison,.path-stage .pressing-split,.path-stage .finishing-reference{margin:28px 0 0}
.path-stage .starter-comparison h4,.path-stage .pressing-split h4,.path-stage .finishing-reference h4{font-size:1.4rem;line-height:1.3;letter-spacing:-.025em;font-weight:700;margin:0 0 17px}
.path-stage .topic-takeaway{display:block}.path-stage .topic-takeaway strong{display:block;margin-bottom:12px}
.path-stage .fermentation-flow{grid-template-columns:1fr .65fr 1fr .6fr 1.2fr;margin-top:0}
.path-stage .polishing-lab{margin-top:0}
.rice-route-tags{display:flex;flex-wrap:wrap;gap:12px;margin:25px 0 0}.rice-route-tags>span{display:flex;gap:9px;align-items:center;background:var(--stop-tint);border:1px solid var(--line);border-radius:12px;padding:8px 12px;font-size:.875rem;font-weight:600;line-height:1.5}.rice-route-tags .topic-cue{width:25px;height:25px;flex-basis:25px;background:transparent;border-radius:0}.rice-route-tags .topic-cue svg{width:22px;height:22px}
.brewing-controls button{display:inline-flex;align-items:center;gap:9px}.brewing-controls button>.topic-cue{width:24px;height:24px;flex-basis:24px;background:transparent;border-radius:0}.brewing-controls button>.topic-cue svg{width:22px;height:22px}
.topic-section p.pathway-note{font-size:.9375rem;color:var(--muted);max-width:840px}
@media(max-width:1050px){.path-stage-main{grid-template-columns:180px minmax(0,1fr);gap:28px}.path-illustration img{height:190px}.path-stage{padding:28px}.path-stop{grid-template-columns:58px minmax(0,1fr);gap:16px}.path-number{width:50px;height:50px}.path-stop:not(:last-child)::before{left:24px;top:48px}.path-stage .fermentation-flow{grid-template-columns:1fr;padding:25px}.path-stage .flow-connector span{transform:rotate(90deg)}}
@media(max-width:760px){.process-path{margin-top:32px}.path-stop{grid-template-columns:38px minmax(0,1fr);gap:12px;padding-bottom:30px;scroll-margin-top:165px}.path-number{width:36px;height:36px;font-size:.875rem}.path-stop:not(:last-child)::before{left:17px;top:34px;width:2px}.path-stage{padding:22px 18px;border-radius:20px}.path-stage-main{grid-template-columns:1fr;gap:25px}.path-illustration img{height:185px}.path-icon-visual>.topic-cue{width:104px;height:104px;border-radius:30px;flex-basis:104px}.path-icon-visual>.topic-cue svg{width:55px;height:55px}.path-copy>.eyebrow{margin-bottom:12px}.topic-section .path-copy h3{font-size:1.55rem;overflow-wrap:anywhere}.topic-section .path-copy p:not(.eyebrow){font-size:1rem}.path-stage .starter-comparison>section,.path-stage .pressing-split>section,.path-stage .finishing-reference>section{padding:20px}.path-stage .polishing-lab{padding:20px 16px}.path-stage .topic-takeaway{padding:20px 16px}.path-stage .mash-days{grid-template-columns:1fr}.path-stage .brew-tag{overflow-wrap:anywhere}.path-stage .fermentation-flow{padding:22px 16px}.brewing-controls{gap:10px}.brewing-controls button{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.path-number{transition:none}}
/* Keep long brewing terms readable in the narrow pathway at enlarged text sizes. */
.path-stage{overflow-wrap:anywhere}
