/* Protocol Private Office — "A family's first year" page. Loaded after site.css on that page only. */

.s-note{margin-top:28px;max-width:680px;font-size:14px;color:var(--slate)}
.navy .s-note{color:rgba(255,255,255,.75)}
.s-big,.s-quote{margin:48px 0 0;max-width:860px;font-size:clamp(24px,2.4vw,32px);font-weight:500;line-height:1.3;letter-spacing:-.02em}
.journey .lede{font-size:18px;max-width:720px}
.mist .lede{color:var(--midnight)}
.s-fig{margin:48px 0 0}
.s-fig .s-quote{margin:0}
.s-echo{margin-top:40px}
.s-who{margin-top:12px;font-size:14px;font-weight:600;color:var(--slate)}

/* What no one could see */
.fit .facts{list-style:none;margin:14px 0 0;padding:0;display:block}
.facts li{display:flex;gap:18px;align-items:baseline;padding:12px 0;border-bottom:1px solid #E3E6E8}
.facts li:last-child{border-bottom:0}
.facts .n{flex:0 0 82px;font-size:20px;font-weight:500;letter-spacing:-.02em}
.facts .t{font-size:16px;color:var(--slate)}

/* From first meeting to first review */
.tl{list-style:none;margin:40px 0 0;padding:0;max-width:860px}
.tl li{position:relative;padding:0 0 36px 44px}
.tl li::before{content:"";position:absolute;left:5px;top:7px;width:14px;height:14px;border-radius:50%;background:var(--midnight)}
.tl li::after{content:"";position:absolute;left:11px;top:27px;bottom:0;width:2px;background:var(--haze)}
.tl li:last-child{padding-bottom:0}
.tl li:last-child::after{display:none}
.tl .when{font-size:14px;font-weight:600;color:var(--slate)}
.tl h3{font-size:20px;font-weight:600;line-height:1.35}
.tl p{margin-top:6px;font-size:16px;color:var(--slate)}

/* What we ran */
.quiet{list-style:none;margin:32px 0 0;padding:24px 0 0;max-width:860px;border-top:1px solid var(--haze);display:grid;gap:12px}
.quiet li{position:relative;padding-left:28px;font-size:16px;line-height:1.5;color:var(--slate)}
.quiet b{font-weight:600;color:var(--midnight)}
.quiet li::before{content:"";position:absolute;left:0;top:.75em;width:14px;height:2px;background:var(--denim)}
.rv-more{margin-top:48px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;background:var(--paper);border-radius:24px;padding:30px 36px}
.rv-more p{flex:1 1 480px;font-size:16px}

@media (max-width:760px){
  .rv-more{padding:26px 24px}
}

/* The journey line: one rail down the left of the story, broken and gray before, gone at the moment,
   solid navy from the first meeting on, ending at the request. Rails sit in each section (not the wrap) so
   they run through section padding and meet across sections. */
.journey{--gutter:96px;--rx:calc(max(0px, (100% - 1280px) / 2) + 40px)}
.journey>section{position:relative}
.journey .jr{padding-left:calc(40px + var(--gutter))}
.rail{position:absolute;top:0;bottom:0;left:var(--rx);width:2px;pointer-events:none;transform-origin:top}
.rail-broken{top:120px;background:repeating-linear-gradient(to bottom,var(--rock) 0 12px,transparent 12px 20px,var(--rock) 20px 24px,transparent 24px 38px);opacity:.75}
.rail-solid{background:var(--midnight)}
.rail-rise{top:calc(clamp(30px,3vw,44px) * .575);background:var(--midnight)}
/* Dots where the line starts again and where it ends: outside the rails, so the draw-in never squashes them */
.rail-dot{position:absolute;left:calc(var(--rx) - 6px);width:14px;height:14px;border-radius:50%;background:var(--midnight);pointer-events:none}
.rail-dot.restart{top:calc(clamp(30px,3vw,44px) * .575 - 7px)}
.rail-dot.end{top:139px;background:var(--white)}
.rail-stop{bottom:auto;height:118px;background:repeating-linear-gradient(to bottom,var(--rock) 0 12px,transparent 12px 20px,var(--rock) 20px 24px,transparent 24px 38px);opacity:.75}
.rail-end{bottom:auto;height:146px;background:rgba(255,255,255,.45)}
.stop{position:relative;font-size:14px;font-weight:600;color:var(--slate);margin-bottom:14px}
.stop b{position:absolute;left:calc(-1 * var(--gutter) - 6px);top:3px;width:14px;height:14px;border-radius:50%;background:var(--midnight)}
.stop.loose b{background:var(--white);border:2px solid var(--rock)}
.stop.home b{left:calc(-1 * var(--gutter) - 8px);top:1px;width:18px;height:18px;box-shadow:0 0 0 6px rgba(0,44,72,.12)}
/* The timeline's dots sit on the rail */
.journey .tl{margin-left:calc(-1 * var(--gutter) - 11px)}
.journey .tl li{padding-left:calc(var(--gutter) + 11px)}
.journey .tl li::after{display:none}
@supports (animation-timeline: view()){
  @keyframes draw{from{transform:scaleY(0)}to{transform:scaleY(1)}}
  .rail{animation:draw linear both;animation-timeline:view();animation-range:entry 0% cover 45%}
}
@media (max-width:760px){
  .journey{--gutter:36px;--rx:24px}
  .journey .jr{padding-left:calc(24px + var(--gutter))}
  .rail-broken{top:90px}
  .rail-stop{height:88px}
  .rail-end{height:98px}
  .rail-dot.end{top:91px}
  .facts .n{flex-basis:60px}
}
@media (prefers-reduced-motion:reduce){.rail{animation:none!important;transform:none}}
