/* ===== Portfolio pages (work.html, work-lopez.html) =====
   Extends styles.css + about.css. Tokens, fonts, nav, bands, prose, buttons,
   final-cta, and footer all come from those — this file is page-specific only.

   Image placeholders: media boxes use background-image over a var(--mist)
   background-color. If the file is missing (Shannon supplies the screenshots
   later) the box simply shows mist at the right aspect ratio — no broken-image
   icon — and the photo appears once the file exists. No markup change needed. */

/* ---------- Work index hero (no photo) ---------- */
.hero--work {
  background-color: var(--alpine);
  background-image: none;
  min-height: 0;
  border-bottom: 1px solid var(--mist);
}
.hero--work .hero__inner {
  justify-content: center;
  text-align: center;
  padding-top: clamp(64px, 9vw, 104px);
  padding-bottom: clamp(64px, 9vw, 104px);
}
.hero--work .hero__content { max-width: 720px; }
.hero--work .hero__divider { margin-left: auto; margin-right: auto; }
.hero--work .hero__body {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--midnight);
}

/* ---------- Featured case card (whole card is a link) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(18, 38, 58, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: inherit;
  margin-top: 8px;
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(18, 38, 58, 0.14); }
.feature:focus-visible { outline: 2px solid var(--summit); outline-offset: 4px; }

.feature__media {
  background-color: var(--mist);
  background-image: url("assets/lopez-hero.jpg");
  background-size: cover;
  background-position: center;
  min-height: 340px;
}
.feature__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
}
.feature__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.1;
  color: var(--midnight);
  margin: 10px 0 16px;
}
.feature__lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ridge);
  margin: 0 0 22px;
}
.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ridge);
  border: 1px solid var(--mist);
  border-radius: 999px;
  padding: 5px 12px;
}
.feature__cue {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--midnight);
  transition: color 0.2s ease;
}
.feature__cue .arrow { transition: transform 0.2s ease; }
.feature:hover .feature__cue { color: var(--summit); }
.feature:hover .feature__cue .arrow { transform: translateX(4px); }

/* ---------- More work (placeholder tiles) ---------- */
.wtiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.wtile {
  background: #fff;
  border: 1px solid var(--mist);
  border-left: 3px solid var(--summit);
  border-radius: 12px;
  padding: 30px 30px 28px;
}
.wtile__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--midnight);
  margin: 0 0 8px;
}
.wtile__status { margin: 0; font-size: 14px; font-style: italic; color: var(--river); }

/* ---------- Case study header ---------- */
.case-head {
  background: var(--alpine);
  border-bottom: 1px solid var(--mist);
}
.case-head__inner { padding: clamp(28px, 4vw, 44px) 0 clamp(44px, 6vw, 68px); }
.case-back {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--river);
  margin-bottom: 26px;
  transition: color 0.2s ease;
}
.case-back:hover { color: var(--summit); }
.case-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  color: var(--midnight);
  margin: 8px 0 20px;
}
.case-lede {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  color: var(--ridge);
  max-width: 720px;
  margin: 0 0 38px;
}
.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  border-top: 1px solid var(--mist);
  padding-top: 28px;
}
.case-meta dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--summit);
  margin-bottom: 8px;
}
.case-meta dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--midnight); }

/* ---------- Case screenshot (straddles the header boundary) ---------- */
.case-shot {
  background: var(--alpine);
  padding: 0 clamp(20px, 5vw, 48px) clamp(20px, 4vw, 44px);
}
.case-shot__frame {
  max-width: 1040px;
  margin: -64px auto 0;
  background-color: var(--mist);
  background-image: url("assets/lopez-store.jpg");
  background-size: cover;
  background-position: top center;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--mist);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(18, 38, 58, 0.16);
}

/* ---------- Standout (navy) ---------- */
.standout__lead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.4;
  color: var(--alpine);
  margin: 0 0 28px;
}
.standout__aside {
  border-left: 2px solid var(--summit);
  padding-left: 20px;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--river);
}

/* ---------- What was built (inventory rows) ---------- */
.inventory { margin-top: 44px; border-top: 1px solid var(--mist); }
.inv-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 26px 2px;
  border-bottom: 1px solid var(--mist);
}
.inv-row__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--midnight);
  margin: 0;
}
.inv-row__desc { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ridge); }

/* ---------- The result (pull quote) ---------- */
.pullquote {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--mist);
}
.pullquote blockquote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  color: var(--midnight);
  margin: 0;
}
.pullquote__attr { margin: 20px 0 0; font-size: 15px; color: var(--ridge); }
.pullquote__attr b { color: var(--midnight); font-weight: 700; }
.visit-link {
  display: inline-block;
  margin-top: 28px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--midnight);
  transition: color 0.2s ease;
}
.visit-link:hover { color: var(--summit); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 0; aspect-ratio: 4 / 3; }
  .inv-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 2px; }
}

@media (max-width: 700px) {
  .wtiles { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: 1fr; gap: 22px; }
  .case-shot__frame { margin-top: -40px; }
}

@media (prefers-reduced-motion: reduce) {
  .feature,
  .feature__cue,
  .feature__cue .arrow { transition: none; }
}
