@charset "UTF-8";

/* Philosophy page */

.philosophy-page {
  --philosophy-line: rgba(18, 59, 42, 0.16);
  --philosophy-line-strong: rgba(18, 59, 42, 0.34);
  --philosophy-soft: rgba(244, 248, 241, 0.78);
  background:
    linear-gradient(180deg, rgba(248, 250, 244, 0.28) 0%, rgba(255, 255, 255, 0) 32%),
    #fff;
}

.philosophy-hero {
  min-height: 40svh;
  overflow: hidden;
}

.philosophy-hero .sub-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 31, 23, 0.84) 0%, rgba(18, 59, 42, 0.56) 48%, rgba(18, 59, 42, 0.22) 100%),
    linear-gradient(180deg, rgba(18, 59, 42, 0.12) 0%, rgba(18, 59, 42, 0.56) 100%);
}

.philosophy-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 72px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(248, 250, 244, 0.94));
  pointer-events: none;
}

.philosophy-hero .section-label.light {
  font-size: 0.72rem;
  opacity: 0.78;
  animation: philosophyHeroRise 0.58s ease both;
}

.philosophy-hero .sub-hero-content h1 {
  font-size: 3.15rem;
  line-height: 1.08;
  animation: philosophyHeroRise 0.62s ease 0.05s both;
}

.philosophy-hero .sub-hero-lead {
  max-width: 660px;
  line-height: 1.86;
  animation: philosophyHeroRise 0.62s ease 0.1s both;
}

.philosophy-narrow {
  max-width: 860px;
}

.philosophy-section {
  position: relative;
}

.philosophy-section .section-heading {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 16px;
}

.philosophy-section .section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 96px;
  height: 1px;
  background: var(--philosophy-line-strong);
  transform-origin: left center;
}

.philosophy-section .section-heading.center::after {
  right: 0;
  margin-inline: auto;
}

.philosophy-section .section-heading h2 {
  line-height: 1.28;
}

.philosophy-copy {
  max-width: 780px;
}

.philosophy-copy p {
  line-height: 2;
}

.philosophy-concept {
  padding-top: 76px;
}

.philosophy-concept-statement {
  position: relative;
  max-width: 800px;
  margin-bottom: 34px;
  padding: 30px 0 30px 28px;
  overflow: hidden;
  border-top: 1px solid var(--philosophy-line);
  border-bottom: 1px solid var(--philosophy-line);
  border-left: 3px solid rgba(46, 107, 71, 0.48);
}

.philosophy-concept-statement p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--deep-green);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.86;
}

.philosophy-ghost-word {
  position: absolute;
  right: 0;
  bottom: -0.2em;
  color: rgba(18, 59, 42, 0.045);
  font-size: 5.4rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.philosophy-issues {
  background:
    linear-gradient(180deg, rgba(246, 249, 244, 0.88), rgba(239, 246, 235, 0.5));
}

.philosophy-issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--philosophy-line);
  background: rgba(255, 255, 255, 0.62);
}

.philosophy-issue {
  position: relative;
  min-height: 270px;
  padding: 34px 30px 30px;
  overflow: hidden;
}

.philosophy-issue + .philosophy-issue {
  border-left: 1px solid var(--philosophy-line);
}

.philosophy-issue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(46, 107, 71, 0.56);
  transition: width 0.26s ease;
}

.philosophy-issue:hover::before,
.philosophy-issue:focus-within::before {
  width: 100%;
}

.philosophy-number {
  position: absolute;
  top: 14px;
  right: 22px;
  margin: 0;
  color: rgba(18, 59, 42, 0.07);
  font-size: 5.4rem;
  font-weight: 800;
  line-height: 1;
}

.philosophy-issue h3 {
  position: relative;
  margin: 0 0 16px;
  color: var(--deep-green);
  font-size: 1.24rem;
  line-height: 1.45;
}

.philosophy-issue p:not(.philosophy-number) {
  position: relative;
  margin: 0;
  color: var(--subtext);
  font-size: 0.96rem;
  line-height: 1.9;
}

.philosophy-freedom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 48px;
  align-items: start;
}

.philosophy-process {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--philosophy-line);
}

.philosophy-process::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 1px;
  background: var(--philosophy-line);
}

.philosophy-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--philosophy-line);
}

.philosophy-step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 34px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--philosophy-line);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.philosophy-step:hover .philosophy-step-number {
  border-color: var(--philosophy-line-strong);
  transform: translateX(3px);
}

.philosophy-step h3 {
  margin: 0 0 8px;
  color: var(--deep-green);
  font-size: 1.08rem;
}

.philosophy-step p {
  margin: 0;
  color: var(--subtext);
  font-size: 0.94rem;
  line-height: 1.76;
}

.philosophy-education {
  background: linear-gradient(180deg, rgba(246, 249, 244, 0.72), rgba(255, 255, 255, 0.95));
}

.philosophy-education-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  padding: 44px 0;
  overflow: hidden;
  border-top: 1px solid var(--philosophy-line);
  border-bottom: 1px solid var(--philosophy-line);
}

.philosophy-education-panel .section-heading {
  align-self: start;
  margin-bottom: 0;
}

.philosophy-education-panel .philosophy-copy {
  position: relative;
  z-index: 1;
}

