:root {
  --lsp-green-950: #07170f;
  --lsp-green-900: #0c281a;
  --lsp-gold: #ddb24e;
  --lsp-gold-light: #efcd79;
  --lsp-cream: #f5f1e7;
  --lsp-white: #ffffff;
  --lsp-ink: #162019;
  --lsp-muted: #5d655d;
  --lsp-line: #d9d3c6;
  --lsp-header-height: 76px;
  --lsp-content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--lsp-header-height);
}

body {
  margin: 0;
  background: var(--lsp-cream);
  color: var(--lsp-ink);
  font-family: Arial, Helvetica, sans-serif;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.lsp-shell {
  width: min(
    var(--lsp-content-width),
    calc(100% - 52px)
  );
  margin: 0 auto;
}

/* ==========================================================
   Header
   ========================================================== */

.lsp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  min-height: var(--lsp-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding:
    12px
    max(
      26px,
      calc((100% - var(--lsp-content-width)) / 2)
    );
  background: rgba(7, 23, 15, 0.98);
  color: var(--lsp-white);
  backdrop-filter: blur(12px);
}

.lsp-brand {
  flex: 0 0 auto;
  color: var(--lsp-white);
  text-decoration: none;
}

.lsp-brand span,
.lsp-brand strong {
  display: block;
}

.lsp-brand span {
  color: var(--lsp-gold);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lsp-brand strong {
  margin-top: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.lsp-navigation {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 28px);
}

.lsp-navigation a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.lsp-navigation a:hover,
.lsp-navigation a:focus-visible {
  color: var(--lsp-white);
}

.lsp-navigation .lsp-nav-home {
  padding: 13px 18px;
  background: var(--lsp-gold);
  color: var(--lsp-green-950);
}

.lsp-menu-button {
  display: none;
}

/* ==========================================================
   Shared panel structure
   ========================================================== */

.lsp-panel {
  position: relative;

  /*
   * The document already uses scroll-padding-top for the sticky header.
   * Adding scroll-margin here applied the same offset twice.
   */
  scroll-margin-top: 0;
}

.lsp-panel-shell {
  height: 100%;
  padding: clamp(32px, 4.5vh, 54px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lsp-kicker,
.lsp-card-label {
  margin: 0 0 12px;
  color: #a7781e;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lsp-heading {
  max-width: 920px;
  margin-bottom: clamp(22px, 3vh, 34px);
}

.lsp-heading-compact {
  margin-bottom: clamp(18px, 2.5vh, 28px);
}

.lsp-heading h2,
.lsp-about-copy h2,
.lsp-support h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

/* ==========================================================
   Hero panel
   ========================================================== */

.lsp-hero {
  min-height: calc(100dvh - var(--lsp-header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--lsp-green-950);
  color: var(--lsp-white);
}

.lsp-hero-image {
  position: absolute;
  z-index: -3;
  inset: 0 0 0 auto;
  width: 61%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.lsp-hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 20, 12, 1) 0%,
      rgba(5, 20, 12, 0.98) 27%,
      rgba(5, 20, 12, 0.88) 39%,
      rgba(5, 20, 12, 0.50) 53%,
      rgba(5, 20, 12, 0.12) 70%,
      rgba(5, 20, 12, 0.02) 100%
    );
}

.lsp-hero-content {
  position: relative;
  z-index: 2;
  padding: 52px 0;
}

.lsp-hero .lsp-kicker {
  color: var(--lsp-gold);
}

.lsp-hero h1 {
  max-width: 640px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.05rem, 5vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.lsp-hero-intro {
  width: min(455px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.96rem;
  line-height: 1.62;
}

.lsp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.lsp-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 23px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.lsp-button-gold {
  background: var(--lsp-gold);
  color: var(--lsp-green-950);
}

.lsp-button-outline {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--lsp-white);
}

/* ==========================================================
   About panel
   ========================================================== */

.lsp-about {
  background: var(--lsp-cream);
}

.lsp-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 6vw, 82px);
  align-items: center;
}

.lsp-about-copy > p:not(.lsp-kicker) {
  max-width: 585px;
  margin: 21px 0 0;
  color: var(--lsp-muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.lsp-ministry-list {
  border-top: 1px solid var(--lsp-line);
}

.lsp-ministry-list article {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 19px;
  padding: clamp(17px, 2.2vh, 23px) 0;
  border-bottom: 1px solid var(--lsp-line);
}

.lsp-ministry-list article > span {
  padding-top: 5px;
  color: #a7781e;
  font-size: 0.7rem;
  font-weight: 850;
}

.lsp-ministry-list h3 {
  margin: 0 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
}

.lsp-ministry-list p {
  margin: 0;
  color: var(--lsp-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ==========================================================
   Featured mission panel
   ========================================================== */

.lsp-featured-panel {
  background: var(--lsp-white);
}

.lsp-featured-trip {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.65fr);
  height: clamp(300px, 42vh, 390px);
  overflow: hidden;
  background: var(--lsp-green-900);
  color: var(--lsp-white);
}

.lsp-featured-image,
.lsp-featured-image img {
  width: 100%;
  height: 100%;
}

.lsp-featured-image img {
  object-fit: cover;
}

.lsp-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(27px, 3vw, 42px);
}

.lsp-featured-content .lsp-card-label {
  color: var(--lsp-gold);
}

.lsp-featured-content h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
}

.lsp-featured-content > p:not(.lsp-card-label) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
  line-height: 1.6;
}

.lsp-featured-content > a {
  margin-top: 20px;
  color: var(--lsp-gold-light);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

/* ==========================================================
   Ministry cards panel
   ========================================================== */

.lsp-work-panel {
  background: var(--lsp-cream);
}

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

.lsp-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lsp-line);
  background: var(--lsp-white);
}

.lsp-card > img {
  width: 100%;
  height: clamp(155px, 22vh, 210px);
  object-fit: cover;
}

.lsp-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
}

