.project-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(34rem, 77svh, 54rem);
  background: #262b25;
  color: #fff;
}
.project-visual, .project-visual video, .project-visual picture, .project-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-visual { z-index: -2; overflow: hidden; }
.project-visual[data-film] picture { visibility: hidden; }
.project-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(12,18,16,.91), rgba(12,18,16,.55) 29%, transparent 68%),
              linear-gradient(90deg, rgba(12,18,16,.28), transparent 66%);
}
.project-stage .project-title {
  width: 100%;
  padding-block: clamp(6rem, 16vh, 12rem) clamp(2rem, 5vw, 4.5rem);
}
.project-title .eyebrow {
  color: #fff1ce;
  font-size: .94rem;
  margin: 0 0 .7rem;
}
.project-title .eyebrow::before { display:none; }
.project-title h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(2.55rem, 5.6vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
  max-width: 19ch;
  margin: 0;
  color: #fffaf0;
}
.project-title h1 .h1-sub {
  margin: .85rem 0 0;
  line-height: 1.45;
  color: #fff9ed;
  font: 500 clamp(1rem, 1.55vw, 1.25rem)/1.42 var(--font);
  letter-spacing: 0;
}
.project-title .hero-cta { margin: 1.45rem 0 0; gap: .65rem 1.3rem; }
.project-title .hero-cta .btn {
  min-height: 46px;
  border-radius: 8px;
  font-size: 1rem;
  padding: .65rem 1.3rem;
  white-space: normal;
}
.project-title .hero-cta .btn-primary { background: #fff9ed; color: #173d2f; border-color: #fff9ed; box-shadow:none; }
.project-title .hero-cta .btn-primary:hover { background: #e8f2e5; }
.project-title .hero-cta .btn-glass {
  background:none; border-color:transparent; color:#fff;
  backdrop-filter:none; box-shadow:none; text-decoration:underline;
  text-underline-offset:.32em; text-decoration-color:#ffffff9e;
  padding-inline:0;
}
.project-title .hero-cta .btn::after { content:none; }
.project-title .hero-cta .btn:focus-visible, .gartenfilm-toggle:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.project-caption { background:#f7f5ee; color:#233b32; }
.project-caption .wrap {
  display:grid; align-items:center; gap: clamp(1.5rem,6vw,6rem);
  grid-template-columns: minmax(0,2fr) minmax(13rem,1fr);
  padding-block:clamp(1.3rem,3.1vw,2.8rem);
}
.project-caption .lead { margin:0; font:400 1.02rem/1.58 var(--font); color:#293e35; }
.project-caption .lead b { display:block; color:#183c2c; font-size:clamp(1.13rem,2vw,1.52rem); line-height:1.32; margin-bottom:.35rem; }
.project-caption .hero-note { margin:0; color:#46584e; opacity:1; font-size:.88rem; max-width:46ch; }
.gartenfilm-toggle {
  position:absolute; top:max(16px,env(safe-area-inset-top)); right:max(16px,env(safe-area-inset-right));
  display:grid; place-items:center; min-width:44px; min-height:44px; z-index:2;
  padding:0; border:1px solid #ffffff85; border-radius:50%; color:white; background:#18241fbd; cursor:pointer;
}
.gartenfilm-toggle[hidden], .gartenfilm-toggle [data-pause], .gartenfilm-toggle[data-playing] [data-play] { display:none; }
.gartenfilm-toggle[data-playing] [data-pause] { display:block; }
@media(max-width:767px) {
  .project-stage { min-height:clamp(27rem, 71svh, 49rem); }
  .project-stage::after { background:linear-gradient(0deg,rgba(11,19,16,.94),rgba(11,19,16,.72) 22%,rgba(11,19,16,.24) 52%,transparent 73%); }
  .project-stage .project-title { padding:clamp(8.5rem,25svh,15rem) var(--gutter) clamp(1.5rem,4svh,2.5rem); }
  .project-title h1 { font-size:clamp(2.35rem,9.65vw,3.8rem); max-width:18ch; }
  .project-title .hero-cta { gap:.25rem 1rem; margin-top:1rem; }
  .project-title .hero-cta .btn { font-size:.94rem; }
  .project-title .hero-cta .btn-primary { padding-inline:1rem; }
  .project-caption .wrap { grid-template-columns:1fr; gap:.65rem; }
}
@media(max-height:540px) and (orientation:landscape) {
  .project-stage { min-height:24rem; }
  .project-stage .project-title { padding-block:4rem 1.6rem; }
}
