/* About page — layout per design mockup */

.ab-page {
  background: #f9f9f7;
  color: #1a1a1a;
}

.ab-page .navbar-brand {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ab-wrap {
  max-width: 82rem;
  margin-left: auto;
  margin-right: auto;
}

/* ——— Shared type ——— */
.ab-kicker {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #888888;
  margin: 0 0 0.9rem;
}

.ab-kicker--light {
  color: rgba(255, 255, 255, 0.75);
}

.ab-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 1.15rem;
}

.ab-body {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.8;
  color: #333333;
}

.ab-body p {
  margin: 0;
}

.ab-body p + p {
  margin-top: 1rem;
}

.ab-body em {
  font-family: var(--font-display);
  font-style: italic;
}

.ab-loc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #888888;
  margin: 1.65rem 0 0;
}

.ab-link {
  display: inline-block;
  margin-top: 1.35rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.35);
  padding-bottom: 2px;
}

.ab-link:hover {
  opacity: 0.65;
  color: #1a1a1a;
}

.ab-section {
  padding: clamp(4.5rem, 11vw, 7.5rem) 0;
}

/* ——— 1. Hero ——— */
.ab-hero {
  position: relative;
  min-height: min(100dvh, 54rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(6rem, 14vw, 9rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background-color: #141413;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  color: #fff;
}

.ab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.45) 30%,
    rgba(0, 0, 0, 0.2) 58%,
    rgba(0, 0, 0, 0.04) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.ab-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.18) 55%,
    rgba(0, 0, 0, 0.38) 100%
  );
  pointer-events: none;
}

.ab-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.ab-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.65rem, 6.5vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
}

.ab-hero-lead {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.25vw, 0.98rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  max-width: 30rem;
  margin: 0;
}

.ab-hero .ab-scroll-hint {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 2.25rem);
  transform: none;
  z-index: 2;
  opacity: 0.85;
}

@media (max-width: 991.98px) {
  .ab-hero {
    min-height: min(88svh, 42rem);
    padding-top: clamp(5rem, 12vw, 6.5rem);
    background-position: 36% top;
  }

  .ab-hero::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.04) 28%,
      rgba(0, 0, 0, 0.32) 62%,
      rgba(0, 0, 0, 0.62) 100%
    );
  }

  .ab-cta-bg {
    min-height: min(42svh, 18rem);
    background-position: center top;
  }

  .ab-cta-bg::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.55) 55%,
      rgba(0, 0, 0, 0.88) 100%
    );
  }
}

/* ——— 2. The Deer ——— */
.ab-deer {
  background: #f9f9f7;
}

.ab-deer-fig {
  margin: 0;
  overflow: hidden;
  background: #e8e6e1;
  width: 100%;
  max-width: clamp(15rem, 38vw, 22rem);
  aspect-ratio: 4 / 5;
}

.ab-deer-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

@media (min-width: 992px) {
  .ab-deer-fig {
    max-width: min(23rem, 92%);
  }

  .ab-deer-text {
    padding-left: clamp(1.5rem, 4vw, 3rem);
  }
}

/* ——— 3. Open Air Museum ——— */
.ab-museum {
  padding: 0;
  background: #f2efe9;
}

.ab-museum-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(0.35rem, 0.6vw, 0.5rem);
  overflow-x: auto;
  overflow-y: hidden;
  line-height: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 26, 26, 0.25) transparent;
  padding-bottom: clamp(2.75rem, 6vw, 4rem);
}

.ab-museum-strip-item {
  --strip-w: clamp(12rem, 15vw, 17rem);
  position: relative;
  flex: 0 0 var(--strip-w);
  width: var(--strip-w);
  height: min(calc(var(--strip-w) * 5 / 4), min(32vh, 28rem));
  margin: 0;
  overflow: hidden;
  background: #e8e6e1;
}

/* Fit full mural in frame (zoomed out) — avoids extreme narrow crop */
.ab-museum-strip-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.ab-museum-body {
  padding-top: clamp(2.75rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.ab-museum-row {
  align-items: stretch;
}

.ab-museum-copy {
  padding-right: clamp(1.5rem, 4vw, 3rem);
}

.ab-museum-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: clamp(2rem, 4vw, 0);
  padding-bottom: clamp(1rem, 3vw, 0);
}

@media (min-width: 992px) {
  .ab-museum-stat {
    border-left: 1px solid rgba(26, 26, 26, 0.14);
    padding-top: 0;
    padding-bottom: 0;
    min-height: 100%;
  }
}

.ab-stat-block {
  text-align: center;
  padding: 0 1rem;
}

.ab-stat-num {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7vw, 4.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 0.2rem;
  color: #1a1a1a;
}

.ab-stat-word {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  margin: 0 0 1.15rem;
  color: #1a1a1a;
}

.ab-stat-place {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

/* ——— 4. Beyond the Wall ——— */
.ab-beyond {
  background: #f9f9f7;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.ab-beyond-copy {
  padding-top: 0.25rem;
}

@media (min-width: 992px) {
  .ab-beyond-row {
    --bs-gutter-x: clamp(1.25rem, 2.5vw, 2rem);
  }
}

.ab-beyond-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.5rem, 1.1vw, 0.7rem);
  width: 100%;
  max-width: 100%;
  margin-left: 0;
}

@media (max-width: 575.98px) {
  .ab-beyond-photos {
    grid-template-columns: 1fr;
  }
}

.ab-beyond-photo {
  margin: 0;
  overflow: hidden;
  line-height: 0;
  background: #f9f9f7;
  aspect-ratio: 1448 / 760;
}

.ab-beyond-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ——— 5. Quote ——— */
.ab-quote {
  background: #f4f4f2;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
}

.ab-quote-inner {
  margin: 0 auto;
  padding: 0;
  border: none;
  text-align: center;
  max-width: 40rem;
}

.ab-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  margin: 0;
}

/* ——— 6. Stats bar ——— */
.ab-facts {
  background: #f2efe9;
  padding: 0;
}

.ab-facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 82rem;
  margin: 0 auto;
}

.ab-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 3.5vw, 2rem) clamp(1rem, 2.5vw, 1.5rem);
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.ab-fact:first-child {
  border-top: none;
}

@media (min-width: 768px) {
  .ab-facts-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ab-fact {
    border-top: none;
    border-left: 1px solid rgba(26, 26, 26, 0.12);
  }

  .ab-fact:first-child {
    border-left: none;
  }
}

.ab-fact-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888888;
  margin: 0.55rem 0 0;
}

.ab-fact-value {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0;
}

.ab-fact-value--text {
  font-size: clamp(0.95rem, 1.45vw, 1.12rem);
  line-height: 1.4;
  letter-spacing: 0;
  max-width: 14rem;
  margin-left: auto;
  margin-right: auto;
}

.ab-fact-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #666666;
  margin: 0.45rem 0 0;
  max-width: 11rem;
}

/* ——— 7. CTA ——— */
.ab-cta {
  padding: 0;
}

.ab-cta-bg {
  position: relative;
  width: 100%;
  min-height: min(38vh, 20rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  background-color: #141413;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

.ab-cta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}

.ab-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 26rem;
}

.ab-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 0.85rem;
}

.ab-cta-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}

.ab-cta-link:hover {
  opacity: 0.8;
  color: #fff;
}
