.philosophy-page .page-hero h1 {
  max-width: 100%;
}

.pmv-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border-block: 1px solid var(--line);
}

.pmv-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  transition: background .2s;
}

.pmv-nav a + a {
  border-left: 1px solid var(--line);
}

.pmv-nav a:hover,
.pmv-nav a:focus-visible {
  background: var(--pale);
}

.pmv-nav a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.pmv-nav__number,
.pmv-nav__arrow {
  color: var(--blue);
  font-size: 13px;
}

.pmv-nav b {
  display: block;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.pmv-nav small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.pmv-nav__arrow {
  margin-left: auto;
}

.pmv-section {
  padding-block: 100px;
  scroll-margin-top: 24px;
}

.pmv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 64px;
}

.pmv-index {
  margin-bottom: 24px;
  color: var(--blue);
  font-family: "Noto Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
}

.pmv-heading {
  margin: 0;
  font-weight: 400;
}

.pmv-heading__word {
  display: block;
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(var(--heading-marker), var(--heading-marker)) 0 92% / 100% 24% no-repeat;
  font-size: clamp(36px, 3.5vw, 46px);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.pmv-heading__meaning {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
}

.pmv-copy {
  min-width: 0;
}

.pmv-purpose__quote,
.pmv-mission__quote {
  margin: 0 0 30px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.7;
  letter-spacing: .025em;
  text-wrap: balance;
}

.pmv-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2.25;
}

.pmv-vision {
  position: relative;
  border-top: 4px solid transparent;
}

.pmv-vision::before {
  position: absolute;
  inset: -4px 0 auto;
  height: 4px;
  background: var(--mint);
  content: "";
  transform-origin: left;
  pointer-events: none;
}

.pmv-vision .pmv-index {
  color: var(--mint);
}

.pmv-vision .pmv-heading__meaning {
  color: #c7d3d8;
}

.pmv-vision__quote {
  margin: 0;
  color: #c7d3d8;
  font-size: 16px;
  line-height: 2.25;
  white-space: pre-wrap;
}

.pmv-vision__lead {
  display: block;
  margin-bottom: 30px;
  color: var(--white);
  font-size: clamp(27px, 2.8vw, 36px);
  line-height: 1.9;
  text-wrap: balance;
}

.pmv-mission-group {
  margin-top: 80px;
  scroll-margin-top: 36px;
}

.pmv-mission-group .pmv-mission__quote {
  margin-bottom: 22px;
}

.pmv-core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 0;
  padding: 0;
  background: #49616e;
  list-style: none;
}

.pmv-core-grid li {
  padding: 32px;
  color: var(--white);
  background: var(--ink);
}

.pmv-core-grid__number {
  color: var(--mint);
  font-family: "Noto Serif", serif;
  font-size: 32px;
  line-height: 1.2;
}

