@media (max-width:1240px){
  .home-hero{grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr)}
  .home-hero__copy{padding-left:clamp(34px,5vw,70px)}
  .ecosystem-grid{gap:12px}
  .ecosystem-card__content{padding:28px 24px 24px}
  .ecosystem-card__actions{display:grid;grid-template-columns:1fr}
  .ecosystem-card__actions .btn{width:100%}
  .division-chapter__grid,.division-chapter__grid--reverse{gap:60px}
  .pathway-grid{grid-template-columns:1.2fr .9fr .9fr}
}

@media (max-width:1040px){
  :root{--header-h:80px}
  .header-inner{width:min(calc(100% - 38px),var(--shell));gap:20px}
  .main-nav>ul{gap:20px}
  .main-nav{gap:18px}
  .home-hero{grid-template-columns:1fr 1fr;min-height:680px}
  .home-hero__copy{padding-left:30px}
  .home-hero h1{font-size:clamp(3rem,5.8vw,4.9rem)}
  .value-chip{padding-inline:18px}
  .essence__grid{gap:50px}
  .ecosystem-grid{grid-template-columns:1fr 1fr}
  .ecosystem-card:last-child{grid-column:1/-1;grid-template-columns:1fr .9fr;grid-template-rows:auto}
  .ecosystem-card:last-child .ecosystem-card__media{min-height:360px}
  .division-chapter__grid,.division-chapter__grid--reverse{grid-template-columns:1fr 1fr;gap:46px}
  .chapter-services{grid-template-columns:1fr}
  .chapter-services>div,.chapter-services>div:nth-child(even),.chapter-services>div:nth-child(n+3){padding:22px 0;border-right:0;border-bottom:1px solid var(--line)}
  .chapter-services>div:last-child{border-bottom:0}
  .pathway-grid{grid-template-columns:1fr 1fr}
  .pathway-card--large{grid-column:1/-1;min-height:560px}
  .method-track{grid-template-columns:repeat(3,1fr)}
  .method-track li:nth-child(3){border-right:0}
  .method-track li:nth-child(-n+3){border-bottom:1px solid var(--line)}
  .footer-top{grid-template-columns:1.4fr 1fr 1fr}
  .footer-contact{grid-column:2/4}
  .page-hero__grid,.content-grid,.page-cta__grid{gap:55px}
  .wizard-shell{background:linear-gradient(90deg,var(--charcoal-2) 0 30%,var(--cream) 30% 100%)}
}

