/* Homepage only (28 Oct 2026): a calmer opening built on Steven's own job photos and clips,
   replacing the stock-photo hero and the card grids. Loaded after style.css + refine.css. */

/* --- Hero: words on the left, Steven at work on the right --- */
.hero.hero--photo {
  background: var(--primary-dark);
  text-align: left;
  padding: 0;
  padding-top: var(--hdr-gap, 73px) !important;   /* just clears the fixed header; set exactly by the script in index.html */
}
.hero.hero--photo::before, .hero.hero--photo::after { display: none; }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  min-height: min(74vh, 680px);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px clamp(24px, 5vw, 72px);
  max-width: 720px; margin-left: auto;
}
.hero.hero--photo h1 {
  font-size: clamp(1.9rem, 1.4rem + 1.9vw, 3rem);
  line-height: 1.08; letter-spacing: -0.02em;
  text-shadow: none; text-wrap: balance;
  margin-bottom: 18px;
}
.hero.hero--photo .hero-lede {
  margin: 0 0 30px; max-width: 34em;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.02rem, .96rem + .3vw, 1.15rem);
}
.hero.hero--photo .hero-buttons { justify-content: flex-start; }
.hero.hero--photo .hero-proof {
  margin: 26px 0 0; max-width: none; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .92rem; color: rgba(255,255,255,.7);
}
.hero-proof a { color: #fff; text-decoration: none; }
.hero-proof b { color: var(--accent); }
.hero-photo { position: relative; margin: 0; min-height: 360px; }
.hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
.hero-photo figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--accent); color: var(--primary);
  font-weight: 700; font-size: .85rem; padding: 8px 14px;
}

@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-copy { padding: 30px 20px 40px; margin: 0; }
  .hero.hero--photo .hero-buttons .btn { flex: 1 1 auto; text-align: center; }
}

/* --- On the job: real clips and photos, captioned like a job log --- */
.job-log { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.job-log figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.job-log img, .job-log video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 4px; background: var(--gray-200);
}
.job-log .frame { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4; }
.job-log .feature { grid-column: span 2; grid-row: span 2; }
.job-log .feature .frame { aspect-ratio: auto; flex: 1; min-height: 420px; }
.job-log .wide { grid-column: span 2; }
.job-log .wide .frame { aspect-ratio: 16 / 9; }
.job-log figcaption { font-size: .9rem; color: var(--gray-700); line-height: 1.4; }
.job-log figcaption b { color: var(--primary); display: block; font-size: .95rem; }
.clip-tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(6,26,46,.78); color: #fff;
  font-size: .75rem; font-weight: 600; padding: 4px 8px; border-radius: 3px;
}
@media (max-width: 900px) {
  .job-log { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-log .feature .frame { min-height: 0; aspect-ratio: 3 / 4; }
}
@media (max-width: 520px) {
  .job-log { gap: 14px; }
  .job-log .feature, .job-log .wide { grid-column: 1 / -1; grid-row: auto; }
}

/* --- Credentials as one quiet line of badges, not four cards --- */
.cred-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px 36px; padding: 28px 0 4px; border-top: 1px solid var(--gray-200); margin-top: 44px;
}
.cred-row img { height: 52px; width: auto; }
.cred-row span { font-size: .92rem; color: var(--gray-700); max-width: 16em; line-height: 1.35; }
.cred-row strong { color: var(--primary); }

/* --- Veteran: photo + plain promises --- */
.vet-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.vet-split img { width: 100%; border-radius: 4px; display: block; }
.vet-split h2 { color: #fff; text-wrap: balance; margin-bottom: 16px; }
.vet-split > div > p { color: rgba(255,255,255,.82); margin-bottom: 26px; }
.vet-promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.vet-promises li { padding-left: 18px; border-left: 3px solid var(--accent); color: rgba(255,255,255,.82); }
.vet-promises b { color: #fff; display: block; margin-bottom: 2px; }
@media (max-width: 820px) {
  .vet-split { grid-template-columns: 1fr; }
  .vet-split img { max-height: 420px; object-fit: cover; object-position: 50% 20%; }
}

.job-cta { background: var(--primary); color: #fff; border-radius: 4px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.job-cta b { font-size: 1.15rem; line-height: 1.3; }
.job-cta p { color: rgba(255,255,255,.8); font-size: .92rem; margin: 0; }
.job-cta .btn { align-self: flex-start; }
