/* Oregon farm-product profiles
   Production path: /alpaca-farm/states/oregon/style/farm-products.css
   Load after /alpaca-farm/style/farm-profile.css */

.oregon-farm-products-profile {
  --ofp-ink: #26302c;
  --ofp-forest: #315047;
  --ofp-forest-dark: #1d3932;
  --ofp-copper: #a85f3e;
  --ofp-gold: #d2a45e;
  --ofp-moss: #77866e;
  --ofp-oat: #eee2cf;
  --ofp-paper: #fffdf8;
  --ofp-cream: #f7f1e6;
  --ofp-rule: #d7cbb9;
  --ofp-muted: #625f58;
  background: #faf7f0;
  color: var(--ofp-ink);
}

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

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

.oregon-farm-products-profile a:focus-visible {
  outline: 3px solid var(--ofp-gold);
  outline-offset: 3px;
}

.oregon-farm-products-profile .ofp-arrow-link {
  color: var(--ofp-forest-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.oregon-farm-products-profile .ofp-arrow-link::after {
  content: " \2192";
}

.oregon-farm-products-profile .ofp-arrow-link:hover {
  color: var(--ofp-copper);
  text-decoration: underline;
}

/* Hero */
.oregon-farm-products-profile .ofp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  min-height: 34rem;
  background: var(--ofp-forest-dark);
  color: #fff;
}

.oregon-farm-products-profile .ofp-hero__figure {
  position: relative;
  min-width: 0;
  min-height: 28rem;
  margin: 0;
}

.oregon-farm-products-profile .ofp-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oregon-farm-products-profile .ofp-hero__figure figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.6rem;
  background: rgba(29, 57, 50, 0.88);
  color: #fff;
  font-size: 0.67rem;
  line-height: 1.35;
}

.oregon-farm-products-profile .ofp-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(2.2rem, 6vw, 5rem);
  border-top: 0.5rem solid var(--ofp-copper);
}

.oregon-farm-products-profile .ofp-hero .ofp-kicker {
  color: #e3bd84;
}

.oregon-farm-products-profile .ofp-hero h1 {
  max-width: 100%;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.65rem, 5.8vw, 4.9rem);
  line-height: 0.97;
  overflow-wrap: anywhere;
}

.oregon-farm-products-profile .ofp-hero__summary {
  max-width: 38rem;
  margin: 0;
  color: #e2e9e5;
  font-size: clamp(1rem, 1.8vw, 1.13rem);
  line-height: 1.68;
}

.oregon-farm-products-profile .ofp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.1rem;
  margin-top: 1.65rem;
}

.oregon-farm-products-profile .ofp-hero .button-link,
.oregon-farm-products-profile .ofp-contact .button-link {
  background: var(--ofp-gold);
  border-color: var(--ofp-gold);
  color: var(--ofp-forest-dark);
}

.oregon-farm-products-profile .ofp-hero .button-link:hover,
.oregon-farm-products-profile .ofp-contact .button-link:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ofp-forest-dark);
}

.oregon-farm-products-profile .ofp-hero__link,
.oregon-farm-products-profile .ofp-hero__link:visited {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-underline-offset: 0.25rem;
}

/* Profile facts */
.oregon-farm-products-profile .ofp-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(4rem, 8vw, 6rem);
  padding: 0;
  background: var(--ofp-paper);
  border: 1px solid var(--ofp-rule);
  border-top: 0;
}

.oregon-farm-products-profile .ofp-facts div {
  min-width: 0;
  padding: 1.15rem 1.25rem;
}

.oregon-farm-products-profile .ofp-facts div + div {
  border-left: 1px solid var(--ofp-rule);
}

