.tinker-opening {
  padding-block: clamp(1.5rem, 3.4vw, 2.55rem) clamp(2rem, 4.4vw, 3.4rem);
  background: var(--collection-paper);
}
.tinker-opening .back-link {
  margin-bottom: clamp(.8rem, 2vw, 1.5rem);
  font-size: .9rem;
  font-weight: 650;
  text-decoration-color: var(--collection-accent);
}
.tinker-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .95rem clamp(1rem, 4vw, 3rem);
  margin-bottom: clamp(1.25rem, 2.4vw, 1.9rem);
}
.tinker-project-name { font-weight: 650; color: var(--collection-accent); }
.tinker-title-row h1 { margin-top: .35rem; font-size: clamp(2.45rem, 5.6vw, 5.1rem); }
.tinker-mark { width: clamp(5.5rem, 13.5vw, 9.25rem); height: auto; }

.tinker-site-preview { display: grid; justify-items: start; gap: 1.05rem; text-decoration: none; }
.tinker-artboard {
  display: block;
  width: 100%;
  padding: clamp(.95rem, 4vw, 2.65rem) clamp(.75rem, 4vw, 3rem);
  border: 1px solid #c9d4c9;
  background-color: #e5ece4;
  background-image: linear-gradient(#51765f16 1px, transparent 1px), linear-gradient(90deg, #51765f16 1px, transparent 1px);
  background-size: 1.75rem 1.75rem;
}
.tinker-laptop {
  display: block;
  width: min(100%, 54rem);
  margin-inline: auto;
  filter: drop-shadow(0 1rem .9rem #26382f38);
}
.tinker-screen {
  display: block;
  width: 92%;
  margin-inline: auto;
  padding: clamp(.3rem, 1.1vw, .85rem);
  border: 1px solid #596266;
  border-radius: clamp(.42rem, 1.5vw, 1.05rem) clamp(.42rem, 1.5vw, 1.05rem) .16rem .16rem;
  background: #172023;
}
.tinker-screen img { width: 100%; height: auto; border-radius: .12rem; }
.tinker-base {
  position: relative;
  display: block;
  height: clamp(.32rem, 1.1vw, .78rem);
  border-radius: 0 0 8% 8% / 0 0 90% 90%;
  background: linear-gradient(#dce2e3, #aeb8bb 55%, #79878c);
}
.tinker-base::after {
  position: absolute;
  inset: 0 44% 45%;
  border-radius: 0 0 .25rem .25rem;
  background: #949fa4;
  content: "";
}
.tinker-thumbnail { display: grid; align-items: center; padding: 7%; background-size: 1rem 1rem; }
.tinker-thumbnail .tinker-laptop { filter: drop-shadow(0 .5rem .55rem #26382f38); }
.tinker-thumbnail .tinker-screen { padding: .42rem; border-radius: .6rem .6rem .12rem .12rem; }
.tinker-thumbnail .tinker-base { height: .46rem; }
.tinker-site-button {
  padding: .65rem 1rem;
  background: #24463b;
  color: #fff;
  font-size: .9rem;
  font-weight: 650;
}
.tinker-site-preview:hover .tinker-site-button { background: #32594c; }

.tinker-story { padding-block: clamp(2.4rem, 5.5vw, 4.15rem); }
.tinker-story-intro {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(10rem, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.tinker-story h2 {
  margin-bottom: .9rem;
  font: 400 clamp(1.9rem, 3.3vw, 2.75rem)/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.tinker-story-intro p { max-width: 65ch; color: var(--collection-text); }
.tinker-story-intro p + p { margin-top: .8rem; }
.tinker-role {
  align-self: start;
  padding: 1.1rem 1.2rem;
  border-left: 2px solid var(--collection-accent);
  background: #eaf0e9;
}
.tinker-role dt { color: var(--collection-text); font-size: .875rem; font-weight: 650; }
.tinker-role dd + dt { margin-top: .85rem; }
.tinker-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.tinker-gallery figure:first-child { grid-column: auto; }
.tinker-gallery > figure > a, .tinker-gallery-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: clamp(.5rem, 1.5vw, .85rem);
  border: 1px solid var(--collection-rule);
  background: white;
}
.tinker-gallery img, .tinker-gallery figure:first-child img { height: 100%; max-height: none; min-height: 0; }
.tinker-gallery .tinker-instagram { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .35rem; }
.tinker-instagram-header, .tinker-instagram-posts { background: url("tinker-instagram.jpg") no-repeat; }
.tinker-instagram-header { width: 65%; aspect-ratio: 945 / 370; background-size: 216.6% auto; background-position: 49.9% 2.27%; }
.tinker-instagram-posts { width: 100%; aspect-ratio: 1991 / 884; background-size: 102.8% auto; background-position: 48.2% 94.1%; }
.tinker-gallery .tinker-instagram-link { display: inline-block; padding: 0; background: none; color: #36574b; font-weight: 500; text-decoration-color: #839b8f; text-underline-offset: .26em; }
.tinker-gallery .tinker-instagram-link:hover { color: #20392f; text-decoration-color: currentColor; }
.tinker-gallery .tinker-instagram-link span { display: inline; margin-inline-start: .2em; color: inherit; }
.tinker-gallery .tinker-classroom {
  grid-template-rows: minmax(0, 1fr) 17%;
  align-items: stretch;
  gap: clamp(.45rem, 1vw, .75rem);
  background: #e8eff0;
}
.tinker-classroom-photos, .tinker-classroom-icons { display: grid; width: 100%; min-height: 0; }
.tinker-classroom-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.3rem, .8vw, .6rem); }
.tinker-classroom-photos img { width: 100%; object-fit: cover; border-radius: .2rem; }
.tinker-classroom-icons { grid-template-columns: repeat(5, minmax(0, 1fr)); justify-items: center; border-block: 1px solid #a2b8bd; padding-block: .24rem; }
.tinker-classroom-icons img { width: 65%; object-fit: contain; }

@media (max-width: 41rem) {
  .tinker-title-row h1 { font-size: clamp(2rem, 7.8vw, 3.2rem); }
  .tinker-story-intro, .tinker-gallery { grid-template-columns: 1fr; }
}
