/* ============================================================
   Yeehaw Advisory LLC — v2 design system
   Editorial, high-trust, warm. Palette from the rope logo:
   cream paper, deep pine green, rope gold, clay, lone-star blue.
   Type: Fraunces (display) + Inter (text).
   ============================================================ */

:root {
  --paper: #FBF8F1;
  --cream: #F5EFE2;
  --cream-deep: #EDE4D0;
  --pine: #16302B;
  --pine-soft: #1F423B;
  --green: #2E4F49;
  --ink: #212B28;
  --ink-soft: #56605B;
  --gold: #B8923E;
  --gold-soft: #DCC89A;
  --clay: #A85A32;
  --blue: #2F6CB3;
  --line: #E0D6BE;
  --line-dark: rgba(220, 200, 154, 0.22);
  --white: #FFFEFA;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(33, 43, 40, 0.05), 0 2px 8px rgba(33, 43, 40, 0.05);
  --shadow-md: 0 2px 6px rgba(33, 43, 40, 0.06), 0 12px 32px rgba(33, 43, 40, 0.1);
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --measure: 44rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-text);
  font-size: 1.0313rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--clay); }

::selection { background: var(--gold-soft); color: var(--pine); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--pine);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.6vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
}

p { max-width: var(--measure); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--pine); color: var(--cream);
  padding: 0.6rem 1rem; z-index: 300;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */

.container { width: min(74rem, 100% - 3rem); margin-inline: auto; }
.container-narrow { width: min(52rem, 100% - 3rem); margin-inline: auto; }

section { padding: clamp(4rem, 8.5vw, 7rem) 0; position: relative; }

.section-cream { background: var(--cream); }

/* faint dot-grid texture for feature surfaces */
.textured {
  background-image:
    radial-gradient(rgba(33, 43, 40, 0.055) 1px, transparent 1.5px);
  background-size: 26px 26px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "★";
  color: var(--gold);
  font-size: 0.85em;
}

.section-head { margin-bottom: clamp(2.2rem, 4vw, 3.4rem); max-width: 52rem; }
.section-head > p { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.1rem; }

.lead { font-size: clamp(1.1rem, 1.8vw, 1.26rem); line-height: 1.6; color: var(--ink-soft); }

/* gold stitched rule */
.rule {
  height: 3px; border: 0; margin: 0;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0 14px, transparent 14px 22px);
  opacity: 0.55;
}

/* ---------- header ---------- */

.topbar { height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-soft) 45%, var(--gold)); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 241, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(33, 43, 40, 0.07);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.7rem 0;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 54px; width: auto; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-weight: 600; color: var(--pine);
  padding: 0.4rem 0.85rem; cursor: pointer;
}

.site-nav { display: flex; align-items: center; gap: 1.7rem; }

.site-nav a {
  text-decoration: none; color: var(--ink);
  font-size: 0.94rem; font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--clay); }
.site-nav a[aria-current="page"] { color: var(--pine); border-bottom-color: var(--gold); }

.site-nav a.btn-primary { color: var(--cream); border-bottom: none; }
.site-nav a.btn-primary:hover { color: var(--white); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-text);
  font-weight: 600; font-size: 0.97rem;
  text-decoration: none; text-align: center;
  border-radius: 999px;
  padding: 0.8rem 1.65rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--pine); color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--pine-soft); color: var(--white); box-shadow: var(--shadow-md); }

.btn-secondary { background: transparent; color: var(--pine); border-color: rgba(22, 48, 43, 0.35); }
.btn-secondary:hover { border-color: var(--pine); background: rgba(22, 48, 43, 0.05); color: var(--pine); }

.btn-gold { background: var(--gold); color: var(--pine); }
.btn-gold:hover { background: var(--gold-soft); color: var(--pine); }

.btn-small { padding: 0.55rem 1.2rem; font-size: 0.88rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: center; }

.text-link {
  font-weight: 600; color: var(--green); text-decoration: none;
  border-bottom: 1.5px solid var(--gold-soft);
  padding-bottom: 1px;
}
.text-link:hover { color: var(--clay); border-bottom-color: var(--clay); }

/* ---------- hero ---------- */

.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}

.hero-copy .lead { margin-top: 1.6rem; }

.hero-mantra {
  margin-top: 2.4rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem;
  font-size: 0.9rem; font-weight: 600; color: var(--green);
}
.hero-mantra span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-mantra span::before { content: "★"; color: var(--gold); font-size: 0.72em; }

