@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap");

:root {
  --dust: #c4a574;
  --sage: #7a8f6a;
  --denim: #3d4f63;
  --cream: #f7f1e8;
  --ink: #2a241c;
  --rust: #9a3f2c;
  --rust-deep: #7a2f22;
  --charcoal: #1a1612;
  --charcoal-soft: #2c2620;
  --burnt: #b85a32;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ui: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
a { color: var(--denim); }
a:hover { color: var(--rust); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 1.25rem 1.25rem 3rem; }
.wrap-tight { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }

header {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.75rem; padding: 1rem 0 1.25rem; border-bottom: 1px solid rgba(42,36,28,0.12);
}
.brand {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
nav { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.95rem; font-family: var(--ui); }
nav a { text-decoration: none; color: var(--denim); }
nav a:hover { color: var(--rust); }

/* Full-bleed Texas heat hero */
.hero-band {
  position: relative;
  background-color: var(--charcoal);
  background-image:
    linear-gradient(105deg, rgba(26,22,18,0.92) 0%, rgba(26,22,18,0.72) 42%, rgba(154,63,44,0.45) 100%),
    url("../images/texas-ranch-heat.jpg");
  background-size: cover;
  background-position: center;
  color: #f7f1e8;
  padding: 2.75rem 0 3rem;
  margin: 0 0 0.5rem;
  border-bottom: 3px solid var(--rust);
}
.hero-band .eyebrow {
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dust);
  margin: 0 0 0.75rem;
}
.hero-band h1 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: #fff;
  max-width: 18ch;
}
.hero-band .lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(247,241,232,0.92);
  max-width: 38rem;
  margin: 0 0 1rem;
}
.hero-band .tag {
  font-style: normal;
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dust);
  margin: 0;
  opacity: 0.95;
}

/* In-page heroes (book / about) */
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin: 1.5rem 0 0.75rem;
}
.lede { font-size: 1.1rem; color: rgba(42,36,28,0.85); }
.tag {
  font-style: normal;
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rust);
  margin: 1rem 0 1.5rem;
}

h2 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.5rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(42,36,28,0.1);
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 1px 0 rgba(42,36,28,0.04);
}
.meta { font-size: 0.92rem; color: rgba(42,36,28,0.7); margin: 0.5rem 0 1rem; font-family: var(--ui); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }

.btn {
  display: inline-block; padding: 0.75rem 1.15rem; border-radius: 6px;
  text-decoration: none; font-family: var(--ui);
  font-size: 0.95rem; font-weight: 600;
}
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--charcoal); border: 1.5px solid var(--charcoal); }
.btn-secondary:hover { border-color: var(--rust); color: var(--rust); }

.trope-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  list-style: none; padding: 0; margin: 0.75rem 0 1rem;
}
.trope-chips li {
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--charcoal);
  border: 1px solid rgba(154,63,44,0.55);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.cover-ph {
  aspect-ratio: 2/3;
  max-width: 220px;
  margin: 1rem 0 1.5rem;
  background: linear-gradient(160deg, var(--dust) 0%, var(--rust) 48%, var(--charcoal) 100%);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 1rem;
  font-family: var(--ui); font-size: 0.85rem; font-weight: 600;
  box-shadow: 0 10px 28px rgba(26,22,18,0.28);
}
.cover-ph-lg { max-width: 300px; font-size: 0.95rem; }

.mts-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin: 1.25rem 0 1.75rem;
}
@media (min-width: 720px) {
  .mts-split {
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 2rem;
  }
  .mts-split .cover-ph { margin: 0; }
}

.media { margin: 1rem 0 0; }
.media img, .cover-art {
  display: block; width: 100%; max-width: 100%; height: auto;
  border-radius: 8px;
}
.cover-art { max-width: 260px; margin: 1rem 0 1.25rem; box-shadow: 0 8px 24px rgba(42,36,28,0.18); }

.about-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 640px) {
  .about-grid { grid-template-columns: 240px 1fr; }
  .about-photo { max-width: 240px; }
}
.about-photo {
  display: block;
  width: 100%;
  max-width: min(280px, 85vw);
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(42,36,28,0.14);
}
.hero-photo { margin: 0 0 1rem; }

footer.site-footer,
.site-footer {
  margin-top: 0;
  padding: 1.75rem 0 2.25rem;
  background: var(--charcoal);
  color: rgba(247,241,232,0.78);
  border-top: 3px solid var(--rust);
  font-size: 0.9rem;
  font-family: var(--ui);
}
.site-footer a { color: var(--dust); }
.site-footer a:hover { color: #fff; }
.site-footer .form-note { color: rgba(247,241,232,0.55); }
.site-footer p { margin: 0.4rem 0; }

/* Signup form (Kit-free preview) */
.signup-form { margin-top: 0.75rem; }
.form-label {
  display: block;
  font-family: var(--ui);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.5rem 0 0.35rem;
  color: var(--ink);
}
.form-input {
  display: block;
  width: 100%;
  max-width: 28rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid rgba(42, 36, 28, 0.22);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.4;
}
.form-input:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(154, 63, 44, 0.2);
}
.form-input::placeholder { color: rgba(42, 36, 28, 0.4); }
.form-note {
  font-size: 0.9rem;
  color: rgba(42, 36, 28, 0.7);
  margin: 0.75rem 0 0;
}
button.btn {
  border: none;
  cursor: pointer;
  appearance: none;
}
button.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-status {
  font-family: var(--ui);
  font-size: 0.95rem;
  margin: 0.85rem 0 0;
}
.form-status-ok { color: var(--sage); }
.form-status-err { color: var(--rust); }

/* Ranch atmosphere — same TUNE language as MTS card / hero band */
.ranch-atmosphere {
  border-color: rgba(154, 63, 44, 0.28);
  background:
    linear-gradient(135deg, rgba(26,22,18,0.04) 0%, rgba(154,63,44,0.06) 55%, #fff 100%);
  box-shadow: 0 1px 0 rgba(26,22,18,0.06);
}
.ranch-atmosphere-inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 720px) {
  .ranch-atmosphere-inner {
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 1.75rem;
  }
}
.ranch-atmosphere .media { margin: 0; }
.ranch-atmosphere .media img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  border: 2px solid var(--charcoal);
  box-shadow: 0 10px 28px rgba(26,22,18,0.22);
}
.ranch-atmosphere-copy h2 {
  margin-top: 0;
  color: var(--charcoal);
}
.ranch-atmosphere-copy p {
  margin: 0.5rem 0 0;
  color: rgba(42,36,28,0.85);
}
.ranch-text-link {
  margin-top: 1rem !important;
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 600;
}
.ranch-text-link a {
  color: var(--rust);
  text-decoration: none;
  border-bottom: 2px solid rgba(154, 63, 44, 0.45);
}
.ranch-text-link a:hover {
  color: var(--rust-deep);
  border-bottom-color: var(--rust-deep);
}


/* Kit On the Ranch embed (HTML form + ck.5.js) */
.kit-embed-card .formkit-alert { list-style: none; padding: 0; margin: 0 0 0.75rem; color: var(--rust-deep); font-family: var(--ui); font-size: 0.9rem; }
.kit-otr-form .formkit-fields { display: block; }
.kit-otr-form .formkit-field { margin-bottom: 0.5rem; }