.lsp-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  font-weight: 500;
}

.lsp-card-content > p:not(.lsp-card-label) {
  margin: 14px 0 0;
  color: var(--lsp-muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.lsp-card-content > a {
  margin-top: auto;
  padding-top: 17px;
  color: #76571f;
  font-size: 0.77rem;
  font-weight: 850;
  text-decoration: none;
}

/* ==========================================================
   Past missions archive control
   ========================================================== */

.lsp-work-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(18px, 2.5vh, 28px);
}

.lsp-work-heading-row .lsp-heading {
  margin-bottom: 0;
}

.lsp-work-archive-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--lsp-green-950);
  background: transparent;
  color: var(--lsp-green-950);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.lsp-work-archive-link:hover,
.lsp-work-archive-link:focus-visible {
  background: var(--lsp-green-950);
  color: var(--lsp-white);
}

@media (max-width: 999px) {
  .lsp-work-heading-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lsp-work-archive-link {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .lsp-work-archive-link {
    width: 100%;
  }
}

/* ==========================================================
   Stories panel
   ========================================================== */

.lsp-stories-panel {
  background: var(--lsp-white);
}

.lsp-story-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--lsp-line);
  background: var(--lsp-line);
}

.lsp-story-list > a {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: clamp(21px, 2.8vh, 29px);
  background: var(--lsp-white);
  text-decoration: none;
}

.lsp-story-list > a:hover,
.lsp-story-list > a:focus-visible {
  background: #faf7ef;
}

.lsp-story-list > a > span {
  color: #a7781e;
  font-size: 0.7rem;
  font-weight: 850;
}

.lsp-story-list p {
  margin: 0 0 6px;
  color: #a7781e;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lsp-story-list h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 500;
}

.lsp-story-list strong {
  color: #8f6923;
  font-size: 1.3rem;
}

/* ==========================================================
   Closing panel
   ========================================================== */

.lsp-closing-panel {
  display: flex;
  flex-direction: column;
  background: var(--lsp-green-900);
  color: var(--lsp-white);
}

