.message-page {
  background: #fff;
}

.message-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-height) + 96px) 0 104px;
  color: #fff;
}

.message-hero-media,
.message-hero-shade {
  position: absolute;
  inset: 0;
}

.message-hero-media {
  z-index: -3;
  overflow: hidden;
  background: #143c2d;
}

.message-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.message-hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 28, 20, 0.82) 0%, rgba(16, 43, 31, 0.66) 48%, rgba(20, 60, 45, 0.32) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.04) 48%, rgba(8, 30, 22, 0.62) 100%);
}

.message-hero-copy {
  width: min(760px, 100%);
}

.message-hero-copy h1 {
  margin: 0;
  font-size: clamp(3.3rem, 6vw, 6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.message-hero-copy p:not(.hero-kicker) {
  width: min(690px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  line-height: 2;
}

.message-anchor-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(223, 231, 225, 0.8);
  border-bottom: 1px solid rgba(223, 231, 225, 0.92);
  backdrop-filter: blur(12px);
}

.message-anchor-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.message-anchor-inner::-webkit-scrollbar {
  display: none;
}

.message-anchor-inner a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.message-anchor-inner a:hover,
.message-anchor-inner a:focus-visible {
  transform: translateY(-2px);
  color: var(--green-700);
  border-color: rgba(61, 154, 98, 0.54);
}

.message-section {
  padding: 94px 0;
}

.message-section-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.message-section-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 2.55rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.message-section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #5a665f;
  line-height: 1.95;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 56px;
  align-items: center;
}

.philosophy-copy h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.philosophy-lead {
  margin: 32px 0 0;
  color: #26362e;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.65;
}

.sprout-figure {
  margin: 0;
  padding: 22px;
  background: #f7faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.sprout-figure img {
  width: 100%;
  aspect-ratio: 253 / 450;
  object-fit: cover;
  background: #fff;
  border-radius: 4px;
}

.sprout-figure figcaption {
  margin-top: 14px;
  color: var(--green-900);
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principle-card {
  min-height: 230px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(21, 47, 34, 0.06);
}

.principle-card:nth-child(2n) {
  background: #f4f8fa;
}

.principle-card:nth-child(3n) {
  background: #fff9ec;
}

.principle-card span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 3px 11px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  background: var(--green-900);
  border-radius: 999px;
}

.principle-card h3 {
  margin: 22px 0 0;
  color: var(--green-900);
  font-size: 1.24rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.principle-card p {
  margin: 14px 0 0;
  color: #5a665f;
  line-height: 1.78;
}

.president-section {
  background:
    linear-gradient(180deg, #fff 0%, #f7faf7 100%);
}

.president-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.president-kicker-panel {
  position: sticky;
  top: calc(var(--header-height) + 70px);
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(20, 60, 45, 0.96), rgba(38, 99, 72, 0.88)),
    url("../video/source/path.jpg") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.president-kicker-panel .eyebrow {
  color: #f3ce61;
}

.president-kicker-panel h2 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.president-kicker-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
}

.president-message {
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.president-message p {
  margin: 0;
  color: #26362e;
  font-size: 1.04rem;
  line-height: 2.08;
}

.president-message p + p {
  margin-top: 22px;
}

.president-signature {
  display: grid;
  gap: 6px;
  justify-items: end;
  margin-top: 34px;
  padding-top: 24px;
  color: var(--green-900);
  border-top: 1px solid var(--line);
}

.president-signature time {
  color: #5a665f;
  font-size: 0.95rem;
  font-weight: 800;
}

.president-signature strong {
  font-size: 1.18rem;
  letter-spacing: 0;
}

.message-contact {
  background:
    linear-gradient(90deg, rgba(11, 48, 29, 0.66), rgba(31, 92, 53, 0.54)),
    url("../img/contact-forest-bg.png") center 42% / cover no-repeat;
}

@media (max-width: 1020px) {
  .philosophy-layout,
  .president-layout {
    grid-template-columns: 1fr;
  }

  .sprout-figure {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .president-kicker-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .message-hero {
    min-height: 620px;
    padding: calc(var(--header-height) + 74px) 0 90px;
  }

  .message-hero-copy h1 {
    font-size: 3.1rem;
  }

  .message-hero-copy p:not(.hero-kicker) {
    font-size: 1rem;
    line-height: 1.85;
  }

  .message-section {
    padding: 72px 0;
  }

  .message-section-heading h2,
  .president-kicker-panel h2 {
    font-size: 2.05rem;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .president-message {
    padding: 28px;
  }
}

@media (max-width: 430px) {
  .message-hero-copy h1 {
    font-size: 2.54rem;
  }

  .philosophy-lead {
    font-size: 1.34rem;
  }

  .principle-card,
  .president-kicker-panel,
  .president-message {
    padding: 22px;
  }
}
