/* Tennessee farm profiles: shared layout and components.
   Base site files remain /style/style.css and /scripts/app.js.
   Reuse fp-* classes for future farms; add only theme or layout overrides.
*/
body.tn-farm-profile {
  --profile-primary: #23483a;
  --profile-accent: #92402b;
  --profile-highlight: #edc779;
  background: #fcfbf7;
  color: #272d27;
}

/* Shared profile styles */
body.tn-farm-profile .fp-page {
  padding:1.2rem 0 4rem;
}

body.tn-farm-profile .fp-shell {
  width:min(100% - 2rem,86rem);
  margin:auto;
}

body.tn-farm-profile .fp-crumbs {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  font-size:.8rem;
  margin:0 0 1.2rem;
}

body.tn-farm-profile .fp-hero {
  display:grid;
  background:var(--profile-primary);
  color:white;
}

body.tn-farm-profile .fp-intro {
  padding:2rem 1.5rem;
}

body.tn-farm-profile .fp-page h1 {
  font-size:clamp(3.4rem,6vw,6.4rem);
  letter-spacing:-.045em;
  line-height:.98;
  margin:0 0 1.5rem;
}

body.tn-farm-profile .fp-page h2 {
  font-size:clamp(1.8rem,3vw,2.65rem);
  line-height:1.16;
  margin:0 0 1rem;
  letter-spacing:-.025em;
}

body.tn-farm-profile .fp-page h3 {
  font-size:1.4rem;
  line-height:1.25;
  margin:0 0 .7rem;
}

body.tn-farm-profile .fp-page p {
  margin:0 0 1rem;
}

body.tn-farm-profile .fp-kicker {
  font-size:.72rem;
  font-weight:750;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--profile-accent);
  margin-bottom:1rem;
}

body.tn-farm-profile .fp-hero h1, body.tn-farm-profile .fp-hero .fp-kicker, body.tn-farm-profile .fp-stay h2, body.tn-farm-profile .fp-stay .fp-kicker, body.tn-farm-profile .fp-reading h2, body.tn-farm-profile .fp-reading-head .fp-kicker {
  color:inherit;
}

body.tn-farm-profile .fp-deck {
  font-size:1.4rem;
  line-height:1.4;
}

body.tn-farm-profile .fp-hero picture {
  display:block;
  min-width:0;
}

body.tn-farm-profile .fp-hero img {
  width:100%;
  height:auto;
  display:block;
}

body.tn-farm-profile .fp-page a.fp-button {
  display:inline-block;
  background:var(--profile-accent);
  color:#fff;
  padding:.85rem 1.1rem;
  font-weight:750;
  text-decoration:none;
  line-height:1.4;
}

body.tn-farm-profile .fp-hero a.fp-button {
  background:var(--profile-highlight);
  color:#233f30;
  margin-top:.6rem;
}

body.tn-farm-profile .fp-page a.fp-button:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

body.tn-farm-profile .fp-page a:focus-visible {
  outline:3px solid #ce7800;
  outline-offset:4px;
}

body.tn-farm-profile .fp-caption, body.tn-farm-profile .fp-note {
  font-size:.77rem;
  color:#5c625b;
  margin:.7rem 0 1.5rem;
}

body.tn-farm-profile .fp-facts {
  display:grid;
  border-block:2px solid var(--profile-primary);
  margin:1.8rem 0 3rem;
}

body.tn-farm-profile .fp-facts > div {
  padding:1.2rem 1rem;
}

body.tn-farm-profile .fp-facts dt {
  text-transform:uppercase;
  font-size:.72rem;
  letter-spacing:.08em;
  color:var(--profile-accent);
  font-weight:750;
}

body.tn-farm-profile .fp-facts dd {
  font-weight:700;
  margin:.35rem 0 0;
}

body.tn-farm-profile .fp-layout {
  display:grid;
  gap:2.5rem;
  align-items:start;
}

body.tn-farm-profile .fp-profile, body.tn-farm-profile .fp-sidebar {
  min-width:0;
}

body.tn-farm-profile .fp-lead {
  padding:0 0 1.8rem;
}

body.tn-farm-profile .fp-lead h2 {
  color:var(--profile-primary);
}

body.tn-farm-profile .fp-experiences {
  border-block:3px solid var(--profile-accent);
  padding:2rem 0;
  margin-bottom:2rem;
}

body.tn-farm-profile .fp-options {
  display:grid;
  gap:1.5rem;
  margin-top:1.6rem;
}

body.tn-farm-profile .fp-options > div {
  border-left:4px solid var(--profile-highlight);
  padding-left:1.2rem;
}

