/* Goat Farm — jingtai/goat-farm-richman.html */

.site-page-goat .about-hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-page-goat .about-hero .hero-media {
  position: absolute;
  inset: 0;
  background: #e4e0da;
}

.site-page-goat .about-hero .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: richman-goat-kenburns 26s ease-in-out infinite alternate;
  filter: none;
}

.site-page-goat .about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.18);
}

@keyframes richman-goat-kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}

.site-page-goat .about-hero .about-hero-content {
  position: relative;
  z-index: 2;
  color: var(--rm-cream, #f7f4ef);
  text-align: center;
  padding: 0 var(--rm-gutter, 6vw);
  transform: translateY(70px);
}

.site-page-goat .about-hero-content h1 {
  font-size: 34px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.site-page-goat .about-hero-content p {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.92;
}

.site-page-goat .about-hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  background: rgba(176, 139, 91, 0.85);
  z-index: 2;
  pointer-events: none;
}

.site-page-goat .about-hero .breadcrumb {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(16px, 3vw, 48px);
  margin: 0;
}

.site-page-goat .about-hero .breadcrumb a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.site-page-goat .about-hero .breadcrumb a:hover { color: #fff; }

.site-page-goat .bc-sep {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.site-page-goat .bc-current {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
}

.site-page-goat .about-hero .breadcrumb a,
.site-page-goat .about-hero .breadcrumb .bc-sep,
.site-page-goat .about-hero .breadcrumb .bc-current {
  transform: translateY(2px);
}

.origin-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 130px 24px 0;
}

.origin-head {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 64px;
}

.origin-head .eyebrow { margin-bottom: 16px; }

.origin-head h2 {
  font-size: 34px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.origin-sub {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rm-camel, #b08b5b);
}

.origin-divider {
  width: 44px;
  height: 1px;
  background: rgba(45, 45, 45, 0.2);
  margin: 22px auto 0;
}

.origin-text {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.origin-text p {
  font-size: 14.5px;
  color: rgba(45, 45, 45, 0.68);
  line-height: 2;
  margin-bottom: 20px;
  font-weight: 300;
}

.origin-text p:last-child { margin-bottom: 0; }

.origin-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 auto 28px;
  max-width: 1400px;
}

.origin-feature {
  background: #fff;
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: 8px;
  padding: 26px 24px;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.origin-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 45, 45, 0.06);
  border-color: rgba(176, 139, 91, 0.55);
}

.origin-feature h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--rm-charcoal, #2d2d2d);
  margin-bottom: 8px;
  line-height: 1.4;
}

.origin-feature p {
  font-size: 12.5px;
  color: rgba(45, 45, 45, 0.7);
  line-height: 1.7;
  margin: 0;
}

.origin-story-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 24px 0;
}

.origin-story {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.story-lead {
  grid-column: span 4;
  height: 420px;
}

.story-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  background: #f1eee9;
}

.story-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.55) 0%, rgba(20, 20, 20, 0) 45%);
  pointer-events: none;
}

.story-lead::after { display: none; }

.story-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-item:hover img { transform: scale(1.045); }

.story-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: var(--rm-cream, #f7f4ef);
}

.story-num {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rm-camel, #b08b5b);
  margin-bottom: 8px;
}

.story-caption h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.story-caption p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0;
}

.origins-map-section {
  background: #fbfaf7;
  color: var(--rm-charcoal, #2d2d2d);
  margin-top: 130px;
  border-top: 1px solid rgba(45, 45, 45, 0.1);
}

.origins-map-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 88px;
  align-items: center;
}

.origins-map-body .eyebrow { color: var(--rm-camel, #b08b5b); }

.origins-map-body h2 {
  font-size: 34px;
  margin-bottom: 24px;
  line-height: 1.25;
  color: var(--rm-charcoal, #2d2d2d);
}

.origins-map-body p {
  font-size: 14.5px;
  color: rgba(45, 45, 45, 0.68);
  line-height: 2;
  margin-bottom: 40px;
  font-weight: 300;
}

.origins-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.origins-list li {
  position: relative;
  padding-left: 34px;
  font-size: 14px;
  color: rgba(45, 45, 45, 0.82);
  line-height: 1.7;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(45, 45, 45, 0.1);
  font-weight: 300;
}

.origins-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.origins-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 1px;
  background: var(--rm-camel, #b08b5b);
}

.origins-map-media {
  height: 460px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(45, 45, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.origins-map-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.doc-support-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 24px 44px;
}

.doc-support-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.doc-support-head .eyebrow { margin-bottom: 16px; }

.doc-support-head h2 {
  font-size: 34px;
  margin-bottom: 0;
  color: var(--rm-charcoal, #2d2d2d);
}

.doc-support-divider {
  width: 44px;
  height: 1px;
  background: rgba(45, 45, 45, 0.2);
  margin: 22px auto 0;
}

.doc-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.doc-support-item {
  background: #fff;
  border: 1px solid rgba(45, 45, 45, 0.08);
  border-radius: 8px;
  padding: 30px 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.doc-support-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 45, 45, 0.06);
  border-color: rgba(176, 139, 91, 0.55);
}

.doc-support-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--rm-charcoal, #2d2d2d);
  margin-bottom: 10px;
  line-height: 1.4;
}

.doc-support-item p {
  font-size: 13.5px;
  color: rgba(45, 45, 45, 0.72);
  line-height: 1.75;
  margin: 0;
}

.site-page-goat .cta-section {
  background: #fbfaf7;
  padding: 110px 24px 130px;
  text-align: center;
}

.site-page-goat .cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.site-page-goat .cta-inner h2 {
  font-size: 34px;
  margin-bottom: 18px;
}

.site-page-goat .cta-inner p {
  font-size: 15px;
  color: rgba(45, 45, 45, 0.72);
  line-height: 1.85;
  margin: 0 auto 38px;
}

.site-page-goat .cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-page-goat .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--rm-camel, #b08b5b);
  color: #fff;
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: opacity 0.3s ease, gap 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.site-page-goat .cta-btn:hover {
  opacity: 0.85;
  gap: 16px;
  color: #fff;
}

.site-page-goat .cta-btn-outline {
  background: transparent;
  color: var(--rm-charcoal, #2d2d2d);
  border: 1px solid rgba(45, 45, 45, 0.35);
}

.site-page-goat .cta-btn-outline:hover {
  opacity: 1;
  border-color: var(--rm-camel, #b08b5b);
  color: var(--rm-camel, #b08b5b);
}

@media (max-width: 1100px) {
  .origins-map-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .origins-map-media { height: 360px; }
}

@media (max-width: 1024px) {
  .origin-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-page-goat .about-hero { height: 480px; }

  .origin-section { padding: 90px 24px 0; }

  .origin-story {
    grid-template-columns: 1fr 1fr;
  }

  .story-lead {
    grid-column: span 2;
    height: 320px;
  }

  .doc-support-grid { grid-template-columns: 1fr; }

  .origins-map-wrap { padding: 80px 24px; }

  .site-page-goat .cta-section { padding: 80px 24px 100px; }
}

@media (max-width: 768px) {
  .site-page-goat .about-hero .breadcrumb { height: 38px; }

  .site-page-goat .about-hero .breadcrumb a,
  .site-page-goat .bc-sep,
  .site-page-goat .bc-current {
    font-size: 12px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 640px) {
  .origin-features { grid-template-columns: 1fr; }

  .origin-story { grid-template-columns: 1fr; }

  .story-lead {
    grid-column: span 1;
    height: 260px;
  }

  .story-item { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-page-goat .about-hero .hero-media img { animation: none; }
}
