/* Co-operator editorial photography redesign — mobile-first, 2026-10-20.
   Works alongside original cooperator-public.css; no changes to portal styles. */
:root { --photo-overlay:linear-gradient(180deg, transparent 45%,rgba(9,29,25,.68) 100%); }
html { overflow-x:clip; }
body { overflow-x:clip; }
/* PHONES FIRST: photography is the opening moment, not a small illustration. */
.hero { display:flex; flex-direction:column; min-height:0; background:#f5f3eb; }
.hero-visual { order:-1; width:100%; height:auto; aspect-ratio:4 / 3; min-height:310px; overflow:hidden; }
.hero-visual>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 52%; }
.hero-visual:after { background:var(--photo-overlay); }
.hero-copy { padding:35px 24px 48px; }
.hero h1 { font-size:clamp(39px,10.4vw,62px); line-height:1.07; }
.hero .eyebrow { margin-bottom:17px; }
.hero-description { max-width:600px; margin:22px 0; font-size:16px; line-height:1.7; }
.hero-bottom { flex-wrap:wrap; }
.hero-image-caption { font-size:10px; letter-spacing:.07em; bottom:18px; left:20px; right:20px; }
.image-label { top:20px;left:20px;font-size:11px; }
/* Large full-width visual bands. */
.process,.fee-band { display:flex; flex-direction:column; }
.process-photo,.fee-band-image { width:100%; min-height:0; height:auto; aspect-ratio:5/4; overflow:hidden; position:relative; }
.process-photo>img,.fee-band-image img { width:100%; height:100%; inset:0; position:absolute; object-fit:cover; }
.process-photo>img { object-position:60% center; filter:none; }
.photo-stamp,.fee-image-caption { left:24px; right:24px; bottom:26px; font-size:clamp(25px,7vw,35px); text-shadow:0 3px 12px #0a271b; }
.process-copy,.fee-band-copy { padding:48px 24px 54px; }
/* Less cramped content cards and accessible touch targets. */
.section { padding:64px 24px; }
.button,.menu-toggle,.mobile-nav a { min-height:44px; }
.menu-toggle { display:inline-flex; align-items:center; }
.header { height:76px; padding:12px 20px; }
.header .brand { width:min(215px,59vw); }
.header nav,.header-cta { display:none!important; }
.mobile-nav { top:76px; }
.mobile-nav a { display:flex; align-items:center; border-bottom:1px solid #e4e9e1; font-size:15px; }
/* Avoid three unreadable KPI columns on narrow devices. */
@media(max-width:520px){
 .dash-metrics { grid-template-columns:1fr; gap:10px; }
 .dash-metrics>div { min-height:82px; padding:13px 17px; }
 .dash-metrics strong { font-size:29px; margin:3px 0; }
 .dash-metrics span,.dash-metrics small { min-height:0; font-size:11px; }
 .dashboard-section { padding-left:12px; padding-right:12px; }
 .dashboard-heading { padding-left:12px; padding-right:12px; }
 .hero-image-caption span:last-child { display:none; }
}
/* Tablet: retain imagery first, then introduce wider text columns. */
@media(min-width:700px){
 .hero-visual { aspect-ratio:16/9; max-height:650px; }
 .hero-copy,.process-copy,.fee-band-copy { padding-left:7vw; padding-right:7vw; }
 .hero h1 { font-size:clamp(50px,6.5vw,74px); }
 .process-photo,.fee-band-image { aspect-ratio:16/9; }
 .hero-image-caption { left:36px;right:36px;bottom:28px; }
 .image-label { left:36px;top:30px; }
 .photo-stamp,.fee-image-caption { left:7vw;bottom:44px; }
 .dash-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
/* PC BACKFILL: strong split panels, maintaining cinematic photos. */
@media(min-width:1060px){
 .header { height:99px; padding:18px max(4.3vw,24px); }
 .header nav { display:flex!important; }
 .header-cta { display:inline-flex!important; }
 .menu-toggle { display:none; }
 .hero { display:grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); min-height:690px; }
 .hero-copy { grid-column:1; grid-row:1; padding:75px 5vw 48px 6.2vw; }
 .hero-visual { order:initial; grid-column:2;grid-row:1; width:100%;height:auto;max-height:none;aspect-ratio:auto;min-height:690px; }
 .hero-visual>img { object-position:48% center; }
 .process,.fee-band { display:grid;grid-template-columns:1fr 1fr; }
 .process-photo,.fee-band-image { width:100%;height:100%;min-height:630px;aspect-ratio:auto; }
 .process-copy,.fee-band-copy { padding:72px 5.5vw; }
 .photo-stamp,.fee-image-caption { left:9%;right:8%;bottom:48px;font-size:36px; }
 .section { padding:100px max(6.2vw,24px); }
}
@media(prefers-reduced-motion:reduce){.hero-visual>img,.process-photo>img,.fee-band-image img { transition:none!important; }}
