/* =========================================================
   YYS Regeneration — Identity v3 (refined, photo-led)
   早稲田えんじ × 深緑 × 濃紺 ／ 洗練されたオフホワイト
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* — Surface (cool, refined off-white; not warm/skin tone) — */
  --c-paper:        #F4F2EC;   /* primary off-white, neutral cool */
  --c-paper-soft:   #FBFAF6;   /* highlight band */
  --c-paper-pure:   #FFFFFF;   /* pure white */
  --c-paper-dim:    #E8E4D9;   /* alternation */
  --c-paper-line:   rgba(15, 22, 32, 0.14);
  --c-paper-line-2: rgba(15, 22, 32, 0.06);
  --c-paper-mute:   rgba(15, 22, 32, 0.62);

  /* — Brand structural colors — */
  --c-crimson:      #8E1A2C;   /* 早稲田えんじ ／ Waseda crimson */
  --c-crimson-deep: #6E1424;
  --c-crimson-soft: #B6515F;
  --c-crimson-tint: #F4DDDF;

  --c-green:        #1F5A3F;   /* 深い再生緑 — refined emerald */
  --c-green-deep:   #0E3D27;
  --c-green-soft:   #4A8568;
  --c-green-tint:   #E1ECE5;

  --c-navy:         #0F2545;   /* 濃紺 — third structural color */
  --c-navy-deep:    #061533;
  --c-navy-soft:    #2A4570;
  --c-navy-tint:    #DEE3EC;

  /* — Ink (text) — */
  --c-ink:          #0F1620;   /* near-black, slight blue */
  --c-ink-soft:     #2C3949;

  --c-paper-on-ink:     rgba(244, 242, 236, 0.92);
  --c-paper-on-ink-mute:rgba(244, 242, 236, 0.62);

  /* — Accents (sparing) — */
  --c-teal:         #1F756F;
  --c-gold:         #A88B5A;

  /* — Type — */
  --f-display:  "Fraunces", "Noto Serif JP", Georgia, serif;
  --f-body:     "Inter", "Noto Sans JP", system-ui, sans-serif;
  --f-jp:       "Noto Sans JP", "Inter", system-ui, sans-serif;
  --f-jp-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  /* — Spacing — */
  --s-1:.25rem; --s-2:.5rem; --s-3:.75rem; --s-4:1rem;
  --s-5:1.5rem; --s-6:2rem;  --s-7:3rem;   --s-8:4rem;
  --s-9:6rem;   --s-10:8rem; --s-11:12rem;

  /* — Layout — */
  --container:        1320px;
  --container-narrow: 1000px;
  --container-prose:  720px;
  --pad-x: clamp(1.5rem, 4vw, 3rem);

  /* — Motion — */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 220ms; --t-mid: 460ms; --t-slow: 900ms;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
html, body { background: var(--c-paper); }
body {
  font-family: var(--f-jp);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-ink);
  letter-spacing: 0.02em;
  font-weight: 400;
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--c-crimson); color: var(--c-paper-soft); }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--c-crimson); color: var(--c-paper-soft);
  padding: .6rem 1rem; border-radius: 4px; z-index: 200;
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Typography helpers ---------- */
.kicker {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-crimson);
}
.kicker--green { color: var(--c-green); }
.kicker--navy  { color: var(--c-navy); }
.kicker--gold  { color: var(--c-gold); }
.kicker--paper { color: var(--c-paper-on-ink-mute); }

.kicker::before {
  content: "";
  display: inline-block; vertical-align: middle;
  width: 24px; height: 1px; background: currentColor;
  margin-right: 0.7rem; transform: translateY(-1px);
}

.lede {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: clamp(1rem, 0.6vw + 0.85rem, 1.2rem);
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--c-paper-mute);
  max-width: 56ch;
}
.lede em {
  font-family: var(--f-display);
  font-style: italic; font-weight: 380;
  color: var(--c-crimson);
}

.h-display {
  font-family: var(--f-jp);
  font-weight: 200;
  font-size: clamp(2rem, 4vw + 0.5rem, 4.4rem);
  line-height: 1.32;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  text-wrap: balance;
}
.h-display em { font-family: var(--f-display); font-style: italic; font-weight: 360; color: var(--c-crimson); letter-spacing: -0.005em; }
.h-display .green { color: var(--c-green); font-family: var(--f-display); font-style: italic; }

.h-section {
  font-family: var(--f-jp);
  font-weight: 200;
  font-size: clamp(1.8rem, 2.6vw + 0.4rem, 3.2rem);
  line-height: 1.42;
  letter-spacing: 0.05em;
  color: var(--c-ink);
  text-wrap: balance;
}
.h-section em { font-family: var(--f-display); font-style: italic; font-weight: 360; color: var(--c-crimson); }
.h-section .green { color: var(--c-green); font-family: var(--f-display); font-style: italic; }

/* ---------- 4. Layout primitives ---------- */
.container        { max-width: var(--container);        margin: 0 auto; padding-inline: var(--pad-x); }
.container--narrow{ max-width: var(--container-narrow); margin: 0 auto; padding-inline: var(--pad-x); }
.container--prose { max-width: var(--container-prose);  margin: 0 auto; padding-inline: var(--pad-x); }

.section            { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.section--tight     { padding-block: clamp(3rem, 5vw, 4rem); }
.section--white     { background: var(--c-paper-pure); }
.section--paper     { background: var(--c-paper); }
.section--dim       { background: var(--c-paper-dim); }
.section--green-tint   { background: var(--c-green-tint); }
.section--crimson-tint { background: var(--c-crimson-tint); }
.section--navy-tint    { background: var(--c-navy-tint); }

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  padding-block: var(--s-4);
  background: rgba(244, 242, 236, 0);
  transition: background var(--t-mid) var(--ease-soft), padding var(--t-mid) var(--ease-soft), border-color var(--t-mid) ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding-block: var(--s-3);
  border-bottom-color: var(--c-paper-line-2);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand__icon { width: 36px; height: 36px; flex-shrink: 0; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--f-display);
  font-weight: 380;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}
.brand__sub {
  font-family: var(--f-body);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-crimson);
  font-weight: 600;
  margin-top: 4px;
}
.nav__menu {
  display: flex; align-items: center;
  gap: clamp(1rem, 2vw, 2.2rem);
}
.nav__link {
  position: relative;
  padding: 0.4rem 0.1rem;
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  opacity: 0.78;
  transition: opacity var(--t-fast) ease, color var(--t-fast) ease;
}
.nav__link:hover { opacity: 1; }
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--c-crimson);
  transition: right var(--t-mid) var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { right: 0; }
