
:root { --paper: #f4f3f4; --ink: #0b0b0b; --page-x: 6.8vw; }
body[class] { background: var(--paper); color: var(--ink); }
.site-header { background: var(--paper); color: var(--ink); }
.container.project { max-width: none; padding: 0 var(--page-x) 220px; }
.project-title { font-size: clamp(40px, 5.3vw, 80px); line-height: 1; font-weight: 850; letter-spacing: normal; margin-bottom: 32px; }
.project-tags { margin-bottom: 60px; }
.project-tags span { color: var(--ink); border-color: #aaa; font-size: 14px; }
.project-intro { max-width: 960px; font-size: clamp(22px, 2.9vw, 34px); line-height: 1.45; opacity: 1; margin-bottom: 140px; }
.project-link-tag { color: var(--ink); border-color: #777; }
.footer { padding: 35px var(--page-x); font-size: 14px; }
.back-to-top { color: var(--paper); background: var(--ink); }
a:focus-visible { outline: 2px solid #525fdf; outline-offset: 3px; }
@media (max-width: 700px) {
 .container.project { padding-top: 0; padding-bottom: 150px; }
 .project-title { font-size: 42px; }
 .project-tags { margin-bottom: 44px; }
 .project-intro { font-size: 22px; margin-bottom: 90px; }
}

/* Edge-to-edge project imagery directly beneath the navigation. */
.project-hero {
  margin: 0 calc(-1 * var(--page-x)) 120px;
  height: clamp(360px, 48vw, 760px);
  overflow: hidden;
  background: #e8e8e8;
}
.project-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 700px) {
  .project-hero { height: clamp(260px, 65vw, 450px); margin-bottom: 80px; }
}