.hero-art {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-md);
}
.hero-art::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  pointer-events: none;
}
.hero-art img { margin-inline: auto; }
.hero-art-note {
  position: relative;
  margin-top: 1.1rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- photo bands ---------- */

/* set the image inline on the element:
   style="background-image: url('assets/photos/….jpg')" */
.photo-band {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  background-size: cover;
  background-position: center;
  color: var(--cream);
}
.photo-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(15, 34, 30, 0.92) 0%, rgba(15, 34, 30, 0.72) 45%, rgba(15, 34, 30, 0.45) 100%);
}
.photo-band > .container, .photo-band > .container-narrow { position: relative; }

.photo-band h2, .photo-band h3 { color: var(--white); }
.photo-band p { color: rgba(245, 239, 226, 0.88); }
.photo-band .eyebrow { color: var(--gold-soft); }

.photo-quote {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.28;
  color: var(--white);
  max-width: 46rem;
  text-wrap: balance;
}
.photo-quote strong { color: var(--gold-soft); font-weight: 600; }

.photo-credit {
  margin-top: 2rem; font-size: 0.78rem;
  color: rgba(245, 239, 226, 0.55);
  letter-spacing: 0.04em;
}

/* ---------- pull quote ---------- */

.pullquote {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.32;
  color: var(--pine);
  max-width: 46rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.6rem;
  margin: 2.2rem 0;
  text-wrap: balance;
}

/* ---------- cards ---------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}

.card h3 { margin-bottom: 0.7rem; font-size: 1.18rem; }
.card p, .card ul { font-size: 0.96rem; color: var(--ink-soft); }

.card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--clay);
  margin-bottom: 1.2rem;
}
.card .icon svg { width: 24px; height: 24px; }

/* ---------- offers ---------- */

.offer-card {
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
  padding-top: 2.2rem;
}

.offer-index {
  font-family: var(--font-display);
  font-size: 3.4rem; font-weight: 600; font-style: italic;
  line-height: 1;
  color: var(--gold-soft);
}

.offer-meta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--clay);
}

.offer-tag {
  position: absolute; top: 1.3rem; right: 1.4rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--cream); color: var(--green);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.offer-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- lists ---------- */

.checklist, .plainlist { list-style: none; }

.checklist li, .plainlist li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.65rem;
  max-width: var(--measure);
}

.checklist li::before {
  content: "★";
  position: absolute; left: 0; top: 0.1rem;
  color: var(--gold); font-size: 0.8rem;
}

.plainlist li::before {
  content: "";
  position: absolute; left: 0; top: 0.72em;
  width: 0.85rem; height: 2px;
  background: var(--gold);
}

/* principles grid (dark band) */
.principles {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 2.5rem;
  margin-top: 2.4rem;
}
.principles li {
  position: relative; padding-left: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 1.1rem;
}
.principles li::before {
  content: "★";
  position: absolute; left: 0; top: 0.25rem;
  color: var(--gold); font-size: 0.85rem;
}

/* ---------- method timeline ---------- */

.timeline { list-style: none; position: relative; max-width: 56rem; }
.timeline::before {
  content: "";
  position: absolute; left: 1.55rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--gold-soft) 0 10px, transparent 10px 16px);
}

.timeline li {
  position: relative;
  padding: 0 0 2.1rem 4.6rem;
}
.timeline li:last-child { padding-bottom: 0; }

.timeline .step-num {
  position: absolute; left: 0; top: -0.1rem;
  width: 3.15rem; height: 3.15rem;
  display: grid; place-items: center;
  background: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.05rem;
  color: var(--clay);
  box-shadow: var(--shadow-sm);
}

.timeline h3 { font-size: 1.22rem; margin-bottom: 0.35rem; }
.timeline p { color: var(--ink-soft); font-size: 0.99rem; }

/* ---------- dark band ---------- */

.band {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(184, 146, 62, 0.14), transparent 60%),
    var(--pine);
  color: var(--cream);
}
.band h2, .band h3 { color: var(--white); }
.band p { color: rgba(245, 239, 226, 0.82); }
.band .eyebrow { color: var(--gold-soft); }
.band a.text-link { color: var(--gold-soft); border-bottom-color: rgba(220, 200, 154, 0.4); }
.band a.text-link:hover { color: var(--white); }
.band .checklist li::before { color: var(--gold-soft); }
.band .checklist li { color: rgba(245, 239, 226, 0.85); }