.nav__link[aria-current="page"] { opacity: 1; color: var(--c-crimson); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--c-crimson); color: var(--c-paper-soft);
  border-radius: 999px;
  font-family: var(--f-jp);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: background var(--t-fast) ease, transform var(--t-fast) ease;
}
.nav__cta:hover { background: var(--c-crimson-deep); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--c-paper-line);
  border-radius: 999px;
  color: var(--c-ink);
}
.nav__toggle span { width: 18px; height: 1px; background: currentColor; position: relative; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: currentColor;
  transition: transform var(--t-mid) var(--ease-out);
}
.nav__toggle span::before { top: -5px; }
.nav__toggle span::after  { top:  5px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle span::after  { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 0;
    background: var(--c-paper-soft);
    flex-direction: column;
    align-items: flex-start; justify-content: center;
    gap: var(--s-5);
    padding: var(--s-9) var(--pad-x);
    transform: translateY(-100%);
    transition: transform var(--t-mid) var(--ease-out);
    font-size: 1.5rem;
  }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav__cta { align-self: flex-start; margin-top: var(--s-3); }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.btn--crimson { background: var(--c-crimson); color: var(--c-paper-soft); border-color: var(--c-crimson); }
.btn--crimson:hover { background: var(--c-crimson-deep); border-color: var(--c-crimson-deep); transform: translateY(-2px); }
.btn--green   { background: var(--c-green); color: var(--c-paper-soft); border-color: var(--c-green); }
.btn--green:hover { background: var(--c-green-deep); border-color: var(--c-green-deep); transform: translateY(-2px); }
.btn--ghost   { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-paper-soft); transform: translateY(-2px); }
.btn--ghost-paper { background: transparent; color: var(--c-paper-soft); border-color: var(--c-paper-soft); }
.btn--ghost-paper:hover { background: var(--c-paper-soft); color: var(--c-ink); transform: translateY(-2px); }
.btn .arr { transition: transform var(--t-fast) ease; }
.btn:hover .arr { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-jp);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-crimson);
  border-bottom: 1px solid var(--c-crimson);
  padding-bottom: 0.2rem;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.text-link:hover { color: var(--c-crimson-deep); }
.text-link--green { color: var(--c-green); border-bottom-color: var(--c-green); }
.text-link--green:hover { color: var(--c-green-deep); }
.text-link--paper { color: var(--c-paper-soft); border-bottom-color: var(--c-paper-soft); }
.text-link .arr { transition: transform var(--t-fast) ease; }
.text-link:hover .arr { transform: translateX(4px); }

/* ---------- 7. HOME HERO — split layout (text left, image right) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--c-paper);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.hero__left {
  padding: clamp(7rem, 14vh, 10rem) clamp(2rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  z-index: 2;
}
.hero__right {
  position: relative;
  overflow: hidden;
  background: var(--c-navy);
}
.hero__right img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__right::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 37, 69, 0.18) 0%, rgba(15, 22, 32, 0.05) 50%, rgba(31, 90, 63, 0.12) 100%);
  pointer-events: none;
}

.hero__pre {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--c-crimson);
  display: inline-flex; align-items: center; gap: 0.8rem;
}
.hero__pre::before {
  content: ""; width: 32px; height: 1px; background: var(--c-crimson);
}
.hero__title {
  font-family: var(--f-jp);
  font-weight: 200;
  font-size: clamp(2.4rem, 4.5vw + 0.5rem, 5.4rem);
  letter-spacing: 0.06em;
  line-height: 1.32;
  color: var(--c-ink);
  margin-top: var(--s-5);
  text-wrap: balance;
}
.hero__title em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 360;
  color: var(--c-crimson);
  letter-spacing: -0.005em;
}
.hero__title .green {
  color: var(--c-green);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 360;
}
.hero__sub {
  margin-top: var(--s-5);
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: clamp(0.95rem, 0.7vw + 0.7rem, 1.18rem);
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--c-paper-mute);
  max-width: 36ch;
}
.hero__foot {
  display: flex; justify-content: space-between; align-items: end;
  gap: var(--s-5);
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-paper-line);
}
.hero__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  flex: 1; max-width: 480px;
}
.hero__pillar { display: grid; gap: 0.3rem; }
.hero__pillar-num {
  font-family: var(--f-display);
  font-style: italic; font-weight: 380;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.hero__pillar-num--navy    { color: var(--c-navy); }
.hero__pillar-num--crimson { color: var(--c-crimson); }
.hero__pillar-num--green   { color: var(--c-green); }
.hero__pillar-name {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  color: var(--c-ink);
}
.hero__pillar-en {
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-paper-mute);
}

/* Hero credit (image attribution corner) */
.hero__credit {
  position: absolute; right: var(--s-5); bottom: var(--s-5);
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 242, 236, 0.55);
  z-index: 2;
}
.hero__credit::before {
  content: ""; display: inline-block;
  width: 18px; height: 1px;
  background: rgba(244, 242, 236, 0.55);
  margin-right: 0.6rem; transform: translateY(-3px);
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__right { aspect-ratio: 4/5; }
  .hero__left { padding-bottom: var(--s-7); }
}

/* ---------- 8. Page hero (sub-pages) ---------- */
.phero {
  position: relative;
  padding-top: clamp(8rem, 18vh, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-paper-line-2);
  overflow: hidden;
}
.phero--with-image {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  align-items: stretch;
  padding-bottom: 0;
}
.phero--with-image .phero__inner { padding-bottom: clamp(3rem, 6vw, 5rem); }
.phero--with-image .phero__media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--c-navy);
}
.phero--with-image .phero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero--with-image .phero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15, 37, 69, 0.10), rgba(31, 90, 63, 0.10));
  pointer-events: none;
}

.phero::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-crimson) 0%, var(--c-crimson) 30%, var(--c-green) 70%, var(--c-green) 100%);
  z-index: 3;
}
.phero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: minmax(80px, 0.4fr) 4fr;
  gap: var(--s-6);
  align-items: end;
}
.phero--with-image .phero__inner {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: stretch;
  max-width: none;
}
.phero__num {
  font-family: var(--f-display);
  font-style: italic; font-weight: 360;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--c-crimson);
  padding-top: 0.6rem;
  border-top: 1px solid var(--c-crimson);
  margin-top: var(--s-6);
}
.phero__body { padding-bottom: var(--s-3); }
.phero__eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-crimson);
  margin-bottom: var(--s-4);
}
.phero__title {
  font-family: var(--f-jp);
  font-weight: 200;
  font-size: clamp(2rem, 4vw + 0.5rem, 4.4rem);
  letter-spacing: 0.06em;
  line-height: 1.38;
  color: var(--c-ink);
  text-wrap: balance;
}
.phero__title em { font-family: var(--f-display); font-style: italic; font-weight: 360; color: var(--c-crimson); letter-spacing: -0.005em; }
.phero__title .green { color: var(--c-green); font-family: var(--f-display); font-style: italic; }
.phero__sub {
  margin-top: var(--s-4);
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: clamp(1rem, 0.8vw + 0.6rem, 1.2rem);
  letter-spacing: 0.06em;
  line-height: 1.95;
  color: var(--c-paper-mute);
  max-width: 56ch;
}

@media (max-width: 880px) {
  .phero--with-image { grid-template-columns: 1fr; }
  .phero--with-image .phero__media { min-height: 280px; aspect-ratio: 16/10; }
  .phero__inner { grid-template-columns: 1fr; }
  .phero__num { margin-top: 0; }
}

