/* Daren Gillespie (2026-10-10): A rising speed curve instead of construction clipart, so the TVC pun feels current. */

:root {
  color-scheme: light dark;
  --ink: #18181b;
  --muted: #71717a;
  --page: #fafafa;
  --line: #d4d4d8;
  --accent: #ea580c;
  --glow: rgba(234, 88, 12, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #fafafa;
    --muted: #a1a1aa;
    --page: #09090b;
    --line: #3f3f46;
    --accent: #fb923c;
    --glow: rgba(251, 146, 60, 0.18);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 45%, var(--glow), transparent 58%),
    var(--page);
  color: var(--ink);
  font: 1rem/1.5 ui-sans-serif, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(34rem, calc(100% - 3rem));
}

.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--glow);
  animation: ping 2.2s ease-out infinite;
}

h1 {
  margin: 0;
  font-weight: 560;
  letter-spacing: -0.045em;
}

.mark {
  display: block;
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  line-height: 0.9;
}

.rest {
  display: block;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plot {
  display: block;
  width: 100%;
  height: auto;
  margin: 2.25rem 0 1.25rem;
  overflow: visible;
}

.ceiling {
  stroke: var(--line);
  stroke-dasharray: 2 7;
  stroke-linecap: round;
}

.speed {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.8s cubic-bezier(0.4, 0, 0.15, 1) forwards;
}

.dot {
  fill: var(--accent);
  opacity: 0;
  animation: arrive 0.4s ease 1.5s forwards;
}

.line {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Daren Gillespie (2026-10-13): Keep the construction hero intact; the About link stays small and still crawlable. */
.about-link {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.about-link:hover,
.about-link:focus-visible {
  color: var(--ink);
}

body.profile h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.04em;
}

body.profile .place,
body.profile .role {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes arrive {
  to {
    opacity: 1;
  }
}

@keyframes ping {
  70%,
  100% {
    box-shadow: 0 0 0 0.55rem transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .speed {
    animation: none;
    stroke-dashoffset: 0;
  }

  .dot,
  .pulse {
    animation: none;
    opacity: 1;
  }
}
