/* Oregon ranch and boutique profiles
   Production path: /alpaca-farm/states/oregon/style/ranch-boutique.css */

.oregon-ranch-boutique-profile {
  --rb-ink: #302d2c;
  --rb-wine: #653b42;
  --rb-wine-dark: #42262c;
  --rb-copper: #ae6849;
  --rb-gold: #d2a45f;
  --rb-flax: #e8d5b5;
  --rb-sage: #6f7c6f;
  --rb-cream: #f8f1e5;
  --rb-paper: #fffdf8;
  --rb-rule: #d6c7b2;
  --rb-muted: #625b57;
  background: #fbf7f0;
  color: var(--rb-ink);
}

.oregon-ranch-boutique-profile main {
  padding-top: clamp(1.2rem, 3vw, 2rem);
}

.oregon-ranch-boutique-profile a:focus-visible,
.oregon-ranch-boutique-profile button:focus-visible {
  outline: 3px solid var(--rb-gold);
  outline-offset: 3px;
}

.oregon-ranch-boutique-profile .rb-kicker,
.oregon-ranch-boutique-profile .rb-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--rb-copper);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.oregon-ranch-boutique-profile .rb-arrow-link {
  color: var(--rb-wine-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.oregon-ranch-boutique-profile .rb-arrow-link::after {
  content: " \2192";
}

.oregon-ranch-boutique-profile .rb-arrow-link:hover {
  color: var(--rb-copper);
  text-decoration: underline;
}

/* Hero */
.oregon-ranch-boutique-profile .rb-hero {
  display: grid;
  grid-template-columns: minmax(21rem, 0.86fr) minmax(0, 1.14fr);
  min-height: 34rem;
  background: var(--rb-wine-dark);
  color: #fff;
}

.oregon-ranch-boutique-profile .rb-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(2.2rem, 6vw, 5rem);
  border-left: 0.55rem solid var(--rb-copper);
}

.oregon-ranch-boutique-profile .rb-hero .rb-kicker {
  color: #e7bf82;
}

.oregon-ranch-boutique-profile .rb-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.7vw, 5rem);
  line-height: 0.97;
  overflow-wrap: break-word;
}

.oregon-ranch-boutique-profile .rb-hero__summary {
  max-width: 36rem;
  margin: 1.35rem 0 1.7rem;
  color: #eee3df;
  font-size: clamp(1rem, 1.8vw, 1.13rem);
  line-height: 1.68;
}

.oregon-ranch-boutique-profile .rb-hero .button-link {
  align-self: flex-start;
  background: var(--rb-gold);
  border-color: var(--rb-gold);
  color: var(--rb-wine-dark);
}

.oregon-ranch-boutique-profile .rb-hero .button-link:hover {
  background: #fff;
  border-color: #fff;
  color: var(--rb-wine-dark);
}

.oregon-ranch-boutique-profile .rb-hero__figure {
  position: relative;
  min-height: 28rem;
  margin: 0;
  overflow: hidden;
}

.oregon-ranch-boutique-profile .rb-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(66, 38, 44, 0.28), transparent 36%);
  pointer-events: none;
}

.oregon-ranch-boutique-profile .rb-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oregon-ranch-boutique-profile .rb-hero__figure figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 1rem;
  padding: 0.42rem 0.62rem;
  background: rgba(66, 38, 44, 0.88);
  color: #fff;
  font-size: 0.68rem;
}

/* Facts */
.oregon-ranch-boutique-profile .rb-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(4rem, 8vw, 6.5rem);
  padding: 0;
  background: var(--rb-paper);
  border: 1px solid var(--rb-rule);
  border-top: 0;
  box-shadow: 0 0.7rem 1.6rem rgba(48, 45, 44, 0.08);
}

.oregon-ranch-boutique-profile .rb-facts div {
  min-width: 0;
  padding: 1.2rem 1.3rem;
}

.oregon-ranch-boutique-profile .rb-facts div + div {
  border-left: 1px solid var(--rb-rule);
}

.oregon-ranch-boutique-profile .rb-facts dt {
  margin-bottom: 0.25rem;
  color: var(--rb-sage);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oregon-ranch-boutique-profile .rb-facts dd {
  margin: 0;
  color: var(--rb-wine-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
}

/* Introduction */
.oregon-ranch-boutique-profile .rb-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);
}

.oregon-ranch-boutique-profile .rb-intro h2,
.oregon-ranch-boutique-profile .rb-breeding h2,
.oregon-ranch-boutique-profile .rb-shop h2,
.oregon-ranch-boutique-profile .rb-visit h2,
.oregon-ranch-boutique-profile .rb-contact h2 {
  margin: 0;
  color: var(--rb-wine-dark);
  line-height: 1.1;
}

