/* ============================================================
   EDITION 17 / final small refinements
   01 home portrait crop, 02 editorial index numbers,
   03 remove About scribble, 04 Work quote alignment.
   ============================================================ */

/* Home: a little closer without changing the photo or its aspect ratio. */
body[data-page="home"] .hero-photo img {
  transform: scale(1.105);
  transform-origin: 49% 36%;
}

/* No keycaps: a simple, confident typographic number with an underline. */
.v17-file__index {
  display: flex;
  align-self: center;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  color: var(--burgundy);
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 29px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  user-select: none;
  transition: transform .35s var(--v11-curve), color .35s;
}
.v17-file__index::after {
  content: '';
  display: block;
  height: 2px;
  width: clamp(16px, 2.3vw, 27px);
  margin-top: 11px;
  background: currentColor;
  opacity: .34;
}
.v11-file:is(:hover, :focus-visible, .is-active) .v17-file__index {
  transform: translateX(5px);
}

/* Work: the text in the blue end panel is left aligned. */
body[data-page="work"] .work-outro {
  align-items: flex-start;
  text-align: left;
}
body[data-page="work"] .work-outro strong {
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 850px) {
  .v17-file__index { font-size: 21px; }
}
@media (max-width: 650px) {
  body[data-page="home"] .hero-photo img {
    transform: scale(1.085);
    transform-origin: 46% 36%;
  }
  .v17-file__index {font-size: 16px;}
  .v17-file__index::after { margin-top: 8px; width: 17px; }
}
@media (max-width: 370px) {
  .v17-file__index { font-size: 14px; }
  .v17-file__index::after { width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .v17-file__index { transition: none; }
}
