/* ═══════════════════════════════════════════════════════════════
   ATHENA — SUBPAGE STYLES (service pages · job pages · projects index)
   ═══════════════════════════════════════════════════════════════ */

/* ─────────── PAGE HERO ─────────── */
.page-hero { position: relative; min-height: 58vh; display: flex; align-items: flex-end; background: var(--ink); color: var(--paper); overflow: hidden; padding-top: var(--nav-h); }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: saturate(0.95) contrast(1.03); }
.page-hero .veil { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 2%, rgba(11,13,18,0.55) 42%, rgba(11,13,18,0.28) 100%); }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(2.6rem, 5vw, 4.2rem); }
.page-hero h1 { color: var(--paper); }
.page-hero .lead { color: var(--paper-muted); margin-top: 1.3rem; max-width: 44rem; }
.crumb { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-sans); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-bright); text-decoration: none; margin-bottom: 1.4rem; }
.crumb:hover { color: var(--accent-pale); }

/* ─────────── SHOTS (job photo grid) ─────────── */
a.gitem { display: block; text-decoration: none; }
.shots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 3rem; }
.shots-grid .gitem:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.shots-grid .gitem:first-child:nth-last-child(odd) .gitem-media { aspect-ratio: 16/8; }

/* ─────────── PAGER (prev / next) ─────────── */
.pager { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink-line); margin-top: 3.2rem; }
.pager a { padding: 1.5rem 1.7rem; text-decoration: none; display: flex; flex-direction: column; gap: 0.35rem; transition: background 0.3s var(--ease); min-width: 0; }
.pager a:hover { background: rgba(var(--accent-rgb), 0.07); }
.pager a + a { border-left: 1px solid var(--ink-line); text-align: right; align-items: flex-end; }
.pager .k { font-family: var(--font-sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-bright); }
.pager .v { font-family: var(--font-display); font-size: 1.3rem; color: var(--paper); line-height: 1.15; }

/* ─────────── IDEAL-FOR LINE ─────────── */
.ideal { display: flex; align-items: flex-start; gap: 1rem; max-width: 46rem; margin: 0 auto; text-align: left; }
.ideal .mk { width: 30px; height: 8px; flex: none; margin-top: 0.55rem; background: var(--accent-bright); -webkit-mask: var(--meander-key) repeat-x center / auto 8px; mask: var(--meander-key) repeat-x center / auto 8px; }
.ideal p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; color: var(--paper); }

@media (max-width: 640px) {
  .page-hero { min-height: 48vh; }
  .shots-grid { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: none; border-top: 1px solid var(--ink-line); }
}
