* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  background-color: #ffffff;
  color: #2c2c2c;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

header {
  background-color: #1a3a2a;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity 0.2s;
}

header .logo-wrap:hover {
  opacity: 0.85;
}

header img {
  height: 64px;
  width: auto;
  border-radius: 4px;
}

header .site-title {
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

nav a {
  color: #c8dbc0;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.95rem;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: #fff;
}

.hero {
  text-align: center;
  padding: 64px 40px 40px;
}

.hero img {
  max-width: 420px;
  width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  margin-bottom: 32px;
}

.quick-links {
  max-width: 900px;
  margin: 0 auto 56px;
  padding: 0 40px;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.quick-link-card {
  flex: 1;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid #d8e8d0;
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.quick-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  border-color: #1a3a2a;
}

.quick-link-title {
  font-size: 1.15rem;
  font-weight: bold;
  color: #1a3a2a;
}

.quick-link-desc {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: #666;
}

main {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

main.main--wide {
  max-width: 1100px;
}

.section {
  margin-bottom: 48px;
  scroll-margin-top: 24px;
}

h1 {
  font-size: 2rem;
  color: #1a3a2a;
  margin-bottom: 8px;
  text-align: center;
}

h2 {
  font-size: 1.3rem;
  color: #1a3a2a;
  margin-bottom: 12px;
  border-bottom: 2px solid #c8dbc0;
  padding-bottom: 6px;
}

p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

ol {
  margin: 0 0 16px 24px;
}

ol li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

ul {
  margin: 0 0 16px 24px;
}

ul li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

ul ul {
  margin-top: 10px;
}

.contact-box {
  background: #fff;
  border: 1px solid #d8e8d0;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.contact-box p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.contact-box a {
  color: #1a3a2a;
  font-weight: bold;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  color: #1a3a2a;
  display: inline-flex;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #4a7c59;
}

.placeholder-box {
  background: #f9f9f9;
  border: 2px dashed #c8dbc0;
  border-radius: 8px;
  padding: 48px 40px;
  text-align: center;
  color: #888;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.story-title {
  font-size: 1.75rem;
  color: #1a3a2a;
  text-align: center;
  text-decoration: underline;
  margin-bottom: 24px;
}

.story-nav {
  position: fixed;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.story-nav a {
  background: #fff;
  border: 1px solid #d8e8d0;
  border-radius: 20px;
  padding: 8px 18px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #1a3a2a;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.story-nav a:hover {
  background: #1a3a2a;
  color: #fff;
}

.story-divider {
  border: none;
  border-top: 1px solid #c8dbc0;
  margin: 56px 0;
}

.page-title {
  font-size: 2rem;
  color: #1a3a2a;
  text-align: center;
  margin: 48px 0 40px;
}

.team-name {
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: underline;
  color: #1a3a2a;
  margin-bottom: 12px;
  display: block;
}

.team-member {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
}

.team-photo {
  width: 140px;
  height: 140px;
  min-width: 140px;
  min-height: 140px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-photo--shift-down {
  object-position: center 5%;
}

.team-photo-placeholder {
  width: 140px;
  height: 140px;
  min-width: 140px;
  min-height: 140px;
  box-sizing: border-box;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background: #ffffff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a3a2a;
  line-height: 1;
}

.team-role {
  display: block;
  font-style: italic;
  color: #5a6b58;
  margin-bottom: 12px;
  margin-top: -8px;
}

@media (max-width: 600px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 16px;
}

.partner-card {
  background: #fff;
  border: 1px solid #d8e8d0;
  border-radius: 8px;
  padding: 48px 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.partner-logo {
  max-width: 100%;
  width: 240px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 20px;
}

.partner-logo--framed {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 8px;
}

.partner-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1a3a2a;
  letter-spacing: 0.03em;
}

.get-involved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 56px;
  margin-top: 16px;
}

.involve-card {
  background: #fff;
  border: 1px solid #d8e8d0;
  border-radius: 8px;
  padding: 52px 48px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.involve-card h3 {
  color: #1a3a2a;
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.involve-card p {
  font-size: 1.1rem;
}

.trip-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.trip-filter {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: #1a3a2a;
  background: #fff;
  border: 1px solid #c8dbc0;
  border-radius: 20px;
  padding: 8px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.trip-filter:hover {
  border-color: #1a3a2a;
}

.trip-filter.active {
  background: #1a3a2a;
  color: #fff;
  border-color: #1a3a2a;
}

.trip-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.trip-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #888;
  font-style: italic;
  padding: 40px 0;
}

.trip-card {
  background: #fff;
  border: 1px solid #d8e8d0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.trip-card--past {
  opacity: 0.75;
}

.trip-card-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.trip-img-btn {
  display: block;
  padding: 0;
  border: none;
  background: none;
  width: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.trip-img-btn:focus-visible {
  outline: 3px solid #1a3a2a;
  outline-offset: -3px;
}

.trip-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

/* Touch devices latch :hover on after a tap, which would leave the
   thumbnail stuck zoomed after the lightbox closes. */
@media (hover: hover) {
  .trip-img-btn:hover .trip-img {
    transform: scale(1.03);
  }
}

.trip-card-body {
  padding: 28px 32px 32px;
}

.trip-status {
  align-self: flex-start;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.trip-status--upcoming {
  background: #e4f0de;
  color: #1a3a2a;
}

.trip-status--past {
  background: #eee;
  color: #777;
}

.trip-status--planning {
  background: #fbe8c8;
  color: #8a5a1c;
}

/* Red rather than the planning amber: amber means "not final yet", this means
   "do not pay". They must not be mistaken for each other. */
.trip-status--test {
  background: #fbe0e0;
  color: #8a1c1c;
}

/* Badges pinned to the left edge, the image hint pinned to the right edge of
   the same row. row-reverse (with the hint first in source order) means that
   when the row runs out of width, the hint — not the badges — claims the
   first wrapped line, so it lands above the badges instead of below them. */
.trip-badges-row {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  row-gap: 6px;
}

.trip-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* A quiet nudge that the images are tappable, not an alert. */
.trip-img-hint {
  font-style: italic;
  font-size: 0.85rem;
  color: #4a7c59;
  background: #eef6ea;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 0;
}

.trip-card--planning {
  border-style: dashed;
  border-color: #e0c088;
}

.trip-name {
  font-size: 1.25rem;
  color: #1a3a2a;
  margin-bottom: 6px;
}

.trip-meta {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 4px;
}

.trip-desc {
  font-size: 0.98rem;
  margin: 12px 0 16px;
}

.trip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 14px;
  font-family: Arial, sans-serif;
}

.trip-cost {
  font-weight: bold;
  color: #1a3a2a;
  font-size: 1.05rem;
}

.trip-vacancies {
  font-size: 0.85rem;
  color: #666;
}

/* Sits immediately above the button, where the decision to click is made —
   a badge at the top of a tall card is easy to scroll straight past. */
.trip-test-note {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-left: 4px solid #8a1c1c;
  border-radius: 4px;
  background: #fbe0e0;
  color: #8a1c1c;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1.45;
}

.trip-pay {
  display: block;
  /* Sized to its label and pushed right, so it reads as the card's next step
     rather than a banner. Goes full width on narrow screens below. */
  width: fit-content;
  margin: 16px 0 0 auto;
  padding: 13px 46px;
  border-radius: 6px;
  /* Brighter than the #1a3a2a used by the header and headings: the button is
     the one thing on the card meant to be acted on, so it should not read as
     more site furniture. Still 7:1 against white, well past the 4.5:1 floor. */
  background: #0b6623;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

/* Mouse and keyboard get the same treatment: deepening the green alone is a
   change most people would not notice, so the ring carries the state. The ring
   is lighter than the button on purpose — matching its darkness would let the
   two blend into one shape instead of reading as an outline. */
.trip-pay:hover,
.trip-pay:focus-visible {
  background: #084d1a;
  box-shadow: 0 5px 16px rgba(11, 102, 35, 0.35);
  transform: translateY(-2px);
  outline: 4px solid #228b22;
  outline-offset: 3px;
}

/* Pressed drops below the resting line, so there is 3px of travel down from
   hover and the click reads as a push rather than another shade of green. */
.trip-pay:active {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(11, 102, 35, 0.4);
}

@media (max-width: 700px) {
  .trip-img {
    height: 180px;
  }

  .trip-card-body {
    padding: 20px;
  }

  /* A narrow button is a small tap target — take the full width on phones. */
  .trip-pay {
    width: auto;
    margin-left: 0;
  }
}

/* ── Image lightbox ── */
.lightbox {
  position: fixed;
  /* Stretched by offsets rather than height:100%, which mobile browsers
     resolve inconsistently around the collapsing address bar. */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
  background: rgba(10, 20, 14, 0.9);
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  padding: 4px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #c8dbc0;
}

.lightbox-close:focus-visible {
  outline: 2px solid #c8dbc0;
}

/* Keep the page behind the lightbox from scrolling */
body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  /* Fitting a tall details image into the screen height leaves the text
     too small to read, so give it the full width and scroll instead. */
  .lightbox {
    display: block;
    padding: 52px 12px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lightbox-img {
    width: 100%;
    max-height: none;
  }

  /* The image now reaches the edges, so the close button needs its own
     backing to stay visible over a light photo. */
  .lightbox-close {
    position: fixed;
    top: 8px;
    right: 10px;
    background: rgba(10, 20, 14, 0.75);
    font-size: 2rem;
    padding: 2px 14px 6px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .trip-img {
    transition: none;
  }

  .trip-img-btn:hover .trip-img {
    transform: none;
  }
}

footer {
  background-color: #1a3a2a;
  color: #c8dbc0;
  text-align: center;
  padding: 20px 40px;
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
}

/* ── Hamburger button (hidden on desktop) ── */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(200, 219, 192, 0.5);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.4rem;
  color: #fff;
  line-height: 1;
  padding: 4px 10px;
  transition: background 0.2s;
}

.nav-toggle:hover,
.nav-toggle:focus {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

/* ── Mobile layout ── */
@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 0;
  }

  header .logo-wrap {
    flex: 1;
  }

  header img {
    height: 44px;
  }

  header .site-title {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: block;
    align-self: center;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(200, 219, 192, 0.2);
    margin-top: 12px;
  }

  nav.open {
    display: flex;
  }

  nav a {
    margin-left: 0;
    padding: 11px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(200, 219, 192, 0.15);
  }

  nav a:last-child {
    border-bottom: none;
  }

  main {
    padding: 0 20px 60px;
  }

  .hero {
    padding: 40px 20px 24px;
  }

  .quick-links {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .quick-link-card {
    max-width: none;
  }

  .contact-box {
    padding: 28px 20px;
  }

  .placeholder-box {
    padding: 32px 20px;
  }

  .story-nav {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 32px;
  }

  .get-involved-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .involve-card {
    padding: 32px 24px;
  }
}
