.intro {
  align-items: center;
  margin-left: calc(var(--label-w) + var(--label-gap));
  padding: 36px 0 32px; }
  .intro h1 {
    margin: 0 0 6px;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15; }
  .intro .lede {
    margin: 0 0 14px; }

.portrait {
  width: var(--label-w);
  padding: 4px;
  border: 1px solid var(--hair);
  background: var(--paper); }
  .portrait img {
    width: 100%;
    height: auto;
    margin: 0; }

.sitenav a {
  text-decoration: none; }
  .sitenav a:hover {
    color: var(--accent); }

.sitenav .sep {
  margin: 0 10px;
  color: var(--muted); }

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 24px; }
  .link-grid a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none; }
    .link-grid a:hover {
      color: var(--accent); }

@media (max-width: 900px) {
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 768px) {
  .intro {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
    margin-left: 0; }
    .intro h1 {
      font-size: 32px; }
  .portrait {
    width: 120px; } }

@media (max-width: 540px) {
  .intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    text-align: center; }
    .intro h1 {
      font-size: 30px; }
  .portrait {
    justify-self: center; } }

.hc {
  position: relative; }

.hovercard {
  display: none; }

@media (hover: hover) {
  .hovercard {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: max-content;
    min-width: 180px;
    max-width: 300px;
    padding: 12px 14px;
    border: 1px solid var(--hair);
    background: var(--paper);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    line-height: 1.45;
    text-align: left;
    text-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.12s; }
  .hc:hover .hovercard,
  .hc:focus-within .hovercard {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.2s; }
  @supports (position-area: bottom) {
    .hovercard {
      position: fixed;
      top: auto;
      left: auto;
      transform: none;
      margin: 6px 0;
      position-area: bottom;
      position-try-fallbacks: flip-block;
      transition: none; }
    .hc:hover .hovercard,
    .hc:focus-within .hovercard {
      transition: opacity 0.12s 0.2s; } }
  .home p:has(.hc:hover),
  .home p:has(.hc:focus-within) {
    position: relative;
    z-index: 10;
    filter: none; } }

.hc-title {
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap; }

.hc-head {
  margin-top: 6px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-decoration-color: var(--hair);
  text-underline-offset: 3px; }

.hc-line.one {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.hc-line.book {
  color: var(--text);
  font-style: italic; }

.hovercard:has(.hc-logo) {
  min-width: 0;
  padding: 10px 16px; }

.hc-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em; }
  .hc-logo svg {
    width: 26px;
    height: 26px;
    fill: #ff3621; }

.hovercard .routes {
  display: block;
  width: 232px;
  height: auto;
  margin: 0 0 2px; }
  .hovercard .routes .water {
    fill: color-mix(in srgb, #6f8f96 14%, var(--paper));
    stroke: color-mix(in srgb, #3f5f66 35%, var(--paper));
    stroke-width: 0.5; }
  .hovercard .routes .last {
    fill: none;
    stroke: var(--muted);
    stroke-opacity: 0.6;
    stroke-width: 0.8;
    stroke-linejoin: round; }
  .hovercard .routes .arc {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1; }
  .hovercard .routes circle {
    fill: var(--paper);
    stroke: var(--ink);
    stroke-width: 1; }
  .hovercard .routes circle.home {
    fill: var(--ink); }
  .hovercard .routes text {
    fill: var(--muted);
    font-size: 7px;
    letter-spacing: 0.05em; }
    .hovercard .routes text.home {
      fill: var(--ink); }
