/* Photo page heroes (new-photos branch). Picture sits behind the text; a light neutral scrim sits only where the
   headline is (left) plus a thin wash under the nav. Text carries its own shadow. Wide screens get a taller hero so
   the 2:1 photo is not cropped to a thin strip. */
.page-hero--photo{background:#08191f}
@media (min-width:900px){.page-hero--photo{min-height:clamp(560px,43vw,900px)}}
.page-hero__bg{position:absolute;inset:0;z-index:0;display:block;overflow:hidden}
.page-hero__bg img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--hero-pos,50% 50%);filter:saturate(1.16) contrast(1.05) brightness(1.06)}
.page-hero__bg::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(ellipse 46% 80% at 25% 48%,rgba(4,14,18,.50) 0%,rgba(4,14,18,.34) 50%,rgba(4,14,18,0) 100%),
    linear-gradient(100deg,rgba(4,14,18,.32) 0%,rgba(4,14,18,.22) 30%,rgba(4,14,18,.07) 58%,rgba(4,14,18,0) 84%),
    linear-gradient(180deg,rgba(4,14,18,.48) 0%,rgba(4,14,18,.24) 16%,rgba(4,14,18,0) 32%,rgba(4,14,18,0) 66%,rgba(4,14,18,.12) 100%)}
.page-hero--photo>.container{position:relative;z-index:1}
/* small labels sit on a live photo: lighter aqua keeps the brand hue, shadow carries contrast */
.page-hero--photo .eyebrow{color:#c9f7fb}
.page-hero--photo .crumb,.page-hero--photo .crumb a{color:#e8f7f9}
.page-hero--photo .crumb span{color:#a9f1f8}
/* white text on a live photo: pure white, a touch heavier, tight dark edge + soft halo */
.page-hero--photo .page-hero__sub{color:#fff;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.95),0 0 6px rgba(0,0,0,.85),0 0 16px rgba(0,0,0,.75),0 0 34px rgba(0,0,0,.6)}
.page-hero--photo .eyebrow,.page-hero--photo .crumb{text-shadow:0 1px 2px rgba(0,0,0,.95),0 0 6px rgba(0,0,0,.85),0 0 14px rgba(0,0,0,.75),0 0 28px rgba(0,0,0,.55)}
.page-hero--photo .page-hero__title{text-shadow:0 1px 3px rgba(0,0,0,.75),0 0 12px rgba(0,0,0,.5),0 4px 30px rgba(0,0,0,.75),0 2px 8px rgba(0,0,0,.75)}
.page-hero--photo .page-hero__title .teal{color:#7ee6f2}
@media (max-width:640px){
  .page-hero__bg::after{background:
    linear-gradient(180deg,rgba(4,14,18,.54) 0%,rgba(4,14,18,.44) 45%,rgba(4,14,18,.54) 100%)}
}

/* Header text anchors to the left on wide screens so it sits where it does at 1440px (about 128px in)
   instead of drifting right with the centred 1280px container. Applies to every page header that loads this file. */
@media (min-width:1441px){.page-hero>.container{margin-left:80px;margin-right:0}}

/* Nav pages (Our Story through Financing), 2026-11-16, Ryan: under the hero the first screen shows only
   light space, a dark teal band, then light space; no body text peeks in at the bottom of the screen.
   The hero grows to (screen height - separator - visible part of the next section's top padding), so the first
   heading always starts just below the fold. Band matches .sec-band (planning.html). Next section is .sec.mist on all 7 pages. */
/* Under the photo hero (2026-11-16, Ryan): a trust strip attached to the hero, then a wide water-line mark in the light space.
   The first screen ends on the mark; body text starts below the fold (tests: v3/foldcheck.js). */
.trust-strip{background:var(--ink);border-top:1px solid rgba(95,213,228,.35);color:#e6f1f3}
.trust-strip .container{display:flex;justify-content:space-between;align-items:center;gap:12px 28px;padding-top:22px;padding-bottom:22px}
.trust-strip .ti{display:flex;align-items:baseline;gap:10px;white-space:nowrap}
.trust-strip .tn{font-family:var(--disp);font-size:30px;line-height:1;color:#fff}
.trust-strip a.tn{color:var(--teal-br);text-decoration:none}
.trust-strip a.tn:hover,.trust-strip a.tn:focus-visible{text-decoration:underline;text-underline-offset:4px}
.trust-strip .tl{font-size:12px;letter-spacing:1.6px;text-transform:uppercase;color:#9fc4cb}
.trust-strip .tsep{width:1px;height:26px;background:rgba(95,213,228,.28)}
.hero-sep{background:var(--mist);padding-top:40px}
.sep-mark{display:flex;align-items:center;justify-content:center;gap:26px}
.sep-mark .rule{height:1px;flex:1 1 0;max-width:560px;background:linear-gradient(90deg,rgba(14,125,140,0),rgba(14,125,140,.45))}
.sep-mark .rule:last-child{transform:scaleX(-1)}
.sep-mark svg{width:60px;height:18px;flex:none;display:block}
.hero-sep .sep-mark{width:min(1184px,calc(100% - 44px));margin:0 auto}
.page-hero--fill{min-height:max(500px,calc(100vh - 264px));min-height:max(500px,calc(100svh - 264px));padding-bottom:24px}   /* phone: strip ~152 + 40 + 18 mark + ~54 of the next section's top padding */
@media (min-width:861px){
  .page-hero--fill{min-height:max(460px,calc(100vh - 196px));min-height:max(460px,calc(100svh - 196px));padding-bottom:32px}   /* strip 75 + 40 + 18 + ~63 */
}
@media (min-width:981px){
  .hero-sep{padding-top:64px}
  .page-hero--fill{min-height:max(560px,calc(100vh - 264px));min-height:max(560px,calc(100svh - 264px));padding-bottom:40px}   /* strip 75 + 64 + 18 + ~107 of the 120px top padding */
}
@media (min-width:861px) and (max-width:1180px){
  .trust-strip .ti{flex-direction:column;gap:5px;white-space:normal}
  .trust-strip .tn{font-size:28px}
}
@media (max-width:860px){
  .trust-strip .container{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px;padding-top:20px;padding-bottom:20px}
  .trust-strip .tsep{display:none}
  .trust-strip .ti{flex-direction:column;gap:4px;white-space:normal}
  .trust-strip .tn{font-size:26px}
  .trust-strip .tl{font-size:10.5px;letter-spacing:1.3px}
  .sep-mark{gap:18px}
}
/* short laptop screens (720-820px tall): trim hero padding so taller headers (Process, Service Area) still leave the band on screen */
@media (min-width:981px) and (max-height:820px){.page-hero--fill{padding:140px 0 24px}}
/* short phones (≤760px tall): trim hero padding so the longest header (Service Area) still leaves the trust strip and mark on the first screen */
@media (max-width:700px) and (max-height:760px){.page-hero--fill{padding-top:112px;padding-bottom:24px}}
/* Same strip + mark position on every nav page: hero bottom padding is trimmed (above) so the tallest header
   (Process, Service Area) still fits inside the shared hero height instead of stretching it. Checked by v3/samepos.js. */

/* Phones (Ryan, 2026-11-24, the auditor's mobile photo sweep, Option A): the top photo is its own 4:3 band under the logo,
   showing the whole width of the wide photo (about 67% of a 2:1 photo, 89% of a 3:2, all of a 4:3), and the eyebrow, title and
   words sit BELOW it on the dark background instead of over a tall crop (it showed about a third of the photo). Phones get the
   wide files (1200w / 2400w, chosen by the band's real need), not the 900w portrait crop. Desktop and tablets are unchanged:
   every rule is inside this phone-width query. */
@media (max-width:640px){
  .page-hero.page-hero--photo{display:flex;flex-direction:column;min-height:0!important;padding:108px 0 30px!important}   /* 108 = the phone header's height: the band starts under it */
  .page-hero--photo .page-hero__bg{position:relative;inset:auto;flex:none;width:100%;aspect-ratio:4/3;height:auto}
  .page-hero--photo .page-hero__bg img{object-position:50% 50%}
  .page-hero--photo .page-hero__bg::after{display:none}
  .page-hero--photo>.container{margin-top:26px}
}
