@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  --bg: #faf9f6;
  --ink: #1b1e24;
  --muted: #5b6270;
  --accent: #2f6f5e;
  --line: #ddd9cd;
  --serif: 'Fraunces', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

header.hero {
  padding: 96px 0 72px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.hero .role {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 28px;
}

.hero p.statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.5;
  max-width: 30ch;
  color: var(--ink);
  margin: 0;
}

nav.contact-row {
  margin-top: 32px;
  font-size: 0.95rem;
  color: var(--muted);
}

nav.contact-row a { color: var(--ink); margin-right: 20px; }

section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 24px;
}

section > p.lead {
  max-width: 58ch;
  color: var(--ink);
}

.entry {
  margin-bottom: 32px;
}
.entry:last-child { margin-bottom: 0; }

.entry-head {
  gap: 4px 16px;
  margin-bottom: 4px;
}

.entry-head h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.entry-head .dates {
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
}

.entry .org {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.entry ul {
  margin: 0;
  padding-left: 20px;
}
.entry li { margin-bottom: 6px; }

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills span {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 6px 12px;
  font-size: 0.9rem;
  color: var(--ink);
}

.work,
.project {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.work:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
.project:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.work h3,
.project h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.work h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-link {
  display: inline-flex;
  color: var(--muted);
  transition: color 0.15s ease;
}
.work-link:hover { color: var(--accent); }

.work p,
.project p {
  margin: 0 0 8px;
  color: var(--ink);
}

.work .meta,
.project .meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.screenshot {
  width: 100%;
  height: 350px;
  background: #f5f5f5;
  border-radius: 4px;
  margin-top: 8px;
}

.screenshot.tm-index {
  background: url('/images/tm_index.png') no-repeat center / contain;
  height: 200px;
}

.screenshot.tm-issues {
  background: url('/images/tm_issues.png') no-repeat top left / cover;
}

.screenshot.tm-params {
  background: url('/images/tm_params.png') no-repeat top left / cover;
}

.screenshot.tm-greeting {
  background: url('/images/tm_greeting.png') no-repeat top center / cover;
}

.screenshot.monster {
  background: url('/images/img_monsterEnergy.png') no-repeat top center / cover;
}

.screenshot.pokemon {
  background: url('/images/img_thePokemonCompany.png') no-repeat top center / cover;
}

.screenshot.weir {
  background: url('/images/img_weir.png') no-repeat top center / cover;
}

.screenshot.jet {
  background: url('/images/img_jet.png') no-repeat top center / cover;
}

.placeholder {
  background: #fff7e6;
  border: 1px dashed #d9b36a;
  color: #7a5a1e;
  font-size: 0.82rem;
  padding: 2px 8px;
  border-radius: 3px;
}

footer {
  padding: 48px 0 80px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  header.hero { padding: 64px 0 48px; }
  .entry-head { flex-direction: column; }
}
