.practice-hero{--type:clamp(1.275rem,2.55vw,2.975rem);position:relative;isolation:isolate;min-height:100svh;display:grid;align-items:center;overflow:hidden;background:#112523 url(corridor.webp) center/cover no-repeat}
.practice-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(1,17,18,.84),rgba(1,17,18,.65) 60%,rgba(1,17,18,.15)),linear-gradient(180deg,rgba(0,0,0,.5),transparent 40%)}
.practice-hero::after{z-index:-1}
.practice-line{display:flex;align-items:baseline;gap:.42em;padding:6rem 5.6vw 0;font-size:var(--type);letter-spacing:normal}
.practice-line h1{margin:0;flex:none;font:600 1em/1.15 Montserrat,sans-serif;letter-spacing:normal;animation:none}
.arc-list{position:relative;flex:1;min-width:0;touch-action:pan-x pinch-zoom}
.arc-list button{display:block;color:#fdfbee;text-align:left;padding:0 .1em;font:500 .7em/1.14 Montserrat,sans-serif;letter-spacing:normal}
.arc-list.ready{--arc-height:min(63svh,36rem);height:var(--arc-height);padding-top:calc(var(--arc-height) / 2);font-size:.7em;line-height:1.14}
.arc-list.ready::before{content:"\200b"}
.arc-list.ready button{font-size:1em;line-height:inherit;min-height:0}
.arc-list.ready button::after{content:"";position:absolute;inset:-.5em 0}
.ready [role=option]{position:absolute;left:0;top:50%;width:max-content;max-width:100%;transform-origin:left center;text-shadow:0 1px 12px #03121080}
.arc-list:focus-visible{outline:1px solid #fdfbee;outline-offset:.4rem}
@media(max-width:700px){
 .practice-hero{--type:clamp(1.417375rem,5.37625vw,1.955rem);background-position:64% center}
 .practice-line{padding:6rem 5vw 1rem;gap:.35em}
 .arc-list.ready{--arc-height:clamp(18rem,51svh,28rem)}
 .ready [role=option]{max-width:100%}
}

@media (scripting: enabled){.practice-line:not(.positioned){visibility:hidden}}

.arc-list.last-area{touch-action:pan-y pinch-zoom}
main>.practice-hero+.clarity{margin:0;mask:none}
.clarity{background:#003c3a;color:#fdfbee}
.clarity-stage{min-height:100svh;display:grid;align-content:center;padding:clamp(6rem,14svh,10rem) 5.5vw 3rem}
.clarity-copy h2{margin:0;font-size:clamp(1.53rem,2.55vw,2.9325rem);font-weight:500;line-height:1.15;letter-spacing:normal}
.clarity-copy p{max-width:38ch;margin:clamp(2rem,8svh,5rem) 0 0 auto;width:51%;font-size:clamp(1.125rem,1.513vw,2.125rem);line-height:1.32}
.clarity.is-pinned{height:245svh}
.clarity.is-pinned .clarity-stage{position:sticky;top:0}
@supports (background-clip:text) or (-webkit-background-clip:text){
 .clarity.is-pinned .clarity-copy span{background-image:linear-gradient(90deg,#fdfbee var(--fill),#285451 var(--fill));background-clip:text;-webkit-background-clip:text;color:transparent}
 .clarity h2{--fill:var(--heading-fill,0%)}
 .clarity p{--fill:var(--body-fill,0%)}
}
@media(max-width:700px){.clarity-copy p{width:94%;font-size:clamp(1.1rem,3.91vw,1.275rem)}}
@media(max-height:520px){.clarity-copy p{width:min(100%,70ch);max-width:none;margin-top:1rem;font-size:1rem}.clarity-copy h2{font-size:1.6rem}}
.walk{background:#003c3a;color:#fdfbee}
.walk-stage{position:relative;isolation:isolate;overflow:hidden;padding:clamp(5rem,13svh,10rem) 6vw}
.walk-picture{position:absolute;inset:0 -36% 0 0;z-index:-2;background:url(stoa.webp) center/cover no-repeat;transform:translateX(var(--pan,0%))}
.walk-stage::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to bottom,#003c3a,transparent 23%),linear-gradient(90deg,rgba(2,23,24,.94),rgba(2,23,24,.82) 38%,rgba(2,23,24,.18) 80%)}
.walk-text{width:min(100%,42rem)}
.walk h2{font-size:1rem;letter-spacing:normal;text-transform:uppercase;margin:0 0 1.4rem}
.walk h3{margin:0 0 .5em;font-size:clamp(1.7rem,2.805vw,3.06rem);line-height:1.06;letter-spacing:normal;font-weight:500}
.walk p{font-size:clamp(1rem,1.35vw,1.35rem);line-height:1.48;margin:.75em 0 0}
.walk article+article{margin-top:4rem}
.walk.pinned{height:var(--walk-height)}
.walk.pinned .walk-stage{position:sticky;top:0;height:100svh;display:grid;align-content:center}
.walk.pinned .walk-chapters{display:grid}
.walk.pinned article{grid-area:1/1;margin:0;align-self:center}
@media(max-width:700px){.walk-stage::before{background:linear-gradient(#003c3a,transparent 22%),linear-gradient(90deg,#011e20ed,#011e20bb)}.walk-picture{right:-55%}}

.walk-picture{right:-8%;background:#073635}
.walk-picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
.walk-picture img:first-child{opacity:1}
.walk:not(.pinned) .walk-picture{display:none}
.walk:not(.pinned) article::before{content:"";display:block;aspect-ratio:16/9;background:var(--scene) center/cover;margin-bottom:1.25rem}

@media(max-width:700px){
  .walk.pinned .walk-stage{height:100vh;height:100dvh}
}
.walk .advice{margin-top:1rem;font-size:clamp(1rem,1.08vw,1.2rem);line-height:1.4}
.walk .advice h4{margin:0}
.walk .advice ul{margin:.45em 0 0;padding-left:1.25em}
.walk .advice li+li{margin-top:.22em}

.walk.pinned .walk-stage{align-content:stretch;grid-template-rows:minmax(0,1fr);padding-block:clamp(2rem,8svh,6rem)}
.walk.pinned .walk-text{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);align-self:center;height:100%}
.walk.pinned .walk-text{height:100%;align-content:center}
.walk.pinned .walk-chapters{position:relative;min-height:0;overflow:clip}
.walk.pinned .walk-chapters article{position:absolute;inset:50% 0 auto;transform:translateY(calc(-50% + var(--read-offset,0px)))}

@media (min-width: 701px) {
  .walk.pinned .walk-stage {
    padding-block: max(5.25rem, 10svh) max(1.25rem, 4svh);
  }
  .walk.pinned .walk-text { width: min(76vw, 65rem); }
  .walk.pinned h3 { font-size: clamp(1.75rem, min(2.8vw, 5svh), 3rem); }
  .walk.pinned p {
    font-size: clamp(1rem, min(1.35vw, 2.65svh), 1.35rem);
    line-height: 1.4;
  }
  .walk.pinned .advice {
    font-size: clamp(1rem, min(1.08vw, 2.3svh), 1.2rem);
    line-height: 1.35;
  }
}

@media (max-width:700px) {
  .practice-line { align-items:center; }
  .arc-list.ready { padding-top:0; }
  .practice-hero .arc-list { touch-action:auto; }
}

/* Blend the last practice photograph into the Industries section. */
.walk:has(+ .industries) { position: relative; }
.walk:has(+ .industries)::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: calc(clamp(48px, 9svh, 96px) + var(--edge-depth, 0px));
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, #003c3a calc(100% - var(--edge-depth, 0px)));
}

@media (prefers-reduced-motion: no-preference) {
  .practice-arrival::view-transition-group(root) { animation-duration: 1050ms; }
  .practice-arrival::view-transition-old(root) { animation: practice-depart 1050ms cubic-bezier(.42,0,.25,1) both; }
  .practice-arrival::view-transition-new(root) { animation: practice-arrive 1050ms cubic-bezier(.38,0,.22,1) both; }
  @keyframes practice-depart { to { transform: translateY(-1.5%) scale(1.035); } }
  @keyframes practice-arrive {
    from { opacity: 0; transform: translateY(2%) scale(1.025); }
    to { opacity: 1; transform: none; }
  }
}

.walk .practice-short { display: none; }
@media (max-width: 700px) {
  .walk .practice-full { display: none; }
  .walk .practice-short { display: inline; }
}

@media (max-width: 700px) {
  /* The compact navigation is 44px tall with 12px padding on either side vertically. */
  .walk .walk-stage { padding-block-start: calc(68px + .65rem); }
  .walk.pinned .walk-stage { padding-block-start: calc(68px + .65rem); }
}