/* ---------- 9. Section heading band ---------- */
.head-band {
  display: grid;
  grid-template-columns: minmax(100px, 0.6fr) 4fr;
  gap: var(--s-7);
  align-items: end;
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--c-paper-line);
  margin-bottom: var(--s-8);
}
.head-band__num {
  font-family: var(--f-display);
  font-style: italic; font-weight: 360;
  font-size: 1.2rem; color: var(--c-crimson);
  letter-spacing: 0.04em;
}
.head-band__body { display: grid; gap: var(--s-3); }
.head-band__lede { margin-top: var(--s-3); max-width: 60ch; }
@media (max-width: 760px) { .head-band { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- 10. Domain cards (with photos) ---------- */
.domains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.domain {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--c-paper-soft);
  border: 1px solid var(--c-paper-line-2);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) ease, border-color var(--t-fast) ease;
}
.domain:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -28px rgba(15, 22, 32, 0.18);
}
.domain--infra  { border-top: 4px solid var(--c-navy); }
.domain--energy { border-top: 4px solid var(--c-crimson); }
.domain--beauty { border-top: 4px solid var(--c-green); }

.domain__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--c-paper-line-2);
  background: var(--c-paper-dim);
  position: relative;
}
.domain__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s var(--ease-out);
}
.domain:hover .domain__media img { transform: scale(1.04); }

.domain__body {
  padding: var(--s-6);
  display: flex; flex-direction: column;
  flex: 1;
}
.domain__num {
  font-family: var(--f-display);
  font-style: italic; font-weight: 380;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--s-3);
}
.domain--infra  .domain__num { color: var(--c-navy); }
.domain--energy .domain__num { color: var(--c-crimson); }
.domain--beauty .domain__num { color: var(--c-green); }

.domain__name-jp {
  font-family: var(--f-jp);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  margin-bottom: 0.3rem;
}
.domain__name-en {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-paper-mute);
  margin-bottom: var(--s-4);
}
.domain__body p {
  font-family: var(--f-jp);
  font-size: 0.94rem;
  line-height: 2;
  color: var(--c-ink);
  margin-bottom: var(--s-5);
}
.domain__tags {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding-top: var(--s-4);
  border-top: 1px dotted var(--c-paper-line);
}
.domain__tags span {
  font-family: var(--f-jp);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--c-paper-mute);
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--c-paper-line);
  border-radius: 999px;
}

@media (max-width: 940px) {
  .domains { grid-template-columns: 1fr; }
}

/* ---------- 11. Brand atmosphere — fullbleed photo with overlay text ---------- */
.brand-atmos {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex; align-items: center;
  background: var(--c-navy);
}
.brand-atmos__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.brand-atmos__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 22, 32, 0.72) 0%, rgba(15, 22, 32, 0.45) 50%, rgba(15, 22, 32, 0.20) 100%);
  z-index: 1;
}
.brand-atmos__inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
.brand-atmos__title {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw + 0.5rem, 3rem);
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--c-paper-soft);
  text-wrap: balance;
}
.brand-atmos__title em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-gold);
  font-weight: 380;
}
.brand-atmos__cite {
  margin-top: var(--s-6);
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.brand-atmos__caption {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(244, 242, 236, 0.80);
}

@media (max-width: 880px) {
  .brand-atmos__inner { grid-template-columns: 1fr; }
  .brand-atmos__overlay { background: linear-gradient(180deg, rgba(15, 22, 32, 0.45) 0%, rgba(15, 22, 32, 0.78) 100%); }
}

/* ---------- 12. Editorial split (image + text, magazine style) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--rev .split__media { order: 2; }
.split__media {
  background: var(--c-paper-dim);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  position: relative;
  border: 1px solid var(--c-paper-line-2);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; gap: var(--s-4); }
.split__body h2 { margin-block: var(--s-2); }
.split__body p {
  font-family: var(--f-jp);
  font-size: 1rem;
  line-height: 2;
  color: var(--c-ink);
}
@media (max-width: 880px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
}

/* ---------- 13. Founder cards (no photos — typographic + accent) ---------- */
.founders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.founder {
  display: flex; flex-direction: column;
  background: var(--c-paper-soft);
  border: 1px solid var(--c-paper-line-2);
  padding: var(--s-7) var(--s-6);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) ease;
  position: relative;
}
.founder:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 56px -32px rgba(15, 22, 32, 0.16);
}
.founder::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 56px;
}
.founder--01::before { background: var(--c-navy); }
.founder--02::before { background: var(--c-crimson); }
.founder--03::before { background: var(--c-green); }

.founder__num {
  font-family: var(--f-display);
  font-style: italic; font-weight: 380;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--s-4);
}
.founder--01 .founder__num { color: var(--c-navy); }
.founder--02 .founder__num { color: var(--c-crimson); }
.founder--03 .founder__num { color: var(--c-green); }

.founder__name {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  margin-bottom: 0.3rem;
}
.founder__name-en {
  font-family: var(--f-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-paper-mute);
  margin-bottom: var(--s-4);
}
.founder__role {
  display: inline-block;
  font-family: var(--f-jp);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: var(--s-4);
}
.founder--01 .founder__role { color: var(--c-navy); background: var(--c-navy-tint); }
.founder--02 .founder__role { color: var(--c-crimson); background: var(--c-crimson-tint); }
.founder--03 .founder__role { color: var(--c-green); background: var(--c-green-tint); }

.founder__bio {
  font-family: var(--f-jp);
  font-size: 0.94rem;
  line-height: 2;
  color: var(--c-ink);
  margin-bottom: var(--s-4);
}
.founder__edu {
  font-family: var(--f-jp);
  font-size: 0.78rem;
  line-height: 1.85;
  color: var(--c-paper-mute);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-paper-line-2);
}
.founder__edu div { margin-bottom: 0.2rem; }

@media (max-width: 940px) { .founders { grid-template-columns: 1fr; } }

/* ---------- 14. Big numbers ---------- */
.bignums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--c-paper-line);
  border-bottom: 1px solid var(--c-paper-line);
}
.bignum {
  padding: var(--s-7) var(--s-5);
  border-right: 1px solid var(--c-paper-line);
}
.bignum:last-child { border-right: 0; }
.bignum__fig {
  font-family: var(--f-display);
  font-weight: 360;
  font-size: clamp(2.4rem, 4.5vw + 0.5rem, 3.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: var(--s-3);
}
.bignum__fig em { font-style: italic; color: var(--c-crimson); }
.bignum__fig .green { color: var(--c-green); }
.bignum__fig .navy  { color: var(--c-navy); }
.bignum__title {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  margin-bottom: 0.4rem;
}
.bignum__label {
  font-family: var(--f-jp);
  font-weight: 400;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--c-paper-mute);
}
@media (max-width: 880px) {
  .bignums { grid-template-columns: 1fr 1fr; }
  .bignum:nth-child(2) { border-right: 0; }
  .bignum:nth-child(1), .bignum:nth-child(2) { border-bottom: 1px solid var(--c-paper-line); }
}
@media (max-width: 480px) {
  .bignums { grid-template-columns: 1fr; }
  .bignum { border-right: 0; border-bottom: 1px solid var(--c-paper-line); }
  .bignum:last-child { border-bottom: 0; }
}

