/* The tree overprints both hero cards. Their links remain reachable through
   the transparent forest on mouse, touch and keyboard. */
main { z-index:auto; pointer-events:none; }
.mast,.hero-copy,.understory { pointer-events:auto; }
main::before { z-index:1; background:linear-gradient(90deg,rgb(32 42 32/.67),rgb(34 44 34/.34) 30%,transparent 49%); }
.world-poster,.forest-world { z-index:0; }
.understory { z-index:2; }
.exhibits { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.hero-actions { display:flex; align-items:center; gap:clamp(16px,1.75vw,28px); margin-top:clamp(16px,2vw,28px); }
.hero-actions .start { margin-top:0; }
.browse-works {
  display:inline-flex; align-items:center; min-height:44px; padding-inline:3px;
  color:#f4f3df; font:400 14px/1.45 var(--sans);
  text-decoration:underline; text-decoration-color:#d3d9bc; text-underline-offset:6px;
  text-shadow:0 1px 3px #293427;
}
.browse-works:hover { text-decoration-color:currentColor; }
.specimen {
  --paper:#f1f2e9; --dark:#252f28; --pad:clamp(8px,.74vw,13px);
  position:absolute; display:flex; flex-direction:column; pointer-events:auto;
  width:clamp(158px,16.2vw,278px); padding: var(--pad); color:var(--dark); background:var(--paper);
  border-radius:clamp(19px,2.05vw,32px); border:1px solid #dbdfd0;
  box-shadow:0 12px 25px -15px #1521169e, inset 0 1px 0 #fff9;
  transition:transform .32s ease,box-shadow .32s ease;
}
.specimen-photo { top:16%; left:41%; --branch-joint:88% 84%; }
.specimen-film { top:51%; right:var(--margin); --branch-joint:10% 18%; }
.specimen-media { display:block; position:relative; overflow:hidden; border-radius:clamp(12px,1.35vw,23px); background:#566248; aspect-ratio:1.97; }
.specimen-media img { display:block;width:100%;height:100%;object-fit:cover; }
.specimen-caption { padding:clamp(10px,1.1vw,18px) clamp(5px,.8vw,13px); }
.specimen-caption small { display:block; font-size:clamp(11px,.86vw,15px); color:#515f50; }
.specimen-caption strong { display:block; margin-top:1px; font:500 clamp(19px,1.6vw,29px)/1.4 var(--serif); letter-spacing:-.045em; }
.specimen-photo .specimen-caption { padding-right:37px; }
.specimen-film .specimen-caption { padding-top:4px; }
.specimen-tool,.viewer-close {
  display:inline-grid; place-items:center; width:35px; height:35px; border-radius:50%;
  color:#344634; background:#fafbf4; border:1px solid #d0d6c7;
}
.specimen-tool { position:absolute; right:var(--pad); bottom:var(--pad); font:21px/1 var(--sans); }
.specimen-tool i { width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid currentColor;margin-left:2px; }
.specimen-film .specimen-tool { right:7px; bottom:7px; }
@media(min-width:681px) {
  .specimen-photo .specimen-tool { top:calc(var(--pad) + 5px);left:calc(var(--pad) + 5px);right:auto;bottom:auto; }
}
.specimen:focus-visible { outline:3px solid #eeeed6; outline-offset:5px; z-index:3; }
@media(hover:hover) and (pointer:fine) {
  .specimen-leaf:hover { transform:translateY(-4px); box-shadow:0 14px 30px -12px #172219a8; }
  .specimen-leaf:hover .specimen-tool { background:#e6ecd6; }
  .exhibits .specimen-media img { transition:transform .46s cubic-bezier(.2,.65,.3,1); }
  .exhibits .specimen:hover .specimen-media img { transform:scale(1.035); }
}
.specimen-viewer {
  color-scheme:light; box-sizing:border-box; border:0; padding:clamp(12px,2vw,24px); margin:auto;
  width:min(840px,calc(100% - 32px)); max-height:92svh; overflow:auto;
  overscroll-behavior:contain;
  background:#f1f2e9; color:#273429; border-radius:22px; box-shadow:0 22px 80px #0e180f65;
}
.specimen-viewer::backdrop { background:rgba(13,24,17,.84); }
html:has(.specimen-viewer[open]) { overflow:hidden; }
.viewer-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:0 4px 16px; }
#piece-kind,.viewer-caption { color:#516052; font:400 13px/1.7 var(--sans); }
#piece-title { font:500 clamp(25px,3vw,37px)/1.3 var(--serif); }
.viewer-close { font:24px/1 var(--sans); cursor:pointer; width:44px; height:44px; flex:none; }
.viewer-media { display:grid; place-items:center; background:#283027; border-radius:13px; overflow:hidden; aspect-ratio:16 / 10; max-height:60svh; }
.viewer-media img,.viewer-media video { display:block;width:100%;height:100%;min-height:0;min-width:0;object-fit:contain; }
.viewer-caption { margin:13px 4px 1px; }
.viewer-pages {
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  margin-top:12px; padding-top:8px; border-top:1px solid #cdd2c4;
}
.viewer-pages button {
  display:inline-flex; align-items:center; gap:8px; justify-self:start; min-height:44px;
  padding:0 11px; border:0; border-radius:9px; background:transparent;
  color:#304535; font:500 14px/1.4 var(--sans); cursor:pointer;
}
.viewer-pages button:last-child { justify-self:end; }
.viewer-pages button span { font:19px/1 Georgia,serif; }
.viewer-page { color:#54624f; font:400 13px/1 var(--sans); font-variant-numeric:tabular-nums; }
.viewer-pages button:focus-visible,.viewer-close:focus-visible { outline:2px solid #526b4e; outline-offset:1px; }
@media(hover:hover) { .viewer-pages button:hover,.viewer-close:hover { background:#e0e6d7; } }
@media(max-width:950px) and (min-width:681px) {
  .specimen { width:clamp(140px,18vw,172px); }
  .specimen-photo { left:46%;top:18%; }
  .specimen-film { right:3.4%;top:58%; }
}
@media(max-width:680px) {
  .hero { display:grid; grid-template-rows:auto auto minmax(0,1fr); }
  .hero-copy { top:auto; margin-top:34px; }
  .exhibits { position:relative; inset:auto; }
  .specimen { --pad:6px; width:clamp(126px,35vw,170px); border-radius:19px; }
  .specimen-photo { left:var(--margin); top:clamp(3px,calc(14vw - 42px),12px); }
  .specimen-film { right:clamp(10px,2.5vw,16px); top:auto; bottom:clamp(30px,6svh,52px); }
  .specimen-film .specimen-caption { padding-right:0; text-align:right; }
  .specimen-film .specimen-caption strong { font-size:clamp(15px,4.25vw,18px); }
  .specimen-caption { padding:6px 5px 7px; }
  .specimen-caption small { font-size:11px; }
  .specimen-caption strong { font-size:18px; }
  .specimen-tool { width:27px;height:27px;font-size:16px; }
  .specimen-media { border-radius:13px; }
  .specimen-photo .specimen-tool { top:10px; left:10px; right:auto; bottom:auto; }
  .specimen-photo .specimen-caption { padding-right:5px; }
  .specimen-film .specimen-tool { right:4px;bottom:4px; }
  .specimen-viewer { border-radius:16px; }
}
@media(max-width:379px) {
  .hero { min-height:670px; }
  .specimen-photo { left:calc(var(--margin) - 8px); }
  .specimen-film { bottom:10px; }
}

.specimen-grove {
  --leaf-width:clamp(168px,16.9vw,258px);
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:clamp(24px,5.5vw,100px);
  padding:12px var(--margin) 22px;
  isolation:isolate;
}
.grove-pair { padding-left:clamp(32px,17vw,340px); }
.grove-pair .specimen-leaf:nth-of-type(2) { margin-top:clamp(24px,3.8vw,62px); }
.grove-tide { padding-left:clamp(120px,48vw,1000px); }
.grove-reading { padding-left:clamp(80px,35vw,740px); padding-bottom:clamp(32px,4.5vw,70px); }
.specimen-stem { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.specimen-leaf {
  position:relative;
  width:var(--leaf-width);
  flex:none;
  align-self:flex-start;
  transform-origin:96% 72%;
}
.specimen-leaf .specimen-caption { padding:clamp(8px,1vw,16px) 7px; }
.specimen-leaf[data-piece="photo"] .specimen-caption { padding-right:37px; }
.specimen-leaf[data-piece="film"] .specimen-caption { padding-top:4px; }
.specimen-leaf[data-piece="film"] .specimen-tool { right:6px; bottom:6px; }
.specimen-leaf .specimen-media { aspect-ratio:1.85; }
.specimen-leaf[href$="type-bloom.webp"] img { object-fit:contain; }
.viewer-caption[hidden] { display:none; }

/* The contact sheet and the portrait proof share a single photographic negative. */
.coast-study {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.coast-study--shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.coast-study__sr, .coast-study__radio {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.coast-study > label {
  grid-row: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 8px;
  align-content: center;
  min-height: 46px;
  padding: 8px clamp(6px, 1vw, 14px);
  color: var(--ed-muted);
  border-block-end: 1px solid var(--ed-rule);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}
.coast-study > label small { font-size: 11px; font-variant-numeric: tabular-nums; }
.coast-study__radio:checked + label {
  color: var(--ed-leaf);
  box-shadow: inset 0 -2px currentColor;
  background: rgb(227 240 206 / 7%);
}
.coast-study__radio:focus-visible + label { outline: 2px solid var(--ed-leaf); outline-offset: -3px; }
@media (hover:hover) {
  .coast-study > label:hover { color: var(--ed-leaf); background: rgb(227 240 206 / 6%); }
}
.coast-study__stage {
  grid-row: 1;
  grid-column: 1 / -1;
  width: 100%;
  background: rgb(21 31 23 / 67%);
}
.coast-study__stage > img, .coast-study__guide { position: absolute; inset: 0; }
.coast-study__guide .coast-edition__mask { left: 17%; }
.coast-study__portrait {
  position: relative;
  display: none;
  height: 100%;
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  overflow: hidden;
}
/* Match the proof's 4:5 frame at 17% left, 5% top, 90% height. */
.coast-study__portrait img {
  position: absolute;
  top: -5.556%;
  left: -42%;
  height: 111.111%;
  width: auto;
  max-width: none;
  display: block;
}
#coast-portrait:checked ~ .coast-study__stage .coast-study__guide,
.coast-study--shots .coast-edition__photo { display: none; }
#coast-portrait:checked ~ .coast-study__stage .coast-study__portrait,
#coast-wide:checked ~ .coast-study__stage .coast-study__shot-wide,
#coast-medium:checked ~ .coast-study__stage .coast-study__shot-medium,
#coast-detail:checked ~ .coast-study__stage .coast-study__shot-detail { display: block; }
.coast-study__shot-medium { transform: scale(1.95); transform-origin: 21% 69%; }
.coast-study__shot-detail { transform: scale(4.4); transform-origin: 35.5% 68%; }
@media (max-width:520px) {
  .coast-study--shots > label { align-items: flex-start; flex-direction: column; align-content: start; justify-content: center; }
}
@media(max-width:680px) {
  .specimen-grove { --leaf-width:clamp(137px,43vw,218px); padding-top:4px; }
  .grove-pair { --leaf-width:clamp(108px,33vw,185px); gap:clamp(10px,5vw,28px); padding-left:var(--margin); }
  .grove-pair .specimen-leaf:nth-of-type(2) { margin-top:26px; }
  .grove-tide { padding-left:32%; }
  .grove-reading { padding-left:16%; }
  .specimen-leaf .specimen-caption { padding:6px 4px; }
  .specimen-leaf[data-piece="photo"] .specimen-caption { padding-right:22px; }
  .specimen-leaf .specimen-caption strong { font-size:clamp(15px,4.2vw,19px); }
  .specimen-leaf .specimen-tool { width:24px; height:24px; }
}
@media(prefers-reduced-motion:no-preference) {
  .exhibits.is-unfurling .specimen {
    animation:branch-reveal 720ms cubic-bezier(.22,.62,.24,1) backwards;
  }
  .exhibits.is-unfurling .specimen-film { animation-delay:280ms; }
  .exhibits.is-unfurling .specimen:focus,
  .exhibits.is-unfurling .specimen:active { opacity:1 !important; clip-path:none !important; }
  @keyframes branch-reveal {
    from { opacity:0; clip-path:ellipse(8% 10% at var(--branch-joint)); }
    40% { opacity:1; }
    to { opacity:1; clip-path:ellipse(145% 155% at var(--branch-joint)); }
  }
  .is-unfurling .specimen-leaf {
    animation:unfurl-leaf 860ms cubic-bezier(.22,.7,.25,1) both;
    animation-delay:var(--unfurl-delay,300ms);
  }
  .is-unfurling .specimen:nth-of-type(2) { --unfurl-delay:505ms; }
  @keyframes unfurl-leaf {
    0% { opacity:0; translate:4px 5px; scale:.18 .52; rotate:-7deg; }
    58% { opacity:1; }
    80% { scale:1.013 .992; rotate:.55deg; }
    100% { opacity:1; translate:0 0; scale:1; rotate:0deg; }
  }
}
@media(prefers-reduced-motion:reduce) {
  .exhibits .specimen:hover .specimen-media img { transform:none; }
}
