:root {
  --ink: #201c17;
  --soil: #6f4e2e;
  --leaf: #4f6f3a;
  --field: #f4d06f;
  --sky: #e8f2ed;
  --cream: #fffaf0;
  --paper: #ffffff;
  --muted: #665f56;
  --line: #e7dcc9;
  --shadow: 0 14px 32px rgba(32, 28, 23, .14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

.construction-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: repeating-linear-gradient(
    135deg,
    #f4d06f 0,
    #f4d06f 18px,
    #201c17 18px,
    #201c17 36px
  );
  color: #201c17;
  font-weight: 900;
  text-align: center;
}

.construction-bar span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #201c17;
  color: #f4d06f;
  font-size: 1.1rem;
  line-height: 1;
}

.construction-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 240, .84);
  z-index: -1;
}

.construction-bar {
  position: relative;
  z-index: 20;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.topbar {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 10px 16px;
  font-size: .9rem;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  background: rgba(255, 250, 240, .96);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: .95rem;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.contact-card a:hover {
  color: var(--leaf);
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
  padding: 88px 24px;
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 42%, rgba(244, 208, 111, .34), transparent 24%),
    linear-gradient(90deg, rgba(20, 17, 14, .92) 0%, rgba(32, 28, 23, .62) 46%, rgba(32, 28, 23, .2) 100%),
    url("images/wheeling-s-ranch-johnnie-hero.jpg") center/cover,
    linear-gradient(135deg, var(--leaf), var(--soil));
}

.hero-content {
  width: min(880px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--field);
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 1;
}

.hero h1 {
  color: var(--field);
  text-shadow:
    0 4px 0 rgba(32, 28, 23, .9),
    0 12px 30px rgba(0, 0, 0, .55);
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.lead {
  max-width: 700px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero .lead {
  color: #fff9e8;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .72);
}

.button-row,
.pay-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  border-color: var(--field);
  background: var(--field);
  color: var(--ink);
}

.btn.secondary {
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
}

.btn.secondary.dark {
  border-color: var(--leaf);
  color: var(--leaf);
}

.btn.small {
  width: fit-content;
  margin-top: auto;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section.alt {
  max-width: none;
  background: var(--sky);
}

.section.alt > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
}

.notice {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 18px 24px;
  border-left: 6px solid var(--leaf);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 22px;
}

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

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 26px;
  max-width: 940px;
}

.pricing-tiers div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.pricing-tiers strong,
.pricing-tiers span,
.pricing-tiers small {
  display: block;
}

.pricing-tiers strong {
  color: var(--ink);
}

.pricing-tiers span {
  color: var(--soil);
  font-size: 1.45rem;
  font-weight: 900;
}

.pricing-tiers small {
  color: var(--muted);
  font-weight: 800;
}

.card,
.profile-card,
.contact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product img,
.profile-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}

.card-body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
}

.price {
  margin-bottom: 16px;
  color: var(--soil);
  font-size: 1.55rem;
  font-weight: 900;
}

.inventory-card .card-body {
  gap: 10px;
}

.inventory-list {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}

.inventory-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.inventory-list dt {
  color: var(--soil);
  font-weight: 900;
}

.inventory-list dd {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.flock-groups {
  display: grid;
  gap: 44px;
}

.flock-group {
  display: grid;
  gap: 20px;
}

.flock-group-heading {
  max-width: 720px;
}

.flock-group-heading h3 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.flock-group-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.rooster-grid {
  display: grid;
  grid-template-columns: 1.25fr .875fr .875fr;
  gap: 22px;
}

.profile-card {
  display: flex;
  flex-direction: column;
}

.profile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.profile-body h4 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.profile-label {
  color: var(--soil);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-label {
  margin-bottom: 8px;
}

.rooster-profile.featured img {
  aspect-ratio: 16 / 10;
}

code {
  padding: 2px 4px;
  border-radius: 4px;
  background: #eee4d5;
  font-size: .9em;
}

.availability {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.availability div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

form {
  display: grid;
  gap: 12px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin: 0 0 14px;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  background: #e8f2ed;
  color: #25451f;
}

.form-status.error {
  background: #fff0dd;
  color: #6f3b00;
}

label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfc3b0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.smallprint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.contact {
  max-width: none;
  background: var(--ink);
  color: var(--paper);
}

.contact .section-heading p,
.contact-card {
  color: var(--paper);
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(255, 255, 255, .08);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.social-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--paper);
  font-weight: 900;
  text-decoration: none;
}

.facebook-icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #1877f2;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

footer {
  padding: 28px 20px;
  background: #14110e;
  color: var(--paper);
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .cards.two,
  .cards.three,
  .inventory-grid,
  .pricing-tiers,
  .payment-grid,
    .availability,
    .rooster-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar,
  .site-header,
  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .button-row .btn,
  .pay-buttons .btn {
    width: 100%;
  }
}