.lsp-support {
  flex: 1;
  display: flex;
  align-items: center;
}

.lsp-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
  padding: 45px 0;
}

.lsp-support .lsp-kicker {
  color: var(--lsp-gold);
}

.lsp-support h2 {
  max-width: 820px;
  color: var(--lsp-white);
}

.lsp-support p:last-child {
  max-width: 760px;
  margin: 21px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.65;
}

.lsp-footer {
  flex: 0 0 auto;
  background: var(--lsp-green-950);
}

.lsp-footer-grid {
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
}

.lsp-footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.lsp-footer p {
  max-width: 570px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
  line-height: 1.5;
}

.lsp-footer nav {
  display: flex;
  gap: 20px;
}

.lsp-footer a {
  color: var(--lsp-gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

/* ==========================================================
   True full-panel desktop mode
   ========================================================== */

@media (min-width: 1000px) {

  html {
    scroll-snap-type: y mandatory;
  }

  .lsp-panel {
    height: calc(100dvh - var(--lsp-header-height));
    min-height: 0;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* ==========================================================
   Natural scrolling for smaller windows and devices
   ========================================================== */

@media (max-width: 999px) {

  html {
    scroll-snap-type: none;
  }

  .lsp-panel {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  /*
   * The general panel rule above must not collapse the landing hero.
   * Keep the hero equal to the visible viewport below the header.
   */
  .lsp-hero {
    min-height: calc(100dvh - var(--lsp-header-height));
  }

  .lsp-about,
  .lsp-featured-panel,
  .lsp-work-panel,
  .lsp-stories-panel {
    padding: 72px 0;
  }

  .lsp-panel-shell {
    height: auto;
    padding: 0;
  }

  .lsp-closing-panel {
    min-height: calc(100dvh - var(--lsp-header-height));
  }
}

/* ==========================================================
   Tablet and mobile navigation
   ========================================================== */

@media (max-width: 900px) {
  .lsp-menu-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: transparent;
    color: var(--lsp-white);
    font-weight: 800;
  }

  .lsp-navigation {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    padding: 16px;
    background: var(--lsp-green-950);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
  }

  .lsp-navigation-open {
    display: grid;
  }

  .lsp-navigation a {
    padding: 11px;
  }

  .lsp-about-grid,
  .lsp-featured-trip,
  .lsp-support-grid {
    grid-template-columns: 1fr;
  }

  .lsp-featured-trip {
    height: auto;
  }

  .lsp-featured-image {
    height: 320px;
  }

  .lsp-card-grid {
    grid-template-columns: 1fr;
  }

  .lsp-card > img {
    height: 280px;
  }

  .lsp-support-grid {
    gap: 28px;
  }
}

@media (max-width: 620px) {
  :root {
    --lsp-header-height: 68px;
  }

  .lsp-shell {
    width: calc(100% - 36px);
  }

  .lsp-brand span {
    display: none;
  }

  .lsp-hero {
    min-height: calc(100dvh - var(--lsp-header-height));
    align-items: flex-end;
  }

  .lsp-hero-image {
    inset: 0;
    width: 100%;
    object-position: 60% 20%;
  }

  .lsp-hero-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(5, 20, 12, 0.98) 0%,
        rgba(5, 20, 12, 0.84) 58%,
        rgba(5, 20, 12, 0.20) 100%
      );
  }

  .lsp-hero-content {
    padding: 70px 0 38px;
  }

  .lsp-hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .lsp-actions {
    display: grid;
  }

  .lsp-button {
    width: 100%;
  }

  .lsp-about-copy h2,
  .lsp-heading h2,
  .lsp-support h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .lsp-featured-image {
    height: 270px;
  }

  .lsp-card > img {
    height: 245px;
  }

  .lsp-story-list > a {
    grid-template-columns: 34px 1fr;
  }

  .lsp-story-list strong {
    display: none;
  }

  .lsp-footer-grid {
    display: block;
    padding: 31px 0;
  }

  .lsp-footer nav {
    display: grid;
    gap: 10px;
    margin-top: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}