.philosophy-education-panel .philosophy-ghost-word {
  right: 2%;
  top: 8px;
  bottom: auto;
}

.philosophy-keywords {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--philosophy-line);
  border-left: 1px solid var(--philosophy-line);
}

.philosophy-keywords span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  color: var(--deep-green);
  font-size: 0.88rem;
  font-weight: 700;
  border-right: 1px solid var(--philosophy-line);
  border-bottom: 1px solid var(--philosophy-line);
  background: rgba(255, 255, 255, 0.54);
}

.philosophy-next {
  padding-bottom: 76px;
}

.philosophy-next-panel {
  border: 1px solid var(--philosophy-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 244, 0.58));
}

.philosophy-next-panel .section-heading {
  margin: 0;
  padding: 28px 28px 18px;
}

.philosophy-next-panel > p {
  margin: 0;
  padding: 0 28px 26px;
  color: var(--subtext);
  line-height: 1.86;
}

.philosophy-next-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--philosophy-line);
}

.philosophy-next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 22px 28px;
  color: var(--deep-green);
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.38);
  transition: background-color 0.22s ease, color 0.22s ease;
}

.philosophy-next-link + .philosophy-next-link {
  border-left: 1px solid var(--philosophy-line);
}

.philosophy-next-link span:last-child {
  transition: transform 0.22s ease;
}

.philosophy-next-link:hover,
.philosophy-next-link:focus-visible {
  color: var(--green);
  background: rgba(239, 248, 234, 0.84);
}

.philosophy-next-link:hover span:last-child,
.philosophy-next-link:focus-visible span:last-child {
  transform: translateX(4px);
}

.reveal-ready .philosophy-page .reveal .philosophy-issue,
.reveal-ready .philosophy-page .reveal .philosophy-step,
.reveal-ready .philosophy-page .reveal .philosophy-next-link {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-ready .philosophy-page .reveal.is-visible .philosophy-issue,
.reveal-ready .philosophy-page .reveal.is-visible .philosophy-step,
.reveal-ready .philosophy-page .reveal.is-visible .philosophy-next-link {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .philosophy-page .reveal.is-visible .philosophy-issue:nth-child(2),
.reveal-ready .philosophy-page .reveal.is-visible .philosophy-step:nth-child(2),
.reveal-ready .philosophy-page .reveal.is-visible .philosophy-next-link:nth-child(2) {
  transition-delay: 0.06s;
}

.reveal-ready .philosophy-page .reveal.is-visible .philosophy-issue:nth-child(3),
.reveal-ready .philosophy-page .reveal.is-visible .philosophy-step:nth-child(3) {
  transition-delay: 0.12s;
}

.reveal-ready .philosophy-page .reveal .section-heading::after {
  transform: scaleX(0);
  transition: transform 0.55s ease;
}

.reveal-ready .philosophy-page .reveal.is-visible .section-heading::after {
  transform: scaleX(1);
}

@keyframes philosophyHeroRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .philosophy-hero {
    min-height: 34svh;
  }

  .philosophy-hero .sub-hero-content h1 {
    font-size: 2.1rem;
  }

  .philosophy-concept {
    padding-top: 56px;
  }

  .philosophy-concept-statement {
    padding: 24px 0 24px 20px;
  }

  .philosophy-concept-statement p {
    font-size: 1.08rem;
    line-height: 1.78;
  }

  .philosophy-ghost-word {
    font-size: 3.6rem;
  }

  .philosophy-issue-grid,
  .philosophy-freedom-layout,
  .philosophy-education-panel,
  .philosophy-next-links {
    grid-template-columns: 1fr;
  }

  .philosophy-issue {
    min-height: auto;
    padding: 28px 22px;
  }

  .philosophy-issue + .philosophy-issue {
    border-top: 1px solid var(--philosophy-line);
    border-left: 0;
  }

  .philosophy-freedom-layout {
    gap: 28px;
  }

  .philosophy-education-panel {
    gap: 24px;
    padding: 34px 0;
  }

  .philosophy-keywords {
    grid-column: 1;
  }

  .philosophy-next-link + .philosophy-next-link {
    border-top: 1px solid var(--philosophy-line);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .philosophy-hero .sub-hero-content h1 {
    font-size: 1.86rem;
  }

  .philosophy-copy p {
    line-height: 1.84;
  }

  .philosophy-section .section-heading {
    margin-bottom: 22px;
  }

  .philosophy-concept-statement {
    margin-bottom: 26px;
  }

  .philosophy-number {
    top: 12px;
    right: 16px;
    font-size: 4rem;
  }

  .philosophy-step {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
  }

  .philosophy-process::before {
    left: 27px;
  }

  .philosophy-step-number {
    width: 54px;
  }

  .philosophy-next-panel .section-heading {
    padding: 24px 20px 16px;
  }

  .philosophy-next-panel > p {
    padding: 0 20px 22px;
  }

  .philosophy-next-link {
    min-height: 70px;
    padding: 18px 20px;
  }
}

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

  .reveal-ready .philosophy-page .reveal .philosophy-issue,
  .reveal-ready .philosophy-page .reveal .philosophy-step,
  .reveal-ready .philosophy-page .reveal .philosophy-next-link,
  .reveal-ready .philosophy-page .reveal .section-heading::after {
    opacity: 1;
    transform: none;
  }
}
