/* Mobile-only redesign approved November 20. Keep desktop hero unchanged. */
.sana-landing-body .landing-menu-toggle,
.sana-landing-body .landing-mobile-cta { display:none; }

/* Both yellow section-strip titles use the same typography at every viewport. */
.sana-landing-body .landing-next-section,
.sana-landing-body .sana-home-approach-strip h2 {
  font-family:'Courier New',Courier,monospace;
  font-size:14px;
  font-weight:700;
  line-height:1.35;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.sana-landing-body .sana-home-approach-strip { min-height:54px; }

@media (max-width:760px) {
  .sana-landing-body .landing-topbar {
    width:calc(100% - 36px) !important;
    display:flex !important;flex-direction:row !important;justify-content:space-between;align-items:center !important;
    padding:22px 0 12px !important;gap:12px !important;position:relative;z-index:20;
  }
  .sana-landing-body .landing-wordmark { font-size:clamp(22px,6vw,29px) !important;margin:0 auto 0 0 !important; }
  .sana-landing-body .landing-menu-toggle {
    display:flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;
    min-height:44px;padding:6px 9px;color:#161616;border:1.5px solid #171717;
    border-radius:11px;background:transparent;font:700 14px/1 Georgia,serif;cursor:pointer;
  }
  .sana-landing-body .landing-menu-icon {display:grid;gap:4px;width:19px;}
  .sana-landing-body .landing-menu-icon span {height:2px;border-radius:2px;background:#171717;width:100%;}
  .sana-landing-body .landing-nav {
    display:none !important;position:absolute;z-index:30;top:calc(100% + 5px);right:0;
    width:min(290px,100%) !important;flex-direction:column !important;align-items:stretch !important;
    gap:0 !important;padding:10px 17px !important;border:1px solid #c4c9b9;border-radius:12px;
    background:#F8FFED;box-shadow:0 10px 28px rgba(0,0,0,.12);
  }
  .sana-landing-body .landing-nav.is-open {display:flex !important;}
  .sana-landing-body .landing-nav a {display:block !important;text-align:left !important;font-size:17px !important;padding:12px 4px !important;}
  .sana-landing-body .landing-nav a+a {border-top:1px solid #e5e8d9;}
  .sana-landing-body .landing-hero {
    width:calc(100% - 36px) !important;display:flex !important;flex-direction:column;align-items:stretch;
    gap:0 !important;min-height:0 !important;padding:26px 0 112px !important;
  }
  .sana-landing-body .landing-welcome {order:0;align-self:stretch;padding:0 !important;}
  .sana-landing-body .landing-welcome h1 {
    font-size:clamp(43px,10vw,65px) !important;line-height:1.04;margin:0 0 27px !important;letter-spacing:-.035em;
  }
  .sana-landing-body .landing-portrait-and-bio {
    display:grid !important;grid-template-columns:minmax(0, .92fr) minmax(0, 1.25fr);
    align-items:center !important;gap:20px 16px !important;
  }
  .sana-landing-body .landing-portrait-frame {
    grid-column:1;grid-row:1;justify-self:start;width:min(100%,170px) !important;
    height:auto !important;aspect-ratio:1; padding:4px;
  }
  /* Uniform photo inset: image centered independently of the border ring. */
  .sana-landing-body .landing-portrait-frame {
    position:relative !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    padding:0 !important;
    background:#F8FFED !important;
    border-radius:50% !important;
  }
  .sana-landing-body .landing-portrait-frame img {
    position:absolute !important;
    display:block !important;
    inset:5px !important;
    width:calc(100% - 10px) !important;
    height:calc(100% - 10px) !important;
    max-width:none !important;
    border-radius:50% !important;
    object-fit:cover !important;
    object-position:50% 20% !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
  }
  .sana-landing-body .landing-mobile-cta {
    grid-column:2;grid-row:1;justify-self:stretch;position:relative;
    display:flex;align-items:center;justify-content:center;gap:6px;
    min-height:57px;padding:12px 10px;text-align:center;white-space:nowrap;
    border-radius:100px;background:#FFD346;color:#101010;text-decoration:none;
    font:700 clamp(14px,4.4vw,22px)/1.15 Georgia,serif;
  }
  .sana-landing-body .landing-mobile-cta::before {
    content:'';position:absolute;left:-10px;top:-10px;bottom:-10px;border-left:2px solid #d9a8ef;
  }
  .sana-landing-body .landing-cta-rays {position:absolute;top:-23px;right:12px;width:50px;height:25px;pointer-events:none;}
  .sana-landing-body .landing-cta-rays i {position:absolute;display:block;background:#FFC222;width:5px;height:17px;border-radius:5px;}
  .sana-landing-body .landing-cta-rays i:nth-child(1){left:5px;top:3px;transform:rotate(8deg)}
  .sana-landing-body .landing-cta-rays i:nth-child(2){left:23px;top:0;transform:rotate(31deg)}
  .sana-landing-body .landing-cta-rays i:nth-child(3){left:40px;top:7px;transform:rotate(55deg)}
  .sana-landing-body .landing-bio {grid-column:1/-1;grid-row:2;}
  .sana-landing-body .landing-profession {font-size:clamp(23px,6.2vw,32px) !important;line-height:1.16;margin-bottom:13px !important;}
  .sana-landing-body .landing-credentials {font-size:clamp(15px,3.7vw,18px) !important;line-height:1.5;padding-left:25px !important;}
  .sana-landing-body .landing-credentials li {margin:2px 0;}
  .sana-landing-body .landing-belief-teaser {margin:30px 0 35px !important;text-align:left !important;}
  .sana-landing-body .landing-belief-main {font-size:clamp(16px,4.1vw,19px) !important;line-height:1.5;}
  .sana-landing-body .landing-belief-sub {font-size:clamp(15px,3.8vw,18px) !important;line-height:1.55;margin-top:13px !important;}
  .sana-landing-body .landing-service-circles {
    order:1;display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:clamp(9px,2.5vw,17px) !important;margin:0 0 12px !important;
  }
  .sana-landing-body .landing-service-circle {
    width:100% !important;height:auto !important;aspect-ratio:1;min-width:0;
    padding:8px 5px !important;font-size:clamp(11px,2.9vw,17px) !important;line-height:1.14;overflow-wrap:break-word;
  }
  .sana-landing-body .landing-next-section {
    min-height:54px !important;font-size:clamp(10px,2.75vw,13px) !important;
    line-height:1.35;padding:12px 14px;letter-spacing:.055em;
  }
  .sana-landing-body .sana-home-approach-strip {min-height:54px !important;}
  .sana-landing-body .sana-home-approach-strip h2 {font-size:clamp(10px,2.75vw,13px) !important;letter-spacing:.055em;}
  .sana-landing-body .landing-menu-toggle:focus-visible,
  .sana-landing-body .landing-mobile-cta:focus-visible {outline:3px solid #171717;outline-offset:4px;}
}
@media (max-width:350px) {
  .sana-landing-body .landing-portrait-and-bio{grid-template-columns:minmax(0, 0.9fr) minmax(0,1.3fr);gap:18px 12px !important;}
  .sana-landing-body .landing-mobile-cta{font-size:13px;min-height:50px;}
}
@media (prefers-reduced-motion:reduce) {
  .sana-landing-body .landing-menu-toggle, .sana-landing-body .landing-mobile-cta{transition:none;}
}

/* Desktop: the first screen finishes at the yellow People & Projects strip.
   The section below remains fully accessible by scrolling or clicking the strip. */
@media (min-width:761px) {
  .sana-landing-body .landing-hero {
    min-height:calc(100svh - 75px) !important;
    padding-bottom:100px !important;
  }
  .sana-landing-body .landing-next-section {
    bottom:0 !important;
    min-height:64px !important;
    box-shadow:none !important;
    z-index:2;
  }
  .sana-landing-body .sana-home-people {padding-top:56px !important;}
}

/* Mobile-only content order: welcome → portrait/credentials → circles → belief. */
@media (max-width:760px) {
  .sana-landing-body .landing-welcome {
    display:contents !important;
  }
  .sana-landing-body .landing-welcome h1 { order:0; }
  .sana-landing-body .landing-portrait-and-bio { order:1; }
  .sana-landing-body .landing-service-circles {
    order:2;
    margin-top:26px !important;
    margin-bottom:0 !important;
  }
  .sana-landing-body .landing-belief-teaser {
    order:3;
    margin:26px 0 12px !important;
  }
}
