/* Practice examples remain usable with native disclosure and no JavaScript. */
.practice-grid .practice-demo {
  margin: 0 0 1.4rem;
  padding: clamp(1rem, 3vw, 1.7rem);
  border: 1px solid #92a99a;
  border-radius: .4rem;
  color: #193e32;
  position: relative;
  z-index: 1;
}
.workshop-board {background:#efe2c6;}
.board-notes {display:grid; grid-template-columns:1fr 1fr;gap:.8rem;}
.board-notes > div,.draft-copy {padding:.85rem; line-height:1.35;box-shadow:2px 3px 0 #18392f26;}
.board-notes > div {background:#fff8d6; border-top:3px solid #b87839;}
.board-notes > div + div {background:#e4efdc;border-color:#668d68;}
.practice-demo small {display:block;line-height:1.4;font-size:.8rem;font-weight:650;margin-bottom:.35rem;}
.critique-sheet {background:#e3ebe7;}
.draft-copy {background:#fffaf0;border-left:3px solid #a95e41;}
.draft-copy samp {font:inherit;}
.practice-demo details {margin-top:.7rem;}
.practice-demo summary,.about-jumps a,.copy-mail button {cursor:pointer;min-height:44px;align-content:center;font:inherit;}
.practice-demo summary {font-weight:650;text-decoration:underline;text-underline-offset:.22em;}
.practice-grid .practice-demo details p {margin:.4rem 0 0;line-height:1.5;}
.about-jumps {display:flex;gap:.5rem 1.25rem;flex-wrap:wrap;margin-top:1rem;}
.about-jumps a,.copy-mail button {display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:.25em;}
.about-world section[id] {scroll-margin-top:6rem;}
.chapter-track {height:3px;background:#dae2d6;margin:.55rem 0;}
.chapter-track i {display:block;height:100%;background:#b15d37;transform-origin:left;}
.copy-mail {display:grid;align-content:center;}
.copy-mail button {background:transparent;border:0;color:inherit;padding:0;}
.copy-mail span:empty {display:none;}
.copy-mail span {font-size:.9rem;}
@media (prefers-reduced-motion:no-preference) {
  @keyframes unfold-note {from{transform:translateY(.4rem);opacity:.4}to{transform:translateY(0);opacity:1}}
  @keyframes mark-section {from{box-shadow:inset .35rem 0 #c17043;background:#ede7d5}to{box-shadow:inset 0 0 transparent;background:transparent}}
  .practice-demo details[open] p,.journal-page details[open] form,.journal-page .entry form,.journal-page [role=status]:not(:empty),.copy-mail span:not(:empty),.traffic-grid {animation:unfold-note .24s ease-out;}
  .about-world section:target > h2 {animation:mark-section 1.1s ease-out;}
  .chapter-track i {transition:transform .22s ease-out;}
  .case-page .case-contents li a {transition:color .18s ease,background-color .18s ease;}
  .contact-page .route:active svg {transform:translateX(3px);}
  .contact-page .route svg {transition:transform .15s ease;}
}

/* Project artwork moves inside its frame. Copy and tap targets stay anchored. */
.project-scene {overflow:hidden;position:relative;aspect-ratio: 2.45;background:#dce8dc;}
.project-scene img {display:block;width:100%;height:calc(100% + 32px);max-height:none;object-fit:cover;position:absolute;top:-16px;transform:translateY(var(--drift,0px));}
.case-page figure.case-evidence {margin:1.6rem 0;border:1px solid #bdc7b9;border-radius:.75rem;overflow:hidden;background:#fffcf2;}
.case-evidence figcaption {display:grid;gap:.35rem;padding:1rem 1.2rem;color:#263f33;line-height:1.45;}
.case-evidence figcaption strong {font-size:1.2rem;}
.receiving-example {padding:1rem 1.2rem;background:#edf2e8;border-top:1px solid #bdc7b9;}
.register-head {display:flex;align-items:baseline;gap:.5rem 1rem;flex-wrap:wrap;justify-content:space-between;}
.receiving-example small {font-size:.8rem;color:#455f51;}
.receiving-example label {display:flex;align-items:center;min-height:44px;gap:.6rem;font-size:.94rem;cursor:pointer;}
.receiving-example input {accent-color:#254e40;width:1.05rem;height:1.05rem;}
.receiving-example table {width:100%;border-collapse:collapse;margin:0 0 .5rem;background:#fffcf4;font-size:.9rem;}
.receiving-example th,.receiving-example td {text-align:left;border-bottom:1px solid #cad3c6;padding:.55rem .7rem;}
.receiving-example mark {background:#f3dbac;color:#503d21;padding:.12em .4em;}
.about-world nav.about-jumps {display:flex;justify-content:flex-start;gap:4px;flex-wrap:wrap;padding:4px;margin:1.25rem 0 0;background:#e8eee3;border:1px solid #b3c2b4;border-radius:.55rem;width:fit-content;}
.about-world nav.about-jumps a,.about-world nav.about-jumps a:first-child {display:flex;align-items:center;justify-content:center;min-height:44px;font-family:inherit;font-size:.9rem;font-style:normal;font-weight:600;line-height:1.15;padding:.5rem clamp(.4rem,2vw,1rem);text-decoration:none;border:0;border-radius:.3rem;color:#204338;}
.about-world nav.about-jumps a:focus-visible,.journey-chapters a:focus-visible {outline:2px solid #863f22;outline-offset:2px;}
@media(hover:hover){.about-world nav.about-jumps a:hover {background:#fffaf0;}}
.about-world #project-decisions article {overflow:hidden;border:1px solid #b9c5b7;border-radius:.7rem;background:#fffaf0;padding:0 0 1.25rem;box-shadow:0 3px 0 #dce5d8;}
.about-world #project-decisions article > :is(h3,p,a) {margin-inline:1.2rem;}
.about-world #project-decisions article > h3 {margin-top:1.2rem;text-wrap:balance;}
.about-world #project-decisions article a {display:inline-flex;align-items:center;min-height:44px;line-height:1.4;text-underline-offset:.24em;font-weight:600;}
@media(prefers-reduced-motion:reduce){.project-scene img{transform:none;}}

.case-page figure.case-animation {overflow:hidden;margin:1.5rem 0 0;padding:0;border:1px solid #bdc7b9;border-radius:.65rem;background:#f7f5ec;}
.case-page figure.case-animation img {display:block;width:100%;height:auto;}
.case-page figure.case-animation picture {display:block;}
.case-page figure.case-animation figcaption {display:block;padding:1rem;color:#284638;background:#fffaf0;font:inherit;}
.case-animation figcaption strong {display:block;line-height:1.3;text-wrap:balance;}
.case-page .case-animation figcaption p {margin:.35rem 0 0;line-height:1.5;text-wrap:pretty;}

@media(max-width:760px) {
  body:has(.case-page) {--reader-paper:#f7f5ec;--reader-gutter:5vw;}
  body:has(.case-page) > .portfolio-header {background:var(--reader-paper);padding-bottom:8px;}
  .editorial.case-page {padding-inline:var(--reader-gutter);padding-top:var(--reading-header,68px);}
  .case-page .case-layout {--reading-bar:48px;}
  .case-page .case-layout .case-contents {position:sticky;top:var(--reading-header,68px);z-index:30;flex:none;box-sizing:border-box;width:calc(100% + 2 * var(--reader-gutter));margin:0 calc(-1 * var(--reader-gutter));padding-inline:var(--reader-gutter);background:var(--reader-paper);}
  .case-page .case-contents::before {content:"";position:absolute;inset:-2px 0 0;background:var(--reader-paper);z-index:-1;}
  .case-page .case-contents > button {min-height:44px;}
  .case-page .case-contents .chapter-track {margin:0 calc(-1 * var(--reader-gutter));height:3px;}
  .case-page .case-contents ol.expanded {position:absolute;top:100%;inset-inline:var(--reader-gutter);max-height:calc(100dvh - var(--reading-header) - var(--reading-bar) - 12px);overflow-y:auto;overscroll-behavior:contain;margin:0;padding:6px 12px;background:#fffaf0;border:1px solid #bdc7b9;box-shadow:0 6px 12px #193d311c;}
  .case-page .case-contents li a {align-items:center;min-height:44px;}
  .case-page .case-contents li a::before {margin-top:0;}
  .case-page .case-layout article [id] {scroll-margin-top:calc(var(--reading-header) + var(--reading-bar) + 12px);}
}
