/* Scoped continuation of the grove; no changes to the film or pixel chapters. */
.leaf-lens{position:relative;z-index:2;isolation:isolate;overflow:clip;background:#17231b;color:#f2eee4}
.leaf-lens-stage{position:sticky;top:0;height:100svh;margin-bottom:-100svh;overflow:hidden;background:#17231b}
.leaf-lens-stage::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 26%,#0b191116 38%,#0b191166 61%,#0b1911ad 100%)}
.leaf-fallback{position:absolute;inset:0;background:radial-gradient(ellipse at 65% 38%,#2e6b4570,transparent 62%),#17231b}
.leaf-fallback::before{content:'';position:absolute;width:min(68vw,650px);aspect-ratio:1.3;left:50%;top:42%;transform:translate(-50%,-50%) rotate(-28deg);border:1px solid #8bcb8b40;border-radius:10% 80% 10% 80%;box-shadow:inset 0 0 65px #8bcb8b15,0 0 90px #2e6b4520}
.leaf-rendered .leaf-fallback{display:none}
.leaf-controls{position:absolute;inset:24px clamp(20px,5vw,72px) auto;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:16px;font:10px/1.6 var(--mono);color:#b8c2ba}
.leaf-controls button{border:0;background:#17231b9c;border-radius:4px;color:inherit;padding:8px 10px;min-height:44px;font:inherit}
.leaf-controls button:disabled{cursor:default}
.leaf-controls a{display:flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:5px}
.leaf-controls{font-size:11px;text-shadow:0 1px 3px #07130c,0 1px 10px #07130c}
.leaf-lens-stage::before{content:'';position:absolute;inset:0 0 auto;height:110px;z-index:2;pointer-events:none;background:linear-gradient(#07130c66,transparent)}
.leaf-beat{scroll-margin-top:0;position:relative;z-index:1;min-height:100svh;padding:clamp(28px,6vw,88px);display:flex;align-items:flex-end;pointer-events:none}
.leaf-copy{width:min(100%,460px);position:relative;pointer-events:auto;background:transparent;border:0;box-shadow:none;text-shadow:0 1px 2px #111e16,0 2px 18px #111e16}
.leaf-copy::before{display:none}
.leaf-copy .eyebrow{color:#b8c2ba;letter-spacing:.13em;margin-bottom:18px}
.leaf-copy h2{font-size:clamp(32px,3.6vw,52px);line-height:1.05;letter-spacing:-.05em;margin-bottom:22px;text-wrap:balance}
.leaf-copy p:not(.eyebrow){font-size:clamp(15px,1.25vw,18px);line-height:1.65;max-width:450px;color:#ccd3cc}
.leaf-copy .leaf-credit{font:10px/1.65 var(--mono)!important;margin-top:22px;color:#9eafa2!important}
.leaf-beat:nth-of-type(2){justify-content:flex-end}
.leaf-beat:last-child h2{font-size:clamp(32px,3.5vw,52px)}
.leaf-copy .leaf-continue{display:inline-flex;align-items:center;min-height:44px;margin-top:22px;font:12px var(--mono);border-bottom:1px solid #8a968d}
.caption.source-quote h2{font-size:clamp(34px,4.6vw,66px)}
.caption .quote-source{display:block;font:10px/1.7 var(--mono);color:#b8c2ba;margin-top:18px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){
  .leaf-beat{padding:24px 24px 54px}
  .leaf-controls{inset:14px 20px auto;font-size:9px}
  .leaf-copy{width:100%}
  .leaf-copy::before{inset:-35px -24px -40px}
  .leaf-copy h2{font-size:38px;margin-bottom:18px}
  .leaf-copy p:not(.eyebrow){font-size:15px;line-height:1.6}
  .leaf-copy .eyebrow{font-size:9px;margin-bottom:14px}
  .leaf-beat:last-child h2{font-size:32px;line-height:1.08}
  .caption.source-quote h2{font-size:34px}
  .caption .quote-source{font-size:9px}
}
@media(max-height:600px) and (min-width:601px){.leaf-beat{padding:80px 6vw 26px}.leaf-copy h2{font-size:36px}.leaf-copy p:not(.eyebrow){font-size:14px}.leaf-copy .eyebrow{margin-bottom:10px}}
@media(max-width:360px){.leaf-beat{padding:22px 20px 36px}.leaf-copy h2{font-size:34px}.leaf-beat:last-child h2{font-size:28px}.leaf-copy p:not(.eyebrow){font-size:14px}.leaf-copy .leaf-credit{font-size:9px!important}.leaf-controls{inset:10px 16px auto;font-size:8px}}
@media print{.leaf-lens-stage{display:none}.leaf-beat{min-height:0;padding:24px;break-inside:avoid}.leaf-lens{background:white;color:black}.leaf-copy::before{display:none}.leaf-copy{text-shadow:none}.leaf-copy :is(p,h2,a){color:inherit!important}}

.leaf-copy blockquote{font-family:var(--f-serif,var(--serif,serif));font-size:clamp(21px,2.4vw,30px);font-style:italic;line-height:1.3;max-width:26ch;margin:16px 0;color:#f2eee4}.leaf-ancestry .leaf-copy{max-width:420px}.ancestry-record details{max-width:62ch;font-size:15px;line-height:1.7}.ancestry-record summary{cursor:pointer;min-height:44px;padding:12px 0}
@media screen and (max-width:600px) and (max-height:650px){.leaf-ancestry{min-height:calc(100svh + 190px)}}

.leaf-replay{font:11px/1.6 var(--mono);color:#ccd3cc;border-block:1px solid #8a968d55;margin-top:18px}.leaf-replay summary{cursor:pointer;min-height:44px;display:list-item;padding-block:13px}.leaf-replay label{display:block}.leaf-replay input{display:block;width:100%;min-height:44px;accent-color:#b8c2ba}.leaf-replay>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px}.leaf-replay button{min-height:44px;background:transparent;border:1px solid #8a968d;color:inherit;padding:8px 12px;font:inherit}.leaf-replay button:disabled{opacity:.5;cursor:default}@media screen{.leaf-ancestry:has(.leaf-replay[open]){min-height:calc(100svh + 240px)}}

/* Let the camera and the seasonal canopy carry the transition. */
.leaf-seasons{min-height:160svh}.leaf-speculation{min-height:130svh;justify-content:flex-end}.leaf-speculation .leaf-copy{max-width:540px;width:min(100%,540px)}.leaf-speculation h2{font-size:clamp(32px,3.8vw,55px);line-height:1.12}.leaf-ancestry .leaf-copy{max-width:420px}
@media(max-width:600px){.leaf-seasons{min-height:145svh}.leaf-speculation{min-height:125svh}.leaf-speculation h2{font-size:clamp(30px,7.5vw,40px)}.leaf-speculation .leaf-copy{padding-bottom:16px}}
