/* Mourningmoor Hall — the Gates page. */

.gates-hero {
  position: relative;
  min-height: min(88vh, 46rem);
  display: grid;
  align-items: end;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gates-hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.92);
}

.gates-hero .hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(5, 9, 11, 0.25), rgba(5, 9, 11, 0.55) 55%, rgba(5, 9, 11, 0.96));
}

.gates-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  max-width: min(60rem, 100%);
}

.gates-hero .hero-title {
  font-family: var(--font-plate);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 4.2rem);
  letter-spacing: 0.18em;
  line-height: 1.08;
  margin: 0 0 var(--space-3);
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}

@media (max-width: 40rem) {
  .gates-hero .hero-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
    letter-spacing: 0.1em;
  }
}

.gates-hero .hero-sub {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.25rem;
  margin-bottom: var(--space-4);
}

.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* The grounds archive: three plates cropped from one survey photograph. */
.crop-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.crop {
  position: relative;
  border: 1px solid var(--line);
  background: #000;
  margin: 0;
}

.crop img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.crop.pos-a img { object-position: 30% 52%; }
.crop.pos-b img { object-position: 88% 58%; }
.crop.pos-c img { object-position: 12% 90%; }

.crop figcaption {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 0.6rem 0.8rem;
}

.crop figcaption .plate-label {
  display: block;
  font-family: var(--font-plate);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.crop figcaption .plate-note {
  display: block;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.98rem;
}

/* Archive note under the plates. */
.archive-note {
  margin-top: var(--space-3);
  color: var(--ink-soft);
  font-style: italic;
}

/* The lock band. */
.lock-band .frame {
  max-width: 46rem;
  margin-inline: auto;
  display: grid;
  gap: var(--space-4);
  justify-items: center;
  text-align: center;
}
