/* Project detail system and 2026 material refresh */
.hero-media {
  left: auto;
  right: 0;
  width: min(60vw, 880px);
  object-position: center 18%;
}

.hero-shade {
  background:
    linear-gradient(90deg, #051123 0%, rgba(5,17,35,.96) 36%, rgba(5,17,35,.44) 68%, rgba(5,17,35,.18) 100%),
    linear-gradient(0deg, rgba(5,17,35,.9), transparent 56%);
}

.portrait-frame img { object-position: center 12%; }

.project-card .project-context {
  max-width: calc(100% - 56px);
  line-height: 1.4;
}

.modal { padding: 20px; }

.modal-card {
  width: min(1280px, 100%);
  grid-template-columns: minmax(360px, .92fr) minmax(520px, 1.28fr);
  align-items: start;
  border-radius: 2px;
}

.modal-visual {
  position: sticky;
  top: 0;
  min-height: calc(100svh - 40px);
  height: calc(100svh - 40px);
  background: #07182d;
}

.modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-visual::after { display: none; }

.modal-content {
  display: block;
  padding: clamp(40px, 5vw, 72px);
}

.modal-heading {
  position: relative;
  padding-right: 110px;
}

.modal-heading h2 {
  max-width: 720px;
  margin: 18px 0 20px;
  font: 500 clamp(48px, 5vw, 78px)/.9 var(--serif);
  letter-spacing: -.045em;
}

.modal-heading > p,
.modal-section p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.modal-status {
  position: absolute;
  right: 0;
  top: -4px;
  max-width: 104px;
  padding: 7px 10px;
  border: 1px solid rgba(7,24,45,.12);
  border-radius: 99px;
  color: #46566b;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .08em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.modal-specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px 0 0;
}

.modal-specs div { min-width: 0; padding: 20px 18px 20px 0; }
.modal-specs div:last-child { grid-column: 1 / -1; }
.modal-specs strong { font-size: 13px; line-height: 1.45; }

.modal-section {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.modal-kicker {
  display: block;
  margin-bottom: 18px;
  color: #8b8491;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .16em;
}

.modal-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.modal-highlights article {
  display: grid;
  min-height: 108px;
  align-content: space-between;
  gap: 20px;
  padding: 20px;
  background: var(--paper);
}

.modal-highlights b {
  color: var(--pink);
  font: 600 10px/1 var(--sans);
  letter-spacing: .12em;
}

.modal-highlights span { font-size: 13px; font-weight: 650; line-height: 1.42; }

.modal-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.modal-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.modal-chips span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255,255,255,.54);
  color: #34445a;
  font-size: 9px;
  font-weight: 650;
}

.modal-payment {
  padding: 26px;
  border: 1px solid rgba(241,116,173,.28);
  background: linear-gradient(135deg, rgba(241,116,173,.08), rgba(246,210,50,.06));
}

.modal-payment .modal-kicker { color: var(--pink); }
.modal-payment p { margin: 0; color: #35445a; }

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.modal-verification {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modal-verification > span {
  color: #8b8491;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: .15em;
}

.modal-verification p { margin: 0; color: #5f6b7b; font-size: 10px; line-height: 1.5; }
.modal-verification a { color: var(--navy); font-size: 10px; font-weight: 750; white-space: nowrap; }
.modal-verification a[hidden] { display: none; }
.modal-content > small { display: block; margin-top: 18px; line-height: 1.55; }

@media (max-width: 980px) {
  .hero-media { width: 68vw; }
  .modal-card { grid-template-columns: minmax(300px, .75fr) minmax(440px, 1.25fr); }
  .modal-content { padding: 44px 34px; }
  .modal-heading { padding-right: 0; }
  .modal-status { position: static; display: inline-block; margin-top: 16px; max-width: none; }
  .modal-two-col { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 680px) {
  .hero-media { width: 100%; object-position: center 12%; opacity: .86; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5,17,35,.92), rgba(5,17,35,.46)),
      linear-gradient(0deg, rgba(5,17,35,.98) 0%, rgba(5,17,35,.58) 62%, rgba(5,17,35,.3) 100%);
  }
  .modal { padding: 8px; }
  .modal-card { display: block; }
  .modal-visual { position: relative; height: 330px; min-height: 330px; }
  .modal-content { padding: 34px 22px 42px; }
  .modal-heading h2 { font-size: clamp(46px, 15vw, 62px); }
  .modal-highlights { grid-template-columns: 1fr; }
  .modal-highlights article { min-height: 92px; }
  .modal-specs { grid-template-columns: 1fr 1fr; }
  .modal-specs div:last-child { grid-column: 1 / -1; }
  .modal-actions { align-items: stretch; flex-direction: column; }
  .modal-actions .button { width: 100%; }
  .modal-verification { grid-template-columns: 1fr; }
}
