/* Only opened content changes; the painted shelf/bench and their hotspots stay intact. */
body.keepsake-page.content-open {
  --keepsake-ink: #303c38;
  --keepsake-muted: #59635e;
  --keepsake-rule: #63776b40;
  --keepsake-paper: #f6f6f1;
  --keepsake-nav-height: 154px;
  color: var(--keepsake-ink);
  background: linear-gradient(#f6f6f1aa, #f6f6f1aa), url('assets/studio-paper-v1.webp') center top / cover no-repeat #f6f6f1;
  background-repeat: no-repeat;
}
.keepsake-page.content-open .subpage-site-header {
  background: none;
}
/* Keep scrolled art below the navigation without putting boxes on the links. */
.keepsake-page.content-open::before {
  content: "";
  position: fixed;
  z-index: 5;
  inset: 0 0 auto;
  height: var(--keepsake-nav-height);
  background: linear-gradient(#f6f6f1aa, #f6f6f1aa), url('assets/studio-paper-v1.webp') center top / cover no-repeat #f6f6f1;
  mask-image: linear-gradient(black 0 84%, transparent);
  pointer-events: none;
}
.keepsake-page.content-open :is(.workbench-back, .pressed-shelf-back) {
  position: sticky;
  z-index: 8;
  top: 86px;
  left: auto;
  margin: 0 0 32px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  box-shadow: none;
  font: italic 16px/1.4 Georgia, 'Times New Roman', serif;
  text-transform: none;
}
.keepsake-page.content-open :is(.workbench-back, .pressed-shelf-back):is(:hover, :focus-visible) {
  background: none;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 821px) {
  .keepsake-page.content-open .quiet-nav { background: none; }
}
.keepsake-page.content-open :is(.section-heading-row h2, .pressed-collection h2) {
  margin: 0 0 16px;
  font: 400 44px/1.15 Georgia, 'Times New Roman', serif;
  letter-spacing: 0;
  text-transform: none;
  color: var(--keepsake-ink);
}
.keepsake-page .workbench-content {
  padding: 104px 40px 80px;
  background: transparent;
}
.keepsake-page .workbench-panel { width: min(1280px, 100%); }
.keepsake-page .workbench-projects-panel .kicker { display: none; }
.keepsake-page .project-note-board {
  grid-template-columns: repeat(2, minmax(0, 450px));
  gap: 40px;
  min-height: 360px;
  padding: 54px 48px;
  border: 1px solid #746e5d50;
  border-radius: 2px;
  background: linear-gradient(#e5e1d58c, #e5e1d58c), url('assets/studio-cork-v1.webp') center / cover no-repeat #b2aa98;
  box-shadow: 0 3px 10px #303c3812;
}
.keepsake-page .project-note-board::after { content: none; }
.keepsake-page .project-note {
  gap: 16px;
  align-content: start;
  min-height: 210px;
  padding: 30px 28px;
  border: 1px solid #63776b26;
  border-radius: 1px;
  background: linear-gradient(#fbfbf4bf, #fbfbf4bf), url('assets/studio-paper-v1.webp') center / cover no-repeat #f6f6f1;
  box-shadow: 0 3px 7px #303c3826;
  color: var(--keepsake-ink);
  transform: rotate(-.65deg);
  transition: none;
}
.keepsake-page .project-note-soon { background: #ecf0e8; transform: rotate(.5deg); }
.keepsake-page .project-note:hover,
.keepsake-page .project-note:focus-visible { box-shadow: 0 3px 7px #303c3826; transform: rotate(-.65deg); }
.keepsake-page .project-note-soon:hover { transform: rotate(.5deg); }
.keepsake-page .project-pin {
  width: 8px;
  height: 8px;
  top: 13px;
  background: #766e5c;
  box-shadow: 0 1px 2px #303c3840;
}
.keepsake-page .project-title { margin: 0; font-size: 27px; line-height: 1.25; }
.keepsake-page .project-meta { align-self: start; font: 15px/1.55 Georgia, serif; letter-spacing: 0; text-transform: none; color: var(--keepsake-muted); }
.keepsake-page a.project-note:hover .project-title,
.keepsake-page a.project-note:focus-visible .project-title { text-decoration: underline; text-underline-offset: 5px; }
.keepsake-page a.project-note:focus-visible { outline: 2px solid #526558; outline-offset: 5px; }
/* Retain the archive-folder metaphor, with quieter paper and less synthetic shading. */
.keepsake-page .download-library { margin-top: 0; }
.keepsake-page .professional-card {
  border: 1px solid var(--keepsake-rule);
  border-radius: 1px;
  background: #fbfbf6;
  box-shadow: 0 3px 8px #303c3814;
}
.keepsake-page .professional-card::before { background: #d3d4c4a6; box-shadow: none; }
.keepsake-page .professional-link {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--keepsake-rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
  transition: none;
}
.keepsake-page .professional-link:hover,
.keepsake-page .professional-link:focus-visible { background: none; box-shadow: none; transform: none; text-decoration: underline; text-underline-offset: 4px; }
.keepsake-page .professional-link span:last-child { font: 12px/1.5 system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--keepsake-muted); }
.keepsake-page .paper-folder-stack { --active-folder-back: #a7ad99; }
.keepsake-page .paper-folder-stack::before,
.keepsake-page .paper-folder-stack::after { border-color: #67796040; background: #bac1ad; box-shadow: none; }
.keepsake-page .paper-folder-tab.is-active { border-color: #67796040; background: #d2d9c7; color: var(--keepsake-ink); font: 14px/1.4 Georgia, serif; letter-spacing: 0; text-transform: none; }
.keepsake-page .paper-folder-display { border-color: #67796040; background: #d2d9c7; box-shadow: 0 4px 10px #303c3814; }
.keepsake-page .paper-folder-display::before { background: #e0e5d8; box-shadow: none; }
.keepsake-page .paper-sheet { border-color: #63776b26; background: #fbfbf6; box-shadow: 0 2px 5px #303c3814; transition: none; }
.keepsake-page .paper-sheet:hover,
.keepsake-page .paper-sheet:focus-visible { box-shadow: 0 2px 5px #303c3814; transform: rotate(var(--paper-tilt)); }
.keepsake-page .paper-title { font-size: 18px; line-height: 1.35; }

.keepsake-page.pressed-content-open .pressed-scrapbook {
  width: min(1440px, calc(100% - 80px));
  margin-inline: auto;
  padding: 104px 0 80px;
  overflow: visible;
  isolation: auto;
  background: transparent;
}
.keepsake-page.pressed-content-open .pressed-collection {
  width: min(1160px, 100%);
  min-height: 650px;
  margin: 0 auto;
  padding: 0;
  background: none;
  transform: none;
}
.keepsake-page.pressed-content-open :is(.pressed-books, .pressed-movies) { padding-right: 300px; }
.keepsake-page.pressed-content-open .pressed-games { width: min(1280px, 100%); }
.keepsake-page .pressed-caption { margin: 0 0 30px; color: var(--keepsake-muted); }
.keepsake-page :is(.kitchen-table-spread, .side-quest-board) { max-width: none; gap: 28px; }
.keepsake-page :is(.kitchen-note, .side-quest-card, .dog-eared-card) {
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--keepsake-rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
.keepsake-page .kitchen-note::before,
.keepsake-page .dog-eared-card::before { content: none; }
.keepsake-page :is(.kitchen-note h3, .side-quest-card h3, .pressed-media-groups h3) {
  font: italic 20px/1.35 Georgia, serif;
  letter-spacing: 0;
  text-transform: none;
  color: #526558;
}
.keepsake-page .side-quest-card p { color: var(--keepsake-ink); }
.keepsake-page .side-quest-photo { background: #fbfbf6; box-shadow: 0 3px 7px #303c381a; }
.keepsake-page .side-quest-photo figcaption { font: italic 14px/1.4 Georgia, serif; letter-spacing: 0; text-transform: none; color: var(--keepsake-muted); }
.keepsake-page .pressed-item-meta { font: 11px/1.5 system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: var(--keepsake-muted); }
.keepsake-page .pressed-specimen { filter: none; }
.keepsake-page .pressed-specimen::before { content: none; }
/* Dedicated desktop margins let the complete larger specimens breathe beside the writing. */
.keepsake-page .specimen-kitchen {
  right: -4px;
  top: 142px;
  bottom: auto;
  width: 320px;
  height: auto;
  aspect-ratio: 667 / 1428;
  transform: rotate(3deg);
  opacity: .7;
}
.keepsake-page .specimen-side-quests {
  right: -8px;
  top: 142px;
  bottom: auto;
  width: 330px;
  height: auto;
  aspect-ratio: 777 / 1487;
  transform: rotate(-5deg);
  opacity: .7;
}
.keepsake-page .dog-eared-groups > .specimen-dog-eared {
  left: -20px;
  top: 30px;
  width: 450px;
  height: auto;
  aspect-ratio: 833 / 1457;
  transform: rotate(-5deg);
  opacity: .22;
}
.keepsake-page .dog-eared-groups > .specimen-dog-eared-flower {
  right: 0;
  bottom: 0;
  width: 430px;
  height: auto;
  aspect-ratio: 867 / 1373;
  transform: rotate(5deg);
  opacity: .22;
}
.keepsake-page .dog-eared-column { z-index: 2; }
.keepsake-page.pressed-content-open .pressed-misc.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .65fr);
  align-items: start;
  gap: 24px 48px;
  width: min(1000px, 100%);
}
.keepsake-page .pressed-misc h2 { grid-column: 1 / -1; grid-row: 1; }
.keepsake-page .odds-fact-panel {
  grid-column: 1;
  grid-row: 2;
  max-width: 100%;
  padding: 26px 0;
  border: 0;
  border-block: 1px solid var(--keepsake-rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: none;
}
.keepsake-page .odds-fact { color: var(--keepsake-ink); }
.keepsake-page .odds-clover-button {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  inset: auto;
  width: min(360px, 100%);
  height: auto;
  aspect-ratio: 666 / 1217;
  margin: 0 0 0 auto;
  transform: rotate(-3deg);
  opacity: .78;
}
@media (min-width: 1900px) and (min-height: 1000px) {
  .keepsake-page.content-open :is(.section-heading-row h2, .pressed-collection h2) { font-size: 52px; }
  .keepsake-page .workbench-panel { width: min(1480px, 100%); }
  .keepsake-page .project-note-board { grid-template-columns: repeat(2, minmax(0, 520px)); padding: 64px; min-height: 400px; }
  .keepsake-page .project-title { font-size: 30px; }
  .keepsake-page .project-meta { font-size: 18px; }
  .keepsake-page .specimen-kitchen { width: 360px; }
  .keepsake-page .specimen-side-quests { width: 380px; }
}
@media (max-width: 1100px) {
  .keepsake-page.pressed-content-open :is(.pressed-books, .pressed-movies) { padding-right: 0; }
  .keepsake-page :is(.specimen-kitchen, .specimen-side-quests) { right: 0; opacity: .16; }
  .keepsake-page .dog-eared-groups > .specimen-dog-eared { left: 18px; }
  .keepsake-page .dog-eared-groups > .specimen-dog-eared-flower { right: 24px; }
  .keepsake-page .project-note-board { gap: 28px; padding: 42px 30px; }
  .keepsake-page .project-note { padding-inline: 22px; }
  .keepsake-page .project-title { font-size: 25px; }
}
@media (max-width: 820px) {
  body.keepsake-page.content-open { --keepsake-nav-height: 144px; }
  .keepsake-page .dog-eared-groups .pressed-item-meta { font-size: 12px; }
  .keepsake-page.content-open :is(.workbench-back, .pressed-shelf-back) { top: 76px; margin-bottom: 24px; font-size: 15px; }
  .keepsake-page .workbench-content { padding: 76px 18px 60px; }
  .keepsake-page.content-open :is(.section-heading-row h2, .pressed-collection h2) { font-size: 34px; }
  .keepsake-page .project-note-board { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 34px 22px; }
  .keepsake-page .project-note { min-height: 190px; padding: 30px 22px 24px; }
  .keepsake-page.pressed-content-open .pressed-scrapbook { width: calc(100% - 36px); padding: 76px 0 60px; }
  .keepsake-page.pressed-content-open .pressed-collection-grid { padding-top: 0; }
  .keepsake-page.pressed-content-open .pressed-collection { min-height: 0; overflow: visible; }
  .keepsake-page .pressed-caption { font-size: 16px; }
  .keepsake-page .specimen-kitchen { top: 170px; width: 230px; opacity: .13; }
  .keepsake-page .specimen-side-quests { top: 130px; right: 20px; width: min(250px, calc(100% - 42px)); opacity: .14; }
  .keepsake-page .dog-eared-groups > .specimen-dog-eared { left: 18px; top: 40px; width: min(340px, calc(100% - 54px)); opacity: .12; }
  .keepsake-page .dog-eared-groups > .specimen-dog-eared-flower { right: 18px; bottom: 0; width: min(310px, calc(100% - 54px)); opacity: .13; }
  .keepsake-page.pressed-content-open .pressed-misc.is-active { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .keepsake-page .odds-fact-panel { grid-column: 1; grid-row: 2; padding: 22px 0; }
  .keepsake-page .odds-clover-button { grid-column: 1; grid-row: 3; width: 220px; margin: 0 auto; }
}
