/* Approved collage-v6: one left-bound leaf with three mounted paper inserts. */
.bound-entrances {
  --bound-texture: url('/assets/home-paper-fiber-v1.webp');
  grid-area: entrances;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  margin: 4px 0 48px;
  padding: 36px 20px 36px 48px;
  min-width: 0;
  border: 1px solid #ded9cf;
  border-radius: 2px;
  background: linear-gradient(#ffffff42, #ffffff42), var(--bound-texture) center / 720px auto, #f7f5ee;
  box-shadow: 0 1px 1px #5546350c, 0 10px 16px -13px #4c413b70;
}
.bound-entrances::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 7px;
  width: 4px;
  border-inline: 1px solid #c8bfad65;
  background: #f7f2e980;
  box-shadow: 1px 0 2px #6a594319;
  pointer-events: none;
}
.bound-entrances::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -3px;
  height: 2px;
  border: 1px solid #ded9cd;
  border-top: 0;
  background: #f0ede4;
  z-index: -1;
  pointer-events: none;
}
.bound-seam {
  position: absolute;
  left: -3px;
  top: 20%;
  bottom: 14%;
  width: 23px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.bound-seam i {
  position: relative;
  width: 23px;
  height: 10px;
}
.bound-seam i::before {
  content: '';
  position: absolute;
  right: 0;
  top: 1px;
  width: 7px;
  height: 7px;
  border: 1px solid #a79b86;
  border-radius: 50%;
  background: #918574;
  box-shadow: inset 0 1px 2px #4538285c, 0 1px 1px #fff9;
}
.bound-seam i::after {
  content: '';
  position: absolute;
  left: 0;
  right: 3px;
  top: 4px;
  height: 4px;
  border: 1px solid #d1c6b0;
  border-top-color: #fffaf0;
  border-radius: 40%;
  background: linear-gradient(#fff9eb, #e3d8c1);
  box-shadow: 0 1px 1px #66513a40;
  transform: rotate(-12deg);
}
.bound-entry {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 100px max-content;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 156px;
  padding: 18px 14px;
  border: 1px solid #e6e2d9;
  border-top-color: #fffefa;
  border-radius: 1px;
  background: #fdfcf9;
  color: var(--ink, #292922);
  text-decoration: none;
  box-shadow: 0 1px 2px #65583f10, 0 6px 5px -5px #594b3861;
  transition: transform .24s ease, box-shadow .24s ease;
}
.bound-entry::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bound-texture) center / 650px auto;
  opacity: .5;
  pointer-events: none;
}
.bound-entry img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
  pointer-events: none;
}
.bound-copy { position: relative; min-width: 0; }
.bound-title { display: flex; align-items: baseline; gap: 11px; white-space: nowrap; }
.bound-title h2 { margin: 0; font-size: 24px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.bound-title > span { font-size: 22px; line-height: 1; color: #796a56; transition: transform .24s ease; }
.bound-copy > small { position: absolute; left: 0; top: calc(100% + 2px); font-size: 12px; line-height: 1.5; color: #797365; }
.bound-entry:focus-visible { outline: 2px solid var(--accent, #885844); outline-offset: 4px; }
.bound-entry:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) {
  .bound-entry:hover { transform: translateY(-2px); box-shadow: 0 1px 2px #65583f10, 0 9px 9px -6px #594b385c; }
  .bound-entry:hover .bound-title > span { transform: translate(2px, -2px); }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .bound-entrances { gap: 12px; padding: 30px 16px 30px 38px; }
  .bound-entry { grid-template-columns: 72px max-content; gap: 9px; min-height: 146px; padding: 16px 8px; }
  .bound-entry img { width: 72px; height: 80px; }
  .bound-title { gap: 7px; }
  .bound-title h2 { font-size: 21px; }
  .bound-title > span { font-size: 18px; }
  .bound-copy > small { font-size: 11px; }
}
@media (max-width: 759px) {
  .bound-entrances { grid-template-columns: minmax(0, 1fr); gap: 11px; margin: 0 0 28px; padding: 24px 15px 24px 34px; }
  .bound-entrances::before { left: 6px; width: 3px; }
  .bound-seam { top: 13%; bottom: 13%; width: 20px; }
  .bound-seam i { width: 20px; }
  .bound-entry { grid-template-columns: 80px max-content; gap: 17px; min-height: 100px; padding: 10px 14px; }
  .bound-entry img { width: 80px; height: 78px; }
  .bound-title { gap: 12px; }
  .bound-title h2 { font-size: 21px; }
  .bound-title > span { font-size: 20px; }
  .bound-copy > small { font-size: 11px; top: calc(100% + 1px); }
}
@media (max-width: 359px) {
  .bound-entrances { padding: 22px 12px 22px 29px; gap: 10px; }
  .bound-entry { grid-template-columns: 68px max-content; gap: 10px; min-height: 94px; padding: 10px; }
  .bound-entry img { width: 68px; height: 70px; }
  .bound-title { gap: 8px; }
  .bound-title h2 { font-size: 20px; }
  .bound-title > span { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .bound-entry, .bound-title > span { transition: none; }
  .bound-entry:hover, .bound-entry:active, .bound-entry:hover .bound-title > span { transform: none; }
}
