/* Shared page hero (Kanso, Mitsuke, Academy, Plans, Future, About, Introduction).
   Order inside .ph-in: breadcrumb, eyebrow, status pill (only where needed), h1, Japanese lead, short English line, links or CTA.
   Loaded last. The tripled class keeps these rules above the older per-page hero styles. */
:root{
  --ph-wide:1280px;
  --ph-gutter:clamp(24px,5vw,88px);
  --ph-pad-top:clamp(12px,2vw,24px);
  --ph-pad-bottom:clamp(36px,5vw,64px);
  --ph-crumb-gap:clamp(16px,3vw,32px);
  --ph-h1:clamp(40px,5vw,64px);
  --ph-h1-lh:1.3;
  --ph-eyebrow-gap:14px;
  --ph-h1-gap:24px;
  --ph-lead:clamp(17px,1.6vw,19px);
  --ph-lead-lh:1.8;
  --ph-en-gap:12px;
  --ph-after-en:24px;
  --ph-en:14px;
  --ph-en-color:#5f6155;
  --ph-pill-h:32px;
}
@media(max-width:900px){:root{--ph-gutter:28px}}
@media(max-width:650px){:root{--ph-gutter:22px;--ph-h1:clamp(26px,8.4vw,40px);--ph-en:13px}}

/* Same content width and left edge on the three pages that used the narrower wrap */
:is(.pricing-body,.academy-body,.intro-body) :is(.price-wrap,.nv-next .section-wrap){width:min(var(--ph-wide),calc(100% - 2*var(--ph-gutter)));max-width:none}

.ph-hero.ph-hero.ph-hero{position:relative;box-sizing:border-box;margin:0;padding:var(--ph-pad-top) 0 var(--ph-pad-bottom);background:var(--hu-cream);color:var(--hu-ink);border-radius:0 0 var(--hu-rb) var(--hu-rb-s)}
.ph-hero.ph-hero.ph-hero .ph-in{position:relative;box-sizing:border-box;width:min(var(--ph-wide),calc(100% - 2*var(--ph-gutter)));max-width:none;margin-inline:auto;padding:0}
.ph-hero.ph-hero.ph-hero .nv-crumb{width:auto;margin:0 0 var(--ph-crumb-gap);padding:0}
.ph-hero.ph-hero.ph-hero .ph-eyebrow{display:block;margin:0 0 var(--ph-eyebrow-gap);font-family:var(--font-body);font-size:13px;font-weight:700;line-height:1.6;letter-spacing:.14em;color:var(--hu-label)}
.ph-hero.ph-hero.ph-hero .ph-status{display:flex;align-items:center;box-sizing:border-box;width:fit-content;height:var(--ph-pill-h);margin:0 0 12px;padding:0 14px;border:1.5px solid var(--hu-ink);border-radius:999px;background:var(--hu-yellow);color:var(--hu-ink);font-size:13px;font-weight:700;line-height:1}
.ph-hero.ph-hero.ph-hero .ph-title{max-width:none;margin:0 0 var(--ph-h1-gap);padding:0;font-family:var(--font-title,serif);font-size:var(--ph-h1);font-weight:600;line-height:var(--ph-h1-lh);letter-spacing:.01em;color:var(--hu-ink);word-break:auto-phrase;overflow-wrap:anywhere}
/* Latin wordmarks sit smaller than kanji at the same size: scale up a little, keep the same line box */
.ph-hero.ph-hero.ph-hero .ph-title--latin{font-size:calc(var(--ph-h1)*1.12);line-height:calc(var(--ph-h1-lh)/1.12);letter-spacing:0}
.ph-hero.ph-hero.ph-hero .ph-lead{max-width:40em;margin:0;font-family:var(--font-body);font-size:var(--ph-lead);font-weight:400;line-height:var(--ph-lead-lh);letter-spacing:0;color:var(--hu-text)}
.ph-hero.ph-hero.ph-hero .ph-en{max-width:40em;margin:var(--ph-en-gap) 0 0;font-family:var(--font-body);font-size:var(--ph-en);font-weight:500;line-height:1.6;letter-spacing:.02em;color:var(--ph-en-color)}
.ph-hero.ph-hero.ph-hero .nv-jump{margin-top:24px}
.ph-hero.ph-hero.ph-hero .shin-cue{margin:28px 0 0}

/* Final alignment pass.
   1) Eyebrow and English line: one color on every page. On Kanso, Mitsuke, Future and About a
      `.scroll-story section:not()…p` rule in shin-refresh.css out-ranked the three-class selectors above. */
.ph-hero.ph-hero.ph-hero.ph-hero .ph-eyebrow{color:var(--hu-label)}
.ph-hero.ph-hero.ph-hero.ph-hero .ph-en{color:var(--ph-en-color)}
/* 2) Same gap after the English line, whatever follows it (page links, body copy, SHIN cue). */
.ph-hero.ph-hero.ph-hero.ph-hero .ph-en+*{margin-top:var(--ph-after-en)}
/* 3) One title style on the inner pages: no underline or marker. The yellow marker stays a Home-only accent. */
.ph-hero.ph-hero.ph-hero .ph-title :is(span,em){border:0;background:none;color:inherit;font-style:normal}
.ph-hero.ph-hero.ph-hero .ph-title em::after{content:none}
/* 4) Home hero on the same column grid as the inner pages and the Home sections below it.
      Only the side padding changes; the large title, actions, art and 3D cards are untouched. */
.split-shell .sr-hero.sr-hero{padding-inline:0}
.split-shell .sr-hero .sr-hero-inner{box-sizing:border-box;width:min(var(--ph-wide),calc(100% - 2*var(--ph-gutter)));max-width:none;margin-inline:auto}
/* The 22px gutter leaves 4px less than before at 320px: keep the Home eyebrow on one line */
@media(max-width:360px){.split-shell .sr-hero .eyebrow{letter-spacing:.03em}}