/* ---------- 15. Insights cards (photo-led) ---------- */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.insight {
  display: flex; flex-direction: column;
  background: var(--c-paper-soft);
  border: 1px solid var(--c-paper-line-2);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) ease;
}
.insight:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 56px -32px rgba(15, 22, 32, 0.16);
}
.insight__media {
  aspect-ratio: 16 / 10;
  background: var(--c-paper-dim);
  overflow: hidden;
}
.insight__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.insight:hover .insight__media img { transform: scale(1.04); }
.insight__body {
  padding: var(--s-6);
  display: flex; flex-direction: column; flex: 1;
}
.insight__cat {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-crimson);
  margin-bottom: var(--s-3);
}
.insight__cat--green { color: var(--c-green); }
.insight__cat--navy  { color: var(--c-navy); }
.insight__title {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--c-ink);
  margin-bottom: var(--s-3);
}
.insight__excerpt {
  font-family: var(--f-jp);
  font-size: 0.9rem;
  line-height: 2;
  color: var(--c-paper-mute);
  margin-bottom: var(--s-5);
}
.insight__meta {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--c-paper-mute);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-paper-line-2);
}

@media (max-width: 940px) { .insights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .insights { grid-template-columns: 1fr; } }

/* ---------- 16. Definition list ---------- */
.deflist { border-top: 1px solid var(--c-paper-line); }
.deflist__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s-5);
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--c-paper-line-2);
}
.deflist__row dt {
  font-family: var(--f-jp);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--c-crimson);
  padding-top: 0.25rem;
}
.deflist__row dd {
  font-family: var(--f-jp);
  font-size: 1rem;
  line-height: 2;
  color: var(--c-ink);
}
@media (max-width: 700px) { .deflist__row { grid-template-columns: 1fr; gap: var(--s-2); } }

/* ---------- 17. Form ---------- */
.form { display: grid; gap: var(--s-5); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label {
  font-family: var(--f-jp);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--c-crimson);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-paper-line);
  padding: 0.85rem 0;
  font-family: var(--f-jp);
  font-size: 1rem;
  color: var(--c-ink);
  outline: none;
  transition: border-color var(--t-fast) ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--c-crimson); }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 700px) { .field-row { grid-template-columns: 1fr; } }
.req { color: var(--c-crimson); font-weight: 700; margin-left: 0.2rem; }

.checkbox {
  display: flex; align-items: flex-start; gap: var(--s-3);
  font-family: var(--f-jp);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--c-paper-mute);
}
.checkbox input { width: 16px; height: 16px; margin-top: 0.3rem; accent-color: var(--c-crimson); }

/* ---------- 18. CTA final ---------- */
.cta-final {
  text-align: center;
  padding-block: clamp(5rem, 10vw, 8rem);
  background: var(--c-paper-soft);
  border-top: 1px solid var(--c-paper-line-2);
  border-bottom: 1px solid var(--c-paper-line-2);
  position: relative;
}
.cta-final::before {
  content: "";
  display: block;
  width: 64px; height: 2px;
  background: var(--c-crimson);
  margin: 0 auto var(--s-6);
}
.cta-final__title {
  font-family: var(--f-jp);
  font-weight: 200;
  font-size: clamp(1.7rem, 3vw + 0.5rem, 3rem);
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--c-ink);
  margin-bottom: var(--s-4);
  text-wrap: balance;
}
.cta-final__title em { font-family: var(--f-display); font-style: italic; font-weight: 380; color: var(--c-crimson); }
.cta-final__sub {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--c-paper-mute);
  margin-bottom: var(--s-7);
}
.cta-final--dark {
  background: var(--c-navy-deep);
  border-color: rgba(244, 242, 236, 0.10);
  position: relative;
  overflow: hidden;
}
.cta-final--dark::after {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/yys-technology-regeneration-wave.jpg") center/cover no-repeat;
  opacity: 0.30;
  z-index: 0;
}
.cta-final--dark > * { position: relative; z-index: 1; }
.cta-final--dark .cta-final__title { color: var(--c-paper-soft); }
.cta-final--dark .cta-final__title em { color: var(--c-gold); }
.cta-final--dark .cta-final__sub { color: rgba(244, 242, 236, 0.65); }

/* ---------- 19. Footer ---------- */
.foot {
  background: var(--c-ink);
  color: var(--c-paper-soft);
  padding-top: clamp(4rem, 7vw, 5rem);
  padding-bottom: var(--s-6);
  border-top: 4px solid var(--c-crimson);
}
.foot a { color: rgba(244, 242, 236, 0.80); transition: color var(--t-fast) ease; }
.foot a:hover { color: var(--c-paper-soft); }
.foot__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(244, 242, 236, 0.12);
}
.foot__brand-mark {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-bottom: var(--s-4);
}
.foot__brand-mark svg, .foot__brand-mark img { width: 38px; height: 38px; filter: brightness(2.4); }
.foot__brand-name {
  font-family: var(--f-display);
  font-weight: 380;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--c-paper-soft);
}
.foot__tagline {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.06em;
  line-height: 1.95;
  max-width: 22ch;
}
.foot__col h4 {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-crimson-soft);
  margin-bottom: var(--s-4);
}
.foot__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.foot__col a {
  font-family: var(--f-jp);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}
.foot__bottom {
  padding-top: var(--s-5);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: var(--s-4);
  font-family: var(--f-jp);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(244, 242, 236, 0.55);
}
.foot__bottom .legal { display: flex; gap: var(--s-5); }
.foot__bottom a { color: rgba(244, 242, 236, 0.55); }
@media (max-width: 940px) { .foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot__top { grid-template-columns: 1fr; } }

/* ---------- 20. Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 21. Helpers ---------- */
.center { text-align: center; }
.maxw-prose { max-width: 65ch; }
.maxw-narrow { max-width: 50ch; }
.mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }

/* =========================================================
   v4 — Typography orphan prevention + new components
   ========================================================= */

/* ---------- A. Japanese typography control ---------- */
/* Prevent intra-phrase breaks on key headings; keep balance */
.h-display,
.h-section,
.hero__title,
.phero__title,
.cta-final__title,
.brand-atmos__title,
.feature__title,
.domain__name-jp,
.founder__name,
.method__title,
.member__name,
.section-jp,
.section__lead,
.lede {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
  line-break: strict;
}

/* Body Japanese — prefer 'pretty' wrap which avoids orphan single chars where supported */
body, p, dd, li {
  text-wrap: pretty;
  word-break: normal;
  line-break: strict;
}

/* Each block in defs/edu lines wraps as its own unit with no intra-word break.
   This solves "／ 2001年修了" being orphaned. */
.founder__edu > div,
.member__edu > div,
.deflist__row dd,
.no-orphan {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

/* Small unbreakable phrases */
.nb { white-space: nowrap; }

/* Tag chips and short labels never break */
.domain__tags span,
.kicker,
.brand__sub,
.hero__pillar-name,
.hero__pillar-en,
.founder__role,
.member__role,
.founder__name-en {
  white-space: nowrap;
}

/* ---------- B. Members (initials) ---------- */
.members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.member {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--c-paper-soft);
  border: 1px solid var(--c-paper-line-2);
  padding: var(--s-7) var(--s-6);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) ease;
}
.member:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 56px -32px rgba(15, 22, 32, 0.16);
}
.member::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 56px;
}
.member--01::before { background: var(--c-navy); }
.member--02::before { background: var(--c-crimson); }
.member--03::before { background: var(--c-green); }

