/* Philosophy is readable in source order before motion is initialized.
   Only this editorial section gains the scroll-controlled stage. */
.philosophy-stage {
  --philosophy-ink: #28232c;
  --philosophy-accent: #755185;
  --philosophy-muted: #716676;
  --philosophy-ease: cubic-bezier(.22, 1, .36, 1);
  position: relative;
  overflow: visible;
  padding: 0;
  background: #fffefa;
  color: var(--philosophy-ink);
}
.philosophy-stage-wrap {
  position: relative;
  padding-block: clamp(82px, 10vw, 150px);
}
.philosophy-stage-sticky { position: relative; }
.philosophy-stage-kicker {
  margin: 0;
  color: var(--philosophy-accent);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.philosophy-stage-index { display: none; }
.philosophy-stage-panels { margin-top: clamp(38px, 5vw, 68px); }
.philosophy-panel { position: relative; }
.philosophy-panel + .philosophy-panel {
  margin-top: clamp(65px, 9vw, 130px);
  padding-top: clamp(34px, 5vw, 60px);
  border-top: 1px solid #e2d9e3;
}
.philosophy-panel-label {
  margin: 0 0 clamp(20px, 3vw, 36px);
  color: var(--philosophy-muted);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.65;
  letter-spacing: .035em;
}
.philosophy-panel-label span + span { margin-left: 15px; }
.philosophy-statement {
  max-width: 1150px;
  margin: 0;
  color: var(--philosophy-ink);
  font-size: clamp(2.7rem, 5.2vw, 4.75rem);
  font-weight: 710;
  line-height: 1.3;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.philosophy-panel-mission .philosophy-statement,
.philosophy-panel-harmony .philosophy-statement {
  max-width: 1100px;
  font-size: clamp(2.15rem, 3.6vw, 3.25rem);
  line-height: 1.42;
  letter-spacing: -.05em;
}
.philosophy-line { display: block; }
.philosophy-statement em {
  color: var(--philosophy-accent);
  font-style: normal;
  font-weight: inherit;
  background-image: linear-gradient(#a58bb3, #a58bb3);
  background-repeat: no-repeat;
  background-position: 0 calc(100% - .03em);
  background-size: 100% 1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.philosophy-panel-note {
  max-width: 760px;
  margin: clamp(25px, 3.3vw, 40px) 0 0;
  color: #5e5362;
  font-size: clamp(.97rem, 1.2vw, 1.12rem);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .005em;
}
.philosophy-stage-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(45px, 6vw, 75px);
  color: #5d4967;
  font-size: .86rem;
  line-height: 1.65;
}
.philosophy-stage-footer p { margin: 0; }
.philosophy-stage-footer a { display: inline-flex; align-items: center; gap: 22px; }

/* A short desktop reading sequence. No scroll snapping or input interception. */
.home-vision-summary {
  padding-block: clamp(65px, 8vw, 105px);
  background: #fffefa;
}
.home-vision-summary .eyebrow { margin: 0 0 24px; color: #755185; }
.home-vision-summary .philosophy-statement {
  max-width: 1060px;
  font-size: clamp(2rem, 3.65vw, 3.3rem);
  line-height: 1.4;
  letter-spacing: -.05em;
}
.home-vision-summary-footer { margin-top: 28px; font-size: .86rem; color: #5d4967; }
.home-vision-summary-footer .text-link { display: inline-flex; align-items: center; gap: 20px; }

.philosophy-stage.is-staged {
  min-height: 250vh;
  min-height: 250svh;
}
.philosophy-stage.is-staged .philosophy-stage-wrap {
  min-height: inherit;
  padding-block: 0;
}
.philosophy-stage.is-staged .philosophy-stage-sticky {
  position: sticky;
  top: var(--philosophy-header-height, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - var(--philosophy-header-height, 78px));
  height: calc(100svh - var(--philosophy-header-height, 78px));
  padding-block: clamp(28px, 4.2svh, 42px);
}
.philosophy-stage.is-staged .philosophy-stage-kicker { margin-bottom: 20px; }
.philosophy-stage.is-staged .philosophy-stage-index {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  margin: 0 0 35px;
  padding: 0;
}
.philosophy-stage-index [data-philosophy-marker] {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 8px;
  color: #928795;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .075em;
  transition: color .5s ease;
}
.philosophy-stage-index [data-philosophy-marker]::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--philosophy-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--philosophy-ease);
}
.philosophy-stage-index [data-philosophy-marker].is-current { color: var(--philosophy-accent); }
.philosophy-stage-index [data-philosophy-marker].is-current::after { transform: scaleX(1); }
.philosophy-stage.is-staged .philosophy-stage-panels {
  position: relative;
  flex: 0 0 auto;
  height: var(--philosophy-content-height, 360px);
  margin-top: 0;
}
.philosophy-stage.is-staged .philosophy-panel {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  pointer-events: none;
  transition: none;
}
.philosophy-stage.is-staged.has-reading-started .philosophy-panel {
  transition: opacity .22s ease, transform .4s var(--philosophy-ease);
}
.philosophy-stage.is-staged.has-reading-started .philosophy-panel.is-current {
  transition: opacity .4s ease .24s, transform .65s var(--philosophy-ease) .24s;
}
.philosophy-stage.is-staged .philosophy-panel.is-before { transform: translate3d(0, -28px, 0); }
.philosophy-stage.is-staged .philosophy-panel.is-current {
  z-index: 1;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.philosophy-stage.is-staged .philosophy-panel-label { margin-bottom: 20px; }
.philosophy-stage.is-staged .philosophy-panel-note { margin-top: 27px; }
.philosophy-stage.is-staged .philosophy-stage-footer { margin-top: 28px; }
.philosophy-stage:is(.is-staged, .is-inline) .philosophy-panel-note {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity .55s ease, transform .65s var(--philosophy-ease);
  transition-delay: .38s;
}
.philosophy-stage.is-staged .philosophy-panel:is(.is-current, .is-before) .philosophy-panel-note,
.philosophy-stage.is-inline .philosophy-panel.is-shown .philosophy-panel-note {
  opacity: 1;
  transform: none;
}
.philosophy-page .about-harmony-principle { margin-top: 0; }

/* Phrase-level motion preserves punctuation, line breaking and selectable text. */
.philosophy-stage:is(.is-staged, .is-inline) .philosophy-line {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .65s ease, transform .65s var(--philosophy-ease);
  transition-delay: var(--philosophy-line-delay, 0s);
}
.philosophy-stage.is-staged .philosophy-line {
  transition-delay: calc(var(--philosophy-line-delay, 0ms) + .24s);
}
.philosophy-stage.is-staged .philosophy-panel.is-current .philosophy-line,
.philosophy-stage.is-staged .philosophy-panel.is-before .philosophy-line,
.philosophy-stage.is-inline .philosophy-panel.is-shown .philosophy-line {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.philosophy-stage:is(.is-staged, .is-inline) .philosophy-statement em {
  background-size: 0 1px;
  transition: background-size .85s var(--philosophy-ease);
  transition-delay: calc(var(--philosophy-line-delay, 0s) + .25s);
}
.philosophy-stage.is-staged .philosophy-statement em {
  transition-delay: calc(var(--philosophy-line-delay, 0ms) + .49s);
}
.philosophy-stage.is-staged .philosophy-panel.is-current em,
.philosophy-stage.is-staged .philosophy-panel.is-before em,
.philosophy-stage.is-inline .philosophy-panel.is-shown em { background-size: 100% 1px; }

@media (max-width: 899px) {
  .philosophy-stage-wrap { padding-block: clamp(70px, 12vw, 105px); }
  .philosophy-statement { font-size: clamp(2.2rem, 6.3vw, 3.6rem); line-height: 1.4; letter-spacing: -.055em; }
  .philosophy-panel-mission .philosophy-statement,
  .philosophy-panel-harmony .philosophy-statement { font-size: clamp(1.7rem, 4.6vw, 2.65rem); line-height: 1.5; }
  .philosophy-panel + .philosophy-panel { margin-top: 75px; padding-top: 32px; }
  .philosophy-panel-note { margin-top: 23px; font-size: 1rem; }
}
@media (max-width: 600px) {
  .philosophy-stage-kicker { font-size: .65rem; letter-spacing: .12em; }
  .philosophy-stage-panels { margin-top: 38px; }
  .philosophy-panel-label { margin-bottom: 20px; font-size: .7rem; }
  .philosophy-panel-label span + span { display: block; margin: 4px 0 0; }
  .philosophy-statement { font-size: clamp(2rem, 8.4vw, 2.8rem); }
  .philosophy-panel-mission .philosophy-statement,
  .philosophy-panel-harmony .philosophy-statement { font-size: clamp(1.68rem, 6.8vw, 2.25rem); }
  .philosophy-panel-note { font-size: .96rem; line-height: 1.9; }
  .philosophy-stage-footer { margin-top: 42px; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .philosophy-stage.is-staged { min-height: 0; }
  .philosophy-stage.is-staged .philosophy-stage-wrap { min-height: 0; padding-block: clamp(82px, 10vw, 150px); }
  .philosophy-stage.is-staged .philosophy-stage-sticky { position: relative; top: auto; display: block; height: auto; padding: 0; }
  .philosophy-stage.is-staged .philosophy-stage-index { display: none; }
  .philosophy-stage.is-staged .philosophy-stage-panels { height: auto; margin-top: clamp(38px, 5vw, 68px); }
  .philosophy-stage.is-staged .philosophy-panel { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; }
  .philosophy-stage.is-staged .philosophy-panel + .philosophy-panel { margin-top: clamp(65px, 9vw, 130px); padding-top: clamp(34px, 5vw, 60px); border-top: 1px solid #e2d9e3; }
  .philosophy-stage .philosophy-line { opacity: 1 !important; transform: none !important; transition: none !important; }
  .philosophy-stage .philosophy-panel-note { opacity: 1 !important; transform: none !important; transition: none !important; }
  .philosophy-stage .philosophy-statement em { background-size: 100% 1px !important; transition: none !important; }
  .philosophy-stage .philosophy-panel,
  .philosophy-stage-index [data-philosophy-marker],
  .philosophy-stage-index [data-philosophy-marker]::after { transition: none !important; }
}