body.tn-farm-profile .fp-options h3 {
  color:var(--profile-accent);
}

body.tn-farm-profile .fp-section {
  padding:1rem 0 2rem;
}

body.tn-farm-profile .fp-stay {
  background:var(--profile-primary);
  color:#fff;
  padding:2rem;
  margin:0 0 2rem;
}

body.tn-farm-profile .fp-planning {
  margin:1.5rem 0 2rem;
}

body.tn-farm-profile .fp-planning > div {
  border-top:1px solid #c9cec8;
  padding:1rem 0;
}

body.tn-farm-profile .fp-planning dt {
  font-weight:750;
  color:var(--profile-primary);
}

body.tn-farm-profile .fp-planning dd {
  margin:.4rem 0 0;
}

body.tn-farm-profile .fp-page address {
  font-style:normal;
}

body.tn-farm-profile .fp-activities {
  border:2px solid var(--profile-primary);
  border-top:8px solid var(--profile-primary);
  padding:1.5rem;
  background:#fff;
}

body.tn-farm-profile .fp-activities h2 {
  font-size:1.9rem;
  color:var(--profile-primary);
}

body.tn-farm-profile .fp-activities ul {
  list-style:none;
  padding:0;
  margin:1.5rem 0 0;
}

body.tn-farm-profile .fp-activities li {
  border-top:1px solid #c9cec8;
}

body.tn-farm-profile .fp-activities a {
  display:block;
  padding:1rem .3rem;
  font-weight:750;
  color:var(--profile-primary);
  text-decoration:none;
}

body.tn-farm-profile .fp-activities a span {
  display:block;
  font-size:.8rem;
  font-weight:400;
  margin-top:.3rem;
}

body.tn-farm-profile .fp-activities a:hover {
  text-decoration:underline;
}

body.tn-farm-profile .fp-reading {
  background:#183545;
  color:#fff;
  padding:2rem 1.2rem;
  margin-top:2rem;
  border-top:7px solid var(--profile-highlight);
}

body.tn-farm-profile .fp-reading-head {
  max-width:43rem;
  margin-bottom:1.7rem;
}

body.tn-farm-profile .fp-asides {
  display:grid;
  gap:1.5rem;
}

body.tn-farm-profile .fp-aside {
  background:#fff;
  color:#27332b;
  min-width:0;
}

body.tn-farm-profile .fp-aside img {
  width:100%;
  aspect-ratio:3/2;
  object-fit:cover;
}

body.tn-farm-profile .fp-aside > div {
  padding:1.5rem;
}

body.tn-farm-profile .fp-aside a {
  color:var(--profile-primary);
}

body.tn-farm-profile .fp-next {
  border-top:2px solid var(--profile-primary);
  margin-top:2.5rem;
  padding-top:2rem;
}

@media (min-width: 701px) {
body.tn-farm-profile .fp-hero {
  grid-template-columns: .85fr 1.5fr;
}

body.tn-farm-profile .fp-intro {
  padding:clamp(1.5rem,3vw,3rem);
  align-self:center;
}

body.tn-farm-profile .fp-hero img {
  height:100%;
  object-fit:cover;
}

body.tn-farm-profile .fp-facts {
  grid-template-columns:repeat(3,1fr);
}

body.tn-farm-profile .fp-facts > div + div {
  border-left:1px solid #c9cec8;
}

body.tn-farm-profile .fp-asides {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

body.tn-farm-profile .fp-reading {
  padding:2.5rem;
}

}
@media (min-width: 1020px) {
body.tn-farm-profile .fp-layout {
  grid-template-columns:minmax(0,1fr) 21rem;
  gap:3.5rem;
}

body.tn-farm-profile .fp-planning > div {
  display:grid;
  grid-template-columns:10rem minmax(0,1fr);
  gap:1rem;
}

body.tn-farm-profile .fp-planning dd {
  margin:0;
}

}

/* Tapestry Acres theme */
body.tn-farm-profile[data-farm="tapestry-acres"] {
  --profile-primary: #204b3a;
  --profile-accent: #a23e25;
  --profile-highlight: #f4ca70;
}

/* Coleman Valley: photo-first hero and a blue/berry palette. */
body.tn-farm-profile[data-farm="coleman-valley-alpaca-farm"] {
  --profile-primary: #263f66;
  --profile-accent: #843d52;
  --profile-highlight: #f0c86e;
}
body.tn-farm-profile[data-farm="coleman-valley-alpaca-farm"] .fp-hero {
  grid-template-columns: minmax(0, 1fr);
}
body.tn-farm-profile[data-farm="coleman-valley-alpaca-farm"] .fp-hero picture {
  order: -1;
}
body.tn-farm-profile[data-farm="coleman-valley-alpaca-farm"] .fp-hero img {
  height: auto;
}
body.tn-farm-profile[data-farm="coleman-valley-alpaca-farm"] .fp-intro {
  max-width: 65rem;
}
body.tn-farm-profile[data-farm="coleman-valley-alpaca-farm"] h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

/* Two Roots: fiber mill feature, warm palette and image-led desktop hero. */
body.tn-farm-profile[data-farm="two-roots-alpacas"] {
  --profile-primary: #5b382b;
  --profile-accent: #236267;
  --profile-highlight: #f0cf86;
}
body.tn-farm-profile[data-farm="two-roots-alpacas"] h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
}
@media (min-width: 701px) {
  body.tn-farm-profile[data-farm="two-roots-alpacas"] .fp-hero {
    grid-template-columns: 1.35fr 1fr;
  }
  body.tn-farm-profile[data-farm="two-roots-alpacas"] .fp-hero picture {
    order: -1;
  }
}

