/* =============================================================
   PAGE-SPECIFIC STYLES (.about- prefix = "About Page")
   ============================================================= */

/* ABOUT HERO ------------------------------------------------ */
.about-hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(100px, 12vw, 160px) clamp(20px, 4vw, 64px) clamp(40px, 6vw, 80px);
  color: var(--cream);
  overflow: hidden;
  background: var(--ink);
  text-align: center;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92);
}

.about-hero > *:not(.about-hero-bg) {
  position: relative;
  z-index: 1;
}

.about-breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 240, 232, 0.7);
  margin-bottom: 28px;
}

.about-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(242, 240, 232, 0.4);
}

.about-breadcrumbs a {
  color: rgba(242, 240, 232, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.about-breadcrumbs a:hover {
  color: var(--cream);
}

.about-breadcrumbs li:last-child {
  color: var(--cream);
}

.about-hero-headline {
  font-size: clamp(48px, 8vw, 120px);
  color: var(--cream);
  max-width: 1100px;
  position: relative;
  padding-bottom: 28px;
}

.about-hero-headline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: var(--clay);
}

.about-hero-subhead {
  margin-top: 32px;
  max-width: 580px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242, 240, 232, 0.85);
}

/* OWNER STORY ------------------------------------------------ */
.about-owners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.about-owners-text {
  padding: clamp(60px, 8vw, 110px) clamp(20px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-owners-text .display {
  font-size: clamp(40px, 5vw, 80px);
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
  padding-bottom: 24px;
}

.about-owners-text .display::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--clay);
}

.about-owners-text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(36, 36, 33, 0.85);
  margin-bottom: 16px;
}

.about-owners-text p:last-child {
  margin-bottom: 0;
}

.about-owners-image {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

/* MEET THE HERD ------------------------------------------------ */
.about-herd {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 64px);
  /* Offset for the fixed site header when jump-linked via /about/#herd. */
  scroll-margin-top: clamp(70px, 10vw, 100px);
}

.about-herd-head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.about-herd-head .display {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin: 12px 0 16px;
}

.about-herd-head p {
  font-size: 15px;
  color: rgba(242, 240, 232, 0.75);
}

.about-herd-head .plus-heading {
  justify-content: center;
}

.about-herd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.about-herd-card {
  border: 1px solid var(--line-cream);
  overflow: hidden;
}

.about-herd-media {
  position: relative;
}

.about-herd-card img,
.about-herd-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* Secondary photo sits on top of the primary and fades in on hover/focus. */
.about-herd-media .secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.about-herd-card:hover .about-herd-media .secondary,
.about-herd-card:focus-within .about-herd-media .secondary {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .about-herd-media .secondary {
    transition: none;
  }
}

.about-herd-card h3 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--cream);
  margin: 20px 20px 10px;
}

.about-herd-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(242, 240, 232, 0.8);
  margin: 0 20px 20px;
}

.about-book-note {
  max-width: 640px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(242, 240, 232, 0.7);
  font-family: 'IBM Plex Mono', monospace;
}

.about-book-note em {
  color: var(--cream);
  font-style: italic;
}

/* CLOSING CTA ------------------------------------------------ */
.about-cta {
  padding: clamp(60px, 9vw, 140px) clamp(20px, 4vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-cta .display {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.about-cta p {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(36, 36, 33, 0.8);
  margin-bottom: 32px;
}

/* RESPONSIVE ---------------------------------------- */
@media (max-width: 1024px) {
  .about-owners {
    grid-template-columns: 1fr;
  }

  .about-owners-image {
    min-height: 320px;
    order: -1;
  }

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

@media (max-width: 768px) {
  .about-hero {
    min-height: auto;
    padding: clamp(80px, 10vw, 120px) clamp(20px, 4vw, 64px) clamp(40px, 6vw, 80px);
  }

  .about-herd {
    padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 24px);
  }
}

@media (max-width: 560px) {
  .about-herd-grid {
    grid-template-columns: 1fr;
  }
}
