/* Horse and Dreams Ranch — "Homestead" direction */

:root {
  --cream: #FBF7EE;
  --cream-deep: #F3EBDC;
  --line: #EADFCB;
  --sage-bg: #EEF0E4;
  --sage: #7F8A5E;
  --rust: #7A3E22;
  --rust-dark: #5A2C17;
  --ink: #4A3426;
  --body: #6B5645;
  --pad-x: 56px;
  --section-y: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: var(--rust); text-decoration: underline; }
a:hover { color: var(--rust-dark); }

.page {
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px var(--pad-x);
}
.site-nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
  align-items: center;
}
.site-nav--right { justify-content: flex-end; }
.site-nav a {
  color: var(--rust);
  text-decoration: none;
  padding: 4px 0;
  opacity: .6;
  border-bottom: 2px solid transparent;
  transition: opacity .15s;
}
.site-nav a:hover { opacity: .85; color: var(--rust); }
.site-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: currentColor;
}
.logo-link { display: block; line-height: 0; }
.logo {
  width: 165px;
  height: 165px;
  object-fit: cover;
  font-family: 'Alegreya', serif;
  font-size: 14px;
  line-height: 1.2;
  color: var(--rust);
  text-align: center;
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--sage);
  font-weight: 700;
  text-transform: uppercase;
}
.display {
  margin: 0;
  font-family: 'Alegreya', serif;
  font-weight: 500;
  color: var(--rust);
}
.lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font: 600 16px 'Mulish', sans-serif;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn--solid { background: var(--rust); color: var(--cream); border: none; }
.btn--solid:hover { background: var(--rust-dark); color: var(--cream); }
.btn--outline { background: transparent; color: var(--rust); border: 1.5px solid var(--rust); }
.btn--outline:hover { background: rgba(122, 62, 34, .06); color: var(--rust); }
.btn--sage { background: var(--sage); color: #fff; border: none; white-space: nowrap; }
.btn--sage:hover { background: #6C7650; color: #fff; }

.photo {
  width: 100%;
  object-fit: cover;
  background: #EFE5D3;
}

/* ---------- Home ---------- */
.hero-intro {
  padding: 72px var(--pad-x) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero-intro h1 {
  font-size: 64px;
  line-height: 1.05;
  max-width: 820px;
  text-wrap: balance;
}
.hero-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  color: var(--body);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.hero-photo {
  width: calc(100% - 2 * var(--pad-x));
  margin: 56px var(--pad-x) 0;
  height: 440px;
  border-radius: 24px;
  object-position: 50% 48%;
}

.offerings {
  padding: var(--section-y) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.offering {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.offering .photo {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}
.offering h3 {
  margin: 0;
  font-family: 'Alegreya', serif;
  font-size: 26px;
  color: var(--rust);
  font-weight: 500;
}
.offering p {
  margin: 0;
  line-height: 1.6;
  color: var(--body);
}

.testimonial {
  margin: 0 var(--pad-x) var(--section-y);
  padding: 64px;
  background: var(--sage-bg);
  border-radius: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.testimonial blockquote {
  margin: 0;
  font-family: 'Alegreya', serif;
  font-style: italic;
  font-size: 32px;
  line-height: 1.35;
  color: var(--ink);
  max-width: 760px;
}
.testimonial figcaption {
  font-size: 14px;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: .1em;
}

/* ---------- About ---------- */
.story {
  padding: 80px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "photo text"
    "herd  text";
  gap: 48px 64px;
  align-items: start;
}
.story > .photo {
  grid-area: photo;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
}
.story__text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.story__text h1 {
  font-size: 52px;
  line-height: 1.1;
}

.herd {
  grid-area: herd;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.herd h2 {
  font-size: 40px;
  text-align: center;
}
.herd__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.horse {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.horse .photo {
  aspect-ratio: 1;
  border-radius: 50%;
}
.horse__name {
  font-family: 'Alegreya', serif;
  font-size: 24px;
  color: var(--rust);
}

/* ---------- Gallery / Pricing headings ---------- */
.page-head {
  padding: 72px var(--pad-x) 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.page-head h1 { font-size: 56px; line-height: 1.1; }
.page-head--pricing { padding-bottom: 48px; }

/* ---------- Gallery ---------- */
.gallery {
  padding: 0 var(--pad-x) var(--section-y);
  columns: 3;
  column-gap: 20px;
}
.gallery .photo {
  margin-bottom: 20px;
  break-inside: avoid;
  border-radius: 16px;
}
.h-240 { height: 240px; }
.h-260 { height: 260px; }
.h-280 { height: 280px; }
.h-300 { height: 300px; }
.h-320 { height: 320px; }
.h-360 { height: 360px; }
.h-380 { height: 380px; }

/* ---------- Pricing ---------- */
.plans {
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
  gap: 24px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan__name {
  font-family: 'Alegreya', serif;
  font-size: 26px;
  color: var(--rust);
}
.plan__price {
  font-family: 'Alegreya', serif;
  font-size: 52px;
  color: var(--ink);
  line-height: 1.2;
}
.plan__meta {
  font-size: 14px;
  color: var(--sage);
  font-weight: 700;
}
.plan p {
  margin: 0;
  line-height: 1.6;
  color: var(--body);
}
.plan--featured {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--cream);
}
.plan--featured .plan__name,
.plan--featured .plan__price { color: var(--cream); }
.plan--featured .plan__meta { color: #F2C9B8; }
.plan--featured p { color: #F4E6D8; }

.packages {
  margin: 40px var(--pad-x) var(--section-y);
  padding: 32px 40px;
  background: var(--sage-bg);
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.packages__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.packages__title {
  font-family: 'Alegreya', serif;
  font-size: 26px;
  color: var(--ink);
}
.packages__detail { color: var(--body); line-height: 1.5; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream-deep);
  font-size: 14px;
  color: var(--body);
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
}
.site-footer__name {
  font-family: 'Alegreya', serif;
  font-size: 20px;
  color: var(--rust);
}
.site-footer__info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.site-footer__info a { color: inherit; text-decoration: none; }
.site-footer__info a:hover { color: var(--rust); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; --section-y: 72px; }
  .hero-intro h1 { font-size: 52px; }
  .story { gap: 40px; }
  .story__text h1 { font-size: 44px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 800px) {
  :root { --pad-x: 24px; --section-y: 56px; }
  .site-header__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "logo logo" "left right";
    row-gap: 12px;
    column-gap: 24px;
    padding-top: 8px;
    padding-bottom: 6px;
  }
  .logo-link { grid-area: logo; justify-self: center; }
  .site-nav { gap: 24px; }
  .site-nav--left { grid-area: left; justify-content: flex-end; }
  .site-nav--right { grid-area: right; justify-content: flex-start; }
  .logo { width: 132px; height: 132px; }

  .hero-intro { padding-top: 48px; }
  .hero-intro h1 { font-size: 40px; }
  .hero-intro p { font-size: 17px; }
  .hero-photo { margin-top: 40px; height: 320px; border-radius: 18px; }
  .offerings { grid-template-columns: 1fr; gap: 40px; }
  .testimonial { padding: 40px 24px; }
  .testimonial blockquote { font-size: 24px; }

  .story {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: "photo" "text" "herd";
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .story__text h1 { font-size: 38px; }
  .herd h2 { font-size: 34px; }
  .herd__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }

  .page-head { padding-top: 48px; padding-bottom: 32px; }
  .page-head h1 { font-size: 40px; }
  .gallery { columns: 2; column-gap: 14px; }
  .gallery .photo { margin-bottom: 14px; }

  .packages { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__info { flex-direction: column; }
}

@media (max-width: 480px) {
  :root { --pad-x: 16px; }
  .site-nav { gap: 18px; font-size: 14px; }
  .hero-intro h1 { font-size: 34px; }
  .hero-photo { height: 260px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .herd__grid { gap: 24px 14px; }
  .horse__name { font-size: 20px; }
  .gallery { columns: 1; }
  .gallery .photo { height: auto; aspect-ratio: 4 / 5; }
  .gallery .photo.is-landscape { aspect-ratio: 4 / 3; }
  .plan { padding: 28px; }
  .plan__price { font-size: 44px; }
}