.member__initials {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(3rem, 5vw + 1rem, 4.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: var(--s-5);
}
.member--01 .member__initials { color: var(--c-navy); }
.member--02 .member__initials { color: var(--c-crimson); }
.member--03 .member__initials { color: var(--c-green); }

.member__name {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  margin-bottom: 0.4rem;
}
.member__role-en {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.member--01 .member__role-en { color: var(--c-navy); }
.member--02 .member__role-en { color: var(--c-crimson); }
.member--03 .member__role-en { color: var(--c-green); }
.member__role-jp {
  font-family: var(--f-jp);
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--c-paper-mute);
  margin-bottom: var(--s-5);
}
.member__edu {
  font-family: var(--f-jp);
  font-size: 0.78rem;
  line-height: 1.85;
  color: var(--c-paper-mute);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--c-paper-line-2);
  border-bottom: 1px solid var(--c-paper-line-2);
  margin-bottom: var(--s-4);
}
.member__edu div { margin-bottom: 0.2rem; }
.member__expertise-label {
  font-family: var(--f-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-paper-mute);
  margin-bottom: 0.5rem;
}
.member__expertise {
  font-family: var(--f-jp);
  font-size: 0.86rem;
  line-height: 1.85;
  color: var(--c-ink);
}
@media (max-width: 940px) { .members { grid-template-columns: 1fr; } }

/* ---------- C. Method (4-step) ---------- */
.method {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-paper-line);
  border-bottom: 1px solid var(--c-paper-line);
}
.method__step {
  padding: var(--s-7) var(--s-5);
  border-right: 1px solid var(--c-paper-line);
  position: relative;
}
.method__step:last-child { border-right: 0; }
.method__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--c-crimson);
  margin-bottom: var(--s-3);
}
.method__title-en {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin-bottom: 0.3rem;
}
.method__title {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--c-crimson);
  margin-bottom: var(--s-4);
}
.method__body {
  font-family: var(--f-jp);
  font-size: 0.86rem;
  line-height: 2;
  color: var(--c-ink);
}
@media (max-width: 880px) {
  .method { grid-template-columns: 1fr 1fr; }
  .method__step:nth-child(2) { border-right: 0; }
  .method__step:nth-child(1), .method__step:nth-child(2) { border-bottom: 1px solid var(--c-paper-line); }
}
@media (max-width: 480px) {
  .method { grid-template-columns: 1fr; }
  .method__step { border-right: 0; border-bottom: 1px solid var(--c-paper-line); }
  .method__step:last-child { border-bottom: 0; }
}

/* ---------- D. Services 4-up grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
}
.service {
  padding: var(--s-7) var(--s-6);
  background: var(--c-paper-soft);
  border: 1px solid var(--c-paper-line-2);
  border-top: 4px solid var(--c-crimson);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) ease;
  display: flex; flex-direction: column;
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 56px -32px rgba(15, 22, 32, 0.16);
}
.service:nth-child(1) { border-top-color: var(--c-crimson); }
.service:nth-child(2) { border-top-color: var(--c-green); }
.service:nth-child(3) { border-top-color: var(--c-navy); }
.service:nth-child(4) { border-top-color: var(--c-gold); }

.service__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--s-3);
}
.service:nth-child(1) .service__num { color: var(--c-crimson); }
.service:nth-child(2) .service__num { color: var(--c-green); }
.service:nth-child(3) .service__num { color: var(--c-navy); }
.service:nth-child(4) .service__num { color: var(--c-gold); }

.service__title-en {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin-bottom: 0.3rem;
}
.service__title {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--c-paper-mute);
  margin-bottom: var(--s-4);
}
.service__body {
  font-family: var(--f-jp);
  font-size: 0.94rem;
  line-height: 2;
  color: var(--c-ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
@media (max-width: 800px) { .services { grid-template-columns: 1fr; } }

/* ---------- E. Learning / Play band ---------- */
.lp-band {
  background: var(--c-paper-dim);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
}
.lp-band__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding-inline: var(--pad-x);
  text-align: center;
}
.lp-band__title {
  font-family: var(--f-jp);
  font-weight: 200;
  font-size: clamp(1.7rem, 3vw + 0.5rem, 2.8rem);
  line-height: 1.55;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  word-break: keep-all;
  text-wrap: balance;
}
.lp-band__title em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-crimson);
  font-weight: 380;
}
.lp-band__title .green {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-green);
}
.lp-band__caption {
  margin-top: var(--s-5);
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: 1rem;
  line-height: 2;
  color: var(--c-paper-mute);
  max-width: 50ch;
  margin-left: auto; margin-right: auto;
}

/* ---------- F. Hero pillars (3 fields) — adjustments for new copy ---------- */
.hero__pillar-en { font-style: italic; font-family: var(--f-display); font-size: 0.7rem; font-weight: 380; letter-spacing: 0.04em; text-transform: none; color: var(--c-paper-mute); }

/* Adjust line-height for hero title with new shorter copy */
.hero__title { line-height: 1.4; }

/* =========================================================
   v4.1 — Orphan-character prevention in narrow columns
   ========================================================= */

/* Apply word-break: keep-all to ALL content inside narrow card components
   so katakana/Japanese never breaks mid-word */
.member__role-jp,
.member__expertise,
.member__edu,
.member__edu div,
.method__title-en,
.method__title,
.method__body,
.service__title-en,
.service__title,
.service__body,
.domain__name-en,
.domain__body p,
.insight__title,
.insight__excerpt,
.insight__cat,
.feature__cat,
.feature__excerpt,
.deflist__row dt,
.deflist__row dd,
.brand-atmos__caption,
.brand-atmos__cite,
.cta-final__sub,
.hero__sub,
.phero__sub,
.bignum__title,
.bignum__label,
.lp-band__caption {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  line-break: strict;
}

/* =========================================================
   v4.2 — Palette refresh (off-white) + mobile overflow fixes
   Appended rules override earlier values where conflicting.
   ========================================================= */

/* ---------- A. Refreshed surface palette ---------- */
:root {
  --c-paper:        #F8F8F7;   /* neutral near-white, very faint warmth — no skin tone */
  --c-paper-soft:   #FFFFFF;   /* pure white */
  --c-paper-pure:   #FFFFFF;
  --c-paper-dim:    #EEEEEC;   /* subtle alternation, neutral */
  --c-paper-line:   rgba(15, 22, 32, 0.12);
  --c-paper-line-2: rgba(15, 22, 32, 0.05);
  --c-paper-mute:   rgba(15, 22, 32, 0.60);
}

