:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #1a1f26;
  --muted: #5f6b7a;
  --line: #e1e5eb;
  --accent: #1f6f8b;
  --accent-soft: #e5f1f5;
  --good: #1e7a46;
  --good-soft: #e3f3e9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111418;
    --card: #191d23;
    --text: #e7eaee;
    --muted: #98a2b0;
    --line: #2a3039;
    --accent: #66b4d0;
    --accent-soft: #1a2e36;
    --good: #6dc794;
    --good-soft: #17301f;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 72px 16px 40px; }

.hero { margin-bottom: 48px; }
.mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent); color: var(--card);
  display: grid; place-items: center;
  font-weight: 800; font-size: 28px; line-height: 1; padding-bottom: 4px;
  margin-bottom: 20px;
}
h1 { font-size: clamp(2.2rem, 7vw, 3rem); line-height: 1.05; margin: 0 0 8px; letter-spacing: -0.02em; }
.lede { color: var(--muted); font-size: 1.15rem; margin: 0; }

h2 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 700; margin: 0 0 12px;
}

.project {
  display: grid; grid-template-columns: 152px minmax(0, 1fr); gap: 16px; align-items: start;
  text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 12px;
  transition: border-color .15s, transform .15s;
}
a.project:hover { border-color: var(--accent); }
a.project:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { a.project:hover { transform: translateY(-1px); } }
.project.soon .info { opacity: .75; }
.shot {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line); background: var(--line);
}
.info { min-width: 0; }
/* Enlarge the thumbnail on hover (mouse/trackpad only; on phones it's already full width) */
@media (hover: hover) and (min-width: 481px) {
  .shot { position: relative; transform-origin: left center; }
  .shot:hover {
    z-index: 2; transform: scale(2.4);
    box-shadow: 0 12px 32px rgb(0 0 0 / .35);
  }
}
@media (hover: hover) and (min-width: 481px) and (prefers-reduced-motion: no-preference) {
  .shot { transition: transform .2s ease, box-shadow .2s ease; }
}
.project-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
h3 { margin: 0; font-size: 1.15rem; }
.project p { margin: 6px 0 0; color: var(--muted); font-size: .97rem; }
.status {
  font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px;
  background: var(--line); color: var(--muted);
}
.status.live { background: var(--good-soft); color: var(--good); }
.go { display: inline-block; margin-top: 10px; color: var(--accent); font-weight: 600; font-size: .95rem; }

footer { margin-top: 56px; color: var(--muted); font-size: .85rem; }

@media (max-width: 480px) {
  .wrap { padding-top: 48px; }
  .project { grid-template-columns: 1fr; gap: 12px; }
  .hero { margin-bottom: 36px; }
}
