:root { --accent: #2f9e5f; --ink: #1f2430; --muted: #5b6270; --band: #f5f7fa; --line: #e3e7ee; --radius: 14px; }
body { font-family: 'Inter', 'Noto Sans', sans-serif; color: var(--ink); background: #fff; }
h1, h2, h3 { font-family: 'Google Sans', 'Inter', sans-serif; color: var(--ink); }

.hero-body { padding: 4rem 1.5rem 2rem; }
.hero .title { font-weight: 700; margin-bottom: .6rem !important; }
.hero .subtitle { color: var(--muted); }
.hero .title + .subtitle { margin-top: 0; }

.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 440px)); justify-content: center; gap: 1.5rem; padding: 1rem 1.5rem 4rem; }
.project {
  display: flex; flex-direction: column; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(20, 30, 50, .07); transition: transform .12s ease, box-shadow .12s ease;
}
.project:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20, 30, 50, .14); }
.project .thumb { display: grid; place-items: center; height: 190px; padding: .8rem; background: var(--band); }
.project .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.project .body { display: flex; flex: 1; flex-direction: column; padding: 1.1rem 1.2rem 1.3rem; }
.project .venue { align-self: flex-start; margin-bottom: .6rem; padding: .15rem .65rem; font-size: .75rem; font-weight: 600; color: var(--accent); background: rgba(47, 158, 95, .1); border-radius: 999px; }
.project h2 { margin-bottom: .5rem; font-size: 1.1rem; line-height: 1.3; }
.project p { flex: 1; margin-bottom: 1rem; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.project .button { align-self: flex-start; font-weight: 600; }

.more { padding: 0 1.5rem 3rem; text-align: center; color: var(--muted); font-size: .9rem; }
/* Photo thumbnail: fills the box, cropped (the default thumbnail fits a figure inside the box) */
.project .thumb { overflow: hidden; }
.project .thumb.photo { padding: 0; }
.project .thumb.photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: 40% 60%; }
