.gallery{padding-block:clamp(2.5rem,5vw,4.5rem);border-bottom:1px solid var(--rule)}
.gallery-head,.controls{display:flex;align-items:center;justify-content:space-between;gap:.65rem}
.gallery-head{margin-bottom:1.2rem}.controls[hidden]{display:none}
.controls button{cursor:pointer;font:1.5rem/1 Arial;border:1px solid #c4b4d7;color:var(--night);background:#faf6ff;border-radius:50%;width:42px;height:42px}
.controls button:disabled{opacity:.36;cursor:default}.count{font: .85rem monospace;white-space:nowrap}
.rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}
.slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;padding:2px;box-sizing:border-box}
.slide>.feature,.slide>article{margin:0;background:#f0ebf4;border-radius:12px;padding:clamp(1.3rem,3vw,2.5rem)}
.slide>article:not(.feature){display:flex;flex-direction:column;align-items:start;justify-content:center;min-height:100%;gap:.8rem}
.slide>article h3{font-size:clamp(1.65rem,3.5vw,3.2rem);max-width:25ch}
.slide>article p{max-width:55ch}.slide>.essay{background:#f2ecde}.essay h3 a{text-decoration:none}.essay h3 a:hover{text-decoration:underline}
.formation{margin-top:.5rem}.formation project-lab{max-width:520px}.contact a[href^="mailto"]{overflow-wrap:anywhere}.contact .pill{margin-top:1rem}.contact p a{margin:0}.split{border-top:none}

.hero-copy .intro strong {
  color: #492f70;
  font-weight: 700;
  background: linear-gradient(transparent 70%, #e1d4ff 70%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.essay-deck {background:#f2ecde;border-radius:14px;overflow:hidden}
.essay-deck .rail {scrollbar-width:none;cursor:grab}
.essay-deck .rail::-webkit-scrollbar {display:none}
.essay-deck .slide > .essay {background:transparent}
.essay-dots {display:flex;align-items:center;justify-content:center;padding-bottom:.6rem}
.essay-dots button {border:0;background:none;cursor:pointer;display:grid;place-items:center;width:32px;height:32px;padding:0}
.essay-dots button::before {content:'';width:8px;height:8px;background:#9d919f;border-radius:8px}
.essay-dots button[aria-current=true]::before {width:20px;background:#624791}