.band-quote {
  font-family: var(--font-display);
  font-style: italic; font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.2;
  color: var(--white);
  max-width: 50rem;
  text-wrap: balance;
}
.band-quote .gold { color: var(--gold-soft); font-style: normal; }

/* ---------- measure tiles ---------- */

.measure-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; margin-top: 2.6rem;
}
.measure {
  background: rgba(251, 248, 241, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.measure .m-name {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 0.3rem;
}
.measure p { font-size: 0.88rem; color: rgba(245, 239, 226, 0.72); max-width: none; }

/* ---------- RRV matrix ---------- */

.rrv-grid { display: grid; gap: 1.2rem; margin-top: 2.4rem; }

.rrv-row {
  display: grid; grid-template-columns: repeat(3, 1fr) 1.6fr;
  gap: 0; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.rrv-cell {
  padding: 1.15rem 1.2rem;
  border-right: 1px solid var(--line);
  font-size: 0.94rem;
}
.rrv-cell .label {
  display: block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 0.25rem;
}
.rrv-cell:last-child { border-right: none; background: var(--cream); }
.rrv-cell .verdict {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.05rem; color: var(--pine);
  display: block; margin-bottom: 0.15rem;
}

/* ---------- recognition quotes ---------- */

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--green);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote-card::before {
  content: "\201C";
  font-size: 2.6rem; line-height: 0;
  color: var(--gold-soft);
  position: absolute; top: 1.4rem; left: 0.9rem;
}
.quote-card p { padding-left: 1.4rem; max-width: none; }

.familiar-transition {
  margin-top: 2.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 600;
  color: var(--pine);
}
.familiar-transition .star { color: var(--gold); }

/* ---------- what we don't do ---------- */

.dont-list { list-style: none; max-width: 40rem; }
.dont-list li {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.dont-list li:last-child { border-bottom: none; }
.dont-list li::before {
  content: "\2715";
  position: absolute; left: 0; top: 0.95rem;
  color: var(--clay);
  font-size: 0.85rem; font-weight: 700;
}
.dont-list li strong { color: var(--pine); }

/* ---------- offer method name ---------- */

.method-name {
  font-size: 0.92rem; font-weight: 600;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}
.method-name span { color: var(--clay); }

/* ---------- founder ---------- */

.founder-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.portrait-frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.1rem;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.2deg);
}
.portrait-frame .portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(24rem 18rem at 30% 20%, rgba(184, 146, 62, 0.25), transparent 60%),
    var(--pine);
  display: grid; place-items: center;
}
.portrait-frame .portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame .monogram {
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  font-size: 4.5rem; color: var(--gold-soft);
}
.portrait-frame figcaption {
  text-align: center;
  font-size: 0.88rem; color: var(--ink-soft);
  padding: 0.9rem 0.4rem 0.2rem;
}
.portrait-frame figcaption strong { color: var(--pine); display: block; font-size: 0.97rem; }

.cred-list { list-style: none; margin-top: 1.8rem; max-width: 36rem; }
.cred-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem; color: var(--ink-soft);
  display: flex; gap: 0.8rem; align-items: baseline;
}
.cred-list li::before { content: "★"; color: var(--gold); font-size: 0.72rem; }
.cred-list li:last-child { border-bottom: none; }

/* ---------- forms ---------- */

.contact-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}

form.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.2rem 2rem;
  display: grid; gap: 1.2rem;
  box-shadow: var(--shadow-md);
}

.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

label { font-size: 0.88rem; font-weight: 600; color: var(--pine); }
label .optional { font-weight: 400; color: var(--ink-soft); }

input, select, textarea {
  font: inherit; font-size: 0.97rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.72rem 0.9rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 62, 0.18);
}

textarea { min-height: 6rem; resize: vertical; }

.form-note { font-size: 0.84rem; color: var(--ink-soft); }

/* ---------- footer ---------- */

.footer-cta {
  background:
    radial-gradient(50rem 26rem at 15% 110%, rgba(184, 146, 62, 0.16), transparent 60%),
    var(--pine-soft);
  color: var(--cream);
}
.footer-cta h2 { color: var(--white); }
.footer-cta p { color: rgba(245, 239, 226, 0.82); }

