/* Sun Devil Wind — project detail pages.
   Shares the page tokens from page.css; this file adds the detail layout. */

.hero-detail { padding: 64px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: end;
  padding-bottom: 44px;
}

.hero-grid .lede { margin-top: 20px; font-size: 16px; max-width: 46ch; }

.meta { list-style: none; margin: 0; padding: 0; }

.meta li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--muted);
  font-size: .9375rem;
}

.meta li:last-child { border-bottom: 1px solid var(--muted); }
.meta li { font-size: 14px; }
.meta b { font-weight: 400; color: var(--teal); opacity: .8; }
.meta span { color: var(--navy); }

.shot {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--band);
  margin-bottom: 72px;
}

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

/* ---- body ---- */

.body-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--muted);
  padding-top: 28px;
}

.body-grid .prose { max-width: 70ch; }
.body-grid .prose > p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; }
.body-grid .prose > h2 { margin: 36px 0 14px; }

/* ---- highlights ---- */

.hl { padding: 72px 0 0; }

/* Highlights read as pale cards sized to their own text, matching the design. */
.hl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hl-list li {
  flex: 0 1 auto;
  max-width: 300px;
  background: linear-gradient(180deg, #fff, var(--band));
  border: 1px solid var(--muted);
  border-radius: var(--r-tile);
  padding: 20px 22px;
  font-family: var(--head);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -.01em;
}

/* One wide frame, then two side by side. */
.strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.strip figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }

.strip figure {
  margin: 0;
  border-radius: var(--r-tile);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #cfe6f7, #9cc9ec);
}

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

/* ---- related ---- */

.related { padding: 80px 0 0; }

.rel-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.rel-grid a {
  display: block;
  text-decoration: none;
  border-radius: var(--r-card);
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--band));
  border: 1px solid var(--muted);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.rel-grid a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(5, 58, 100, .45); }
.rel-grid figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--band); }
.rel-grid img { width: 100%; height: 100%; object-fit: cover; }
.rel-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 18px 18px; }
.rel-cap h3 { font-size: 1.0625rem; }
.rel-cap span { font-size: .875rem; color: var(--teal); opacity: .75; }

/* ---- responsive ---- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .body-grid { grid-template-columns: 1fr; gap: 14px; }
  .shot { margin-bottom: 52px; aspect-ratio: 16 / 9; }
}

@media (max-width: 700px) {
  .hero-detail { padding: 40px 0 0; }
  .strip { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; }
  .hl { padding: 52px 0 0; }
  .related { padding: 56px 0 0; }
  .shot { aspect-ratio: 4 / 3; }
}

@media (max-width: 809.98px) {
  .hl-list li { font-size: 18px; padding: 16px 18px; }
  .strip figure:first-child { aspect-ratio: 4 / 3; }
}
