/* =========================================
   RESET
   ========================================= */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* =========================================
   FONTS
   ========================================= */

@font-face {
  font-family: "Signika";
  src: url("font/Signika-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Signika";
  src: url("font/Signika-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Signika";
  src: url("font/Signika-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* =========================================
   BOARD LAYOUT
   ========================================= */

body {
  background: radial-gradient(
    ellipse at 50% 40%,
    #c8d5b0 0%,
    #8fa878 40%,
    #5a7a4a 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: 100vh;
  padding: 5rem 2rem;
  font-family: "Signika", "Segoe UI", sans-serif;
}

.board {
  background: #f7f0e3;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 1100px;
  overflow: hidden;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.board--white {
  background: #fff;
}

.board--white .board__body {
  padding-right: 1.5rem;
  grid-template-columns: 1.2fr 1fr;
}

.board--white .board__text-col p {
  font-size: 1rem;
  line-height: 1.4;
}

.board--white .board__subsection-title {
  font-size: 1.05rem;
}

.board + .board {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  clip-path: inset(0 -60px -60px -60px);
}

.board:has(+ .board) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}

/* ---- TOP ---- */

.board__top {
  position: relative;
  width: 100%;
}

.board__heading-svg {
  display: block;
  width: 78%;
  height: auto;
}

.board__stop-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 22%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.board__stop-badge img {
  width: 100%;
  max-width: 160px;
  height: auto;
}

/* ---- BODY ---- */

.board__body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.25rem;
  padding: 2.5rem 0 0 1.5rem;
}

/* ---- TEXT COLUMN ---- */

.board__text-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.board__text-col p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #49632a;
  max-width: none;
}

/* ---- STOP 1: images column ---- */

.board__img-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.board__aerial {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.board__tablet-frame {
  position: relative;
}

.board__tablet-frame img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}


.board__map {
  display: flex;
  flex-direction: column;
}

.board__map img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- STOP 2: subsections ---- */

.board__subsection {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.board__subsection-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
}

.board__plants {
  display: flex;
  align-items: flex-start;
}

.board__plants-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- STOP 3: single-column body ---- */

.board__body--single {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.5rem 0 1.5rem;
}

.board:has(.board__body--single) {
  padding-bottom: 0;
}

.board__intro {
  font-size: 1rem;
  line-height: 1.4;
  color: #49632a;
  max-width: none;
}

.board__two-images {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 1.25rem;
  align-items: end;
}

.board__photo {
  padding-bottom: 1rem;
}

.board__photo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.board__illustration {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}

.board__illustration img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ---- STOP 4 ---- */

.board--stop4 {
  padding-bottom: 0;
}

.board--stop4 .board__body {
  padding-right: 1.5rem;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "text  right"
    "building right";
  gap: 2.5rem;
}

.board--stop4 .board__text-col  { grid-area: text; }
.board--stop4 .board__right-col { grid-area: right; }
.board--stop4 .board__building  { grid-area: building; align-self: end; }

.board--stop4 .board__text-col p,
.board__right-col p {
  font-size: 1rem;
  line-height: 1.4;
  max-width: none;
  color: #49632a;
}

.board__right-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 2.5rem;
}

.board__grid-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.board__team {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.board__team img {
  width: 50%;
  height: auto;
  display: block;
}

.board__building img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- STOP 5 ---- */

.board--stop5 {
  padding-bottom: 2.5rem;
}

.board--stop5 .board__body {
  grid-template-columns: 1.4fr 1fr;
}

.board__wood-section {
  display: flex;
  align-items: center;
}

.board__wood-img {
  width: 75%;
  height: auto;
  display: block;
}

.board__three-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-right: 1.5rem;
}

.board__three-img {
  display: flex;
  flex-direction: column;
}

.board__three-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- STOP 6 ---- */

.board--stop6 {
  padding-bottom: 0;
}

.board--stop6 .board__body {
  padding-right: 0;
  grid-template-columns: 1.5fr 1fr;
}

.board__rowan {
  display: flex;
  align-items: center;
  min-width: 0;
}

.board__rowan img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 0;
}

.board__four-trees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-top: 1.5rem;
  align-items: end;
}

.board__four-trees > img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 0;
}

/* ---- STOP 7 ---- */

.board--stop7 .board__body {
  grid-template-columns: 1fr 1fr;
  padding-right: 1.5rem;
  align-items: start;
}

.board--stop7 .board__text-col p {
  font-size: 1rem;
  line-height: 1.4;
}

.board__map-wrap {
  margin-top: 1rem;
}

.board__map-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.board__trees-wrap {
  min-width: 0;
}

