/*
Theme Name: What The Flock Ranch
Theme URI: https://whattheflockranch.com/
Author: What The Flock Ranch
Description: A warm, lightweight block theme for What The Flock Ranch with WooCommerce support.
Version: 0.9.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: wtf-ranch
*/

:root {
  --wtf-ink: #241f1a;
  --wtf-paper: #fbf7ed;
  --wtf-cream: #f0e5cf;
  --wtf-red: #8f3029;
  --wtf-red-dark: #68221e;
  --wtf-green: #485b3c;
  --wtf-gold: #d39b3a;
  --wtf-line: #d9ccb4;
  --wtf-shadow: 0 18px 55px rgba(58, 42, 27, .12);
}

html { scroll-behavior: smooth; }
body { background: var(--wtf-paper); }
a { text-underline-offset: .2em; }
img { max-width: 100%; height: auto; }

.wtf-topbar {
  background: var(--wtf-red);
  color: #fff;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.wtf-topbar p { margin: 0; }

.wtf-header {
  background: rgba(251, 247, 237, .96);
  border-bottom: 1px solid var(--wtf-line);
  position: relative;
  z-index: 20;
}
.wtf-brand { gap: .75rem; text-decoration: none; }
.wtf-brand-mark {
  background: #fff;
  border: 1px solid var(--wtf-line);
  border-radius: 4px;
  height: 58px;
  object-fit: contain;
  padding: 5px;
  width: 58px;
}
.wtf-brand-name {
  color: var(--wtf-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  margin: 0;
}
.wtf-brand-place {
  color: var(--wtf-red);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin: .3rem 0 0;
  text-transform: uppercase;
}
.wtf-header .wp-block-navigation-item__content { text-decoration: none; }
.wtf-header .wp-block-navigation-item__content:hover { color: var(--wtf-red); }

.wp-element-button,
.wp-block-button__link {
  border-radius: 2px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.wp-element-button:hover,
.wp-block-button__link:hover { transform: translateY(-2px); }
.is-style-outline > .wp-block-button__link:hover {
  background: var(--wtf-ink);
  color: #fff;
}

.wtf-hero { overflow: hidden; padding-bottom: clamp(4rem, 8vw, 8rem); padding-top: clamp(3.5rem, 7vw, 7rem); }
.wtf-eyebrow {
  color: var(--wtf-red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.wtf-hero h1 { font-size: clamp(3.15rem, 7.5vw, 6.6rem); letter-spacing: -.045em; line-height: .92; }
.wtf-hero-copy { max-width: 38rem; }
.wtf-hero-image-wrap { position: relative; }
.wtf-hero-image-wrap::before {
  background: var(--wtf-gold);
  content: '';
  height: 84%;
  position: absolute;
  right: -18px;
  top: -18px;
  width: 82%;
  z-index: 0;
}
.wtf-hero-image-wrap figure { margin: 0; position: relative; z-index: 1; }
.wtf-hero-image-wrap img { aspect-ratio: 4 / 5; box-shadow: var(--wtf-shadow); object-fit: cover; }
.wtf-hand-note {
  background: var(--wtf-red);
  bottom: -22px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  padding: .8rem 1.2rem;
  position: absolute;
  right: 24px;
  transform: rotate(-2deg);
  z-index: 2;
}

.wtf-values { border-bottom: 1px solid var(--wtf-line); border-top: 1px solid var(--wtf-line); }
.wtf-value { padding: 1.25rem 1rem; }
.wtf-value strong { color: var(--wtf-red); display: block; font-family: Georgia, serif; font-size: 1.15rem; }
.wtf-value span { color: #62594f; font-size: .88rem; }

.wtf-flix-promo {
  background: var(--wtf-ink);
  color: #fff;
}
.wtf-flix-promo h2 { color: #fff; margin: 0; }
.wtf-flix-promo p { color: #ded3c3; margin: .4rem 0 0; }
.wtf-flix-play {
  align-items: center;
  background: var(--wtf-red);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 1.1rem;
  height: 3.25rem;
  justify-content: center;
  margin-right: .75rem;
  width: 3.25rem;
}

.wtf-daily-promo { background: var(--wtf-gold); color: var(--wtf-ink); }
.wtf-daily-promo h2 { margin: 0; }
.wtf-daily-promo p { margin: .2rem 0 0; }
.wtf-daily-promo .wtf-eyebrow { color: var(--wtf-red-dark); margin: 0; }
.wtf-daily-mark {
  align-items: center;
  background: var(--wtf-paper);
  border-radius: 999px;
  color: var(--wtf-red);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  height: 3.5rem;
  justify-content: center;
  margin-right: .85rem;
  width: 3.5rem;
}

.wtf-section { padding-bottom: clamp(4rem, 7vw, 7rem); padding-top: clamp(4rem, 7vw, 7rem); }
.wtf-section-title { font-size: clamp(2.45rem, 5vw, 4.6rem); letter-spacing: -.035em; line-height: 1; }
.wtf-section-intro { color: #62594f; font-size: 1.05rem; max-width: 42rem; }

.wtf-card {
  background: #fff;
  border: 1px solid var(--wtf-line);
  box-shadow: 0 8px 30px rgba(58, 42, 27, .07);
  height: 100%;
  overflow: hidden;
}
.wtf-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.wtf-card-body { padding: 1.6rem; }
.wtf-card h3 { margin-top: .2rem; }
.wtf-card p { color: #62594f; }
.wtf-text-link { color: var(--wtf-red); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.wtf-text-link:hover { text-decoration: underline; }

.wtf-story { background: var(--wtf-green); color: #fff; }
.wtf-story .wtf-eyebrow { color: #f0c675; }
.wtf-story p { color: #f4ecdf; }
.wtf-story img { aspect-ratio: 5 / 4; object-fit: cover; }

.wtf-shop .products { margin-top: 2.5rem !important; }
.wtf-shop ul.products li.product {
  background: #fff;
  border: 1px solid var(--wtf-line);
  padding-bottom: 1.2rem;
  text-align: center;
}
.wtf-shop ul.products li.product img { margin-bottom: 1rem; }
.wtf-shop ul.products li.product .button { margin-top: .8rem; }

.wtf-visit { background: var(--wtf-cream); }
.wtf-visit img { aspect-ratio: 16 / 10; object-fit: cover; }
.wtf-contact-box { background: var(--wtf-red); color: #fff; padding: clamp(2rem, 5vw, 4rem); }
.wtf-contact-box a { color: #fff; }

.wtf-footer { background: var(--wtf-ink); color: #f8f0e3; }
.wtf-footer a { color: #f8f0e3; }
.wtf-footer-mark { background: #fff; height: 72px; object-fit: contain; padding: 7px; width: 72px; }
.wtf-footer-small { color: #cfc1ae; font-size: .78rem; }

.wtf-page-main { min-height: 52vh; padding-bottom: 5rem; padding-top: 4rem; }
.wtf-page-main h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
.wp-block-post-featured-image img { max-height: 680px; object-fit: cover; }

.wtf-coming-soon {
  background: var(--wtf-ink);
  color: #fff;
  min-height: 68vh;
  overflow: hidden;
  padding-bottom: clamp(4rem, 8vw, 8rem);
  padding-top: clamp(4rem, 8vw, 8rem);
}
.wtf-coming-soon h1 { color: #fff; font-size: clamp(3.4rem, 8vw, 7rem); letter-spacing: -.045em; line-height: .9; }
.wtf-coming-soon p:not(.wtf-eyebrow) { color: #ded3c3; }
.wtf-coming-soon-image { position: relative; }
.wtf-coming-soon-image::after {
  border: 2px solid var(--wtf-gold);
  content: '';
  inset: 18px -18px -18px 18px;
  pointer-events: none;
  position: absolute;
}
.wtf-coming-soon-image img { aspect-ratio: 4 / 5; object-fit: cover; position: relative; z-index: 1; }
.wtf-coming-badge {
  background: var(--wtf-red);
  color: #fff;
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  padding: .65rem .9rem;
  text-transform: uppercase;
}

.wtf-inner-hero {
  background: var(--wtf-cream);
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
  padding-top: clamp(3.5rem, 7vw, 7rem);
}
.wtf-inner-hero h1 { font-size: clamp(3.3rem, 8vw, 7rem); letter-spacing: -.045em; line-height: .92; }
.wtf-inner-hero img { aspect-ratio: 5 / 4; box-shadow: var(--wtf-shadow); object-fit: cover; }
.wtf-copy-section { padding-bottom: clamp(3.5rem, 7vw, 7rem); padding-top: clamp(3.5rem, 7vw, 7rem); }
.wtf-copy-section h2 { font-size: clamp(2.3rem, 5vw, 4.25rem); letter-spacing: -.035em; }
.wtf-copy-section .wp-block-column > p { color: #62594f; }
.wtf-pullquote {
  border-left: 5px solid var(--wtf-red);
  color: var(--wtf-ink);
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.3;
  padding-left: 1.5rem;
}
.wtf-info-card {
  background: #fff;
  border: 1px solid var(--wtf-line);
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.wtf-info-card h3 { margin-top: .35rem; }
.wtf-info-card p { color: #62594f; }
.wtf-number {
  color: var(--wtf-red);
  font-family: Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.wtf-pricing { background: var(--wtf-green); color: #fff; }
.wtf-pricing h2 { color: #fff; }
.wtf-price-card { background: #fff; color: var(--wtf-ink); height: 100%; padding: clamp(1.75rem, 4vw, 3rem); }
.wtf-price-card h3 { font-size: 2rem; }
.wtf-price { color: var(--wtf-red); font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; }
.wtf-price-note { color: #62594f; font-size: .86rem; }
.wtf-plain-list { list-style: none; margin-left: 0; padding-left: 0; }
.wtf-plain-list li { border-bottom: 1px solid var(--wtf-line); padding: .7rem 0; }
.wtf-plain-list li::before { color: var(--wtf-red); content: '✓'; font-weight: 800; margin-right: .6rem; }
.wtf-raw-note { background: var(--wtf-cream); border: 1px solid var(--wtf-line); padding: 1.5rem; }

.wtf-visit-page { background: var(--wtf-paper); }
.wtf-map { border: 0; display: block; filter: saturate(.78) contrast(1.03); height: 540px; width: 100%; }
.wtf-hours { margin: 0; }
.wtf-hours-row { border-bottom: 1px solid var(--wtf-line); display: flex; justify-content: space-between; padding: .7rem 0; }
.wtf-hours-row strong { color: var(--wtf-ink); }
.wtf-hours-row span { color: #62594f; }
.wtf-address-card { background: var(--wtf-red); color: #fff; padding: clamp(2rem, 5vw, 4rem); }
.wtf-address-card h2, .wtf-address-card a { color: #fff; }
.wtf-address-card p { color: #fff; }

.wtf-shop-hero { background: var(--wtf-red); color: #fff; padding-bottom: clamp(3rem, 6vw, 6rem); padding-top: clamp(3rem, 6vw, 6rem); }
.wtf-shop-hero h1 { color: #fff; font-size: clamp(3.5rem, 8vw, 7rem); letter-spacing: -.045em; }
.wtf-product-grid { padding-bottom: 6rem; padding-top: 4rem; }
.wtf-product-grid ul.products { margin-top: 2rem !important; }
.wtf-product-grid ul.products li.product { background: #fff; border: 1px solid var(--wtf-line); padding-bottom: 1.2rem; text-align: center; }
.wtf-product-grid .wc-block-product-template { gap: 1.5rem; margin-top: 2rem; }
.wtf-product-grid .wc-block-product {
  background: #fff;
  border: 1px solid var(--wtf-line);
  padding-bottom: 1.25rem;
  text-align: center;
}
.wtf-product-grid .wc-block-components-product-image img { aspect-ratio: 1 / 1; object-fit: cover; }
.wtf-product-grid .wp-block-post-title,
.wtf-product-grid .wc-block-components-product-price,
.wtf-product-grid .wp-block-woocommerce-product-button { padding-left: 1rem; padding-right: 1rem; }
.wtf-product-grid .wp-block-query-pagination { margin-top: 2.5rem; }

.wtf-final-cta { background: var(--wtf-red); color: #fff; padding-bottom: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); }
.wtf-final-cta h2 { color: #fff; }
.wtf-final-cta p { color: #f4e8dc; }

.wtf-journal-hero {
  background: var(--wtf-ink);
  color: #fff;
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
  padding-top: clamp(3.5rem, 7vw, 7rem);
}
.wtf-journal-hero h1 {
  color: #fff;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: -.045em;
  line-height: .92;
}
.wtf-journal-hero p:not(.wtf-eyebrow) { color: #ded3c3; }
.wtf-journal-feed { padding-bottom: clamp(4rem, 7vw, 7rem); padding-top: clamp(3rem, 6vw, 5rem); }
.wtf-journal-query .wp-block-post-template { gap: 1.5rem; }
.wtf-journal-card {
  background: #fff;
  border: 1px solid var(--wtf-line);
  box-shadow: 0 8px 30px rgba(58, 42, 27, .07);
  height: 100%;
  overflow: hidden;
}
.wtf-journal-card .wp-block-post-featured-image { margin: 0; }
.wtf-journal-card .wp-block-post-featured-image img { object-fit: cover; width: 100%; }
.wtf-journal-card-body { padding: 1.4rem 1.5rem 1.7rem; }
.wtf-journal-card-body .wp-block-post-title { font-size: 1.7rem; margin-bottom: .7rem; margin-top: .6rem; }
.wtf-journal-card-body .wp-block-post-title a { color: var(--wtf-ink); text-decoration: none; }
.wtf-journal-card-body .wp-block-post-title a:hover { color: var(--wtf-red); }
.wtf-journal-meta { color: #766b5f; font-size: .72rem; font-weight: 750; gap: .75rem; letter-spacing: .07em; text-transform: uppercase; }
.wtf-journal-meta a { color: var(--wtf-red); text-decoration: none; }
.wtf-journal-card .wp-block-post-excerpt { color: #62594f; }
.wtf-journal-card .wp-block-post-excerpt__more-link { color: var(--wtf-red); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wtf-journal-query .wp-block-query-pagination { margin-top: 3rem; }
.wtf-journal-empty { background: var(--wtf-cream); padding: clamp(2rem, 5vw, 4rem); }

.single-post .wtf-page-main { max-width: 820px; }
.single-post .wtf-page-main > .wp-block-post-title { font-size: clamp(2.8rem, 6vw, 5.2rem); letter-spacing: -.035em; line-height: 1; }
.single-post .wp-block-post-content { font-size: 1.08rem; }
.single-post .wp-block-post-content h2 { margin-top: 2.5rem; }
.single-post .wp-block-post-content .wp-block-embed { margin-bottom: 2rem; margin-top: 2rem; }

@media (max-width: 781px) {
  .wtf-header .wp-block-navigation { order: 3; }
  .wtf-header .wp-block-buttons { display: none; }
  .wtf-hero { padding-top: 2.5rem; }
  .wtf-hero-image-wrap { margin-top: 2.5rem; }
  .wtf-value { border-bottom: 1px solid var(--wtf-line); }
  .wtf-value:last-child { border-bottom: 0; }
  .wtf-flix-promo .wp-block-group { justify-content: center !important; text-align: center; }
  .wtf-daily-promo > .wp-block-group { justify-content: center !important; text-align: center; }
  .wtf-journal-query .wp-block-post-template { grid-template-columns: 1fr; }
}