.oregon-ranch-boutique-profile .rb-intro__copy {
  max-width: 45rem;
  color: var(--rb-muted);
}

.oregon-ranch-boutique-profile .rb-intro__copy p:first-child {
  margin-top: 0;
}

.oregon-ranch-boutique-profile .rb-intro__copy a,
.oregon-ranch-boutique-profile .rb-breeding__details a {
  color: #88472f;
  font-weight: 800;
  text-underline-offset: 0.2rem;
}

/* Breeding ledger */
.oregon-ranch-boutique-profile .rb-breeding {
  margin-bottom: clamp(4rem, 9vw, 7rem);
  border-top: 0.5rem solid var(--rb-wine);
  border-bottom: 1px solid var(--rb-rule);
  background: var(--rb-paper);
}

.oregon-ranch-boutique-profile .rb-breeding__heading {
  padding: clamp(2rem, 6vw, 4rem);
  border-bottom: 1px solid var(--rb-rule);
}

.oregon-ranch-boutique-profile .rb-breeding__heading h2 {
  max-width: 18ch;
}

.oregon-ranch-boutique-profile .rb-breeding__body {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 4rem);
}

.oregon-ranch-boutique-profile .rb-breeding__lead {
  margin: 0;
  color: var(--rb-wine);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.35;
}

.oregon-ranch-boutique-profile .rb-breeding__details {
  max-width: 46rem;
  color: var(--rb-muted);
}

.oregon-ranch-boutique-profile .rb-breeding__details p:first-child {
  margin-top: 0;
}

/* Boutique */
.oregon-ranch-boutique-profile .rb-shop {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: stretch;
  margin-bottom: clamp(4rem, 9vw, 7rem);
  background: var(--rb-cream);
}

.oregon-ranch-boutique-profile .rb-shop__marker {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 20rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--rb-wine-dark);
  color: #f0d6ac;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.oregon-ranch-boutique-profile .rb-shop__marker span + span {
  margin-top: 0.2rem;
}

.oregon-ranch-boutique-profile .rb-shop__copy {
  max-width: 48rem;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(2rem, 6vw, 5rem) clamp(2rem, 6vw, 4.5rem) 0;
}

.oregon-ranch-boutique-profile .rb-shop__copy p:not(.rb-eyebrow) {
  color: var(--rb-muted);
}

/* Visit */
.oregon-ranch-boutique-profile .rb-visit {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: clamp(5rem, 10vw, 8rem);
  padding-left: clamp(1.25rem, 4vw, 3rem);
  border-left: 0.45rem solid var(--rb-copper);
}

.oregon-ranch-boutique-profile .rb-visit__copy {
  max-width: 46rem;
  color: var(--rb-muted);
}

.oregon-ranch-boutique-profile .rb-visit__copy p {
  margin-top: 0;
}

/* Independent editorial guides */
.oregon-ranch-boutique-profile .rb-guides {
  margin-right: calc(50% - 50vw);
  margin-bottom: clamp(5rem, 10vw, 8rem);
  margin-left: calc(50% - 50vw);
  padding: clamp(3rem, 8vw, 6rem) max(calc((100vw - 1180px) / 2), 1.25rem);
  background: #26302f;
  color: #e6ece9;
}

.oregon-ranch-boutique-profile .rb-guides__heading {
  display: grid;
  grid-template-columns: minmax(10rem, 0.5fr) minmax(14rem, 0.72fr) minmax(18rem, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.oregon-ranch-boutique-profile .rb-guides__label,
.oregon-ranch-boutique-profile .rb-guide__type {
  margin: 0;
  color: #e0a66d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.oregon-ranch-boutique-profile .rb-guides__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.oregon-ranch-boutique-profile .rb-guides__heading > p:last-child {
  max-width: 38rem;
  margin: 0;
  color: #cbd6d2;
}

.oregon-ranch-boutique-profile .rb-guides__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3rem);
}

.oregon-ranch-boutique-profile .rb-guide {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  background: #f3ebdf;
  color: var(--rb-ink);
}

