/* Index — the rail. Seven strips laid down the page in walking order, every one of them
   on the page at rest; the station nav steps from one to the next in a single cut. */

/* Strip 07 is the directory on this page, so the footer keeps only its fine print. */
body.home{--top:calc(var(--edge) * .9 + 2.75rem)}
body.home .foot{padding-block:2.2rem 3.2rem}
body.home .foot__stack,body.home .foot__line{display:none}
body.home .foot__fine{margin:0;max-width:none;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gap);position:relative;padding-block-start:1.4rem}
body.home .foot__fine::before{content:"";position:absolute;inset:0 0 auto;height:var(--seat);background:var(--nickel)}
body.home .foot__addr{grid-column:span 5}
body.home .foot__mail{grid-column:span 3;margin:0}
body.home .foot__pol{grid-column:span 4;margin:0}

/* The rail: the strips follow one another down the page. The station nav is a pink plate
   pinned low in the window; the page scrolls beneath its solid ground. No easing anywhere. */
.run{position:relative;display:block}
.rail{display:block;background:var(--pink)}
/* A strip is a pink screen, not the site's divider: it must not take the divider's cherry
   ground, its width or its nickel seat. The unset also drops the border-box, so it is put back. */
.strip,.strip::before{all:unset}
.strip{box-sizing:border-box;display:grid;width:auto;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gap);align-content:start;margin:0;padding:clamp(1.5rem,5vh,3.25rem) var(--edge);background:var(--pink);color:var(--ink);scroll-margin-top:.5rem}
.strip__head{grid-column:1 / -1}
.strip h2{font-family:var(--display);font-size:clamp(1.6rem,1.1rem + 1.7vw,2.5rem);line-height:1;margin:0;font-weight:400;text-wrap:balance}

/* 01 — the opening: the photograph seven columns at the left, title above the place at the
   right. It fills the first window and stops above the station nav. */
.strip--open{align-content:stretch;grid-template-rows:auto 1fr;min-height:calc(100svh - var(--top));padding-block:clamp(1rem,3vh,1.6rem) 4.6rem}
.op__photo{position:relative;grid-column:1 / 8;grid-row:1 / 3;margin:0;min-height:18rem;overflow:hidden;background:var(--ink)}
.op__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%}
.op__top{grid-column:8 / 13;grid-row:1;align-self:start;min-width:0}
.op__top h1{font-family:var(--display);font-size:clamp(1.9rem,1.15rem + 2.6vw,3.15rem);line-height:.98;margin:0;font-weight:400;text-wrap:balance;overflow-wrap:break-word}
.op__slogan{margin-block-start:.75rem;font-family:var(--display);font-size:clamp(1.25rem,.95rem + 1.1vw,1.9rem);line-height:1}
.op__call{margin-block-start:1.15rem}
.op__note{margin-block-start:clamp(1.1rem,4vh,2.2rem);max-width:23ch;background:var(--pink);font-size:var(--small);line-height:1.35;transform:rotate(-2.6deg);transform-origin:0 0}
.op__place{grid-column:8 / 13;grid-row:2;align-self:end;margin:0;min-width:0;max-width:100%;padding-block-start:1.5rem}
.op__place-t{font-family:var(--display);font-size:clamp(2rem,.8rem + 3.6vw,4.2rem);line-height:.94;text-align:right;margin:0;max-width:100%;overflow-wrap:break-word}

/* Shared inside strips: prompts, fact chips, stock rows. */
.lede{max-width:46ch}
.prompts{list-style:none;margin:1.2rem 0 0;padding:0;display:grid;gap:1.05rem}
.prompts h3{font-size:1.06rem}
.prompts p{margin-block-start:.2rem;max-width:40ch}
.fact{display:flex;flex-wrap:wrap;align-items:baseline;gap:.45rem;margin-block-start:.5rem;font-size:var(--small);line-height:1.4}
.fact__k{display:inline-block;padding:.08rem .45rem .1rem;background:var(--nickel);font-size:.9rem;line-height:1.2}

/* 02 */
.s2__say{grid-column:1 / 7;grid-row:2}
.s2__more{margin-block-start:1.3rem}
.s2__fig{grid-column:8 / 13;grid-row:2}

/* 03 — plates at the lower left, the two conversations at the right. */
.strip--bench{grid-template-rows:auto 1fr}
.s3__fig{grid-column:1 / 5;grid-row:2;align-self:end}
.s3__fig .fig__box{aspect-ratio:4 / 3}
.s3__cols{grid-column:6 / 13;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);align-content:start}
.s3__cols h3{font-size:1.06rem;margin-block-end:.35rem}
.s3__more{grid-column:1 / -1;margin-block-start:1.2rem}

/* 04 — two offset blocks, the connector cropped past the right edge of the grid. */
.s4__a{grid-column:1 / 5;grid-row:2}
.s4__b{grid-column:5 / 9;grid-row:2;margin-block-start:clamp(1.2rem,5vh,3rem)}
.s4__a h3,.s4__b h3{font-size:1.06rem;line-height:1.25}
.s4__say{margin-block-start:.6rem;max-width:34ch}
.s4__a .act,.s4__b .act{margin-block-start:.9rem}
.s4__fig{grid-column:9 / 13;grid-row:2;margin:0 calc(var(--edge) * -1) 0 0;overflow:hidden;background:var(--ink)}
.s4__fig img{width:100%;height:100%;object-fit:cover}

