/* MOVANCE primary-navigation interior pages: approved Home v2 editorial composition.
 * Visual source: src/styles/home.css (2026-10-07 approved Home).
 * Applies only where .editorial-masthead/.editorial-hero are explicitly present;
 * does not restyle dynamic product detail pages, legal pages, or Web Solutions.
 * Keep original page copy, functionality, analytics, SEO, and semantics.
 */
:root {
  --editorial-ink:#07162b;
  --editorial-blue:#0755c8;
  --editorial-navy:#08355b;
  --editorial-muted:#465773;
  --editorial-line:#e3eaf2;
  --editorial-pale:#f4f7fb;
}
body:is(.products-page,.works-page,.journal-page,.about-page,.contact-page) .editorial-masthead {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#eaf3fa;
  background-image:none;
}
body :is(.products-masthead,.journal-masthead,.about-masthead).editorial-masthead::before {
  content:none;
  display:none;
}
body .editorial-masthead > .editorial-hero-scene {
  position:absolute;
  inset:0 0 0 auto;
  width:88%;
  z-index:-2;
  pointer-events:none;
}
body .editorial-masthead > .editorial-hero-scene img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 46%;
}
body .editorial-masthead > .editorial-hero-wash {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg,#f5faff 0%,#f5faffed 24%,#f5faffd6 34%,#f5faff80 48%,#f5faff00 66%);
}
body .editorial-masthead .editorial-hero {
  width:min(calc(100% - 64px),1240px);
  max-width:1240px;
  margin-inline:auto;
  height:auto;
  min-height:442px;
  padding:42px 0 45px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  position:relative;
  z-index:0;
  text-align:left;
}
body .editorial-masthead .editorial-hero > :not(.products-motto):not(.journal-motto):not(.about-motto) {
  max-width:min(610px,55%);
}
body .editorial-masthead .editorial-hero :is(.section-kicker,.journal-kicker,.about-kicker,.v2-eyebrow,.label) {
  border:0;
  padding:0;
  color:#2862a8;
  font-size:12px;
  line-height:1.5;
  font-weight:600;
  letter-spacing:.16em;
}
body .editorial-masthead .editorial-hero h1 {
  color:var(--editorial-ink);
  font-family:Arial,'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;
  font-size:clamp(36px,3.85vw,53px);
  font-weight:750;
  letter-spacing:-.042em;
  line-height:1.30;
  margin:13px 0 16px;
  text-wrap:pretty;
}
body.journal-page .journal-masthead.editorial-masthead .journal-hero h1 {
  font-size:clamp(34px,3.2vw,46px);
}
body .editorial-masthead .editorial-hero p:not(.products-motto):not(.journal-motto):not(.about-motto) {
  color:var(--editorial-muted);
  font-size:15px;
  line-height:1.8;
}
body .editorial-masthead .editorial-hero .page-purpose {
  font-size:16px;
  color:var(--editorial-navy);
  font-weight:700;
  margin-bottom:12px;
}
body .editorial-masthead .editorial-hero :is(.products-motto,.journal-motto,.about-motto) {
  right:max(28px,calc((100% - 1240px)/2));
  bottom:14px;
  font-size:10px;
  letter-spacing:.12em;
  padding:5px 8px;
  background:#ffffffd9;
  color:#294363;
  border-radius:2px;
  line-height:1.45;
}
body .editorial-masthead .editorial-hero :is(.products-motto,.journal-motto,.about-motto) span {display:none}
body .editorial-masthead .editorial-hero .products-hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:22px;
}
body .editorial-masthead .editorial-hero .products-hero-actions :is(.button,.text-link),
body .editorial-masthead .editorial-cta-primary,
body .editorial-masthead .editorial-cta-secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 22px;
  border-radius:4px;
  border:1px solid #91accb;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
  gap:14px;
  transition:background .2s ease;
}
body .editorial-masthead :is(.products-hero-actions .button.dark,.editorial-cta-primary) {
  background:var(--editorial-navy);
  color:white;
  border-color:var(--editorial-navy);
}
body .editorial-masthead :is(.products-hero-actions .text-link,.editorial-cta-secondary) {
  background:#fff;
  color:#09244b;
}
body .editorial-masthead :is(.products-hero-actions .button.dark,.editorial-cta-primary):hover {background:#062943}
body .editorial-masthead :is(.products-hero-actions .text-link,.editorial-cta-secondary):hover {background:#f0f5fc}
body .editorial-masthead .editorial-hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

/* The same 1240px editorial page grid and understated section rhythm. */
body:is(.products-page,.journal-page,.about-page) :is(.container) {
  width:min(calc(100% - 64px),1240px);
  max-width:1240px;
}
body:is(.products-page,.journal-page,.about-page) :is(.catalog-section,.categories-section,.journal-content,.about-section) {
  padding-block:40px;
  border-bottom:1px solid var(--editorial-line);
}
body.products-page .catalog-section {background:#fff}
body.products-page .categories-section {background:linear-gradient(100deg,#f9fbfd,#fff 57%)}
body.products-page .catalog-grid {gap:20px}
body.products-page .catalog-card {
  background:#f5f7fa;
  border-color:var(--editorial-line);
  border-radius:7px;
  box-shadow:none;
  padding:22px;
}
body.products-page .catalog-card:hover {border-color:#a5c0e6;background:#f0f5fc;transform:translateY(-2px)}
body.products-page .catalog-preview {border-radius:5px}
body.products-page .category-filters button,
body.journal-page .journal-filters button {
  background:#f5f7fa;
  border:1px solid var(--editorial-line);
  border-radius:4px;
  color:var(--editorial-navy);
  min-height:42px;
  padding:10px 16px;
}
body.products-page .category-filters button.active,
body.journal-page .journal-filters button.active {
  background:var(--editorial-navy);
  border-color:var(--editorial-navy);
  color:#fff;
}
body.products-page .category-card {background:#f5f7fa;border-color:var(--editorial-line);border-radius:7px}

/* Journal as a Home-v2 editorial grid, preserving its search & filters. */
body.journal-page .journal-content {background:#fff}
body.journal-page .journal-tools {margin-bottom:30px}
body.journal-page .journal-search {border-radius:4px;box-shadow:none;border-color:var(--editorial-line)}
body.journal-page .journal-layout {gap:24px}
body.journal-page .journal-grid {gap:20px}
body.journal-page .journal-card {
  background:#f5f7fa;
  border-color:var(--editorial-line);
  border-radius:7px;
  box-shadow:none;
}
body.journal-page .journal-sidebar > section {background:#f5f7fa;border-radius:7px;border:1px solid var(--editorial-line)}

/* About: Home-v2 side-by-side intro panels and pale utility cards. */
body.about-page .about-section {padding-block:46px}
body.about-page .mission-grid {grid-template-columns:minmax(0,365px) minmax(0,1fr);gap:30px}
body.about-page .mission-grid .about-intro {padding-right:0}
body.about-page .about-split {grid-template-columns:minmax(0,365px) minmax(0,1fr);gap:30px}
body.about-page .belief-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.about-page .belief-grid article {
  background:#f5f7fa;
  border:1px solid var(--editorial-line);
  border-radius:7px;
  min-height:158px;
  padding:20px 15px;
}
body.about-page .mission-grid > img {border-radius:5px;aspect-ratio:2.3}
body.about-page .about-offers-grid {gap:20px}
body.about-page .about-offer {border-color:var(--editorial-line);background:#f5f7fa;border-radius:7px}
body.about-page .about-intro h2 {font-size:clamp(25px,2.6vw,34px);letter-spacing:-.035em;line-height:1.4}

/* CTA bands share Home's sky/pale surface, CTA spacing and hierarchy. */
body.products-page .problem-section,
body.journal-page .journal-bottom,
body.about-page .about-bottom {
  background:#eaf4fe;
  background-image:none;
  border-top:1px solid var(--editorial-line);
}
body:is(.journal-page,.about-page) :is(.journal-bottom,.about-bottom)::before {content:none;display:none}
body.products-page .problem-inner,
body.journal-page .journal-bottom > .container,
body.about-page .about-bottom-inner {min-height:200px;padding-block:42px}
body:is(.products-page,.journal-page,.about-page) :is(.problem-section,.journal-bottom,.about-bottom) h2 {
  font-size:clamp(25px,2.6vw,36px);
  font-weight:750;
  color:var(--editorial-ink);
  line-height:1.35;
}
body:is(.products-page,.journal-page,.about-page) :is(.problem-section,.journal-bottom,.about-bottom) a.button {
  background:var(--editorial-navy);
  color:white;
  border:1px solid var(--editorial-navy);
  border-radius:4px;
  min-height:48px;
  padding:12px 22px;
}

/* Works already has a Home-v2 photographic hero; align its geometry. */
body.works-page .wk-hero--index.editorial-masthead {height:auto;min-height:442px;padding:0}
body.works-page .wk-hero--index .wk-hero-shell.editorial-hero {
  width:min(calc(100% - 64px),1240px);
  min-height:442px;
  padding:42px 0 45px;
  display:flex;
  flex-direction:row;
  align-items:flex-start;
}
body.works-page .wk-hero--index .wk-hero-copy {width:min(610px,55%);max-width:100%}
body.works-page .wk-hero--index .wk-hero-scene.editorial-hero-scene {width:88%}
body.works-page .wk-hero--index .wk-hero-wash.editorial-hero-wash {background:linear-gradient(90deg,#f5faff 0%,#f5faffed 24%,#f5faffd6 34%,#f5faff80 48%,transparent 66%)}
body.works-page .wk-hero--index .wk-actions .v2-button {min-height:48px;border-radius:4px}
body.works-page .wk-block {padding-block:48px}

/* Contact: actual separate hero and usable form section. No form logic changes. */
body.contact-page .contact-hero.editorial-masthead {
  min-height:0;
  padding:0;
  background:#eaf3fa;
}
body.contact-page .contact-hero .contact-inner.editorial-hero {
  max-width:1240px;
  padding:42px 0 48px;
  min-height:442px;
  display:block;
  text-align:left;
}
body.contact-page .contact-hero .editorial-hero > :not(.editorial-hero-actions) {max-width:min(610px,55%)}
body.contact-page .contact-hero .editorial-hero h1 {
  font-size:clamp(36px,3.85vw,53px);
  line-height:1.3;
  margin:13px 0 16px;
}
body.contact-page .contact-hero .editorial-hero .contact-lead {
  max-width:min(610px,55%);
  margin:12px 0 0;
  line-height:1.8;
  font-size:14px;
}
body.contact-page .contact-panel {background:#fff;padding:54px 0 80px;border-top:1px solid var(--editorial-line)}
body.contact-page .contact-panel .contact-inner {max-width:780px;width:min(calc(100% - 64px),780px);text-align:left}
body.contact-page .contact-direct {max-width:none;margin:0 0 28px;padding:22px 24px;border-color:var(--editorial-line);border-radius:7px;background:#f5f7fa}
body.contact-page .contact-form {max-width:none;gap:20px}
body.contact-page .contact-form :is(input,textarea,select) {border-radius:4px}
body.contact-page .contact-submit-row .button.dark {min-height:48px;border-radius:4px;background:var(--editorial-navy);border-color:var(--editorial-navy)}
body.contact-page .contact-submit-row {align-items:flex-start;text-align:left}
body.contact-page .contact-submit-row .button {align-self:flex-start}
body.contact-page .contact-status {margin-left:0}
body.contact-page .contact-note {margin-left:0}

@media(max-width:1100px) and (min-width:761px) {
  body .editorial-masthead .editorial-hero > :not(.products-motto):not(.journal-motto):not(.about-motto) {max-width:61%}
  body .editorial-masthead .editorial-hero h1 {font-size:clamp(32px,3.65vw,43px)}
  body.works-page .wk-hero--index .wk-hero-copy {width:61%}
  body.contact-page .contact-hero .editorial-hero > :not(.editorial-hero-actions) {max-width:61%}
  body.contact-page .contact-hero .editorial-hero .contact-lead {max-width:61%}
  body.about-page .about-split,body.about-page .mission-grid {grid-template-columns:minmax(0,31%) minmax(0,1fr)}
  body.about-page .belief-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px) {
  body:is(.products-page,.journal-page,.about-page) .container,
  body .editorial-masthead .editorial-hero,
  body.works-page .wk-hero--index .wk-hero-shell.editorial-hero,
  body.contact-page .contact-panel .contact-inner {
    width:calc(100% - 40px);
  }
  body .editorial-masthead > .editorial-hero-scene {
    inset:auto 0 0;
    width:100%;
    height:265px;
  }
  body .editorial-masthead > .editorial-hero-wash {
    background:linear-gradient(180deg,#f5faff 0%,#f5faff 43%,#f5faffdb 58%,transparent 82%);
  }
  body .editorial-masthead .editorial-hero,
  body.contact-page .contact-hero .contact-inner.editorial-hero {
    min-height:0;
    padding:32px 0 265px;
    display:block;
  }
  body .editorial-masthead .editorial-hero > :not(.products-motto):not(.journal-motto):not(.about-motto),
  body.contact-page .contact-hero .editorial-hero > :not(.editorial-hero-actions),
  body.contact-page .contact-hero .editorial-hero .contact-lead {max-width:100%}
  body .editorial-masthead .editorial-hero h1,
  body.contact-page .contact-hero .editorial-hero h1 {font-size:clamp(28px,7.65vw,38px);line-height:1.36}
  body.journal-page .journal-masthead.editorial-masthead .journal-hero h1 {font-size:clamp(27px,7.3vw,36px)}
  body .editorial-masthead .editorial-hero p:not(.products-motto):not(.journal-motto):not(.about-motto) {font-size:14px}
  body .editorial-masthead .editorial-hero :is(.products-motto,.journal-motto,.about-motto) {display:none}
  body .editorial-masthead .editorial-hero .products-hero-actions,
  body .editorial-masthead .editorial-hero .editorial-hero-actions {align-items:stretch;gap:10px}
  body .editorial-masthead .editorial-hero .products-hero-actions :is(.button,.text-link),
  body .editorial-masthead .editorial-hero .editorial-hero-actions a {min-height:44px;font-size:12px;padding:11px 15px}
  body:is(.products-page,.journal-page,.about-page) :is(.catalog-section,.categories-section,.journal-content,.about-section) {padding-block:30px}
  body.products-page .catalog-grid {gap:14px}
  body.products-page .catalog-card {padding:18px}
  body.journal-page .journal-grid {gap:14px}
  body.about-page .mission-grid,body.about-page .about-split {grid-template-columns:minmax(0,1fr);gap:24px}
  body.about-page .belief-grid {grid-template-columns:minmax(0,1fr);gap:12px}
  body.about-page .belief-grid article {min-height:0;padding:18px 15px}
  body.works-page .wk-hero--index .wk-hero-shell.editorial-hero {min-height:0;padding:32px 0 265px}
  body.works-page .wk-hero--index .wk-hero-scene.editorial-hero-scene {inset:auto 0 0;width:100%;height:265px}
  body.works-page .wk-hero--index .wk-hero-copy {width:100%}
  body.contact-page .contact-panel {padding:30px 0 56px}
  body.contact-page .contact-panel .contact-inner {width:calc(100% - 40px)}
  body.contact-page .contact-direct {padding:18px}
  body.contact-page .contact-submit-row {align-items:stretch}
  body.contact-page .contact-submit-row .button {align-self:stretch}
}
@media(prefers-reduced-motion:reduce) {
  body .editorial-masthead *,body .editorial-masthead *::before,body .editorial-masthead *::after {transition:none!important;animation:none!important}
}
