/* mobile-polish v1 (Nov 23, 2026) — layout-only fixes on top of Xena's v5 styles; no font/color/motion changes. */
/* 1. Header: true-centre the logo on tablet/mobile, menu button pinned right */
@media (width<=960px){
  .site-header__row{position:relative}
  .site-header .brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;line-height:0}
  .site-header .brand picture,.site-header .brand img{display:block}
  .site-header .brand img{width:84px}
  .site-header .nav-toggle{margin-left:auto}
}
/* 2. Scroll cue: shown only while a topic story is waiting for its first scroll (see home.mp1.js);
      sits clear of the topic chips. Offer cards stop above the chips instead of running under them. */
.home-v5 .scroll-cue{bottom:calc(var(--stop-menu-h,6rem) + 1rem)}
.home-v5 .home-offer{bottom:calc(var(--stop-menu-h,5.5rem) + .5rem)}
@media (width<=700px){
  .home-v5 .scroll-cue{bottom:calc(var(--stop-menu-h,8.5rem) + .85rem)}
  .home-v5 .home-offer{bottom:calc(var(--stop-menu-h,8.5rem) + .5rem)}
}
/* 3. Footer: no underlines (colour change on hover/focus), even rhythm, clear groups */
.site-footer a,.footer-legal__links a,.footer-legal__prefs{text-decoration:none}
.site-footer a:hover,.site-footer a:focus-visible,.footer-legal__links a:hover,.footer-legal__links a:focus-visible,.footer-legal__prefs:hover,.footer-legal__prefs:focus-visible{color:var(--kr-white)}
.footer-grid .footer-h{margin:0 0 var(--kr-space-3)}
.footer-grid ul{gap:var(--kr-space-2)}
.footer-grid ul+.footer-h{margin-top:var(--kr-space-5)}
.footer-grid li{line-height:1.45}
.footer-brand{display:grid;gap:var(--kr-space-2);align-content:start}
.footer-brand p{margin:0}
.footer-brand .footer-name{margin-bottom:var(--kr-space-1)}
.footer-brand .footer-founder{margin-top:var(--kr-space-2)}
.footer-contact a[href^=tel\:]{white-space:nowrap}
.footer-contact .footer-tf{display:block;color:var(--kr-gray-100);font-size:var(--kr-text-small)}
.footer-company{margin:0}
@media (width<=600px){ .footer-grid{gap:var(--kr-space-6) var(--kr-space-5);grid-template-columns:1fr 1fr} .footer-brand,.footer-contact{grid-column:1/-1} }
/* mobile-polish v2 (Nov 23, 2026) */
/* Footer address: street on line 1, suite + city on line 2; no mid-phrase wraps except on the narrowest phones */
.footer-address .fa-line{white-space:nowrap}
@media (width<=359px){ .footer-address .fa-line{white-space:normal} }
/* Phones: Skip/Back become one right-aligned row tucked under the header; story copy and topic cards start below it */
@media (width<=700px){
  .home-v5 .home-controls{left:.75rem;right:.75rem;top:calc(var(--home-chrome) + .25rem);flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem}
  .home-v5 .home-controls button{min-height:44px}
  .home-v5 .beat{top:calc(var(--home-chrome) + 44px + 1rem)}
  .home-v5 .home-offer{top:calc(var(--home-chrome) + 44px + .75rem)}
}
/* Phone footer: Consulting | Services side by side, then Company and Get in touch full width (no awkward wraps) */
@media (width<=600px){
  .footer-grid nav[aria-label="Consulting and services"]{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) max-content;grid-template-rows:auto auto;grid-auto-flow:column;column-gap:var(--kr-space-5)}
  .footer-grid nav[aria-label="Consulting and services"] ul+.footer-h{margin-top:0}
  .footer-grid nav[aria-label="Company"]{grid-column:1/-1}
}
/* Desktop footer: a little more room for the contact column so the booking link stays on one line */
@media (width>=961px){ .footer-grid{grid-template-columns:1.25fr .9fr 1fr 1.3fr} }
.footer-founder a{white-space:nowrap}
@media (width<=600px){ .footer-grid nav[aria-label="Consulting and services"]{align-items:start} .footer-grid nav[aria-label="Consulting and services"] ul{align-content:start} }