/* 05 */
.s5__fig{grid-column:1 / 5;grid-row:2;margin:0}
.s5__list{grid-column:5 / 13;grid-row:2}
.stock{list-style:none;margin:1.2rem 0 0;padding:0;display:grid;gap:1.15rem}
.stock__row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.4rem 1.2rem}
.stock__row h3{font-size:1.06rem}
.stock__p{font-family:var(--display);font-size:1.4rem;line-height:1}
.stock .small{display:block;margin-block-start:.3rem;max-width:52ch}
.s5__more{margin-block-start:1.4rem;max-width:56ch}

/* 06 */
.s6__body{grid-column:1 / 8;grid-row:2}
.s6__entry{margin-block-start:1.3rem}
.s6__entry h3{font-size:1.06rem;line-height:1.25}
.s6__say{margin-block-start:.6rem;max-width:46ch}
.s6__more{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.6rem;margin-block-start:1.3rem}
.s6__fit{font-size:var(--small)}
.s6__fig{grid-column:8 / 13;grid-row:2;margin:0}

/* 07 — the directory: station links at display size, one per line, then one small line. */
.dir{grid-column:1 / -1;margin-block-start:.3rem}
.dir ul{list-style:none;margin:0;padding:0}
.dir a{display:inline-block;font-size:clamp(1.5rem,.95rem + 2.6vw,2.55rem);line-height:1.16;text-decoration:none;padding-block:.04em}
.dir a:hover,.dir a:focus-visible{background:var(--ink);color:var(--pink)}
.dir a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:.07em;text-underline-offset:.12em}
.dir__line{grid-column:1 / -1;margin-block-start:1.1rem;font-size:var(--small);line-height:1.5}

/* The counter and the two steps: a pink plate pinned low and centred in the window while
   the rail is in view, on its own solid ground. */
.run__nav{position:sticky;bottom:.45rem;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.15rem;width:max-content;max-width:calc(100% - 2 * var(--edge));margin:0 auto .45rem;padding:.3rem .5rem .3rem .3rem;background:var(--pink);box-shadow:0 0 0 .45rem var(--pink)}
.run__count{display:flex;align-items:baseline;gap:.1rem;position:relative;min-width:3.6rem;padding:.62rem .5rem .28rem;background:var(--pink);font-family:var(--display);font-size:1.45rem;line-height:1;font-variant-numeric:tabular-nums}
.run__count::before{content:"";position:absolute;inset:0 0 auto;height:.3rem;background:var(--nickel)}
.run__of{font-size:.9rem}
.run__step{display:inline-flex;align-items:center;min-height:2.75rem;padding:0 .8rem;font-size:var(--small);line-height:1;text-decoration:none;border-block-end:.13rem solid var(--ink)}
.run__step:hover,.run__step:focus-visible{background:var(--ink);color:var(--pink);border-color:var(--pink)}
.run__step[aria-disabled="true"]{opacity:.4;border-color:transparent;pointer-events:none}

/* Phone: the opening leads with the title, the slogan and the call, then the close crop at
   the largest area of the strip, then the note, then the place. The strips stack in one
   column; the thumb does the walking, so the station nav is not pinned here. */
@media (max-width:47.99rem){
  .strip{padding:1.6rem var(--edge)}
  .strip > *{grid-column:1 / -1 !important}
  .strip--open{grid-template-rows:none;align-content:start;min-height:0;padding-block:.9rem 1.6rem}
  .op__top{display:contents}
  .op__top > *{grid-column:1 / -1}
  .op__top h1{order:1;font-size:clamp(1.9rem,1.3rem + 3.2vw,2.6rem)}
  .op__slogan{order:2;margin-block-start:.6rem}
  .op__call{order:3;margin-block-start:.9rem}
  .op__photo{order:4;grid-row:auto;min-height:0;height:clamp(22rem,62svh,30rem);margin-block:.95rem 0}
  .op__note{order:5;margin-block-start:1.8rem;max-width:30ch}
  .op__place{order:6;grid-row:auto;align-self:start;margin-block-start:1rem;padding-block-start:0}
  .op__place-t{text-align:left;font-size:clamp(2.05rem,1.3rem + 4vw,3rem)}
  .s2__say,.s2__fig,.s3__fig,.s3__cols,.s4__a,.s4__b,.s4__fig,.s5__fig,.s5__list,.s6__body,.s6__fig{grid-row:auto;margin-block-start:.4rem}
  .s3__cols{grid-template-columns:1fr}
  .s4__b{margin-block-start:.8rem}
  .s4__fig{margin:.4rem calc(var(--edge) * -1) 0;aspect-ratio:4 / 3}
  .run__nav{display:none}
  body.home .foot__addr,body.home .foot__mail,body.home .foot__pol{grid-column:1 / -1}
}
