.name-shell {
  min-height: 100vh; min-height: 100dvh; display: grid;
  grid-template: "brand" auto "content" 1fr "credit" auto / minmax(0, 1fr);
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
  background: linear-gradient(90deg, #08110f 8%, rgb(8 17 15 / 97%) 44%, rgb(8 17 15 / 63%)),
    url("/launch/city.webp") center right / cover;
}
.name-story { display: block; align-self: center; max-width: 76rem; padding-block: clamp(1rem, 2.6svh, 2.5rem); }
.name-story h1 { max-width: none; font-size: clamp(2.9rem, min(6.5vw, 10svh), 6rem); line-height: 1; }
.name-story h1 em { display: inline; }
.name-intro { max-width: 72ch; margin-top: clamp(.5rem, 1.6svh, 1rem); color: #d7e0d7; font-size: clamp(1rem, min(1.6vw, 2.6svh), 1.25rem); line-height: 1.45; }
.name-meanings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4.5vw, 4.5rem); margin-top: clamp(1rem, 3.2svh, 2.5rem); }
.name-meanings section { display: flex; flex-direction: column; border-top: 1px solid rgb(217 235 213 / 40%); padding-top: 1rem; }
.name-meanings h2 { font-size: clamp(1.25rem, min(2.5vw, 4svh), 2rem); line-height: 1.2; font-weight: 550; letter-spacing: -.04em; }
.name-meanings p { max-width: 52ch; margin-top: .65rem; color: #d7e0d7; font-size: clamp(1rem, min(1.5vw, 2.35svh), 1.2rem); line-height: 1.5; }
.name-sources { display: flex; flex-wrap: wrap; gap: 0 1.15rem; margin-top: auto; padding-top: .65rem; }
.name-meanings a { display: inline-block; padding-block: .3rem; font-size: .83rem; color: var(--accent); text-underline-offset: .28em; }
.name-meanings a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 48rem) and (max-height: 34rem) {
  .name-story { padding-block: .5rem; }
  .name-meanings { margin-top: .75rem; }
  .name-meanings section { padding-top: .65rem; }
  .name-meanings p { margin-top: .45rem; line-height: 1.4; }
  .name-sources { padding-top: .4rem; }
}
@media (max-width: 40rem) {
  .name-shell { background-image: linear-gradient(135deg, rgb(8 17 15 / 99%) 12%, rgb(8 17 15 / 91%) 66%, rgb(8 17 15 / 76%)), url("/launch/city.webp"); }
  .name-meanings { grid-template-columns: 1fr; gap: 1.35rem; }
  .name-meanings section { padding-top: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .name-story { animation: name-arrive 220ms ease-out; }
  @keyframes name-arrive {
    from { opacity: .7; transform: translateY(.35rem); }
  }

  /* Reveal the new document from the teaser link, over the previous page. */
  ::view-transition-group(root) { animation-duration: 480ms; }
  ::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
  ::view-transition-new(root) {
    --origin: calc(100% - env(safe-area-inset-right) - var(--gutter) - 4.6rem)
              calc(env(safe-area-inset-top) + clamp(.65rem, 2.6svh, 2rem) + 1.1rem);
    mix-blend-mode: normal;
    animation: name-ripple 480ms cubic-bezier(.4, 0, .45, 1) both;
  }
  @keyframes name-ripple {
    from { clip-path: circle(0 at var(--origin)); }
    to { clip-path: circle(150vmax at var(--origin)); }
  }
}
