/* Barn studio and farm-experience profiles — load after farm-profile.css */

.barn-experiences-profile {
  --be-ink: #26302c;
  --be-spruce: #314b43;
  --be-spruce-dark: #20352f;
  --be-berry: #9b4f5b;
  --be-coral: #d98b78;
  --be-gold: #d5aa61;
  --be-oat: #eee4d2;
  --be-cream: #fbf7ef;
  --be-paper: #fffdf8;
  --be-rule: #d7cbb8;
  color: var(--be-ink);
}

.be-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.92fr);
  min-height: 35rem;
  margin-bottom: 0;
  overflow: hidden;
  background: var(--be-spruce-dark);
  border-radius: var(--radius);
  color: #fff;
}

.be-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(2rem, 6vw, 5rem);
  border-top: 0.5rem solid var(--be-coral);
}

.be-eyebrow,
.be-kicker,
.be-step-label {
  margin: 0 0 0.7rem;
  color: var(--be-berry);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.be-hero .be-kicker {
  color: var(--be-gold);
}

.be-hero h1 {
  max-width: 11ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.95;
  overflow-wrap: break-word;
}

.be-hero__summary {
  max-width: 40rem;
  margin: 0;
  color: var(--be-oat);
  font-size: clamp(1rem, 1.8vw, 1.13rem);
  line-height: 1.7;
}

.be-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.7rem;
}

.be-hero .button-link {
  background: var(--be-coral);
  border-color: var(--be-coral);
  color: var(--be-spruce-dark);
}

.be-hero .button-link:hover {
  background: var(--be-gold);
  border-color: var(--be-gold);
  color: var(--be-spruce-dark);
}

.be-text-link,
.be-arrow-link {
  color: var(--be-berry);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.be-hero .be-text-link {
  color: #fff;
}

.be-text-link:hover,
.be-arrow-link:hover {
  color: var(--be-berry);
  text-decoration: underline;
}

.be-hero .be-text-link:hover {
  color: #fff;
}

.be-arrow-link::after {
  content: " \2192";
}

.be-hero__figure {
  position: relative;
  min-height: 26rem;
  margin: 0;
}

.be-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-hero__figure figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.5rem 0.7rem;
  background: rgba(32, 53, 47, 0.88);
  color: #fff;
  font-size: 0.7rem;
}

.be-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(4rem, 8vw, 6.5rem);
  padding: 0;
  background: var(--be-paper);
  border: 1px solid var(--be-rule);
  border-top: 0;
  box-shadow: 0 0.7rem 1.6rem rgba(38, 48, 44, 0.08);
}

.be-facts div {
  min-width: 0;
  padding: 1.25rem 1.35rem;
}

.be-facts div + div {
  border-left: 1px solid var(--be-rule);
}

.be-facts dt {
  margin-bottom: 0.25rem;
  color: var(--be-spruce);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.be-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
}

.be-intro {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: clamp(4rem, 9vw, 7rem);
}

.be-intro h2,
.be-path h2,
.be-yoga h2,
.be-cupcakes h2,
.be-plan h2,
.be-related__heading h2,
.be-aside h2,
.be-contact h2 {
  margin: 0;
  color: var(--be-ink);
  line-height: 1.12;
}

.be-intro__copy {
  max-width: 45rem;
  color: #554f47;
}

.be-intro__copy p:first-child {
  margin-top: 0;
}

.be-path {
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  background: var(--be-cream);
  border-top: 0.45rem solid var(--be-spruce);
  border-bottom: 1px solid var(--be-rule);
}

.be-path__heading {
  display: grid;
  grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: 2.5rem;
}

.be-path__heading > p:last-child {
  max-width: 42rem;
  margin: 0;
  color: #554f47;
}

.be-path__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--be-rule);
  border-bottom: 1px solid var(--be-rule);
}

.be-step {
  position: relative;
  padding: 2rem clamp(1rem, 3vw, 2rem) 2.1rem 0;
}

.be-step + .be-step {
  padding-left: clamp(1rem, 3vw, 2rem);
  border-left: 1px solid var(--be-rule);
}

.be-step:last-child {
  padding-right: 0;
}

.be-step::before {
  content: attr(data-step);
  display: block;
  margin-bottom: 1rem;
  color: var(--be-coral);
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}

.be-step h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.be-step p {
  margin: 0;
  color: #554f47;
}

.be-yoga {
  margin-bottom: clamp(4rem, 9vw, 7rem);
}

.be-yoga__heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.be-yoga__heading > p:last-child {
  color: #554f47;
}

.be-yoga__compare {
  border-top: 1px solid var(--be-rule);
}

.be-yoga__row {
  display: grid;
  grid-template-columns: minmax(11rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--be-rule);
}

.be-yoga__row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.be-yoga__row p {
  max-width: 46rem;
  margin: 0;
  color: #554f47;
}

.be-cupcakes {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  background: #f3d9d0;
  border-radius: var(--radius);
}