/* ---------- B. Global overflow guards ---------- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* { min-width: 0; }
img, video { max-width: 100%; height: auto; }

/* ---------- C. Mobile breakpoint — relax keep-all & re-size headings ---------- */
@media (max-width: 720px) {
  :root { --pad-x: 1.25rem; }

  /* Allow normal Japanese wrapping on mobile (overrides v4.1 keep-all) */
  .h-display, .h-section, .hero__title, .phero__title,
  .cta-final__title, .brand-atmos__title, .feature__title,
  .domain__name-jp, .member__role-jp, .member__expertise,
  .service__title, .service__title-en, .service__body,
  .method__title, .method__title-en, .method__body,
  .domain__body p, .domain__name-en,
  .insight__title, .insight__excerpt,
  .lede, .hero__sub, .phero__sub,
  .deflist__row dd, .brand-atmos__caption,
  .bignum__title, .bignum__label, .lp-band__caption,
  p, dd, li {
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: auto;
  }

  /* Disable the .nb (nowrap) utility on narrow viewports so long phrases can wrap */
  .nb { white-space: normal; }

  /* Re-size hero & headings for narrow screens */
  .hero__title {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
    letter-spacing: 0.04em;
    line-height: 1.45;
  }
  .phero__title {
    font-size: clamp(1.7rem, 6.4vw, 2.2rem);
    letter-spacing: 0.04em;
    line-height: 1.45;
  }
  .h-section, .h-display {
    font-size: clamp(1.5rem, 5.6vw, 2.05rem);
    letter-spacing: 0.04em;
    line-height: 1.5;
  }
  .cta-final__title, .brand-atmos__title {
    font-size: clamp(1.45rem, 5.2vw, 2rem);
    letter-spacing: 0.04em;
    line-height: 1.55;
  }
  .feature__title { font-size: 1.4rem; }

  /* Big numbers shrink on mobile */
  .bignum__fig { font-size: clamp(2rem, 8vw, 2.8rem); }
  .member__initials { font-size: clamp(2.6rem, 10vw, 3.4rem); }

  /* Hero pillars compress */
  .hero__pillars { gap: 0.6rem; }
  .hero__pillar-name { font-size: 0.78rem; letter-spacing: 0.04em; }
  .hero__pillar-en   { font-size: 0.56rem; letter-spacing: 0.18em; }

  /* Stack hero foot on mobile */
  .hero__foot {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-5);
  }
  .hero__foot .btn { align-self: flex-start; }

  /* Container narrowing */
  .head-band { gap: var(--s-4); padding-bottom: var(--s-5); margin-bottom: var(--s-6); }
  .section, .section--tight { padding-block: clamp(3rem, 7vw, 5rem); }

  /* Domain card padding */
  .domain__body, .service, .member, .founder { padding: var(--s-5) var(--s-4); }

  /* Brand atmosphere wraps text in less padding */
  .brand-atmos { min-height: auto; }
  .brand-atmos__inner { padding: clamp(2.5rem, 7vw, 4rem) var(--pad-x); gap: var(--s-5); }
  .brand-atmos__title { line-height: 1.7; }

  /* Map block height */
  .mapblock { aspect-ratio: 4/3; }

  /* Form selects/inputs full width */
  .field input, .field textarea, .field select { width: 100%; max-width: 100%; }
  .field-row { grid-template-columns: 1fr; gap: var(--s-4); }

  /* Hero credit position adjustment */
  .hero__credit { right: var(--s-4); bottom: var(--s-4); font-size: 0.55rem; letter-spacing: 0.22em; }
}

/* ---------- D. Very narrow breakpoint (≤480px) ---------- */
@media (max-width: 480px) {
  :root { --pad-x: 1rem; }
  .hero__title { font-size: 1.7rem; line-height: 1.5; }
  .phero__title { font-size: 1.55rem; line-height: 1.5; }
  .h-section, .h-display { font-size: 1.4rem; }
  .cta-final__title, .brand-atmos__title { font-size: 1.4rem; }

  .hero__pillars { grid-template-columns: 1fr 1fr 1fr; }
  .hero__pillar-name { font-size: 0.72rem; }
  .hero__pillar-en   { font-size: 0.5rem; }

  .nav__inner { gap: var(--s-3); }
  .brand__name { font-size: 0.95rem; }
  .brand__sub  { font-size: 0.55rem; letter-spacing: 0.22em; }
}

/* ---------- E. Specific overflow patches ---------- */

/* Make sure hero left column padding shrinks with viewport */
.hero__left {
  padding-left: clamp(1.25rem, 5vw, 5rem);
  padding-right: clamp(1.25rem, 5vw, 5rem);
}

/* Brand atmosphere on mobile — single column with safe overlay */
@media (max-width: 880px) {
  .brand-atmos__inner { grid-template-columns: 1fr; padding-block: clamp(3rem, 8vw, 5rem); }
}

/* Ensure long English brand names don't push layout */
.brand__name, .brand__sub { overflow-wrap: anywhere; }

/* Defs row dd respect container */
.deflist__row dd { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 700px) { .deflist__row dt { font-size: 0.78rem; } }

/* Filters wrap properly */
.filters { gap: 0.4rem; }

/* Newsletter inline form should stack on small screens */
@media (max-width: 600px) {
  form > div[style*="display: flex"] { flex-direction: column !important; align-items: stretch !important; }
}

/* Insight grid reflow */
@media (max-width: 940px) { .insights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .insights { grid-template-columns: 1fr; } }

/* =========================================================
   v4.3 — Punctuation orphan prevention (final)
   Override v4.2 mobile disable of .nb — short bound phrases stay together
   ========================================================= */

/* Re-enable .nb on all viewports — short phrases like 戻る。 should stay bound */
.nb { white-space: nowrap; }
@media (max-width: 720px) {
  .nb { white-space: nowrap; }  /* explicit re-enable, overrides v4.2 normal */
}
@media (max-width: 480px) {
  .nb { white-space: nowrap; }
}

/* Strict line-break globally — punctuation never starts a line */
html, body { line-break: strict; }

/* Reinforce on all heading-class elements */
.h-display, .h-section, .hero__title, .phero__title,
.cta-final__title, .brand-atmos__title, .feature__title,
.lp-band__title {
  line-break: strict !important;
}
@media (max-width: 720px) {
  .h-display, .h-section, .hero__title, .phero__title,
  .cta-final__title, .brand-atmos__title, .feature__title,
  .lp-band__title {
    line-break: strict !important;  /* override v4.2 line-break: auto */
  }
}

/* =========================================================
   v4.4 — White palette + Immersive Hero (overlap composition)
   This block intentionally overrides earlier rules.
   ========================================================= */

/* ---------- A. Palette: pure white + neutral grays (no warmth) ---------- */
:root {
  --c-paper:        #FFFFFF;   /* PURE WHITE */
  --c-paper-soft:   #FFFFFF;
  --c-paper-pure:   #FFFFFF;
  --c-paper-dim:    #F5F5F5;   /* perfectly neutral light gray for alternation */
  --c-paper-line:   rgba(15, 22, 32, 0.10);
  --c-paper-line-2: rgba(15, 22, 32, 0.05);
  --c-paper-mute:   rgba(15, 22, 32, 0.58);
}
html, body { background: #FFFFFF; }

/* Section background overrides */
.section--paper { background: #FFFFFF; }
.section--white { background: #FFFFFF; }
.section--dim   { background: #F5F5F5; }

/* CTA final softer */
.cta-final {
  background: #F5F5F5;
  border-top: 1px solid var(--c-paper-line-2);
  border-bottom: 1px solid var(--c-paper-line-2);
}

/* ---------- B. Nav with constant translucent backdrop ---------- */
.nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--c-paper-line-2);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
}

/* ---------- C. NEW HERO — immersive full-bleed image with overlay ---------- */

/* Reset previous hero — start fresh for the new design */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--c-ink);
  overflow: hidden;
  isolation: isolate;
  display: block;
  grid-template-columns: none;
}
.hero__left, .hero__right { display: none; }

/* Background image layer */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(15, 22, 32, 0.88) 0%,
      rgba(15, 22, 32, 0.62) 38%,
      rgba(15, 22, 32, 0.32) 70%,
      rgba(15, 22, 32, 0.18) 100%),
    linear-gradient(180deg,
      rgba(15, 22, 32, 0.40) 0%,
      rgba(15, 22, 32, 0.10) 30%,
      rgba(15, 22, 32, 0.10) 70%,
      rgba(15, 22, 32, 0.45) 100%);
}

