/* Home */

.hero-home h1 {
  max-width: 18ch;
}

.engagement-models {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: var(--space-6);
}

/* Services */

.service-card__index {
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Profile */

.profile-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
}

.highlight-list {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-5);
}

.highlight-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
}

.highlight-list__num {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: var(--text-lg);
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.skills-tags span {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.3em 0.9em;
  color: var(--color-text-muted);
}

/* 404 */

.not-found {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.not-found__text {
  max-width: 34rem;
}

.not-found__art {
  width: 100%;
  max-width: 22rem;
  justify-self: center;
  order: -1;
}

@media (min-width: 48rem) {
  .not-found {
    grid-template-columns: 1fr 1fr;
  }

  .not-found__art {
    max-width: 26rem;
    order: 0;
  }
}

.cable-car__peak { fill: var(--color-accent); }
.cable-car__station { fill: var(--color-text); }
.cable-car__cable { stroke: var(--color-text-muted); stroke-width: 1.5; fill: none; }
.cable-car__glass { fill: var(--color-surface); }
.cable-car__band { fill: var(--color-accent); fill-opacity: 0.18; }
.cable-car__rim { fill: none; stroke: var(--color-text); stroke-width: 2; }
.cable-car__label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  fill: var(--color-text);
}

/* The one moment of motion: the stuck bubble swaying in the wind,
   pivoting on its grip on the cable. */
.cable-car__bubble {
  transform-origin: 120px 118px;
  animation: cable-car-sway 3.2s ease-in-out infinite alternate;
}

@keyframes cable-car-sway {
  from { transform: rotate(-5deg); }
  to { transform: rotate(5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cable-car__bubble { animation: none; }
}

/* CV */

@media print {
  .site-header, .site-footer, .btn-row {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .timeline {
    border-left-color: #ccc;
  }
}

/* 403: the marmot (site/templates/components/forbidden-marmot.mjs) */

.art-peak { fill: var(--color-accent); }
.art-ground { fill: var(--color-surface); stroke: var(--color-text); stroke-width: 2; }
.art-hole { fill: var(--color-text); }
.art-label { font-family: var(--font-mono); font-size: 14px; font-weight: 700; fill: var(--color-text); }
.art-pole { stroke: var(--color-text); stroke-width: 4; }
.art-sign { fill: var(--color-accent); stroke: var(--color-text); stroke-width: 3; }
.art-lip { fill: none; stroke: var(--color-text); stroke-width: 2.5; stroke-linecap: round; }
/* The sign bar and the muzzle stay white in every theme, so the face details on the
   muzzle use the dark --color-art-ink rather than --color-text. */
.art-sign-bar { fill: var(--color-art-light); }
.art-fur { fill: var(--color-text-muted); stroke: var(--color-text); stroke-width: 2; }
.art-belly { fill: var(--color-surface); }
.art-snout { fill: var(--color-art-light); }
.art-tooth { fill: var(--color-art-light); stroke: var(--color-art-ink); stroke-width: 1.2; }
.art-eye { fill: var(--color-text); }
.art-glint { fill: var(--color-surface); }
.art-nose { fill: var(--color-art-ink); stroke: var(--color-art-ink); stroke-width: 1.6; stroke-linejoin: round; }
.art-mouth { fill: none; stroke: var(--color-art-ink); stroke-width: 1.6; stroke-linecap: round; }

/* The marmot pops out of its burrow, stays up, then ducks back. */
.marmot__pop { animation: marmot-pop 6s ease-in-out infinite; }

@keyframes marmot-pop {
  0%, 10% { transform: translateY(80px); }
  30%, 70% { transform: translateY(0); }
  90%, 100% { transform: translateY(80px); }
}

@media (prefers-reduced-motion: reduce) {
  .marmot__pop { animation: none; }
}
