/* Multi-use farm destinations: animals, overnight stays, and events */

.farm-destination-profile {
  --fd-ink: #29312f;
  --fd-river: #365b59;
  --fd-river-dark: #203f3d;
  --fd-meadow: #74866c;
  --fd-rose: #a65d62;
  --fd-copper: #c48755;
  --fd-sand: #e8dac5;
  --fd-cream: #faf5ec;
  --fd-paper: #fffdf8;
  --fd-rule: #d5c8b6;
  background: #fbf8f2;
  color: var(--fd-ink);
}

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

.fd-eyebrow,
.fd-kicker,
.fd-branch-label {
  margin: 0 0 0.7rem;
  color: var(--fd-rose);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.farm-destination-profile a:focus-visible {
  outline: 3px solid var(--fd-copper);
  outline-offset: 3px;
}

.fd-arrow-link {
  color: var(--fd-river-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

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

.fd-arrow-link:hover {
  color: var(--fd-rose);
  text-decoration: underline;
}

/* Hero */
.fd-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  min-height: 35rem;
  margin-bottom: 0;
  overflow: hidden;
  background: var(--fd-river-dark);
  color: #fff;
}

.fd-hero__figure {
  position: relative;
  min-height: 27rem;
  margin: 0;
}

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

.fd-hero__figure figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.45rem 0.65rem;
  background: rgba(32, 63, 61, 0.86);
  color: #fff;
  font-size: 0.68rem;
}

.fd-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(--fd-copper);
}

.fd-hero .fd-kicker {
  color: #e6bd88;
}

.fd-hero h1 {
  max-width: 12ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 0.96;
  overflow-wrap: break-word;
}

.fd-hero__summary {
  max-width: 39rem;
  margin: 0;
  color: #dfebe7;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.68;
}

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

.fd-hero .button-link {
  background: var(--fd-copper);
  border-color: var(--fd-copper);
  color: var(--fd-river-dark);
}

.fd-hero .button-link:hover {
  background: #fff;
  border-color: #fff;
  color: var(--fd-river-dark);
}

.fd-hero__link,
.fd-hero__link:visited {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

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

.fd-facts div {
  min-width: 0;
  padding: 1.2rem 1.3rem;
}

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

.fd-facts dt {
  margin-bottom: 0.25rem;
  color: var(--fd-meadow);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

/* Introduction */
.fd-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);
}

.fd-intro h2,
.fd-branches h2,
.fd-camping h2,
.fd-events h2,
.fd-farm h2,
.fd-related__heading h2,
.fd-aside h2,
.fd-contact h2 {
  margin: 0;
  color: var(--fd-river-dark);
  line-height: 1.1;
}

.fd-intro__copy {
  max-width: 45rem;
  color: #58544d;
}

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

.fd-intro__copy a,
.fd-home-link a {
  color: #80464b;
  font-weight: 800;
  text-underline-offset: 0.2rem;
}

/* Three connected operations */
.fd-branches {
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  background: var(--fd-cream);
  border-top: 0.45rem solid var(--fd-river);
}

.fd-branches__heading {
  display: grid;
  grid-template-columns: minmax(13rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: 2.3rem;
}

.fd-branches__heading > p {
  max-width: 42rem;
  margin: 0;
  color: #58544d;
}

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

.fd-branch {
  min-width: 0;
  padding: 2rem clamp(1rem, 3vw, 2rem) 2.1rem 0;
}

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

.fd-branch:last-child {
  padding-right: 0;
}

.fd-branch h3 {
  margin: 0.4rem 0 0.65rem;
  color: var(--fd-river-dark);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.fd-branch p {
  margin: 0 0 0.8rem;
  color: #58544d;
  font-size: 0.9rem;
}

/* Camping */
.fd-camping {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(16rem, 0.88fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(1.8rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--fd-rule);
  border-bottom: 1px solid var(--fd-rule);
}

.fd-camping__copy p:last-of-type {
  max-width: 45rem;
  color: #58544d;
}

.fd-camping__note {
  padding: 1.5rem 0 1.5rem clamp(1.5rem, 4vw, 3rem);
  border-left: 0.35rem solid var(--fd-meadow);
}

.fd-camping__note strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--fd-river-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.fd-camping__note p {
  margin: 0;
  color: #58544d;
  font-size: 0.87rem;
}

/* Weddings and events */
.fd-events {
  display: grid;
  grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin: 0 calc(50% - 50vw) clamp(4rem, 9vw, 7rem);
  padding: clamp(3rem, 7vw, 6rem) max(1.25rem, calc((100vw - var(--wrap)) / 2));
  background: var(--fd-rose);
  color: #fff;
}

.fd-events .fd-eyebrow {
  color: #f2d6b6;
}

.fd-events h2 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.fd-events__copy p {
  max-width: 48rem;
  color: #fff4ee;
  line-height: 1.7;
}

.fd-events .fd-arrow-link,
.fd-events .fd-arrow-link:visited {
  color: #fff;
}

.fd-events .fd-arrow-link:hover {
  color: #fff4d7;
}

/* Farm and shop */
.fd-farm {
  display: grid;
  grid-template-columns: minmax(13rem, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(1.8rem, 5vw, 3.5rem);
  background: var(--fd-sand);
  border-left: 0.4rem solid var(--fd-copper);
}

.fd-farm__copy p {
  max-width: 46rem;
  margin-top: 0;
  color: #58544d;
}

/* Related articles */
.fd-related {
  position: relative;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  background: #29283a;
  color: #fff;
}

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

.fd-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);
}

.fd-related__heading .fd-eyebrow {
  color: #e6bd88;
}

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

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

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

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

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

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

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

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

.fd-aside h2 a,
.fd-aside h2 a:visited {
  color: inherit;
  text-decoration: none;
}

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

.fd-aside p:not(.fd-eyebrow) {
  margin: 0 0 0.85rem;
  color: #58544d;
}

/* Contact */
.fd-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--fd-river-dark);
  color: #fff;
}

.fd-contact .fd-eyebrow {
  color: #e6bd88;
}

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

.fd-contact p:last-child {
  color: #dfebe7;
}

.fd-contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.fd-contact__actions .button-link {
  background: var(--fd-copper);
  border-color: var(--fd-copper);
  color: var(--fd-river-dark);
}

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

.fd-source-note,
.fd-home-link {
  max-width: 56rem;
  margin: 1rem auto 0;
  color: #625d55;
  font-size: 0.76rem;
  line-height: 1.6;
  text-align: center;
}

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

@media (max-width: 60rem) {
  .fd-hero,
  .fd-intro,
  .fd-branches__heading,
  .fd-camping,
  .fd-events,
  .fd-farm,
  .fd-related__heading,
  .fd-contact {
    grid-template-columns: 1fr;
  }

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

  .fd-hero h1 {
    max-width: 14ch;
  }

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

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

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

  .fd-contact__actions {
    justify-content: flex-start;
  }
}

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

  .fd-branch,
  .fd-branch + .fd-branch,
  .fd-branch:last-child {
    padding: 1.45rem 0;
    border-left: 0;
  }

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

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

@media (max-width: 32rem) {
  .fd-hero__copy {
    padding: 1.75rem 1.35rem 2rem;
  }

  .fd-hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

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

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

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

  .fd-contact__actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

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