.oregon-farm-products-profile .ofp-facts dt {
  margin-bottom: 0.25rem;
  color: var(--ofp-moss);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oregon-farm-products-profile .ofp-facts dd {
  margin: 0;
  color: var(--ofp-forest-dark);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Introduction */
.oregon-farm-products-profile .ofp-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-farm-products-profile .ofp-intro__heading {
  padding-top: 0.9rem;
  border-top: 0.4rem solid var(--ofp-copper);
}

.oregon-farm-products-profile .ofp-intro h2,
.oregon-farm-products-profile .ofp-production h2,
.oregon-farm-products-profile .ofp-visit h2,
.oregon-farm-products-profile .ofp-contact h2 {
  margin: 0;
  color: var(--ofp-forest-dark);
  line-height: 1.08;
}

.oregon-farm-products-profile .ofp-intro h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.oregon-farm-products-profile .ofp-intro__copy {
  max-width: 46rem;
  color: var(--ofp-muted);
}

.oregon-farm-products-profile .ofp-intro__copy p {
  line-height: 1.75;
}

.oregon-farm-products-profile .ofp-intro__copy p:first-child {
  margin-top: 0;
}

.oregon-farm-products-profile .ofp-intro__copy a,
.oregon-farm-products-profile .ofp-intro__copy a:visited {
  color: #85462f;
  font-weight: 800;
  text-decoration-color: rgba(133, 70, 47, 0.38);
}

.oregon-farm-products-profile .ofp-intro__copy a:hover {
  color: var(--ofp-forest-dark);
  text-decoration-color: currentColor;
}

/* Production areas */
.oregon-farm-products-profile .ofp-production {
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(2.2rem, 6vw, 4.5rem);
  background: var(--ofp-cream);
  border-top: 0.5rem solid var(--ofp-forest);
}

.oregon-farm-products-profile .ofp-production__heading {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ofp-rule);
}

.oregon-farm-products-profile .ofp-production__heading h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.oregon-farm-products-profile .ofp-production__heading > p {
  max-width: 43rem;
  margin: 0;
  color: var(--ofp-muted);
  line-height: 1.7;
}

.oregon-farm-products-profile .ofp-production__rows {
  border-bottom: 1px solid var(--ofp-rule);
}

.oregon-farm-products-profile .ofp-product-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(1.6rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--ofp-rule);
}

.oregon-farm-products-profile .ofp-product-row:first-child {
  border-top: 0;
}

.oregon-farm-products-profile .ofp-product-row__number {
  margin: 0;
  color: var(--ofp-copper);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.oregon-farm-products-profile .ofp-product-row h3 {
  margin: 0 0 0.45rem;
  color: var(--ofp-forest-dark);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.oregon-farm-products-profile .ofp-product-row p:not(.ofp-product-row__number) {
  max-width: 47rem;
  margin: 0;
  color: var(--ofp-muted);
  line-height: 1.68;
}

.oregon-farm-products-profile .ofp-product-row .ofp-arrow-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.oregon-farm-products-profile .ofp-product-row--meat {
  position: relative;
}

.oregon-farm-products-profile .ofp-product-row--meat::before {
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: -1.2rem;
  width: 0.25rem;
  background: var(--ofp-copper);
  content: "";
}

/* Visitor information */
.oregon-farm-products-profile .ofp-visit {
  display: grid;
  grid-template-columns: minmax(14rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--ofp-oat);
  border-left: 0.45rem solid var(--ofp-gold);
}

.oregon-farm-products-profile .ofp-visit h2 {
  max-width: 17ch;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

.oregon-farm-products-profile .ofp-visit__copy {
  align-self: center;
}

.oregon-farm-products-profile .ofp-visit__copy p {
  max-width: 44rem;
  margin: 0;
  color: #554f47;
  line-height: 1.72;
}

/* Independent editorial guides */
.oregon-farm-products-profile .ofp-related {
  position: relative;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  background: #252a35;
  color: #fff;
}

.oregon-farm-products-profile .ofp-related::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.55rem;
  background: linear-gradient(90deg, var(--ofp-gold) 0 34%, var(--ofp-copper) 34% 100%);
  content: "";
}

.oregon-farm-products-profile .ofp-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);
}

.oregon-farm-products-profile .ofp-related__heading .ofp-eyebrow {
  color: var(--ofp-gold);
}

.oregon-farm-products-profile .ofp-related__heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.oregon-farm-products-profile .ofp-related__heading > p {
  max-width: 42rem;
  margin: 0;
  color: #dcdde4;
}

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

.oregon-farm-products-profile .ofp-aside {
  display: grid;
  grid-template-rows: 15rem 1fr;
  min-width: 0;
  background: var(--ofp-paper);
  border-top: 0.45rem solid var(--ofp-gold);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
  color: var(--ofp-ink);
}

