/* orange tabby: ginger fur, darker stripes, cream belly, mint collar */
:root {
  --bg: #fbf4ea;
  --card: #fffaf3;
  --text: #2b1f17;
  --muted: #7a6656;
  --line: #ecdcc8;
  --accent: #b9570f;
  --accent-soft: #fbe3cc;
  --fur: #eba15c;
  --stripe: #c4702e;
  --eye: #2f8a72;
  --eye-soft: #dcf3ec;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1411;
    --card: #241c17;
    --text: #f3e9df;
    --muted: #b09c8b;
    --line: #3a2e25;
    --accent: #f2a35e;
    --accent-soft: #3a2616;
    --fur: #eba15c;
    --stripe: #9a521c;
    --eye: #7fd1b9;
    --eye-soft: #17302a;
  }
}


* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-header,
main,
.site-footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 56px;
  padding-bottom: 32px;
}

.logo { flex: none; }

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 span { color: var(--accent); }

.tagline { margin: 4px 0 0; color: var(--muted); }

.projects {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:not(.card--soon):hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.08);
}
.card--soon {
  background: transparent;
  border-style: dashed;
}

.shot {
  aspect-ratio: 16 / 10;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1;
}

.title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

h2 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
h2 a { color: inherit; text-decoration: none; }
/* whole card is clickable */
h2 a::after { content: ""; position: absolute; inset: 0; }
h2 a:focus-visible { outline: none; }
.card:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.status {
  flex: none;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--eye-soft);
  color: var(--eye);
}
.status--beta,
.status--in-progress { background: var(--accent-soft); color: var(--accent); }

.blurb { margin: 0; }
.note { margin: 0; font-size: 0.88rem; color: var(--muted); }

.tags {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags li {
  font-size: 0.78rem;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
}

.host {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.site-footer {
  padding-top: 48px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 0.85rem;
}