.oregon-ranch-boutique-profile .rb-guide__image {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.oregon-ranch-boutique-profile .rb-guide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.oregon-ranch-boutique-profile .rb-guide__image:hover img {
  transform: scale(1.025);
}

.oregon-ranch-boutique-profile .rb-guide__copy {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.oregon-ranch-boutique-profile .rb-guide__type {
  color: var(--rb-copper);
}

.oregon-ranch-boutique-profile .rb-guide h3 {
  margin: 0.55rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.15;
}

.oregon-ranch-boutique-profile .rb-guide h3 a {
  color: var(--rb-wine-dark);
  text-decoration: none;
}

.oregon-ranch-boutique-profile .rb-guide h3 a:hover {
  color: var(--rb-copper);
  text-decoration: underline;
}

.oregon-ranch-boutique-profile .rb-guide__copy > p:not(.rb-guide__type) {
  color: var(--rb-muted);
  font-size: 0.9rem;
}

.oregon-ranch-boutique-profile .rb-guide__link {
  color: var(--rb-copper);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.oregon-ranch-boutique-profile .rb-guide__link::after {
  content: " \2192";
}

.oregon-ranch-boutique-profile .rb-guide__link:hover {
  color: var(--rb-wine-dark);
  text-decoration: underline;
}

/* Closing */
.oregon-ranch-boutique-profile .rb-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--rb-paper);
  border-top: 1px solid var(--rb-rule);
  border-bottom: 1px solid var(--rb-rule);
}

.oregon-ranch-boutique-profile .rb-contact p:not(.rb-eyebrow) {
  max-width: 44rem;
  color: var(--rb-muted);
}

.oregon-ranch-boutique-profile .rb-contact .button-link {
  background: var(--rb-wine-dark);
  border-color: var(--rb-wine-dark);
  white-space: nowrap;
}

.oregon-ranch-boutique-profile .rb-contact .button-link:hover {
  background: var(--rb-copper);
  border-color: var(--rb-copper);
}

@media (max-width: 900px) {
  .oregon-ranch-boutique-profile .rb-hero {
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  }

  .oregon-ranch-boutique-profile .rb-guides__heading {
    grid-template-columns: 0.7fr 1fr;
  }

  .oregon-ranch-boutique-profile .rb-guides__heading > p:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .oregon-ranch-boutique-profile .rb-hero {
    grid-template-columns: 1fr;
  }

  .oregon-ranch-boutique-profile .rb-hero__copy {
    border-left: 0;
    border-top: 0.5rem solid var(--rb-copper);
  }

  .oregon-ranch-boutique-profile .rb-hero h1 {
    max-width: none;
  }

  .oregon-ranch-boutique-profile .rb-hero__figure {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .oregon-ranch-boutique-profile .rb-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oregon-ranch-boutique-profile .rb-facts div:nth-child(3) {
    border-top: 1px solid var(--rb-rule);
    border-left: 0;
  }

  .oregon-ranch-boutique-profile .rb-facts div:nth-child(4) {
    border-top: 1px solid var(--rb-rule);
  }

  .oregon-ranch-boutique-profile .rb-intro,
  .oregon-ranch-boutique-profile .rb-breeding__body,
  .oregon-ranch-boutique-profile .rb-shop,
  .oregon-ranch-boutique-profile .rb-visit,
  .oregon-ranch-boutique-profile .rb-contact,
  .oregon-ranch-boutique-profile .rb-guides__heading,
  .oregon-ranch-boutique-profile .rb-guides__grid {
    grid-template-columns: 1fr;
  }

  .oregon-ranch-boutique-profile .rb-shop__marker {
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3rem 0.75rem;
  }

  .oregon-ranch-boutique-profile .rb-shop__marker span + span {
    margin-top: 0;
  }

  .oregon-ranch-boutique-profile .rb-shop__copy {
    padding: 0 1.5rem 2.5rem;
  }

  .oregon-ranch-boutique-profile .rb-guides__heading > p:last-child {
    grid-column: auto;
  }

  .oregon-ranch-boutique-profile .rb-contact .button-link {
    justify-self: start;
  }
}

@media (max-width: 500px) {
  .oregon-ranch-boutique-profile .rb-facts {
    grid-template-columns: 1fr;
  }

  .oregon-ranch-boutique-profile .rb-facts div + div,
  .oregon-ranch-boutique-profile .rb-facts div:nth-child(3),
  .oregon-ranch-boutique-profile .rb-facts div:nth-child(4) {
    border-top: 1px solid var(--rb-rule);
    border-left: 0;
  }

  .oregon-ranch-boutique-profile .rb-breeding__heading,
  .oregon-ranch-boutique-profile .rb-breeding__body,
  .oregon-ranch-boutique-profile .rb-contact {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oregon-ranch-boutique-profile .rb-guide__image img {
    transition: none;
  }
}
