/* =========================================================
   SIERRA — 06, the first stone
   The one section that is allowed to be quiet.
   ========================================================= */

.sierra {
  position: relative;
  background: var(--ink-000);
  overflow: hidden;
}

/* A warm pool of light behind the name, so this section feels lit from
   somewhere other than the rest of the page. */
.sierra::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(120vw, 1400px);
  aspect-ratio: 2 / 1;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 162, 39, 0.09) 0%,
    rgba(142, 44, 36, 0.05) 34%,
    transparent 68%
  );
  pointer-events: none;
}

/* ---------------- head ---------------- */

.sierra__head {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sierra__head .eyebrow {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.sierra__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.sierra__name {
  font-size: var(--step-6);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--bone-100);
  padding-bottom: 0.08em;
}

.sierra__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 200;
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--gold-200);
}

.sierra__dates {
  color: var(--bone-500);
}

/* ---------------- prose ---------------- */

.sierra__prose {
  display: flex;
  justify-content: center;
  padding-block: clamp(2.17rem, 4.8vw, 4.06rem);
}

.sierra__prose-text {
  max-width: 62ch;
  font-size: var(--step-1);
  line-height: 1.78;
  color: var(--bone-200);
}

/* ---------------- mosaic ---------------- */

/* Deliberately not a uniform grid. These are photographs of photographs,
   pulled out of a box — a tidy 3×2 would flatten that into a stock strip. */
.sierra__mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.75rem);
  align-items: start;
  padding-block: clamp(1.24rem, 3.0vw, 2.32rem);
}

.sierra__plate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  will-change: transform;
}

.sierra__plate-img {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  will-change: clip-path, transform;
}

.sierra__plate-img picture {
  display: block;
  width: 100%;
  height: 100%;
}

.sierra__plate figcaption {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-500);
}

.sierra__plate--tall {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

.sierra__plate--wide {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
}

.sierra__plate--square {
  grid-column: span 3;
  aspect-ratio: 1 / 1;
}

/* Stagger the row positions so the mosaic has a diagonal drift built into
   its resting state, not only in its motion. */
.sierra__plate:nth-child(1) {
  margin-top: clamp(0.62rem, 2.4vw, 2.03rem);
}
.sierra__plate:nth-child(3) {
  margin-top: clamp(1.24rem, 4.2vw, 3.48rem);
}
.sierra__plate:nth-child(5) {
  margin-top: clamp(0.5rem, 2vw, 2rem);
}
.sierra__plate:nth-child(6) {
  margin-top: clamp(1.86rem, 5.4vw, 4.64rem);
}

@media (max-width: 900px) {
  .sierra__mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .sierra__plate--tall,
  .sierra__plate--wide {
    grid-column: span 3;
  }

  .sierra__plate--square {
    grid-column: span 3;
  }

  .sierra__plate {
    margin-top: 0 !important;
  }
}

/* ---------------- pull quote ---------------- */

.sierra__pull {
  max-width: 34ch;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(2.17rem, 4.8vw, 4.06rem);
}

.sierra__pull p {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--bone-100);
  text-wrap: balance;
}

.sierra__pull cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* ---------------- cta ---------------- */

.sierra__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.sierra__cta-note {
  color: var(--bone-500);
}