.board__trees-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- STOP 8 ---- */

.board--stop8 {
  padding-bottom: 2.5rem;
}

.board--stop8__body {
  grid-template-columns: 1fr 1fr;
  padding-right: 1.5rem;
  align-items: start;
}

.board--stop8 .board__heading-svg {
  width: 55%;
}

.board--stop8 .board__text-col p {
  font-size: 1rem;
  line-height: 1.4;
}

.board__animals-wrap {
  min-width: 0;
}

.board__animals-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   RESPONSIVE – TABLET (≤900px)
   ========================================= */

@media (max-width: 900px) {
  body {
    padding: 1rem;
  }

  .board__body,
  .board--white .board__body,
  .board--stop4 .board__body,
  .board--stop5 .board__body,
  .board--stop6 .board__body,
  .board--stop7 .board__body,
  .board--stop8__body {
    grid-template-columns: 1fr;
  }

  .board__img-col {
    grid-template-columns: 1fr 1fr;
  }

  .board__four-trees {
    grid-template-columns: repeat(2, 1fr);
  }

  .board__three-images {
    grid-template-columns: 1fr;
  }

  .board__team img {
    width: 60%;
  }
}

/* =========================================
   RESPONSIVE – MOBILE (≤600px)
   ========================================= */

@media (max-width: 899px) {
  body {
    background: none;
    padding: 0;
  }

  .board {
    border-radius: 0;
    box-shadow: none;
  }

  .board__top {
    display: flex;
    flex-direction: column;
  }

  .board__heading-svg {
    width: 100%;
    order: 2;
  }

  .board__stop-badge {
    order: 1;
    position: static;
    width: 100%;
    justify-content: flex-end;
    padding: 0;
  }

  .board__stop-badge img {
    max-width: 120px;
  }

  .board__body {
    padding-right: 0;
  }

  .board__text-col {
    padding-right: 1.5rem;
  }

  .board__text-col p {
    font-size: 0.9rem;
  }

  .board__img-col {
    grid-template-columns: 1fr;
  }

  .board__aerial {
    padding-right: 1.5rem;
  }

  /* Stop 2 */
  .board--white .board__body {
    padding-right: 1.5rem;
    grid-template-columns: 1fr;
  }

  .board--white .board__text-col {
    padding-right: 0;
  }

  /* Stop 3 */
  .board__body--single {
    padding-right: 1.5rem;
  }

  .board__two-images {
    grid-template-columns: 1fr;
  }


  /* Stop 4 */
  .board--stop4 .board__body {
    padding-right: 1.5rem;
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "right"
      "building";
  }

  .board--stop4 .board__text-col {
    padding-right: 0;
  }

  .board--stop4 .board__right-col {
    padding-bottom: 0;
  }

  .board--stop4 {
    padding-bottom: 0;
  }

  .board__team img {
    width: 60%;
  }

  /* Stop 5 */
  .board--stop5 .board__body {
    padding-right: 1.5rem;
    grid-template-columns: 1fr;
  }

  .board--stop5 .board__text-col {
    padding-right: 0;
  }

  .board__wood-section {
    flex-direction: column;
  }

  .board__wood-img {
    width: 80%;
    align-self: center;
  }

  .board__three-images {
    margin-top: 1rem;
    grid-template-columns: 1fr;
  }

  .board__three-img:not(:first-child) {
    padding-left: 1.5rem;
  }

  .board--stop5 {
    padding-bottom: 2.5rem;
  }

  /* Stop 6 */
  .board--stop6 .board__body {
    padding-right: 0;
    grid-template-columns: 1fr;
  }

  .board--stop6 .board__text-col {
    padding-right: 1.5rem;
  }

  .board__four-trees {
    grid-template-columns: repeat(2, 1fr);
    padding-right: 1.5rem;
  }

  .board__four-trees > img {
    border-radius: 20px;
  }

  .board.board--stop6 {
    padding-bottom: 2.5rem;
    clip-path: inset(0 -60px -60px -60px round 0 0 12px 12px);
  }

  /* Stop 7 */
  .board--stop7 .board__body {
    padding-right: 1.5rem;
    grid-template-columns: 1fr;
  }

  .board--stop7 .board__text-col {
    padding-right: 0;
  }

  /* Stop 8 */
  .board--stop8__body {
    padding-right: 1.5rem;
    grid-template-columns: 1fr;
  }

  .board--stop8 .board__text-col {
    padding-right: 0;
  }

  .board--stop8 {
    padding-bottom: 2.5rem;
  }

  .board--stop8 .board__heading-svg {
    width: 80%;
  }
}