.site-footer {
  background: var(--pine);
  color: rgba(245, 239, 226, 0.68);
  padding: 3.6rem 0 2.2rem;
  font-size: 0.92rem;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.4rem; margin-bottom: 2.6rem;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600; color: var(--cream);
  margin-bottom: 0.7rem;
}
.footer-wordmark .star { color: var(--gold); font-size: 1.1rem; }

.site-footer h4 {
  color: var(--gold-soft); font-family: var(--font-text);
  font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(245, 239, 226, 0.68); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem;
  font-size: 0.84rem;
  color: rgba(245, 239, 226, 0.45);
}

/* ---------- ticker marquee ---------- */

.ticker {
  background: var(--pine);
  border-block: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 0.9rem 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 90s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: center;
  white-space: nowrap;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft);
  padding-right: 2.6rem;
}
.ticker-track span::after {
  content: "\2605";
  color: var(--clay);
  padding-left: 2.6rem;
  font-size: 0.7rem;
}
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- rotating stamp badge ---------- */

.stamp {
  position: absolute;
  bottom: -2.8rem; right: -2.2rem;
  width: 8rem; height: 8rem;
  filter: drop-shadow(0 2px 6px rgba(33, 43, 40, 0.18));
}
.stamp .stamp-bg { fill: var(--paper); stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 3 3; }
.stamp text {
  font-family: var(--font-text);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.22em;
  fill: var(--pine);
}
.stamp .stamp-star { font-size: 26px; fill: var(--clay); }
@keyframes stamp-spin { to { transform: rotate(360deg); } }

/* ---------- scroll progress ---------- */

.scroll-progress {
  position: absolute; left: 0; bottom: -1px;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--clay));
  transition: width 0.1s linear;
}

/* ---------- grain texture ---------- */

.grain::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}

/* ---------- organic tilt on quote cards ---------- */

.quote-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.quote-card:nth-child(odd) { transform: rotate(-0.7deg); }
.quote-card:nth-child(even) { transform: rotate(0.6deg); }
.quote-card:hover { transform: rotate(0) translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- ranch hand (mascot) ---------- */

.ranch {
  background:
    radial-gradient(42rem 28rem at 22% 65%, rgba(168, 90, 50, 0.28), transparent 62%),
    radial-gradient(50rem 26rem at 90% 0%, rgba(184, 146, 62, 0.12), transparent 60%),
    var(--pine);
}
.ranch-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
.ranch-poster {
  max-width: 26rem;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(220, 200, 154, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(1.4deg);
  animation: poster-float 11s ease-in-out infinite alternate;
}
.ranch-poster img { display: block; width: 100%; }
@keyframes poster-float {
  from { transform: rotate(1.4deg) translateY(0); }
  to   { transform: rotate(1.2deg) translateY(-5px); }
}
.band .ranch-note, .ranch-note {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.08rem;
}
.band h2 em { color: var(--gold-soft); }

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- page hero (interior) ---------- */

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.6rem);
}
.page-hero .lead { margin-top: 1.4rem; }

/* ---------- responsive ---------- */

@media (max-width: 58rem) {
  .hero-grid, .grid-3, .founder-grid, .contact-grid, .footer-grid,
  .principles, .measure-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .measure-grid { grid-template-columns: repeat(2, 1fr); }

  /* Message leads on small screens — the art follows it, never precedes it. */
  .hero-art { max-width: 24rem; margin-inline: auto; margin-top: 2.6rem; }
  /* Stamp badges the top corner here; at the bottom it lands on the caption. */
  .stamp {
    top: -1.7rem; right: -1.1rem; bottom: auto;
    width: 5.6rem; height: 5.6rem;
  }

  .rrv-row { grid-template-columns: 1fr 1fr; }
  .rrv-cell { border-bottom: 1px solid var(--line); }
  .rrv-cell:last-child { grid-column: 1 / -1; }

  .nav-toggle { display: inline-block; }

  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start;
    gap: 0.2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(33, 43, 40, 0.12);
    padding: 0.9rem 1.6rem 1.4rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.6rem 0; font-size: 1.06rem; width: 100%; }
  .site-nav a.btn { width: auto; margin-top: 0.7rem; }

  .field-row { grid-template-columns: 1fr; }

  .portrait-frame { max-width: 22rem; }
}

@media (max-width: 38rem) {
  .brand img { height: 46px; }
  .measure-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 1.25rem; }
  .timeline li { padding-left: 3.7rem; }
  .timeline .step-num { width: 2.55rem; height: 2.55rem; font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