.oregon-farm-products-profile .ofp-aside__image-link {
  display: block;
  min-width: 0;
}

.oregon-farm-products-profile .ofp-aside__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oregon-farm-products-profile .ofp-aside > div {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.oregon-farm-products-profile .ofp-aside__label {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.35rem 0.55rem;
  background: var(--ofp-copper);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oregon-farm-products-profile .ofp-aside h2 {
  margin: 0 0 0.65rem;
  color: var(--ofp-forest-dark);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.12;
}

.oregon-farm-products-profile .ofp-aside h2 a,
.oregon-farm-products-profile .ofp-aside h2 a:visited {
  color: inherit;
  text-decoration: none;
}

.oregon-farm-products-profile .ofp-aside h2 a:hover {
  color: var(--ofp-copper);
  text-decoration: underline;
}

.oregon-farm-products-profile .ofp-aside p:not(.ofp-aside__label) {
  margin: 0 0 0.85rem;
  color: #554f47;
  line-height: 1.6;
}

/* Official information */
.oregon-farm-products-profile .ofp-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(13rem, 0.85fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--ofp-forest-dark);
  color: #fff;
}

.oregon-farm-products-profile .ofp-contact .ofp-eyebrow {
  color: var(--ofp-gold);
}

.oregon-farm-products-profile .ofp-contact h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.oregon-farm-products-profile .ofp-contact p:last-child {
  max-width: 42rem;
  color: #dce5e0;
}

.oregon-farm-products-profile .ofp-contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
}

.oregon-farm-products-profile .ofp-contact__actions a:not(.button-link),
.oregon-farm-products-profile .ofp-contact__actions a:not(.button-link):visited {
  align-self: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.oregon-farm-products-profile .ofp-contact__actions a:not(.button-link):hover {
  color: var(--ofp-gold);
}

.oregon-farm-products-profile .ofp-source-note,
.oregon-farm-products-profile .ofp-image-note {
  max-width: 58rem;
  margin: 0.85rem auto 0;
  color: var(--ofp-muted);
  font-size: 0.76rem;
  line-height: 1.6;
  text-align: center;
}

.oregon-farm-products-profile .ofp-image-note {
  margin-bottom: 3rem;
}

@media (max-width: 60rem) {
  .oregon-farm-products-profile .ofp-hero,
  .oregon-farm-products-profile .ofp-intro,
  .oregon-farm-products-profile .ofp-production__heading,
  .oregon-farm-products-profile .ofp-visit,
  .oregon-farm-products-profile .ofp-related__heading,
  .oregon-farm-products-profile .ofp-contact {
    grid-template-columns: 1fr;
  }

  .oregon-farm-products-profile .ofp-hero__figure {
    min-height: 23rem;
  }

  .oregon-farm-products-profile .ofp-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .oregon-farm-products-profile .ofp-facts div:nth-child(4) {
    border-top: 1px solid var(--ofp-rule);
  }

  .oregon-farm-products-profile .ofp-related__heading,
  .oregon-farm-products-profile .ofp-production__heading {
    align-items: start;
  }

  .oregon-farm-products-profile .ofp-contact__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 44rem) {
  .oregon-farm-products-profile .ofp-hero {
    min-height: 0;
  }

  .oregon-farm-products-profile .ofp-hero__figure {
    min-height: 18rem;
  }

  .oregon-farm-products-profile .ofp-hero__copy {
    padding: 2rem 1.4rem 2.4rem;
  }

  .oregon-farm-products-profile .ofp-related__grid {
    grid-template-columns: 1fr;
  }

  .oregon-farm-products-profile .ofp-product-row--meat::before {
    left: -0.75rem;
  }
}

@media (max-width: 34rem) {
  .oregon-farm-products-profile .ofp-facts {
    grid-template-columns: 1fr;
  }

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

  .oregon-farm-products-profile .ofp-product-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .oregon-farm-products-profile .ofp-related,
  .oregon-farm-products-profile .ofp-production {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .oregon-farm-products-profile .ofp-aside {
    grid-template-rows: 12rem 1fr;
  }

  .oregon-farm-products-profile .ofp-contact__actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oregon-farm-products-profile *,
  .oregon-farm-products-profile *::before,
  .oregon-farm-products-profile *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}
