/* r12: annotated mobile layout; desktop follows the same reading order. */
.hero{height:auto;min-height:100svh;max-height:none}
.hero-logo img{filter:brightness(0) invert(1)}
.hero-copy{top:34%}
.hero-copy .hero-cta{margin-bottom:0}
.photo-controls{display:none!important}

/* The subsidy notice starts directly after the full hero photograph. */
.support-banner--after-hero{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);width:100%;max-width:none;min-width:0;margin:0;padding:34px max(6%,calc((100% - 1120px)/2));background-color:#08285b;background-image:linear-gradient(90deg,rgba(7,30,70,.88),rgba(6,33,78,.78)),url('../images/subsidy-planning-generated.webp');background-blend-mode:multiply,normal;background-size:cover;background-position:center;color:#fff;box-shadow:none}
.support-banner--after-hero .support-banner-heading,.support-banner--after-hero .support-banner-action{min-width:0}
.support-banner--after-hero .support-banner-action p{width:100%;max-width:none;color:#fff;line-height:1.75}
.support-banner--after-hero .support-banner-action>a{background:#ffdf55;color:#111;max-width:360px}
.support-banner--after-hero .support-banner-action>a:before{background:#ffe97e}

/* Let each blue line follow its own text, while sharing a common left edge. */
.intro-body .intro-audience{display:block;width:auto;max-width:100%;padding:0!important;margin-bottom:24px;background:none!important;border:0!important;color:#fff;line-height:1.75}
.intro-audience span{background:#0b3e95;color:#fff;padding:.15em .42em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.intro-audience br{display:block}
.intro-body .text-link,.intro-body .intro-phone{box-sizing:border-box;width:min(100%,430px);max-width:100%;margin-left:0;margin-right:0}
.intro-body .text-link{display:inline-flex;justify-content:center;align-items:center;text-align:center}
.intro-body .intro-phone{display:inline-flex}

/* The introductory image stays, but no redundant photo switch is shown. */
.guide-photo-controls{display:none!important}

/* Product: title, photo, then uninterrupted detail in ordinary page flow. */
.work-detail,.work-detail:nth-of-type(even),.large-text .work-detail,.large-text .work-detail:nth-of-type(even){display:flex;flex-direction:column;align-items:stretch;min-height:0;height:auto;grid-template-columns:none;grid-template-areas:none;gap:0;padding:76px max(6%,calc((100% - 1120px)/2));background:#fff}
.work-detail:before,.work-detail:nth-of-type(even):before{display:none}
.work-detail-head,.detail-copy{width:min(100%,900px);max-width:900px;margin-left:auto;margin-right:auto;padding:0;grid-area:auto}
.work-detail-head{margin-bottom:28px}
.work-detail .detail-photo,.work-detail:nth-of-type(even) .detail-photo,.large-text .work-detail .detail-photo{position:static;top:auto;display:block;width:min(100%,900px);max-width:900px;height:auto;min-height:0;margin:0 auto 24px;padding:0;grid-area:auto}
.work-detail .product-photo-stage{width:100%;aspect-ratio:16/10;min-height:0}
.work-detail .product-photo{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;transform:none}
.product-reading-shell{display:block;position:static}
.product-reading-window,.large-text .product-reading-window{display:block;width:100%;height:auto;max-height:none;min-height:0;overflow:visible;overscroll-behavior:auto;padding:24px 32px 12px;border:1px solid #d8dadd;background:#fff}
.product-reading-window .work-pair{margin:0 0 32px}
.product-reading-window .work-pair+.work-pair{margin-top:6px}
.work-detail .detail-copy .product-scroll-hint,.work-detail .detail-copy .reading-fade,.work-detail .detail-copy .product-reading-exit{display:none}
.work-detail .consult-row{margin-top:20px}

/* Schedule photograph spans the section width; text stays in its readable column. */
.schedule-body h3{max-width:none}
.schedule-photo{max-width:none;width:100%}
.schedule-photo img{width:100%;height:100%;object-fit:cover}

/* Make the three projects distinguishable without boxed-card repetition. */
.case-grid{gap:0}
.case-entry,.case-entry:nth-child(2),.case-entry:nth-child(3){min-width:0}
.case-entry+.case-entry{border-top:1px solid #bfc5cf;padding-top:44px;margin-top:44px}

/* The CEO image leads the preserved original message. */
.message,.large-text .message{display:flex;flex-direction:column;align-items:stretch;gap:0}
.message-photo,.large-text .message-photo{order:0;position:static;align-self:center;width:min(100%,760px);max-width:760px;height:auto;max-height:none;aspect-ratio:auto;min-height:0;margin:0 auto 32px;overflow:hidden}
.message-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.message-copy{order:1;width:min(100%,900px);max-width:900px;margin-inline:auto}

/* Company-information footer only; fixed mobile actions retain their own styling. */
.site-footer{background:#e8eaee;color:#171a20}
.site-footer :is(p,small,strong){color:#171a20}
.site-footer a{color:#102d64}
.site-footer a:hover,.site-footer a:focus-visible{color:#073b9b}

@media(max-width:900px){
  .hero,.large-text .hero{box-sizing:border-box;display:flex;align-items:flex-end;width:100%;height:auto;min-height:calc(100svh - 48px);max-height:none;padding:128px 24px 96px}
  .hero-logo,.large-text .hero-logo{position:absolute;top:58px;left:24px;width:min(210px,60vw);max-width:none;margin:0}
  .hero-copy,.large-text .hero-copy{position:relative;inset:auto;width:100%;max-width:100%;margin:0}
  .hero-copy h1{font-size:clamp(1.8rem,8vw,2.25rem);line-height:1.3;margin-bottom:18px}
  .hero-copy p{line-height:1.55}
  .hero-copy .hero-cta{margin-top:18px}
  .support-banner--after-hero{display:block;width:100%;margin:0;padding:28px 24px 32px;background-position:65% center}
  .support-banner--after-hero .support-banner-action>a{max-width:none}
  .intro-body .intro-audience{font-size:1.0625rem;line-height:1.8}
  .guide-photo-pair{display:block;margin:0 0 22px}
  .guide-photo-pair figure:first-child{display:none}
  .guide-photo-pair figure:nth-child(2){display:block;width:100vw;max-width:none;height:auto;aspect-ratio:4/3;margin:0 0 0 calc(50% - 50vw);transform:none}
  .guide-photo-pair figure:nth-child(2) img{width:100%;height:100%;object-fit:cover}
  .work-detail,.work-detail:nth-of-type(even),.large-text .work-detail,.large-text .work-detail:nth-of-type(even){padding:52px 24px 64px}
  .work-detail-head{margin-bottom:22px}
  .work-detail .detail-photo,.work-detail:nth-of-type(even) .detail-photo,.large-text .work-detail .detail-photo{width:100vw;max-width:none;margin:0 0 20px calc(50% - 50vw)}
  .work-detail .product-photo-stage{aspect-ratio:4/3}
  .work-detail .detail-copy{width:100%;padding:0}
  .product-reading-window,.large-text .product-reading-window{width:100%;height:auto;max-height:none;min-height:0;padding:20px 16px 8px;overflow:visible}
  .schedule-body h3{font-size:clamp(1.125rem,5.3vw,1.5rem);line-height:1.5;letter-spacing:0}
  .schedule-photo{width:100vw;max-width:none;margin:28px 0 0 calc(50% - 50vw);aspect-ratio:16/10}
  .case-entry,.case-entry:nth-child(2),.case-entry:nth-child(3){margin-bottom:0;padding-bottom:32px}
  .case-entry+.case-entry{padding-top:40px;margin-top:8px}
  .case-photo{display:block;width:100vw;max-width:none;margin-left:calc(50% - 50vw);aspect-ratio:4/3}
  .case-description{margin:22px 8px 0}
  .message,.large-text .message{padding:52px 24px 64px}
  .message-photo,.large-text .message-photo{width:100%;max-width:none;margin:0 auto 28px;aspect-ratio:auto}
  .message-photo img{width:100%;height:auto;object-fit:contain}
  .message-copy{width:100%;padding:0}
  .site-footer{background:#e8eaee;color:#171a20}
}
@media(max-width:359px){
  .hero,.large-text .hero{padding:114px 20px 88px}
  .hero-logo,.large-text .hero-logo{left:20px;top:54px;width:min(180px,60vw)}
  .hero-copy h1{font-size:1.75rem}
  .support-banner--after-hero{padding:24px 20px 28px}
  .work-detail,.work-detail:nth-of-type(even),.large-text .work-detail,.large-text .work-detail:nth-of-type(even){padding-inline:20px}
  .product-reading-window,.large-text .product-reading-window{padding-inline:12px}
  .schedule-body h3{font-size:1.0625rem}
}
@media(max-height:650px) and (max-width:900px){
  .hero,.large-text .hero{padding-top:108px;padding-bottom:48px}
  .hero-logo,.large-text .hero-logo{top:46px}
}
@media(prefers-reduced-motion:reduce){.hero-logo img{transition:none}.product-photo{animation:none!important}}