/* Content positioned over image */
.hero__content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(7rem, 14vh, 10rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
  gap: clamp(2rem, 5vh, 4rem);
}

.hero__top { display: flex; }

.hero__eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.2rem, 3vh, 2rem);
  max-width: 28ch;
}

.hero__title {
  font-family: var(--f-jp);
  font-weight: 200;
  font-size: clamp(2.2rem, 5.5vw + 0.5rem, 5.6rem);
  letter-spacing: 0.04em;
  line-height: 1.36;
  color: #FFFFFF;
  text-wrap: balance;
  line-break: strict;
}
.hero__title em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  color: #D9B176;   /* warm gold for legibility on dark image */
  letter-spacing: -0.005em;
}
.hero__title .green {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  color: #7FB590;   /* light green for legibility on dark image */
}

.hero__sub {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: clamp(1rem, 0.7vw + 0.85rem, 1.2rem);
  letter-spacing: 0.06em;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.86);
  max-width: 36ch;
}

.hero__body {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 2;
  color: rgba(255, 255, 255, 0.68);
  max-width: 42ch;
}

.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  padding-top: clamp(1.5rem, 3.5vh, 2.5rem);
}

.hero__pillars {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1.5rem, 4vw, 2.8rem);
  flex: 1;
  align-items: end;
}
.hero__pillar { display: grid; gap: 0.35rem; }
.hero__pillar-num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.hero__pillar-num--navy    { color: #9FBAE2; }
.hero__pillar-num--crimson { color: #E8A8B0; }
.hero__pillar-num--green   { color: #A0CFB1; }
.hero__pillar-name {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}
.hero__pillar-en {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: none;
}

/* CTA on dark hero — paper-on-dark (white pill) */
.hero__cta { margin-left: auto; }
.btn--paper {
  background: #FFFFFF;
  color: var(--c-ink);
  border-color: #FFFFFF;
}
.btn--paper:hover {
  background: var(--c-paper-dim);
  color: var(--c-ink);
  border-color: var(--c-paper-dim);
  transform: translateY(-2px);
}

/* Lower-right credit */
.hero__credit {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 3vh, 2rem);
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  z-index: 2;
}
.hero__credit::before {
  content: ""; display: inline-block;
  width: 18px; height: 1px;
  background: rgba(255, 255, 255, 0.45);
  margin-right: 0.6rem; transform: translateY(-3px);
}

/* ---------- D. Hero responsive ---------- */
@media (max-width: 880px) {
  .hero { min-height: 92svh; }
  .hero__main { max-width: 100%; }
  .hero__bg::after {
    background:
      linear-gradient(180deg,
        rgba(15, 22, 32, 0.55) 0%,
        rgba(15, 22, 32, 0.35) 30%,
        rgba(15, 22, 32, 0.45) 70%,
        rgba(15, 22, 32, 0.78) 100%);
  }
  .hero__bg img { object-position: center 25%; }
}

@media (max-width: 720px) {
  .hero__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-4);
  }
  .hero__pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  .hero__pillar-name { font-size: 0.78rem; letter-spacing: 0.04em; }
  .hero__pillar-en   { font-size: 0.55rem; letter-spacing: 0.18em; }
  .hero__cta { margin-left: 0; width: 100%; }
  .hero__cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
  .hero__credit { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.85rem, 7vw, 2.4rem); line-height: 1.45; }
  .hero__sub { font-size: 0.95rem; }
  .hero__body { font-size: 0.88rem; }
  .hero__pillar-num { font-size: 0.85rem; }
  .hero__pillar-name { font-size: 0.72rem; }
  .hero__pillar-en   { font-size: 0.5rem; }
}

/* =========================================================
   v4.5 — Hero title break-prevention (final)
   ========================================================= */

/* Remove the catastrophic max-width: 28ch (ch unit = parent font, gave ~224px) */
.hero__main { max-width: none !important; }

/* Reduce hero title max font (5.6rem caused overflow on narrow viewports) */
.hero__title {
  font-size: clamp(2rem, 4.4vw + 0.5rem, 4rem) !important;
  letter-spacing: 0.04em !important;
  line-height: 1.4 !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-break: strict !important;
  text-wrap: balance;
}

/* Subtitle widths in em (scales with element font, not parent) */
.hero__sub  { max-width: 32em; }
.hero__body { max-width: 38em; }

/* Mobile re-tune */
@media (max-width: 720px) {
  .hero__title {
    font-size: clamp(1.7rem, 6vw + 0.4rem, 2.4rem) !important;
    line-height: 1.45 !important;
    word-break: keep-all !important;
    line-break: strict !important;
  }
}
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.55rem, 5.6vw + 0.4rem, 2rem) !important;
  }
}

/* Force keep-all + strict break on ALL major headings even on mobile —
   override v4.2 word-break: normal */
@media (max-width: 720px) {
  .h-display, .h-section, .hero__title, .phero__title,
  .cta-final__title, .brand-atmos__title, .feature__title,
  .lp-band__title {
    word-break: keep-all !important;
    line-break: strict !important;
  }
}

/* =========================================================
   v4.6 — Final hero & concept rebuild (magazine-style overlap)
   ========================================================= */

/* ---------- HERO: image with title overlay (poster-style) ---------- */

/* Override all earlier hero rules with high specificity + !important */
section.hero {
  position: relative !important;
  display: block !important;
  min-height: auto !important;
  background: #FFFFFF !important;
  overflow: hidden;
  grid-template-columns: none !important;
  padding: 0 !important;
  isolation: isolate;
}
.hero__bg, .hero__content, .hero__top, .hero__main, .hero__bottom,
.hero__left, .hero__right, .hero__credit { display: none !important; }

/* Hero media block — image with overlaid eyebrow + title */
.hero__poster {
  position: relative;
  width: 100%;
  height: clamp(80svh, 90svh, 800px);
  min-height: 580px;
  background: var(--c-ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(7rem, 14vh, 10rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 7vh, 5rem);
}
.hero__poster > img.hero__poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.hero__poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(15, 22, 32, 0.55) 0%,
      rgba(15, 22, 32, 0.18) 22%,
      rgba(15, 22, 32, 0.18) 55%,
      rgba(15, 22, 32, 0.85) 100%);
}
.hero__poster > .hero__poster-top,
.hero__poster > .hero__poster-bottom {
  position: relative;
  z-index: 2;
}

.hero__poster-top { display: flex; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.hero__eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero__poster-bottom { max-width: 22em; }
.hero__title {
  font-family: var(--f-jp);
  font-weight: 200;
  font-size: clamp(2rem, 5vw + 0.5rem, 4rem);
  letter-spacing: 0.04em;
  line-height: 1.42;
  color: #FFFFFF;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-break: strict !important;
  text-wrap: balance;
  margin: 0;
}
.hero__title em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  color: #DDB477;
  letter-spacing: -0.005em;
}
.hero__title .green {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  color: #84BC95;
}
.hero__poster-credit {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  top: clamp(7rem, 14vh, 10rem);
  font-family: var(--f-body);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  z-index: 2;
}