@media (max-width:900px){
  :root{--header-h:72px}
  .site-header{
    overflow:visible;
  }
  .shell{width:min(calc(100% - 40px),var(--shell))}
  .header-inner{width:calc(100% - 36px)}
  .brand img{width:128px}
  .brand>span{font-size:.46rem}
  .menu-toggle{display:grid;position:relative;z-index:950}
  .main-nav{
    position:absolute;
    z-index:930;
    top:100%;
    left:0;
    right:0;
    width:100vw;
    height:calc(100dvh - var(--header-h));
    display:block;
    padding:22px max(20px,env(safe-area-inset-right)) calc(50px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));
    background:var(--cream);
    border-top:1px solid var(--line);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    transform:translateX(100%);
    visibility:hidden;
    pointer-events:none;
    transition:transform .32s var(--ease),visibility .32s ease;
  }
  body.menu-open .main-nav{
    transform:translateX(0);
    visibility:visible;
    pointer-events:auto;
  }
  .main-nav>ul{display:grid;gap:0}
  .main-nav>ul>li{border-bottom:1px solid var(--line)}
  .main-nav>ul>li>a,.main-nav>ul>li>button{display:flex;width:100%;justify-content:space-between;padding:18px 2px;font-size:1rem;text-align:left}
  .main-nav>ul>li>a::after,.main-nav>ul>li>button::after{display:none}
  .header-cta{
    width:100%;
    min-height:50px;
    margin-top:24px;
    justify-content:center;
    border-radius:999px
  }
  .main-nav>ul>li>a,
  .main-nav>ul>li>button{
    min-height:58px;
    letter-spacing:.01em
  }
  .main-nav>ul>li>a.is-active,
  .main-nav>ul>li>button.is-active{
    color:var(--studio)
  }
  .mega-menu{
    position:static;
    width:100%;
    display:none;
    grid-template-columns:1fr;
    gap:10px;
    margin:0;
    padding:10px 0 18px;
    overflow:visible;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:transparent;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none!important
  }
  .has-mega.is-open .mega-menu{display:grid}
  .mega-intro{display:none}

  .mega-card{
    min-height:0;
    display:grid;
    grid-template-columns:88px minmax(0,1fr) 38px;
    grid-template-rows:auto auto;
    align-items:center;
    column-gap:16px;
    row-gap:4px;
    padding:17px 14px;
    border:1px solid var(--line);
    border-radius:12px;
    background:rgba(255,255,255,.36);
    box-shadow:none;
    transform:none!important
  }
  .mega-card::before{
    top:0;
    bottom:0;
    right:auto;
    width:3px;
    height:auto;
    transform:scaleY(1)
  }
  .mega-card__number{display:none}
  .mega-card img{
    grid-column:1;
    grid-row:1/3;
    width:82px;
    height:auto;
    max-height:48px;
    margin:0;
    object-fit:contain;
    object-position:left center
  }
  .mega-card strong{
    grid-column:2;
    grid-row:1;
    margin:0;
    font-size:1.15rem;
    line-height:1.05
  }
  .mega-card small{
    grid-column:2;
    grid-row:2;
    max-width:none;
    padding:0;
    font-size:.74rem;
    line-height:1.4
  }
  .mega-card__arrow{
    position:static;
    grid-column:3;
    grid-row:1/3;
    width:34px;
    height:34px;
    font-size:1rem
  }

  .home-hero{min-height:auto;grid-template-columns:1fr}
  .home-hero__copy{padding:74px 20px 62px}
  .home-hero__copy-inner{width:min(100%,760px);margin:auto}
  .home-hero h1{font-size:clamp(3.1rem,9vw,5rem)}
  .home-hero__media{min-height:560px}
  .value-strip__grid{grid-template-columns:1fr 1fr}
  .value-chip{min-height:96px;padding:20px;border-bottom:1px solid var(--line)}
  .value-chip:nth-child(2){border-right:0}
  .value-chip:nth-child(3),.value-chip:nth-child(4){border-bottom:0}
  .value-chip:nth-child(3){padding-left:0}

  .essence__grid,.division-chapter__grid,.division-chapter__grid--reverse,.page-hero__grid,.content-grid,.page-cta__grid,.wizard-layout{grid-template-columns:1fr}
  .essence__media{height:540px}
  .section-intro{grid-template-columns:1fr;gap:24px}
  .section-intro>.text-link{justify-self:start}
  .ecosystem-grid{grid-template-columns:1fr}
  .ecosystem-card,.ecosystem-card:last-child{grid-column:auto;grid-template-columns:1fr;grid-template-rows:auto 260px}
  .ecosystem-card:last-child .ecosystem-card__media{min-height:0}
  .division-chapter__grid--reverse .division-chapter__copy,.division-chapter__grid--reverse .division-chapter__media{order:initial}
  .division-chapter__media{height:650px;order:2}
  .division-chapter__copy{order:1}
  .chapter-services{grid-template-columns:repeat(2,1fr)}
  .chapter-services>div,.chapter-services>div:nth-child(even),.chapter-services>div:nth-child(n+3){padding:24px 20px 24px 0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .chapter-services>div:nth-child(even){padding-left:20px;border-right:0}
  .chapter-services>div:nth-child(n+3){border-bottom:0}
  .audience-grid{grid-template-columns:1fr}
  .audience-grid article,.audience-grid article:first-child,.audience-grid article:last-child{min-height:auto;padding:28px 0;border-right:0;border-bottom:1px solid var(--line-light)}
  .audience-grid article:last-child{border-bottom:0}
  .audience-grid h3{margin-top:20px}
  .insight-home-grid{grid-template-columns:1fr}
  .insight-home-grid>a{min-height:240px}
  .footer-top{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .footer-contact{grid-column:auto}
  .page-hero__media{height:460px}
  .page-cta__side{padding:24px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.18)}
  .wizard-shell{background:var(--cream);padding-top:0}
  .wizard-aside{position:static;margin-inline:-20px;padding:55px 20px;background:var(--charcoal-2)}
  .wizard-card{margin-top:0}
}

