:root { --project-hero-max: 1120px; }

body .project-hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--project-hero-max));
  max-width: var(--project-hero-max);
  min-height: 720px;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 64px;
  align-items: center;
  margin-inline: auto;
  padding: 88px 0;
}

body .project-hero::before { content: none; }
.project-hero > * { min-width: 0; }
.project-hero-copy { position: relative; z-index: 1; }

.project-hero .case-brand {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  margin: 0 0 32px;
}

.project-hero .case-brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 11px;
  object-fit: contain;
  box-shadow: none;
}

.project-hero .case-kicker {
  margin: 0;
  color: #66666d;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

body .project-hero h1 {
  margin: 0;
  color: #18181a;
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0;
}

body .project-hero h2 {
  max-width: 620px;
  margin: 26px 0 0;
  color: #18181a;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.35;
  font-weight: 570;
  letter-spacing: 0;
}

body .project-hero .case-lead,
body .project-hero .wivlo-hero-lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: #66666d;
  font-size: 15px;
  line-height: 1.85;
}

.project-hero .case-meta {
  display: grid;
  gap: 7px;
  margin-top: 30px;
}

.project-hero .case-meta span {
  padding: 0;
  border: 0;
  background: transparent;
  color: #505057;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.project-hero .case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-hero .case-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: #18181a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  box-shadow: none;
  text-decoration: none;
  transition: opacity .18s ease;
}

.project-hero .case-links a:hover { opacity: .74; transform: none; }

body .project-hero .project-hero-visual {
  display: flex;
  width: 100%;
  height: 520px;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 28px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #f1f1f3;
  box-shadow: none;
  color: #77777d;
  text-align: center;
  transform: none;
}

body .project-hero .project-hero-visual img {
  display: block;
  width: 92%;
  height: 90%;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 6px;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
  filter: none;
  mix-blend-mode: normal;
  transform: none;
}

@media (max-width: 820px) {
  body .project-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 0;
  }

  body .project-hero .project-hero-visual { height: 430px; min-height: 430px; }
}

@media (max-width: 520px) {
  body .project-hero { width: calc(100% - 28px); padding: 56px 0 72px; }
  .project-hero .case-brand { margin-bottom: 24px; }
  body .project-hero h1 { font-size: 44px; }
  body .project-hero h2 { font-size: 25px; }
  body .project-hero .project-hero-visual { height: 340px; min-height: 340px; padding: 18px; }
}