/* Below the poster: subtitle, pillars, CTA on white */
.hero__below {
  background: #FFFFFF;
  padding: clamp(3rem, 6vh, 5rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 5vh, 4rem);
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: clamp(2rem, 4vh, 2.5rem);
}
.hero__below-sub {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.25rem);
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  max-width: 30em;
  word-break: keep-all;
  text-wrap: pretty;
}
.hero__below-body {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 2;
  color: var(--c-paper-mute);
  max-width: 38em;
  word-break: keep-all;
  text-wrap: pretty;
}

.hero__below-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vh, 2rem) 0;
  border-top: 1px solid var(--c-paper-line);
  border-bottom: 1px solid var(--c-paper-line);
}
.hero__below-pillar { display: grid; gap: 0.3rem; }
.hero__below-pillar .num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: 0.95rem;
}
.hero__below-pillar.--navy .num    { color: var(--c-navy); }
.hero__below-pillar.--crimson .num { color: var(--c-crimson); }
.hero__below-pillar.--green .num   { color: var(--c-green); }
.hero__below-pillar .name {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  letter-spacing: 0.04em;
  color: var(--c-ink);
  white-space: nowrap;
}
.hero__below-pillar .en {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--c-paper-mute);
}

.hero__below-cta {
  justify-self: start;
}
.hero__below-cta .btn {
  padding: 1.1rem 2rem;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .hero__poster {
    height: clamp(70svh, 75svh, 600px);
    min-height: 480px;
    padding: clamp(6rem, 12vh, 8rem) 1.25rem clamp(2.5rem, 6vh, 4rem);
  }
  .hero__poster-credit { display: none; }
  .hero__below { padding: 2.5rem 1.25rem 3rem; }
  .hero__below-pillars { gap: 0.6rem; }
  .hero__below-pillar .name { font-size: 0.78rem; }
  .hero__below-pillar .en   { font-size: 0.55rem; letter-spacing: 0.18em; }
  .hero__below-cta { justify-self: stretch; }
  .hero__below-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1.05rem 1.5rem;
  }
}

/* ---------- CONCEPT: 4-verb visual structure ---------- */
.concept-quote {
  font-family: var(--f-jp-serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.4vw + 0.85rem, 1.6rem);
  line-height: 1.85;
  letter-spacing: 0.05em;
  color: var(--c-ink);
  text-align: center;
  margin: clamp(1rem, 4vh, 3rem) auto;
  max-width: 26em;
  word-break: keep-all;
  text-wrap: balance;
}
.concept-quote em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  color: var(--c-crimson);
}
.concept-quote-cap {
  text-align: center;
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-paper-mute);
  font-weight: 500;
}

.concept-verbs {
  list-style: none;
  padding: 0;
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-paper-line);
}
.concept-verb {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: baseline;
  padding: clamp(1.2rem, 3vh, 1.8rem) clamp(0.5rem, 2vw, 1rem);
  border-bottom: 1px solid var(--c-paper-line);
  transition: background-color 200ms ease;
}
.concept-verb:hover { background: #FAFAFA; }
.concept-verb__num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--c-crimson);
}
.concept-verb:nth-child(1) .concept-verb__num { color: var(--c-navy); }
.concept-verb:nth-child(2) .concept-verb__num { color: var(--c-crimson); }
.concept-verb:nth-child(3) .concept-verb__num { color: var(--c-green); }
.concept-verb:nth-child(4) .concept-verb__num { color: var(--c-gold); }
.concept-verb__body { display: grid; gap: 0.4rem; }
.concept-verb__action {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: clamp(1rem, 1vw + 0.8rem, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--c-ink);
  word-break: keep-all;
}
.concept-verb__action em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-crimson);
  font-weight: 380;
}
.concept-verb__detail {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--c-paper-mute);
  word-break: keep-all;
  text-wrap: pretty;
}

@media (max-width: 600px) {
  .concept-verb { grid-template-columns: 50px 1fr; gap: 0.8rem; padding: 1.2rem 0.25rem; }
  .concept-verb__num { font-size: 1rem; }
  .concept-verb__action { font-size: 1rem; }
  .concept-verb__detail { font-size: 0.82rem; }
}

.concept-close {
  font-family: var(--f-jp);
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--c-ink);
  text-align: center;
  max-width: 30em;
  margin: clamp(2.5rem, 5vh, 3rem) auto 0;
  word-break: keep-all;
  text-wrap: pretty;
}

/* GLOBAL: enforce nb */
.nb { white-space: nowrap !important; }

/* =========================================================
   v4.6.1 — Mobile nav menu fix: prevent CTA leak
   ========================================================= */
@media (max-width: 920px) {
  .nav__menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--t-mid, 350ms),
                opacity var(--t-mid, 350ms),
                visibility 0s var(--t-mid, 350ms);
  }
  .nav.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform var(--t-mid, 350ms),
                opacity var(--t-mid, 350ms),
                visibility 0s 0s;
  }
}

/* =========================================================
   v4.7 — Body text wrap policy: pretty (not balance) for natural flow
   Headings keep balance; body text uses pretty for natural reading rhythm
   ========================================================= */

/* Body lede / paragraph wrap: pretty avoids orphans without redistributing aggressively */
.lede,
.head-band__lede,
.bignum__label,
.brand-atmos__caption,
.member__role-jp,
.member__expertise,
.domain__name-en,
.domain__body p,
.method__body,
.service__body,
.insight__excerpt,
.feature__excerpt,
.cta-final__sub,
.hero__below-sub,
.hero__below-body,
.hero__sub,
.hero__body,
.phero__sub,
.concept-quote,
.concept-close,
.lp-band__caption {
  text-wrap: pretty !important;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* Wider lede max-width on PC for natural multi-line flow (was 60ch — too narrow) */
.head-band__lede {
  max-width: 78ch !important;
}
.lede {
  max-width: 78ch !important;
}

@media (max-width: 720px) {
  .head-band__lede,
  .lede {
    max-width: 100% !important;
  }
}

/* Domain card name-en (e.g. "GX・再生可能エネルギー・エネルギーマネジメント")
   should not break unnecessarily on PC */
.domain__name-en,
.member__role-jp {
  text-wrap: pretty !important;
}

/* Headings keep balance for visual symmetry */
.h-display, .h-section, .hero__title, .phero__title,
.cta-final__title, .brand-atmos__title, .feature__title,
.lp-band__title {
  text-wrap: balance;
}

/* =========================================================
   v4.8 — Card label (role-jp / name-en) nowrap fit
   ========================================================= */

/* Member card role-jp & domain card name-en — force single line on PC,
   smaller font + tight letter-spacing so it fits inside narrow columns */
.member__role-jp,
.domain__name-en {
  font-size: 0.78rem !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: clip;
}

/* On mobile (single column cards), allow wrap if needed */
@media (max-width: 720px) {
  .member__role-jp,
  .domain__name-en {
    white-space: normal !important;
    overflow: visible;
    word-break: keep-all;
    text-wrap: pretty;
  }
}

/* Also tighten the phero__title font cap so long-phrase titles never overflow
   the text column in 2-col phero layouts */
.phero__title {
  font-size: clamp(1.9rem, 3.4vw + 0.5rem, 3.6rem) !important;
}
@media (max-width: 720px) {
  .phero__title {
    font-size: clamp(1.6rem, 5.6vw + 0.4rem, 2.2rem) !important;
  }
}