.pmv-core-grid h4 {
  margin: 40px 0 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.9;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.pmv-principles {
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pmv-principles li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  align-items: baseline;
  gap: 48px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.pmv-principles h4 {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  margin: 0;
  font-size: 23px;
  line-height: 1.8;
  text-wrap: balance;
}

.pmv-principles__number {
  color: var(--blue);
  font-family: "Noto Serif", serif;
  font-size: 34px;
  letter-spacing: -.06em;
  white-space: pre-wrap;
  tab-size: 1;
}

.pmv-principles p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.1;
}

/* Use the same entrance easing and mint marker as the corporate home / services. */
.philosophy-page .page-hero::before {
  position: absolute;
  inset: 0;
  background: inherit;
  content: "";
  pointer-events: none;
}

.pmv-nav a::after {
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  background: var(--mint);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.pmv-nav a:focus-visible::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  .pmv-nav a:hover::after {
    transform: scaleX(1);
  }

  .pmv-principles li:hover {
    background-color: var(--pale);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .philosophy-page .page-hero::before {
    animation: pmv-photo-settle 2.8s cubic-bezier(.16, 1, .3, 1) both;
  }

  .philosophy-page .page-hero .section-shell > p {
    animation: pmv-enter-up .8s .1s cubic-bezier(.16, 1, .3, 1) both;
  }

  .philosophy-page .page-hero h1 {
    animation: pmv-enter-up 1.1s .2s cubic-bezier(.16, 1, .3, 1) both;
  }

  .pmv-nav a {
    animation: pmv-enter-up .8s .3s cubic-bezier(.16, 1, .3, 1) both;
  }

  .pmv-nav a:nth-child(2) { animation-delay: .4s; }
  .pmv-nav a:nth-child(3) { animation-delay: .5s; }

  .pmv-nav a::after,
  .pmv-nav__arrow,
  .pmv-principles__number {
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
  }

  .pmv-nav a:focus-visible .pmv-nav__arrow {
    transform: translateY(5px);
  }

  .pmv-principles li {
    transition: background-color .3s ease;
  }

  /* No hidden base state: all content remains readable without JavaScript. */
  .pmv-section__header.is-revealed {
    animation: pmv-enter-side .95s cubic-bezier(.16, 1, .3, 1) both;
  }

  .pmv-section__header.is-revealed .pmv-heading__word {
    animation: pmv-marker-draw 1.4s .25s cubic-bezier(.16, 1, .3, 1) both;
  }

  .pmv-copy.is-revealed {
    animation: pmv-enter-up .95s .12s cubic-bezier(.16, 1, .3, 1) both;
  }

  .pmv-vision.is-revealed::before {
    animation: pmv-line-draw 1.25s cubic-bezier(.16, 1, .3, 1) both;
  }

  .pmv-principles li.is-revealed,
  .pmv-core-grid li.is-revealed {
    animation: pmv-enter-up .8s var(--pmv-delay, 0s) cubic-bezier(.16, 1, .3, 1) both;
  }

  .pmv-principles li:nth-child(2) { --pmv-delay: .04s; }
  .pmv-principles li:nth-child(3) { --pmv-delay: .08s; }
  .pmv-principles li:nth-child(4) { --pmv-delay: .12s; }
  .pmv-principles li:nth-child(5) { --pmv-delay: .16s; }
  .pmv-core-grid li:nth-child(2) { --pmv-delay: .1s; }
  .pmv-core-grid li:nth-child(3) { --pmv-delay: .2s; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pmv-nav a:hover .pmv-nav__arrow {
    transform: translateY(5px);
  }

  .pmv-principles li:hover .pmv-principles__number {
    transform: translateX(5px);
  }
}

@keyframes pmv-enter-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pmv-enter-side {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pmv-photo-settle {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}

@keyframes pmv-marker-draw {
  from { background-size: 0 24%; }
  to { background-size: 100% 24%; }
}

@keyframes pmv-line-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 1000px) {
  .pmv-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 32px;
  }

  .pmv-nav a {
    gap: 12px;
    padding: 20px 14px;
  }

  .pmv-principles li {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 28px;
  }

  .pmv-principles h4 {
    grid-template-columns: 42px minmax(0, 1fr);
    font-size: 21px;
  }

  .pmv-core-grid li {
    padding: 24px 20px;
  }
}

@media (max-width: 700px) {
  .philosophy-page .page-hero h1 {
    font-size: clamp(26px, 7.2vw, 42px);
    line-height: 1.5;
  }

  .pmv-nav {
    margin-top: 8px;
  }

  .pmv-nav a {
    display: block;
    padding: 14px 9px;
  }

  .pmv-nav__number {
    font-size: 10px;
  }

  .pmv-nav b {
    margin-top: 4px;
    font-size: 16px;
  }

  .pmv-nav small {
    font-size: 10px;
    line-height: 1.7;
  }

  .pmv-nav__arrow {
    display: block;
    margin-top: 8px;
  }

  .pmv-section {
    padding-block: 60px;
  }

  .pmv-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pmv-index {
    margin-bottom: 14px;
  }

  .pmv-heading__word {
    font-size: 36px;
  }

  .pmv-heading__meaning {
    margin-top: 10px;
    font-size: 12px;
  }

  .pmv-purpose__quote,
  .pmv-mission__quote {
    margin-bottom: 22px;
    font-size: clamp(23px, 6.2vw, 32px);
  }

  .pmv-description,
  .pmv-vision__quote {
    font-size: 15px;
    line-height: 2.1;
  }

  .pmv-vision__lead {
    margin-bottom: 24px;
    font-size: clamp(24px, 6.4vw, 32px);
    line-height: 1.85;
  }

  .pmv-principles {
    margin-top: 36px;
  }

  .pmv-principles li {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 28px;
  }

  .pmv-principles h4 {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    font-size: 22px;
  }

  .pmv-principles__number {
    font-size: 28px;
  }

  .pmv-principles p {
    padding-left: 44px;
    font-size: 14px;
  }

  .pmv-mission-group {
    margin-top: 52px;
  }

  .pmv-core-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .pmv-core-grid li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: baseline;
    gap: 18px;
    padding: 28px 24px;
  }

  .pmv-core-grid__number {
    font-size: 25px;
  }

  .pmv-core-grid h4 {
    margin: 0;
    font-size: 22px;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .philosophy-page main *,
  .philosophy-page main *::before,
  .philosophy-page main *::after {
    animation: none;
    transition: none;
  }
}

@media print {
  .philosophy-page main *,
  .philosophy-page main *::before,
  .philosophy-page main *::after {
    animation: none !important;
    transition: none !important;
  }
}
