/* Mazhaka Foundation V45 — restore original editorial storytelling on mobile.
   V44 remains the baseline, including its hero, intro logo, social content,
   updated programmes, archive, and navigation. Only the sections previously
   suppressed or over-condensed are restored here. */
@media (max-width:850px) {
  /* Original Our Work visual carousel, including navigation and progress. */
  .work {padding:clamp(54px,10vw,76px) 0 clamp(56px,10vw,82px) !important;}
  .work .work-stage {display:block!important;padding:0 var(--gutter);margin:0;}
  .work .work-lead {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:end;padding:0 0 28px;}
  .work .work-lead > div:first-child {grid-column:1 / -1;}
  .work h2 {font-size:clamp(44px,9vw,70px);line-height:1.02;margin:0 0 17px;}
  .work .work-lead p {max-width:560px;font-size:clamp(14px,3.3vw,16px);line-height:1.7;margin:0 0 16px;}
  .work .work-lead .link-u {display:inline-flex!important;grid-column:auto;align-self:center;width:fit-content;color:var(--cream);}
  .work .rail-nav {display:flex!important;grid-column:2;grid-row:auto;justify-self:end;gap:10px;}
  .work .rail-btn{width:44px;height:44px;}
  .work .rail {display:flex!important;gap:12px;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter) 2px;scroll-padding-left:var(--gutter);}
  .work .card {flex:0 0 min(78vw,360px);height:clamp(425px,110vw,520px);}
  .work .rail-progress{display:block!important;margin-top:30px;}
  /* Keep the two full-height editorial statements with their real images. */
  body .manifesto {display:flex!important;min-height:clamp(470px,78svh,650px);padding:clamp(70px,13vw,110px) var(--gutter);}
  body .manifesto h2 {font-size:clamp(60px,11vw,92px);max-width:12ch;}
  body .manifesto p {font-size:clamp(15px,3.8vw,18px);line-height:1.7;}
  body .story#impact {display:block!important;padding:clamp(68px,12vw,110px) var(--gutter);}
  body .story#impact .story-top {display:block;margin-bottom:clamp(30px,6vw,50px);}
  body .story#impact h2{font-size:clamp(58px,10.6vw,88px);line-height:1.02;}
  body .story#impact .story-top p{font-size:clamp(15px,3.9vw,19px);line-height:1.65;max-width:560px;margin:22px 0 0;}
  body .story#impact .story-main{display:grid;grid-template-columns:1fr;min-height:0;}
  body .story#impact .story-img{min-height:clamp(390px,98vw,640px);}
  body .story#impact .story-box{min-height:380px;padding:clamp(30px,7vw,52px);}
  body .story#impact .big-num{font-size:clamp(150px,34vw,235px);}
  body .stripe{display:grid!important;grid-template-columns:1fr;}
  body .stripe .stripe-img{height:clamp(340px,82vw,540px);min-height:0;}
  body .stripe .stripe-copy{padding:clamp(60px,12vw,92px) var(--gutter);}
  body .stripe h2{font-size:clamp(54px,10.5vw,86px);line-height:.99;}
  /* The compact mobile programme directory remains exactly as V44 defined it. */
  /* Photo pair at the house handover was part of the story. */
  .journal{padding:clamp(65px,12vw,92px) var(--gutter);}
  .v37-house-photo-set{display:grid;grid-template-columns:1.24fr .76fr;gap:8px;min-height:0;height:clamp(250px,63vw,420px);}
  .v37-photo-primary,.v37-photo-secondary{display:block!important;min-width:0;width:100%;height:100%;}
  .v37-house-copy{padding-top:14px;}
  .v37-quiet-link{display:inline-block;}
  /* Redundant mobile-only statistics strip is replaced by the restored chapter. */
  .proof-strip{display:none!important;}
  /* Distinct sections should both be available in the mobile navigation. */
  .mobile-menu .mobile-menu-primary > a[href="#work"]{display:flex!important;}
}
@media (max-width:480px) {
  .work .work-lead{gap:10px 12px;}
  .work .work-lead p{font-size:13.5px;}
  .work .work-lead .link-u{font-size:12px;}
  .work .rail-btn{height:43px;width:43px;}
  .work .card{flex-basis:min(84vw,348px);height:clamp(420px,115vw,500px);}
  body .story#impact .story-img{min-height:clamp(370px,98vw,540px);}
  body .story#impact .story-img figcaption{font-size:10px;line-height:1.5;letter-spacing:.1em;}
  .v37-house-photo-set{height:clamp(245px,69vw,330px);}
}
@media (max-width:355px) {
  .work .work-lead{grid-template-columns:1fr;}
  .work .rail-nav{grid-column:1;justify-self:end;}
}
@media (prefers-reduced-motion:reduce) {
 .work .card img{transition:none!important;}
}


/* Mazhaka V48 — clean editorial actions. Keep links readable without
   separate decorative rules that resemble accidental underlines. */
.v37-house-copy .v37-underline-action,
.v37-house-copy .v37-quiet-link,
.archive-feature-action,
.v37-social-visit,
.v37-post-link {
  border-bottom: 0;
  text-decoration: none;
  padding-bottom: 0;
}
/* The arrow and text treatment already communicate clickability. */
:is(.v37-underline-action,.v37-quiet-link,.archive-feature-action,
    .v37-social-visit,.v37-post-link) span[aria-hidden="true"] {
  display: inline-block;
  transition: transform .22s ease;
}
@media (hover:hover) {
  :is(.v37-underline-action,.v37-quiet-link,.archive-feature-action,
      .v37-social-visit,.v37-post-link):hover span[aria-hidden="true"] {
    transform: translate(3px, -2px);
  }
}
@media (prefers-reduced-motion:reduce) {
  :is(.v37-underline-action,.v37-quiet-link,.archive-feature-action,
      .v37-social-visit,.v37-post-link) span[aria-hidden="true"] {transition:none;}
}
