/* landing.css: Pasturely landing page (landing.php). Uses the colors from custom.css. */

/* ---------- hero: the current season's pasture behind everything ---------- */
.lp-hero {
  position: relative;
  padding: 56px 0 72px;
  background-color: #c3dca6;
  background-size: cover;
  background-position: center 70%;
  border-bottom: 4px solid var(--brass);
}
.lp-hero::before {                 /* soften the scene so the text card reads */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(247,240,222,.55) 0%, rgba(247,240,222,.15) 55%, rgba(247,240,222,0) 100%),
              linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(58,46,38,.18) 100%);
}
.lp-hero-card { background-color: rgba(244,235,207,.94); }
.lp-title { font-size: clamp(44px, 7vw, 68px); line-height: 1; color: var(--barn-deep); margin-bottom: .5rem; }

/* the featured horse, framed like a stall door with a brass nameplate */
.lp-hero-horse {
  position: relative;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--leather), var(--leather-deep));
  box-shadow: inset 0 0 0 2px var(--leather-deep), inset 0 0 0 4px var(--stitch-light), 0 14px 30px rgba(58,46,38,.28);
}
.lp-hero-horse .hp { border-radius: 12px; max-width: none; }
.lp-hero-horse .horse-art-wrap .hp--profile { border: 0; }
.lp-nameplate {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  z-index: 5; text-align: center; white-space: nowrap;
  padding: 6px 22px 7px;
  border-radius: 8px;
  color: var(--leather-deep);
  background: linear-gradient(180deg, var(--brass-light), var(--brass) 60%, var(--brass-deep));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 10px rgba(58,46,38,.3);
}
.lp-nameplate-name { display: block; font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; line-height: 1.1; }
.lp-nameplate-sub  { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.lp-meet {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  background: rgba(255,251,240,.9); color: var(--leather-deep);
  border: 1px solid rgba(122,74,42,.3); border-radius: 999px; font-weight: 700;
}
.lp-meet:hover { background: #fff; color: var(--barn-deep); }

/* ---------- today strip + numbers ---------- */
.lp-today { margin: 36px 0 20px; }
.lp-stats { max-width: 640px; }
.lp-stat {
  display: flex; flex-direction: column; padding: 14px 8px;
  background: var(--cream-card); border: 1px solid rgba(122,74,42,.2); border-radius: 14px;
}
.lp-stat-num   { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(22px, 4vw, 30px); color: var(--barn-deep); line-height: 1.1; }
.lp-stat-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-deep); font-weight: 700; }

/* ---------- sections ---------- */
.lp-section { margin-top: 64px; }
.lp-section:last-child { margin-bottom: 56px; }
.lp-h2 { font-size: clamp(24px, 3.4vw, 32px); color: var(--barn-deep); }
.lp-h3 { font-size: 18px; color: var(--barn-deep); margin-bottom: .35rem; }

.lp-feature-icon { font-size: 30px; line-height: 1; margin-bottom: 10px; }
.lp-feature-icon img, .lp-feature-icon svg { width: 34px; height: 34px; }

.lp-breed .hp { border-radius: 10px; }
/* Reveal the breed gallery together, including backdrops, once its layers are ready. */
.hp-loading-enabled [data-hp-load-group] .hp { transition: opacity .18s ease-out; }
.hp-loading-enabled [data-hp-group-loading="true"]:not([data-hp-group-ready="true"]) .hp { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hp-loading-enabled [data-hp-load-group] .hp { transition: none; }
}
.lp-breed .horse-art-wrap .hp--card { border: 0; max-width: none; }
.lp-breed-list { font-size: 12px; font-weight: 700; color: var(--leather); }

/* seasons */
.lp-season {
  position: relative; height: 100%; min-height: 220px;
  display: flex; align-items: flex-end;
  border-radius: 16px; overflow: hidden;
  background-size: cover; background-position: center bottom;
  border: 1px solid rgba(122,74,42,.25);
  box-shadow: 0 6px 16px rgba(58,46,38,.08);
}
.lp-season.is-now { outline: 3px solid var(--brass); outline-offset: 2px; }
.lp-season-text {
  width: 100%; padding: 40px 14px 14px; color: #fff;
  background: linear-gradient(180deg, rgba(40,30,22,0), rgba(40,30,22,.78) 55%);
}
.lp-season-text h3 { color: #fff; font-size: 18px; margin-bottom: 4px; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.lp-season-text p  { font-size: 13px; line-height: 1.35; opacity: .95; }
.lp-season-now {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--leather-deep); background: linear-gradient(180deg, var(--brass-light), var(--brass));
}

.lp-news-body p:last-child { margin-bottom: 0; }

/* ---------- small screens ---------- */
@media (max-width: 991.98px) {
  .lp-hero { padding: 32px 0 56px; }
  .lp-hero::before { background: rgba(247,240,222,.35); }
}
@media (max-width: 575.98px) {
  .lp-nameplate-name { font-size: 17px; }
  .lp-season { min-height: 180px; }
  .lp-season-text p { font-size: 12px; }
}