@media (max-width:680px){
  :root{--display:clamp(2.75rem,13.5vw,4.15rem);--h1:clamp(2.7rem,12vw,4rem);--h2:clamp(2.05rem,9.5vw,3.15rem);--h3:clamp(1.55rem,7vw,2.1rem)}
  .shell{width:calc(100% - 36px)}
  .section{padding:78px 0}
  .home-hero__copy{padding:58px 18px 52px}
  .home-hero h1{font-size:var(--display);line-height:1.02}
  .hero-actions{display:grid}
  .hero-actions .btn{width:100%}
  .home-hero__media{min-height:440px}
  .home-hero__vertical-copy{top:8%;right:6%;font-size:.57rem}
  .value-chip{gap:12px;padding:18px 10px}
  .value-chip strong{font-size:1.1rem}
  .value-chip small{font-size:.7rem}
  .value-chip>.material-symbols-rounded{font-size:1.65rem}
  .essence__media{height:430px}
  .essence__principles{grid-template-columns:1fr}
  .essence__principles>div,.essence__principles>div:first-child,.essence__principles>div:last-child{min-height:auto;padding:20px 0;border-right:0;border-bottom:1px solid var(--line)}
  .essence__principles>div:last-child{border-bottom:0}
  .ecosystem-card{grid-template-rows:auto 220px}
  .ecosystem-card__content{padding:26px 22px 22px}
  .ecosystem-card__actions{grid-template-columns:1fr 1fr}
  .ecosystem-card__actions .btn{padding:10px 12px;font-size:.71rem}
  .division-chapter{padding:82px 0}
  .chapter-services{grid-template-columns:1fr}
  .chapter-services>div,.chapter-services>div:nth-child(even),.chapter-services>div:nth-child(n+3){padding:21px 0;border-right:0;border-bottom:1px solid var(--line)}
  .chapter-services>div:last-child{border-bottom:0}
  .chapter-actions{display:grid}
  .chapter-actions .btn{width:100%}
  .division-chapter__media{height:480px}
  .pathway-grid{grid-template-columns:1fr}
  .pathway-card,.pathway-card--large{grid-column:auto;min-height:460px}
  .method-track{grid-template-columns:1fr}
  .method-track li,.method-track li:first-child,.method-track li:last-child{min-height:auto;padding:22px 0;border-right:0;border-bottom:1px solid var(--line)}
  .method-track li:last-child{border-bottom:0}
  .method-track strong{margin-top:10px}
  .closing-cta{min-height:660px}
  .closing-cta__media::after{background:rgba(42,34,28,.76)}
  .closing-cta__content{padding:76px 0}
  .closing-cta__actions{align-items:flex-start;flex-direction:column}
  .footer-top{grid-template-columns:1fr;gap:36px}
  .footer-brand{grid-column:auto}
  .footer-bottom{flex-direction:column}
  .service-page-list,.card-grid,.choice-grid,.form-grid,.check-grid,.contact-cards{grid-template-columns:1fr}
  .page-hero{padding:64px 0}
  .page-hero .breadcrumbs{margin-bottom:30px}
  .page-hero__media{height:380px}
  .wizard-aside{margin-inline:-18px;padding-inline:18px}
  .wizard-card{padding:30px 20px}
  .wizard-actions{flex-direction:column-reverse}
  .wizard-actions .btn{width:100%}
}

@media (max-width:430px){
  .brand img{width:118px}
  .brand>span{display:none}
  .home-hero__media{min-height:390px}
  .value-strip__grid{grid-template-columns:1fr}
  .value-chip,.value-chip:first-child,.value-chip:nth-child(3),.value-chip:last-child{padding:16px 0;border-right:0;border-bottom:1px solid var(--line)}
  .value-chip:last-child{border-bottom:0}
  .ecosystem-card__actions{grid-template-columns:1fr}
  .page-hero__media{height:320px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  [data-reveal]{opacity:1!important;transform:none!important}
}
