
/* ==========================================================
   LAND FROM ABOVE
   Boulder Gardens Fieldstation
   ========================================================== */

.land-above {
  width: min(1120px, calc(100% - 40px));
  margin: 4.5rem auto 5rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    linear-gradient(rgba(252,247,229,.96), rgba(252,247,229,.96)),
    radial-gradient(circle at 1px 1px, rgba(55,70,44,.12) 1px, transparent 1.2px);
  background-size: auto, 18px 18px;
  border: 1px solid rgba(89,75,48,.22);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(54,45,27,.08);
}

.land-above-header {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.land-above-header h2 {
  margin: .25rem 0 .8rem;
  color: #263a24;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: .95;
}

.land-above-header > p:last-child {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.land-above-chapter {
  margin-top: 5rem;
}

.land-above-label {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto 1.6rem;
  align-items: start;
}

.land-above-label > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(163,84,53,.45);
  color: #aa583b;
  font-size: .72rem;
  letter-spacing: .12em;
}

.land-above-label h3 {
  margin: 0 0 .15rem;
  color: #314327;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.land-above-label p {
  margin: 0;
  max-width: 620px;
  line-height: 1.55;
  color: #6c684f;
}

.land-map {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #c8bea1;
  border: 1px solid rgba(63,66,42,.28);
  box-shadow: 0 10px 24px rgba(49,42,27,.12);
}

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

.land-map figcaption {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(680px, 82%);
  transform: translateX(-50%);
  padding: .78rem 1.1rem .9rem;
  color: #f8f1d9;
  background: rgba(26,31,25,.93);
  border-radius: 8px 8px 0 0;
  text-align: center;
  font-size: clamp(.7rem, 1.2vw, .9rem);
  line-height: 1.4;
  box-shadow: 0 -2px 18px rgba(0,0,0,.14);
}

.land-map figcaption strong {
  display: block;
  margin-bottom: .15rem;
  color: #fffaf0;
  font-size: .92em;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.land-map-hero,
.land-map-wide {
  max-width: 980px;
  margin: 0 auto 1.2rem;
}

.land-map-pair,
.land-map-detail-grid {
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto 1rem;
}

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

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

.land-map-detail-grid .land-map {
  min-height: 0;
}

.land-above-note {
  max-width: 760px;
  margin: 4rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(75,74,48,.25);
  color: #6f694e;
  font-size: .82rem;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .land-above {
    width: calc(100% - 20px);
    padding: 1.4rem;
  }

  .land-map-pair,
  .land-map-detail-grid {
    grid-template-columns: 1fr;
  }

  .land-map figcaption {
    width: 88%;
    font-size: .72rem;
  }

  .land-above-label {
    grid-template-columns: 40px 1fr;
  }

  .land-above-label > span {
    width: 36px;
    height: 36px;
  }
}


/* NEW LAND CONTEXT MAPS — BEGIN */

/* These captions are field-journal notes below the maps, not overlays. */
.land-map.land-map-context-new {
  overflow: hidden;
  border-radius: 0;
  background: var(--paper-pale, #fbf4e6);
}

.land-map.land-map-context-new figcaption {
  position: relative;
  left: auto;
  bottom: auto;
  width: calc(100% - 1.5rem);
  margin: .3rem .75rem .7rem;
  padding: .45rem .25rem .25rem;
  color: #5c5547;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  font-family: "Caveat", "Architects Daughter", "Segoe Print", cursive;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.3;
  transform: rotate(-.25deg);
  transform-origin: left center;
}

.land-map.land-map-context-new:nth-of-type(even) figcaption {
  transform: rotate(.25deg);
}

.land-map.land-map-context-new figcaption strong {
  display: inline;
  margin-right: .25rem;
  color: var(--ink, #303229);
  font: inherit;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: none;
}

.land-map-key-areas {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 760px) {
  .land-map.land-map-context-new figcaption {
    width: calc(100% - 1rem);
    margin: .25rem .5rem .6rem;
    font-size: 1rem;
  }
}

/* NEW LAND CONTEXT MAPS — END */

/* MAP CAPTIONS WITHOUT MASKS — BEGIN */

/* Remove every CSS-generated concealment patch. */
.land-above .land-map::before,
.land-above .land-map::after,
.land-above .land-map figcaption::before,
.land-above .land-map figcaption::after {
  content: none !important;
  display: none !important;
}

/* Present every map caption as a handwritten note below the image. */
.land-above .land-map figcaption {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;

  display: block !important;
  width: calc(100% - 1.5rem) !important;
  margin: .3rem .75rem .7rem !important;
  padding: .42rem .25rem .3rem !important;

  color: #585143 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  font-family:
    "Caveat",
    "Architects Daughter",
    "Segoe Print",
    cursive !important;
  font-size: clamp(.95rem, 1.45vw, 1.15rem) !important;
  line-height: 1.3 !important;
  text-align: left !important;

  transform: rotate(-.25deg) !important;
  transform-origin: left center !important;
}

.land-above .land-map:nth-child(even) figcaption {
  transform: rotate(.25deg) !important;
}

.land-above .land-map figcaption strong {
  display: inline !important;
  margin-right: .28rem !important;
  color: var(--ink, #303229) !important;
  background: transparent !important;
  font: inherit !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
}

.land-above .land-map {
  border-radius: 0 !important;
  background: var(--paper-pale, #fbf4e6);
}

.land-above .land-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
}

@media (max-width: 760px) {
  .land-above .land-map figcaption {
    width: calc(100% - 1rem) !important;
    margin: .25rem .5rem .6rem !important;
    font-size: 1rem !important;
  }
}

/* MAP CAPTIONS WITHOUT MASKS — END */
