* { box-sizing: border-box; }
body { margin: 0; color: #171717; background: #fff; font: 1rem/1.6 Inter, Helvetica, Arial, sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
.wrap { width: min(1100px, calc(100% - 36px)); margin-inline: auto; }
nav, footer { padding-block: 20px; }
.project { padding-block: clamp(32px, 6vw, 75px); color: white; }
.project-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
.project h1 { margin: .2em 0 .35em; font-size: clamp(2.5rem, 7vw, 5.75rem); line-height: 1; letter-spacing: -.065em; overflow-wrap: anywhere; }
.project p { max-width: 40ch; }
.project img { display: block; width: 100%; height: auto; max-height: 530px; object-fit: cover; }
.ph img { object-position: center 55%; }
.ph { background: #010c11; --accent: #febf34; }
.regio { background: #15212d; --accent: #9bd7ff; }
.label { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-link { display: inline-block; margin-top: .5em; padding: .65em .9em; background: var(--accent); color: #010c11; font-weight: 700; }
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 46px; }
.details h2 { margin: 0 0 .55em; font-size: 1.375rem; }
.details p { margin: 0; }
footer { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid #e7e7e7; }
@media (max-width: 720px) {
  .project-grid, .details { grid-template-columns: minmax(0, 1fr); }
  .project img { max-height: 380px; }
}