.be-cupcakes__copy p:last-of-type {
  max-width: 44rem;
  color: #594840;
}

.be-cupcakes__note {
  padding: 1.6rem 0 1.6rem clamp(1.5rem, 4vw, 3rem);
  border-left: 0.35rem solid var(--be-berry);
}

.be-cupcakes__note strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.be-cupcakes__note p {
  margin: 0;
  color: #594840;
  font-size: 0.88rem;
}

.be-plan {
  display: grid;
  grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(1.8rem, 5vw, 3.5rem);
  background: var(--be-oat);
  border-left: 0.4rem solid var(--be-gold);
}

.be-plan__details {
  color: #554f47;
}

.be-plan__details p:first-child {
  margin-top: 0;
}

.be-plan__address {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.be-related {
  position: relative;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  background: #252938;
  border-radius: var(--radius);
  color: #fff;
}

.be-related::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.55rem;
  background: linear-gradient(90deg, var(--be-gold) 0 34%, var(--be-coral) 34% 100%);
}

.be-related__heading {
  display: grid;
  grid-template-columns: minmax(13rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.be-related__heading .be-eyebrow {
  color: var(--be-gold);
}

.be-related__heading h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.be-related__heading > p {
  max-width: 42rem;
  margin: 0;
  color: #dedbe5;
}

.be-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 2rem;
}

.be-aside {
  display: grid;
  grid-template-rows: 15rem 1fr;
  overflow: hidden;
  background: var(--be-paper);
  border-top: 0.45rem solid var(--be-gold);
  border-radius: calc(var(--radius) * 0.7);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
  color: var(--be-ink);
}

.be-aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.be-aside > div {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.be-aside .be-eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.55rem;
  background: var(--be-berry);
  color: #fff;
  letter-spacing: 0.09em;
}

.be-aside h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.be-aside h2 a {
  color: inherit;
  text-decoration: none;
}

.be-aside h2 a:hover {
  color: var(--be-berry);
  text-decoration: underline;
}

.be-aside p:not(.be-eyebrow) {
  margin: 0 0 0.85rem;
  color: #554f47;
}

.be-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(12rem, 0.75fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--be-spruce-dark);
  border-radius: var(--radius);
  color: #fff;
}

.be-contact .be-eyebrow {
  color: var(--be-gold);
}

.be-contact h2 {
  color: #fff;
}

.be-contact p:last-child {
  max-width: 44rem;
  color: var(--be-oat);
}

.be-contact__action {
  justify-self: end;
}

.be-contact .button-link {
  background: var(--be-coral);
  border-color: var(--be-coral);
  color: var(--be-spruce-dark);
}

.be-contact .button-link:hover {
  background: var(--be-gold);
  color: var(--be-spruce-dark);
}

.be-source-note,
.be-home-link {
  max-width: 52rem;
  margin-right: auto;
  margin-left: auto;
  color: #625b52;
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.be-source-note {
  margin-top: 0;
}

.be-home-link {
  margin-bottom: 3rem;
}

@media (max-width: 58rem) {
  .be-hero {
    grid-template-columns: 1fr;
  }

  .be-hero__copy {
    min-height: 27rem;
  }

  .be-hero h1 {
    max-width: 13ch;
  }

  .be-hero__figure {
    min-height: 22rem;
  }

  .be-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .be-facts div:nth-child(3) {
    border-left: 0;
  }

  .be-facts div:nth-child(n + 3) {
    border-top: 1px solid var(--be-rule);
  }

  .be-path__heading,
  .be-cupcakes,
  .be-related__heading,
  .be-contact {
    grid-template-columns: 1fr;
  }

  .be-contact__action {
    justify-self: start;
  }
}

@media (max-width: 44rem) {
  .be-intro,
  .be-plan,
  .be-related__grid {
    grid-template-columns: 1fr;
  }

  .be-path__steps {
    grid-template-columns: 1fr;
  }

  .be-step,
  .be-step + .be-step,
  .be-step:last-child {
    padding: 1.5rem 0;
    border-left: 0;
  }

  .be-step + .be-step {
    border-top: 1px solid var(--be-rule);
  }

  .be-yoga__row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .be-aside {
    grid-template-rows: 13rem 1fr;
  }
}

@media (max-width: 32rem) {
  .be-hero__copy {
    min-height: 0;
    padding: 1.75rem 1.35rem 2rem;
  }

  .be-hero h1 {
    max-width: none;
    font-size: clamp(2.4rem, 13vw, 3.4rem);
  }

  .be-hero__figure {
    min-height: 17rem;
  }

  .be-facts {
    grid-template-columns: 1fr;
  }

  .be-facts div + div,
  .be-facts div:nth-child(3) {
    border-top: 1px solid var(--be-rule);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .barn-experiences-profile *,
  .barn-experiences-profile *::before,
  .barn-experiences-profile *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