/* The Holmestead: compact photo and plain editorial layout. */
body.tn-farm-profile[data-farm="the-holmestead"] {
  --profile-primary: #126575;
  --profile-accent: #a44523;
  --profile-highlight: #efb83e;
  background: #ffffff;
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  background: transparent;
  color: #272d27;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--profile-highlight);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-intro {
  padding: 0;
}
body.tn-farm-profile[data-farm="the-holmestead"] h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--profile-primary);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-deck {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 34rem;
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-hero picture {
  height: 240px;
  overflow: hidden;
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-stay {
  padding: 1rem 0 2rem;
  background: transparent;
  color: #272d27;
  border-bottom: 1px solid #c9cec8;
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-stay h2 {
  color: var(--profile-primary);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-stay .fp-kicker {
  color: var(--profile-accent);
}
@media (min-width: 701px) {
  body.tn-farm-profile[data-farm="the-holmestead"] .fp-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2rem;
  }
  body.tn-farm-profile[data-farm="the-holmestead"] .fp-hero picture {
    height: 320px;
  }
}

/* Color accents for The Holmestead's existing components. */
body.tn-farm-profile[data-farm="the-holmestead"] .fp-hero .fp-kicker {
  color: var(--profile-accent);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-hero a.fp-button {
  background: var(--profile-primary);
  color: #ffffff;
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-facts {
  border-top: 0;
  border-bottom-color: var(--profile-primary);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-facts > div {
  border-top: 5px solid var(--profile-primary);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-facts > div:nth-child(2) {
  border-top-color: var(--profile-accent);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-facts > div:nth-child(3) {
  border-top-color: var(--profile-highlight);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-facts dd {
  color: var(--profile-primary);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-profile h2 {
  color: var(--profile-primary);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-stay {
  border-left: 5px solid var(--profile-accent);
  padding-left: 1.25rem;
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-activities {
  border-color: var(--profile-primary);
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-activities li {
  border-top-color: #a9c9ce;
}
body.tn-farm-profile[data-farm="the-holmestead"] .fp-aside {
  border-top: 5px solid var(--profile-highlight);
}

/* Chewpaca Farms: compact encounter profile with blue and copper accents. */
body.tn-farm-profile[data-farm="chewpaca-farms"] {
  --profile-primary: #155879;
  --profile-accent: #a13d25;
  --profile-highlight: #edc257;
  background: #fff;
}
body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-hero {
  background: transparent;
  color: #272d27;
  gap: 1.5rem;
  align-items: center;
  border-bottom: 5px solid var(--profile-highlight);
  padding-bottom: 1.5rem;
}
body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-intro {
  padding: 0;
}
body.tn-farm-profile[data-farm="chewpaca-farms"] h1 {
  font-size: clamp(2.4rem, 3.8vw, 3.5rem);
  line-height: 1.1;
  color: var(--profile-primary);
}
body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-hero .fp-kicker {
  color: var(--profile-accent);
}
body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-deck {
  font-size: 1.15rem;
}
body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-hero picture {
  height: 240px;
}
body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-hero img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-hero a.fp-button {
  background: var(--profile-primary);
  color: #fff;
}
body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-profile h2 {
  color: var(--profile-primary);
}
@media (min-width: 701px) {
  body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 2rem;
  }
  body.tn-farm-profile[data-farm="chewpaca-farms"] .fp-hero picture {
    height: 280px;
  }
}
