/* ─── HorseStory web — horsestoryapp.com ────────────────────────────────────────
   Palette mirrors the app's design tokens (lib/theme.ts): ink + sage
   structural, one muted blue for care, gold for milestones and due dates.
   No other hues: one green family only. Serif is reserved for display headings and horse names. */

:root {
  --brand: #4E6B54;
  --brand-light: #6E8A74;
  --brand-faint: #EDF2EE;
  --accent: #8FA98B;
  --accent-faint: #EDF3EE;
  --care: #5F7E86;
  --care-faint: #EDF3F4;
  --ink: #20241F;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #F2F3EF;
  --border: #DFE3DC;
  --border-light: #ECEFEA;
  --text: #2A2E28;
  --text-secondary: #575C52;
  --text-muted: #939890;
  --gold: #C9A84C;
  --gold-faint: #FEF6E4;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .serif { font-family: var(--display); font-weight: 400; letter-spacing: 0; }

a { color: var(--brand); }

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
nav .wordmark {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display);
  font-size: 23px; color: var(--ink); text-decoration: none;
}
nav .wordmark img { height: 36px; width: 36px; border-radius: 9px; }
nav .links { display: flex; gap: 22px; }
nav .links a { color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 15px; }
nav .links a:hover { color: var(--brand); }

/* ── Hero ── */
.hero { text-align: center; padding: 72px 0 56px; }
.hero .eyebrow {
  display: inline-block; background: var(--brand-faint); color: var(--brand);
  border: 1px solid rgba(78, 107, 84, 0.28);
  font-weight: 700; font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 66px);
  color: var(--ink);
  line-height: 1.08;
  max-width: 820px; margin: 0 auto;
}
.hero h1 em { font-style: italic; color: var(--brand); }
.hero p.sub {
  font-size: clamp(17px, 2.3vw, 20px);
  color: var(--text-secondary);
  max-width: 620px; margin: 22px auto 0;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px;
  text-decoration: none; font-weight: 700; font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 0 rgba(32, 36, 31, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(78, 107, 84, 0.32); }
.btn-ghost { background: var(--surface); color: var(--text-secondary); border: 2px dashed var(--border); cursor: default; }
.btn-ghost .pill {
  background: var(--brand-faint); color: var(--brand);
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px;
}

.btn-quiet { background: transparent; color: var(--brand); }
.btn-quiet:hover { text-decoration: underline; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); }

/* ── Passport card visual (pure CSS) ── */
.passport-stage { display: flex; justify-content: center; padding: 30px 0 10px; }
.passport {
  width: min(560px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(32, 36, 31, 0.14);
  overflow: hidden;
  text-align: left;
}
.passport .pp-head {
  background: var(--ink); color: #fff;
  padding: 20px 26px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.passport .pp-head .name { font-family: var(--display); font-size: 24px; }
.passport .pp-head .breed { color: rgba(255,255,255,0.72); font-size: 13.5px; }
.passport .pp-body { padding: 10px 26px 24px; }
.tl-item {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.tl-item:last-child { border-bottom: none; }
.tl-dot {
  flex: none; width: 10px; height: 10px; border-radius: 999px;
  background: var(--brand); margin-top: 8px;
}
.tl-dot.care { background: var(--care); }
.tl-dot.gold { background: var(--gold); }
.tl-dot.due { background: transparent; border: 2px solid var(--gold); }
.tl-item .tl-title { font-weight: 650; font-size: 15.5px; }
.tl-item .tl-meta { color: var(--text-muted); font-size: 13px; }

/* ── Sections ── */
section { padding: 76px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker {
  color: var(--brand); font-weight: 800; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 12px;
}
section h2 { font-size: clamp(30px, 4vw, 42px); color: var(--ink); margin-bottom: 14px; }
section h2 em { font-style: italic; color: var(--brand); }
section p.lede { color: var(--text-secondary); font-size: 18px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 42px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
section.alt .card { background: var(--bg); }
.card h3 { font-size: 18px; margin-bottom: 6px; font-weight: 700; }
.card p { color: var(--text-secondary); font-size: 15px; }

/* ── Feature index (everything in the record) ── */
.feature-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-top: 42px;
}
.feature-col {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
}
section.alt .feature-col { background: var(--bg); }
.feature-col h3 {
  font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light);
}
.feature-col.tone-record h3 { color: var(--brand); }
.feature-col.tone-barn h3 { color: var(--care); }
.feature-col ul { list-style: none; }
.feature-col li {
  padding: 7px 0 7px 26px; position: relative;
  color: var(--text-secondary); font-size: 15px;
}
.feature-col li strong { color: var(--text); font-weight: 650; }
.feature-col li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 7px; height: 7px; border-radius: 999px; background: var(--accent);
}
.feature-col.tone-barn li::before { background: var(--care); }

/* ── For barns ── */
.barn-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 56px; align-items: center;
}
@media (max-width: 860px) { .barn-grid { grid-template-columns: 1fr; gap: 40px; } }
.barn-points { list-style: none; margin-top: 28px; }
.barn-points li {
  padding: 12px 0 12px 30px; position: relative;
  color: var(--text-secondary); font-size: 16px;
  border-bottom: 1px solid var(--border-light);
}
.barn-points li:last-child { border-bottom: none; }
.barn-points li strong { color: var(--text); }
.barn-points li::before {
  content: ""; position: absolute; left: 4px; top: 22px;
  width: 8px; height: 8px; border-radius: 999px; background: var(--brand);
}
.cta-row.cta-left { justify-content: flex-start; margin-top: 28px; }
.cta-note { color: var(--text-muted); font-size: 14px; margin-top: 14px; max-width: 480px; }
.boarder-mock .bm-label {
  text-align: center; color: var(--text-muted); font-weight: 700;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.boarder-mock .passport { width: 100%; }
.pp-head.pp-head-barn { background: var(--brand); }

/* ── Pricing ── */
.lane-title {
  font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin: 52px 0 18px;
}
.price-grid { display: grid; gap: 18px; align-items: stretch; }
.price-grid-owner { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 720px; }
.price-grid-barn { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.price-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: var(--surface); border: 2px solid var(--brand);
  box-shadow: 0 14px 40px rgba(78, 107, 84, 0.14);
}
.plan-badge {
  align-self: flex-start; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.plan-name { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; margin-bottom: 12px; color: var(--text); }
.price-card.featured .plan-name { margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.price .amount {
  font-family: var(--display);
  font-size: 44px; line-height: 1; color: var(--ink);
}
.price .per { color: var(--text-muted); font-weight: 600; font-size: 15px; }
.price .alt-price {
  color: var(--brand); font-weight: 700; font-size: 14px;
  background: var(--brand-faint); padding: 3px 10px; border-radius: 999px;
}
.plan-blurb { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 18px; }
.price-card ul { list-style: none; margin-top: auto; }
.price-card li {
  padding: 7px 0 7px 26px; position: relative;
  color: var(--text-secondary); font-size: 14.5px;
  border-top: 1px solid var(--border-light);
}
.price-card li::before {
  content: "✓"; position: absolute; left: 2px; top: 7px;
  color: var(--brand); font-weight: 800; font-size: 13px;
}
.price-note {
  margin-top: 26px; color: var(--text-secondary); font-size: 15px; max-width: 760px;
}
.price-note strong { color: var(--text); }

/* ── White-glove onboarding ── */
.onboard-card {
  margin-top: 40px;
  background: var(--brand); color: #fff;
  border-radius: 24px; padding: 48px 44px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px;
  align-items: center;
}
@media (max-width: 860px) { .onboard-card { grid-template-columns: 1fr; padding: 36px 28px; } }
.ob-kicker {
  display: block; color: var(--gold); font-weight: 800; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.onboard-card h3.serif { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 14px; color: #fff; }
.onboard-card p { color: rgba(255, 255, 255, 0.85); font-size: 16px; margin-bottom: 12px; }
.onboard-card p em { color: #fff; font-style: italic; }
.ob-price {
  margin-top: 18px; padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px; font-size: 14.5px; color: rgba(255, 255, 255, 0.85);
}
.ob-price strong { color: #fff; }
.ob-list { list-style: none; }
.ob-list li {
  padding: 12px 0 12px 30px; position: relative;
  color: rgba(255, 255, 255, 0.92); font-size: 15.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.ob-list li:last-child { border-bottom: none; }
.ob-list li::before {
  content: "✓"; position: absolute; left: 2px; top: 12px;
  color: var(--gold); font-weight: 800;
}

/* ── Principle band ── */
.principle {
  background: var(--ink); border-radius: 24px;
  padding: 60px 36px; text-align: center; color: #fff;
  margin-bottom: 84px;
}
.principle h2 { color: #fff; }
.principle h2 em { color: var(--gold); font-style: italic; }
.principle p { color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 14px auto 0; font-size: 17px; }

/* ── Legal / article pages ── */
.article { padding: 40px 0 90px; }
.article h1 { font-size: clamp(32px, 4.5vw, 44px); color: var(--ink); margin-bottom: 6px; }
.article .meta { color: var(--text-muted); font-size: 14px; margin-bottom: 36px; }
.article h2 { font-size: 24px; margin: 38px 0 10px; color: var(--ink); }
.article p, .article li { color: var(--text-secondary); font-size: 16px; }
.article ul, .article ol { padding-left: 22px; margin: 10px 0; }
.article li { margin: 7px 0; }
.article strong { color: var(--text); }
.article .callout {
  background: var(--brand-faint); border: 1px solid rgba(78, 107, 84, 0.35);
  border-radius: var(--radius); padding: 18px 22px; margin: 26px 0;
}
.article .callout p { color: var(--text); margin: 0; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 38px 0 48px; text-align: center;
  color: var(--text-muted); font-size: 14px;
}
footer .foot-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
footer a { color: var(--brand); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* ── Hamburger menu ── */
nav { position: relative; }
.menu-btn {
  background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; gap: 4.5px; padding: 9px;
  border-radius: 8px;
}
.menu-btn:hover { background: var(--surface-2); }
.menu-btn span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.menu-panel {
  position: absolute; top: 64px; right: 0; z-index: 50;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 14px 40px rgba(32, 36, 31, 0.16);
  padding: 8px; min-width: 220px; display: none;
}
.menu-panel.open { display: block; }
.menu-panel a {
  display: block; padding: 11px 14px; border-radius: 9px;
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px;
}
.menu-panel a:hover { background: var(--surface-2); color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 720px) { nav .links { display: none; } }

/* ── Owner page additions ── */
.principle.principle-top { margin: 64px 0 0; }
.beta-block { text-align: center; }
.beta-block .lede { margin: 0 auto; }
.beta-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.beta-form input[type=email] {
  flex: 1 1 260px; max-width: 360px; padding: 14px 16px; font-size: 16px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text);
}
.beta-form input[type=email]:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.beta-form button { border: 0; cursor: pointer; font-family: inherit; }
.hp { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Barns page ── */
.barn-hero { padding-top: 40px; }
.barn-h1 { font-size: clamp(34px, 4.8vw, 50px); color: var(--ink); line-height: 1.1; margin-bottom: 16px; }
.barn-h1 em { font-style: italic; color: var(--brand); }
.price-card.featured .plan-name { margin-top: 0; }
.included {
  margin-top: 22px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.included h3 { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.included ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px 24px; }
.included li { padding: 6px 0 6px 24px; position: relative; color: var(--text-secondary); font-size: 15px; }
.included li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 800; }

/* ─── Editorial layer (2026-09 redesign) ──────────────────────────────────────
   Classy and curated: one display serif with real italics, a quiet grotesk,
   hairlines instead of boxes, small caps labels, restrained radii. */
:root {
  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 6px;
  --bg: #F7F6F1;
}
body { font-family: var(--sans); font-size: 16px; letter-spacing: 0.005em; }
h1, h2, .serif { font-weight: 500; letter-spacing: -0.01em; }
h1 em, h2 em { font-weight: 500; }

nav { padding: 28px 0; border-bottom: 1px solid var(--border-light); }
nav .wordmark { font-size: 27px; font-weight: 600; letter-spacing: 0; }
nav .wordmark img { border-radius: 4px; height: 32px; width: 32px; }
nav .links a { font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }

.hero { padding: 96px 0 64px; }
.hero .eyebrow {
  background: none; border: 0; border-radius: 0; padding: 0;
  font-weight: 600; font-size: 12px; letter-spacing: 0.22em; color: var(--text-muted);
}
.hero .eyebrow::before, .hero .eyebrow::after {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--border); vertical-align: middle; margin: 0 14px;
}
.hero h1 { font-size: clamp(48px, 7.4vw, 88px); line-height: 1.0; }
.hero p.sub { font-size: clamp(17px, 2vw, 19px); line-height: 1.7; max-width: 580px; margin-top: 28px; }

.btn { border-radius: 3px; font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; padding: 16px 30px; }
.btn-primary { box-shadow: none; background: var(--ink); }
.btn-primary:hover { transform: none; background: var(--brand); box-shadow: none; }
.btn-quiet { padding-left: 8px; padding-right: 8px; }

.passport { border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(32, 36, 31, 0.35); }
.passport .pp-head { padding: 22px 28px; }
.passport .pp-head .name { font-size: 30px; font-style: italic; }
.passport .pp-head .breed { letter-spacing: 0.08em; text-transform: uppercase; font-size: 11.5px; }
.tl-item .tl-title { font-weight: 600; }

.barn-door {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  margin-top: 56px; padding: 22px 4px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text);
}
.bd-label { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--ink); white-space: nowrap; }
.bd-text { color: var(--text-secondary); font-size: 15.5px; }
.bd-arrow { font-size: 22px; color: var(--brand); transition: transform 0.2s ease; }
.barn-door:hover .bd-arrow { transform: translateX(6px); }
.barn-door:hover .bd-label { color: var(--brand); }
@media (max-width: 640px) { .barn-door { grid-template-columns: 1fr auto; gap: 6px 16px; } .bd-text { grid-column: 1; } .bd-arrow { grid-row: 1 / span 2; grid-column: 2; } }

section { padding: 110px 0; }
section.alt { background: #FFFFFF; }
.kicker { font-weight: 600; font-size: 12px; letter-spacing: 0.22em; color: var(--text-muted); margin-bottom: 18px; }
section h2 { font-size: clamp(38px, 5vw, 58px); line-height: 1.05; margin-bottom: 20px; }
section p.lede { font-size: 18px; line-height: 1.7; }

/* Cards become an editorial index: hairline top rule, no boxes. */
.grid { gap: 40px 36px; margin-top: 64px; }
.card, section.alt .card { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
.card h3 { font-family: var(--display); font-size: 26px; font-weight: 600; margin-bottom: 8px; line-height: 1.15; }
.card p { font-size: 15.5px; line-height: 1.65; }

.principle { border-radius: 4px; padding: 84px 40px; }
.principle h2 { font-size: clamp(38px, 5vw, 56px); }
.principle-top { margin-top: 56px; }

.price-card, .price-card.featured { border-radius: 4px; box-shadow: none; }
.price-card.featured { border: 1px solid var(--ink); }
.plan-badge { border-radius: 2px; background: var(--ink); letter-spacing: 0.16em; font-weight: 600; }
.plan-name { font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.price .amount { font-size: 56px; font-weight: 500; }
.price .alt-price { border-radius: 2px; background: none; padding: 0; color: var(--text-secondary); font-weight: 500; }
.price-card li::before, .included li::before { content: "—"; color: var(--accent); font-weight: 400; }
.included { border-radius: 4px; }
.included h3 { color: var(--text-muted); font-weight: 600; letter-spacing: 0.2em; font-size: 12px; }

.onboard-card { border-radius: 4px; background: var(--ink); }
.ob-kicker { letter-spacing: 0.22em; font-weight: 600; font-size: 12px; }
.onboard-card h3.serif { font-size: clamp(32px, 4vw, 44px); }
.ob-list li::before { content: "—"; font-weight: 400; }
.btn-light:hover { transform: none; background: var(--brand-faint); }

.barn-h1 { font-size: clamp(42px, 5.6vw, 66px); line-height: 1.02; }

.beta-block h2 { font-size: clamp(42px, 5.5vw, 64px); }
.beta-form input[type=email] { border-radius: 3px; border-color: var(--ink); background: transparent; font-family: var(--sans); }
.beta-form button { border-radius: 3px; }

footer { font-size: 13px; letter-spacing: 0.04em; padding: 56px 0; }
footer a { font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; color: var(--text-secondary); }
.menu-panel { border-radius: 4px; }
.grid.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; max-width: 860px; }
@media (max-width: 640px) { .grid.grid-2 { grid-template-columns: 1fr; } }
.grid:not(.grid-2) { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.onboard-card h3.serif { line-height: 1.1; }

/* ── Curated extras + programs ── */
section.more { padding: 20px 0 100px; }
.more-list { list-style: none; border-top: 1px solid var(--ink); }
.more-list li {
  padding: 18px 0; border-bottom: 1px solid var(--border);
  font-size: 17px; color: var(--text-secondary);
}
.more-list li em { font-family: var(--display); font-size: 24px; font-style: italic; color: var(--ink); margin-right: 4px; }
.more-foot { margin-top: 22px; font-family: var(--display); font-style: italic; font-size: 22px; color: var(--text-muted); }
.more-list-tight { margin-top: 28px; }
.programs-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .programs-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ─── Home v3: for the love of the horse ──────────────────────────────────── */
.barn-banner {
  display: flex; align-items: baseline; justify-content: center; gap: 18px; flex-wrap: wrap;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 18px 24px; text-align: center;
}
.bb-q { font-family: var(--display); font-style: italic; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; }
.bb-go { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.bb-go span { display: inline-block; transition: transform 0.2s ease; }
.barn-banner:hover .bb-go span { transform: translateX(5px); }

.photo-hero { position: relative; min-height: min(92vh, 860px); overflow: hidden; color: #fff; display: flex; flex-direction: column; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%; }
.ph-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20, 22, 19, 0) 30%, rgba(20, 22, 19, 0.55) 100%),
  linear-gradient(180deg, rgba(20, 22, 19, 0.35) 0%, rgba(20, 22, 19, 0) 22%, rgba(20, 22, 19, 0) 60%, rgba(20, 22, 19, 0.55) 100%); }
.photo-hero nav.ph-nav { position: relative; z-index: 2; border-bottom: 0; width: 100%; }
.ph-nav .wordmark { color: #fff; }
.ph-nav .links a { color: rgba(255, 255, 255, 0.85); }
.ph-nav .links a:hover { color: #fff; }
.ph-nav .menu-btn span { background: #fff; }
.ph-nav .menu-btn:hover { background: rgba(255, 255, 255, 0.12); }
.ph-copy { position: relative; z-index: 2; margin-top: auto; padding-bottom: 72px; width: 100%;
  display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.ph-copy > * { max-width: 520px; }
.ph-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); margin-bottom: 18px; }
.ph-copy h1 { font-size: clamp(46px, 6.6vw, 84px); line-height: 0.98; font-weight: 500; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.ph-copy h1 em { font-style: italic; }
.ph-copy p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); margin: 22px 0 30px; }
.ph-caption { position: absolute; z-index: 2; left: 24px; bottom: 22px; font-family: var(--display); font-style: italic; font-size: 18px; color: rgba(255, 255, 255, 0.85); }
@media (max-width: 720px) {
  .photo-hero { min-height: 88vh; }
  .ph-img { object-position: 22% 50%; }
  .ph-shade { background: linear-gradient(180deg, rgba(20,22,19,0.4) 0%, rgba(20,22,19,0) 25%, rgba(20,22,19,0.15) 45%, rgba(20,22,19,0.75) 100%); }
  .ph-copy { align-items: flex-start; text-align: left; padding-bottom: 64px; }
  .ph-caption { left: auto; right: 20px; }
}

section.manifesto { padding: 140px 0 120px; text-align: center; }
.manifesto p { font-family: var(--display); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.35; color: var(--text-secondary); font-weight: 500; }
.manifesto .m-turn { margin-top: 36px; color: var(--ink); font-size: clamp(32px, 4.2vw, 48px); line-height: 1.15; }
.manifesto .m-turn em { color: var(--brand); }

section.promise { padding: 40px 0 140px; }
.promise-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 88px; align-items: start; }
.promise-aside { position: sticky; top: 40px; }
.promise-aside .passport { width: 100%; }
.promises { list-style: none; counter-reset: none; }
.promises li { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding: 36px 0; border-top: 1px solid var(--border); }
.promises li:first-child { border-top: 1px solid var(--ink); }
.p-num { grid-row: span 2; font-family: var(--display); font-style: italic; font-size: 30px; color: var(--gold); line-height: 1.2; }
.promises h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 10px; color: var(--ink); }
.promises p { color: var(--text-secondary); font-size: 16.5px; line-height: 1.7; max-width: 460px; }
@media (max-width: 860px) {
  .promise-grid { grid-template-columns: 1fr; gap: 56px; }
  .promise-aside { position: static; order: 2; }
  .promises li { grid-template-columns: 44px 1fr; }
}

section.belongs { background: var(--ink); padding: 130px 0; text-align: center; }
.b-line { font-family: var(--display); color: #fff; font-size: clamp(44px, 6vw, 76px); line-height: 1.05; font-weight: 500; }
.b-line em { color: var(--gold); }
.b-sub { color: rgba(255, 255, 255, 0.7); font-size: 17px; margin-top: 22px; }

section.pricing-quiet { padding: 130px 0; }
.pq-head { text-align: center; margin-bottom: 56px; }
.pq-head h2 { margin-bottom: 8px; }
.pq-head p { color: var(--text-muted); }
.pq-table { display: grid; grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.pq-col { padding: 40px 44px; text-align: center; }
.pq-col + .pq-col { border-left: 1px solid var(--border); }
.pq-name { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.pq-price { font-family: var(--display); font-size: 64px; line-height: 1.1; color: var(--ink); margin: 10px 0 14px; }
.pq-price span { font-family: var(--sans); font-size: 15px; color: var(--text-muted); margin-left: 4px; }
.pq-col p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.65; }
@media (max-width: 640px) { .pq-table { grid-template-columns: 1fr; } .pq-col + .pq-col { border-left: 0; border-top: 1px solid var(--border); } .pq-col { padding: 36px 8px; } }

section.beta-band { background: var(--brand); color: #fff; text-align: center; padding: 120px 0; }
.beta-band h2 { color: #fff; font-size: clamp(44px, 5.8vw, 68px); margin-bottom: 14px; }
.beta-band h2 em { font-style: italic; color: #fff; opacity: 0.85; }
.beta-band p { color: rgba(255, 255, 255, 0.85); font-size: 17px; }
.beta-band .beta-form input[type=email] { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.beta-band .beta-form input[type=email]::placeholder { color: rgba(255, 255, 255, 0.6); }
.beta-band .beta-form input[type=email]:focus { outline-color: #fff; }
.home footer { border-top: 0; }

/* ─── Warm forest: the one deep green. Sits with the gold and the photos'
   golden-hour tones; the cooler brand sage stays for small accents. ─── */
:root { --forest: #36402F; }
section.beta-band { background: var(--forest); }
.pp-head.pp-head-barn { background: var(--forest); }

/* ─── Barns v3 ─── */
.barn-banner-quiet { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--border); }
.barn-banner-quiet .bb-go { color: var(--brand); }

.split-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(92vh, 900px); background: var(--ink); color: #fff; }
.sh-copy { display: flex; flex-direction: column; padding: 0 clamp(24px, 5vw, 72px); }
.split-hero nav.ph-nav { border-bottom: 0; }
.sh-body { margin: auto 0; padding: 48px 0 72px; max-width: 520px; }
.sh-body h1 { font-size: clamp(46px, 5.6vw, 80px); line-height: 0.98; font-weight: 500; color: #fff; margin: 0 0 24px; }
.sh-body h1 em { font-style: italic; color: var(--gold); }
.sh-body p { font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, 0.82); margin-bottom: 32px; }
.sh-body .ph-eyebrow { display: block; }
.sh-note { display: block; margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.04em; }
.sh-photo { position: relative; overflow: hidden; }
.sh-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.sh-photo .ph-caption { left: auto; right: 22px; }
@media (max-width: 860px) {
  .split-hero { grid-template-columns: 1fr; }
  .sh-photo { min-height: 70vh; order: -1; }
  .sh-photo .ph-caption { right: 20px; }
  .sh-body { padding: 36px 0 64px; }
}

.programs-band { background: var(--forest); }
.programs-band .ph-eyebrow { display: block; margin-bottom: 22px; }
.programs-band .b-line { font-size: clamp(38px, 5vw, 64px); }
.programs-band .b-sub { max-width: 560px; margin: 22px auto 34px; line-height: 1.7; }
.btn-quiet-light { color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); background: transparent; }
.btn-quiet-light:hover { background: rgba(255, 255, 255, 0.1); }

.pq-table.pq-three { grid-template-columns: repeat(3, 1fr); max-width: 940px; }
.pq-three .pq-col { padding: 44px 24px; }
.pq-foot { text-align: center; color: var(--text-secondary); margin-top: 32px; line-height: 1.9; }
@media (max-width: 640px) { .pq-table.pq-three { grid-template-columns: 1fr; } .pq-three .pq-col + .pq-col { border-left: 0; border-top: 1px solid var(--border); } }
@media (max-width: 860px) {
  .sh-copy { display: contents; }
  .split-hero nav.ph-nav { order: 0; padding: 22px 24px; }
  .sh-photo { order: 1; min-height: 62vh; }
  .sh-body { order: 2; padding: 40px 24px 64px; }
}

/* ─── Linen replaces forest: warm, light, happy. Deep bands stay ink only. ─── */
:root { --linen: #EFE8D8; --linen-deep: #E4DAC4; --gold-deep: #8C6B2F; }
section.beta-band, .programs-band { background: var(--linen); color: var(--ink); }
.beta-band h2, .programs-band .b-line { color: var(--ink); }
.beta-band h2 em, .programs-band .b-line em { color: var(--gold-deep); opacity: 1; }
.beta-band p, .programs-band .b-sub { color: var(--text-secondary); }
.programs-band .ph-eyebrow { color: var(--gold-deep); }
.beta-band .btn-light { background: var(--ink); color: #fff; }
.beta-band .btn-light:hover { background: var(--brand); }
.beta-band .beta-form input[type=email] { border-color: var(--ink); color: var(--ink); background: #fff; }
.beta-band .beta-form input[type=email]::placeholder { color: var(--text-muted); }
.beta-band .beta-form input[type=email]:focus { outline-color: var(--ink); }
.btn-quiet-light { color: var(--ink); border-color: var(--ink); }
.btn-quiet-light:hover { background: var(--linen-deep); }
.pp-head.pp-head-barn { background: var(--ink); }

/* Sky hero: the photo's pale sky carries dark type up top. */
.sky-hero .ph-img { object-position: 50% 70%; }
.sky-hero .ph-shade { background: linear-gradient(180deg, rgba(247, 246, 241, 0.55) 0%, rgba(247, 246, 241, 0.15) 38%, rgba(247, 246, 241, 0) 55%); }
.sky-hero .ph-nav .wordmark, .sky-hero .ph-nav .links a { color: var(--ink); }
.sky-hero .ph-nav .menu-btn span { background: var(--ink); }
.sky-copy { margin-top: 0; padding: 36px 24px 0; align-items: center; text-align: center; }
.sky-copy > * { max-width: 640px; }
.sky-copy .ph-eyebrow { color: var(--text-secondary); }
.sky-copy h1 { color: var(--ink); text-shadow: none; }
.sky-copy h1 em { color: var(--gold-deep); }
.sky-copy p { color: var(--text); margin: 18px 0 28px; }
.sky-hero .ph-caption { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 720px) {
  .sky-hero { min-height: 94vh; }
  .sky-hero .ph-img { object-position: 30% 70%; }
  .sky-hero .ph-shade { background: linear-gradient(180deg, rgba(247,246,241,0.8) 0%, rgba(247,246,241,0.55) 45%, rgba(247,246,241,0) 70%); }
  .sky-copy { align-items: center; text-align: center; padding-bottom: 0; }
}
section.belongs.programs-band { background: var(--linen); }

/* ── 2026-09-14: no sage on the owner page, readable sky hero, closing barn link ── */
body.home { --brand: var(--ink); }
body.home .manifesto .m-turn em,
body.home section h2 em { color: var(--gold-deep); }
body.home .btn-light { color: var(--ink); }
body.home .btn-primary:hover,
body.home .beta-band .btn-light:hover { background: #3A3F38; }

.barn-close {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 96px 24px; text-align: center; text-decoration: none;
  background: var(--bg); color: var(--ink); border-top: 1px solid var(--border);
}
.bc-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.bc-line { font-family: var(--display); font-size: clamp(34px, 4.6vw, 54px); line-height: 1.1; max-width: 760px; }
.bc-line em { font-style: italic; color: var(--gold-deep); }
.bc-go { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.bc-go span { display: inline-block; transition: transform 0.2s ease; }
.barn-close:hover .bc-go span { transform: translateX(5px); }

/* Wide screens show more bright sky behind the text, so give the copy a soft
   linen glow of its own instead of relying on the photo. */
.sky-copy { position: relative; }
.sky-copy::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0;
  width: min(900px, 100%); height: 100%; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 45%, rgba(247,246,241,0.92) 0%, rgba(247,246,241,0.7) 45%, rgba(247,246,241,0) 72%);
  pointer-events: none;
}
.sky-copy h1 { position: relative; }
.sky-copy p { font-weight: 500; color: var(--ink); }
.sky-hero .ph-shade { background: linear-gradient(180deg, rgba(247,246,241,0.75) 0%, rgba(247,246,241,0.45) 40%, rgba(247,246,241,0) 62%); }

/* ─── Ivory, espresso & brass (2026-09-14) ────────────────────────────────────
   One warm world: ivory paper, espresso instead of black, polished brass.
   No greens anywhere. Declared last so it wins over every earlier layer. */
:root, body.home {
  --bg: #F5F0E6;
  --surface: #FBF8F2;
  --surface-2: #EFE8DB;
  --ink: #2A2320;
  --text: #2F2824;
  --text-secondary: #5E534B;
  --text-muted: #978B80;
  --border: #DDD2C0;
  --border-light: #E9E0D1;
  --brand: #2A2320;
  --brand-light: #5E534B;
  --brand-faint: #EFE8DB;
  --accent: #A8854A;
  --accent-faint: #F2EADB;
  --care: #7A6A58;
  --care-faint: #EFE8DB;
  --gold: #B8955A;
  --gold-deep: #9A7640;
  --brass: #A8854A;
  --linen: #EBE2D0;
  --linen-deep: #E0D4BD;
  --forest: #2A2320;
}
body { background: var(--bg); color: var(--text); }
section.alt, .pricing-quiet { background: var(--bg); }

/* Italic accents are brass everywhere. */
h1 em, h2 em, .b-line em, .m-turn em, .bb-q em, .bn-line em,
body.home section h2 em, body.home .manifesto .m-turn em, .sky-copy h1 em { color: var(--gold-deep); }
.belongs .b-line em, .principle h2 em { color: var(--gold); }
.p-num { color: var(--brass); }

/* Timeline dots: espresso, taupe, brass. */
.tl-dot { background: var(--ink); }
.tl-dot.care { background: var(--care); }
.tl-dot.gold { background: var(--brass); }
.tl-dot.due { border-color: var(--brass); }
.pp-head, .pp-head.pp-head-barn { background: var(--ink); }

/* Buttons. */
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover, body.home .btn-primary:hover { background: #40362F; }
.btn-brass {
  background: transparent; color: var(--ink);
  border: 1px solid var(--brass); box-shadow: inset 0 0 0 1px rgba(168,133,74,0.25);
}
.btn-brass:hover { background: var(--brass); color: #FBF8F2; }
.sky-copy .btn-brass { background: rgba(251,248,242,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sky-copy .btn-brass:hover { background: var(--brass); }

.barn-banner { background: var(--ink); color: var(--bg); }
.barn-banner .bb-go { color: var(--gold); }
.barn-banner-quiet { background: var(--bg); color: var(--ink); }
.barn-banner-quiet .bb-go { color: var(--gold-deep); }

section.belongs { background: var(--ink); }
section.beta-band, .programs-band, section.belongs.programs-band { background: var(--linen); color: var(--ink); }
footer a { color: var(--text-secondary); }

/* Owner hero: Marshall sits right of center, so the copy lives in the sky. */
.owner-hero .ph-img { object-position: 60% 60%; }

/* Boarder note under owner pricing: a small engraved card, not a sentence. */
.boarder-note {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  max-width: 560px; margin: 64px auto 0; padding: 36px 32px 34px;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--border); background: var(--surface);
  position: relative;
}
.boarder-note::after {
  content: ""; position: absolute; inset: 6px; border: 1px solid var(--border-light); pointer-events: none;
}
.bn-rule { width: 36px; height: 1px; background: var(--brass); }
.bn-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.bn-line { font-family: var(--display); font-size: clamp(26px, 3vw, 32px); line-height: 1.2; }
.bn-go { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.bn-go span { display: inline-block; transition: transform 0.2s ease; }
.boarder-note:hover .bn-go span { transform: translateX(5px); }
.boarder-note:hover { border-color: var(--brass); }

/* Email invite: one engraved line with the action inside it. */
.beta-band h2 { color: var(--ink); }
.beta-band p { color: var(--text-secondary); }
.beta-line {
  display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0;
  max-width: 520px; margin: 40px auto 0;
  border-bottom: 1px solid var(--ink);
}
.beta-line input[type=email] {
  flex: 1 1 auto; min-width: 0; max-width: none;
  border: 0; border-radius: 0; background: transparent;
  padding: 14px 4px; font-family: var(--display); font-size: 24px; font-style: italic; color: var(--ink);
}
.beta-line input[type=email]::placeholder { color: var(--text-muted); }
.beta-line input[type=email]:focus { outline: none; }
.beta-line:focus-within { border-bottom-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }
.beta-line button {
  flex: none; border: 0; background: transparent; cursor: pointer;
  padding: 14px 4px 14px 18px; font-family: var(--sans);
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap;
}
.beta-line button span { display: inline-block; color: var(--brass); transition: transform 0.2s ease; }
.beta-line button:hover span { transform: translateX(5px); }
.beta-fine { margin-top: 16px; font-size: 13px; letter-spacing: 0.04em; color: var(--text-muted) !important; }
@media (max-width: 520px) {
  .beta-line { flex-wrap: wrap; }
  .beta-line input[type=email] { flex-basis: 100%; }
  .beta-line button { width: 100%; text-align: left; padding-left: 4px; border-top: 1px solid var(--border); }
}

/* Hero photos: show the sky at the top so copy sits on sky, not on the horses,
   and keep the glow to a soft horizontal band instead of a fog over them. */
.sky-hero .ph-img, .owner-hero .ph-img { object-position: 50% 8%; }
.sky-copy::before {
  width: min(1100px, 100%); height: 120%; top: -10%;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(245,240,230,0.78) 0%, rgba(245,240,230,0.45) 55%, rgba(245,240,230,0) 100%);
}
.sky-hero .ph-shade { background: linear-gradient(180deg, rgba(245,240,230,0.6) 0%, rgba(245,240,230,0.2) 35%, rgba(245,240,230,0) 50%); }
.sky-copy h1 { font-size: clamp(42px, 5.4vw, 72px); }
.beta-band .beta-line input[type=email] { background: transparent !important; border: 0 !important; box-shadow: none; }

/* Editorial hero: the headline sits on ivory, the photograph runs full width
   beneath it. Nothing is ever printed over a horse. */
.sky-hero { display: block; min-height: 0; overflow: visible; background: var(--bg); color: var(--ink); }
.sky-hero nav.ph-nav { border-bottom: 1px solid var(--border-light); }
.sky-copy { margin: 0 auto; padding: 88px 24px 64px; align-items: center; text-align: center; }
.sky-copy::before { content: none; }
.sky-copy h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.0; }
.sky-copy p { font-weight: 400; color: var(--text-secondary); max-width: 560px; margin: 24px auto 34px; }
.ph-figure { position: relative; margin: 0; }
.ph-figure .ph-img { position: relative; inset: auto; display: block; width: 100%; height: min(82vh, 920px); object-fit: cover; }
.owner-hero .ph-figure .ph-img { object-position: 62% 62%; }
.barns .ph-figure .ph-img { object-position: 50% 88%; }
.ph-figure .ph-caption { left: 24px; right: auto; bottom: 20px; color: rgba(255,255,255,0.92); text-shadow: 0 1px 12px rgba(0,0,0,0.3); }
@media (max-width: 720px) {
  .sky-copy { padding: 56px 24px 44px; }
  .ph-figure .ph-img { height: 62vh; }
  .owner-hero .ph-figure .ph-img { object-position: 66% 60%; }
  .barns .ph-figure .ph-img { object-position: 40% 60%; }
}

/* ─── Marketing pass 2026-10-09: Free line, moments, app screens ─── */
.owner-hero .ph-figure .ph-img { object-position: 38% 55%; }
.sky-copy p.hero-free { font-size: 14px; margin: 14px auto 0; color: var(--gold-deep); font-weight: 600; letter-spacing: 0.04em; }
.moments { padding: 72px 0 8px; text-align: center; }
.mo-kick { font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 28px; }
.mo-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; padding: 0; }
.mo-list li { display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
.mo-q { font-family: var(--display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; font-style: italic; color: var(--ink); }
.mo-a { font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.shots-band { padding: 80px 0 72px; text-align: center; }
.shots-band h2 { font-size: clamp(36px, 4.6vw, 54px); margin-bottom: 36px; }
.shots-band h2 em { color: var(--gold-deep); }
.shots { display: flex; gap: 28px; justify-content: center; }
.shots figure { margin: 0; flex: 0 1 280px; }
.shots img { width: 100%; height: auto; display: block; border-radius: 22px; border: 1px solid var(--border); box-shadow: 0 18px 40px rgba(32, 36, 31, 0.14); }
.shots figcaption { margin-top: 16px; font-family: var(--display); font-style: italic; font-size: 21px; color: var(--text-secondary); }
@media (max-width: 860px) {
  .mo-list { grid-template-columns: 1fr; gap: 26px; }
  .shots { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 18px; margin: 0 -24px; -webkit-overflow-scrolling: touch; }
  .shots figure { flex: 0 0 72%; max-width: 300px; scroll-snap-align: center; }
}

/* ─── Barn page: recommended tier, setup lines, call request form ─── */
.pq-three .pq-col { position: relative; }
.pq-featured { background: var(--gold-faint); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.pq-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 14px; border-radius: 3px; white-space: nowrap; }
.pq-three .pq-col p.pq-setup { font-size: 14.5px; line-height: 1.55; margin-top: 4px; }
.pq-setup strong { color: var(--ink); font-weight: 600; }
.pq-table.pq-three { margin-top: 18px; }
.call-form { max-width: 620px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.call-form input, .call-form select, .call-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 3px; padding: 14px 16px; }
.call-form textarea { resize: vertical; }
.call-form input:focus, .call-form select:focus, .call-form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.call-form button { align-self: center; margin-top: 8px; border: 0; cursor: pointer; font-family: inherit; }
.cf-check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink); }
.call-form .cf-check input { width: auto; padding: 0; }
@media (max-width: 640px) { .cf-row { grid-template-columns: 1fr; } }

/* Barn hero: the doorway photograph full-bleed, headline written over its dark top band */
.barn-hero { position: relative; display: block; height: auto; min-height: 0; overflow: hidden; background: #0b0907; color: #fff; }
.barn-hero .bh-img { display: block; position: static; width: 100%; height: auto; }
.barn-hero .bh-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,9,7,0.8) 0%, rgba(11,9,7,0.5) 16%, rgba(11,9,7,0) 28%); pointer-events: none; }
.barn-hero nav.ph-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 3; border-bottom: 0; }
.barn-hero .ph-nav .wordmark { color: #fff; }
.barn-hero .bh-copy { position: absolute; z-index: 2; top: 84px; left: 0; right: 0; margin: 0 auto; padding: 0 24px; max-width: 1180px; align-items: flex-start; text-align: left; }
.barn-hero .bh-copy > * { max-width: 1100px; }
.barn-hero .bh-copy h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; color: #fff; margin-top: 10px; }
.barn-hero .bh-copy h1 em { color: #E9CB7A; font-style: italic; }
.barn-hero .bh-cta { position: absolute; right: 24px; top: 4px; color: #fff; border-color: #E9CB7A; background: rgba(11,9,7,0.35); }
@media (max-width: 860px) {
  .barn-hero { min-height: 720px; }
  .barn-hero .bh-img { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; object-fit: cover; object-position: 38% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); }
  .barn-hero .bh-shade { display: none; }
  .barn-hero nav.ph-nav { position: relative; }
  .barn-hero .bh-copy { position: relative; top: 0; padding-top: 28px; }
  .barn-hero .bh-cta { position: static; display: inline-block; margin-top: 22px; }
}

/* Owner hero: Harvey full-bleed, the headline written over the open sky */
.owner-over { position: relative; display: block; height: min(76vh, 700px); min-height: 560px; overflow: hidden; background: #cfdae0; color: var(--ink); }
.owner-over .oo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 10%; }
.owner-over nav.ph-nav { position: relative; z-index: 2; border-bottom: 0; }
.owner-over .ph-nav .wordmark { color: var(--ink); }
.owner-over .ph-nav .links a { color: rgba(32,36,31,0.8); }
.owner-over .ph-nav .menu-btn span { background: var(--ink); }
.owner-over .oo-copy { position: absolute; z-index: 2; top: 16%; right: 0; left: 0; margin: 0 auto; padding: 0 24px; max-width: 1180px; align-items: flex-end; text-align: right; }
.owner-over .oo-copy > * { max-width: 410px; }
.owner-over .ph-eyebrow { color: rgba(32,36,31,0.7); }
.owner-over .oo-copy h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.02; color: var(--ink); text-shadow: none; }
.owner-over .oo-copy h1 em { color: var(--gold-deep); }
.owner-over .oo-copy p { color: rgba(32,36,31,0.82); font-size: 17px; line-height: 1.6; margin: 18px 0 26px; }
.owner-over .oo-copy p.hero-free { font-size: 14px; margin: 14px 0 0; color: var(--ink); font-weight: 600; letter-spacing: 0.04em; }
@media (max-width: 860px) {
  .owner-over { height: auto; min-height: 780px; }
  .owner-over .oo-img { top: auto; height: 50%; object-position: 30% 100%; }
  .owner-over::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(180deg, #cfdae0 0%, rgba(207,218,224,0) 30%); pointer-events: none; }
  .owner-over .oo-copy { position: relative; top: 0; padding-top: 28px; align-items: flex-start; text-align: left; }
}

/* Lock screens: the barn owner's phone, without and with HorseStory */
.chat-moments { padding: 72px 0 56px; }
.chat-h { text-align: center; font-size: clamp(36px, 4.6vw, 56px); margin: 6px 0 14px; }
.chat-h em { color: var(--gold-deep); }
.chat-lede { max-width: 580px; margin: 0 auto 36px; text-align: center; font-size: 18px; line-height: 1.6; color: var(--text-secondary); }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 48px; justify-content: center; }
.phone-col { margin: 0; text-align: center; }
.phone { position: relative; height: 480px; padding: 22px 16px; border-radius: 38px; background: linear-gradient(180deg, #15181c 0%, #0b0d10 100%); box-shadow: 0 0 0 6px #2a2d31, 0 24px 48px rgba(32,36,31,0.22); overflow: hidden; text-align: left; color: #fff; }
.ph-time { text-align: center; padding: 18px 0 26px; }
.ph-time b { display: block; font-size: 64px; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.ph-time span { display: block; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,0.7); }
.notif { background: rgba(255,255,255,0.14); border-radius: 18px; padding: 11px 14px; margin-bottom: 10px; font-size: 14px; line-height: 1.35; }
.n-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 3px; }
.n-top i { font-style: normal; text-transform: none; letter-spacing: 0; }
.notif strong { display: block; font-weight: 600; }
.notif span { color: rgba(255,255,255,0.88); }
.quiet { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 70px; color: rgba(255,255,255,0.55); font-size: 14px; }
.q-moon { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset -14px 0 0 0 rgba(255,255,255,0.65); }
.phone-col figcaption { margin-top: 20px; font-size: 16px; line-height: 1.5; color: var(--text-secondary); }
.phone-col figcaption b { display: block; font-family: var(--display); font-size: 26px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.chat-note { text-align: center; margin-top: 22px; font-size: 13px; color: var(--text-muted); }
.phones.armed .phone-before .notif { opacity: 0; transform: translateY(-14px) scale(0.96); transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.2, 1.2, 0.4, 1); }
.phones.armed .phone-before .notif.show { opacity: 1; transform: none; }
.phones.armed .phone-after .quiet { opacity: 0; transition: opacity 0.9s ease; }
.phones.armed .phone-after.show .quiet { opacity: 1; }
@media (max-width: 720px) { .phones { grid-template-columns: minmax(0, 300px); gap: 40px; } .phone { height: 480px; } }

.side-note { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 16px auto 0; max-width: 300px; min-height: 74px; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; font-size: 14px; line-height: 1.45; color: var(--text-secondary); }
.side-note b { color: var(--ink); font-weight: 600; }
.c-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--brand); }
.c-dot.warm { background: #B4532A; }
.phones.armed .side-note { opacity: 0; transform: translateY(8px); transition: opacity 0.6s ease, transform 0.6s ease; }
.phones.armed .side-note.show { opacity: 1; transform: none; }


/* Links into the app (app.horsestoryapp.com). */
.links a.nav-login {
  border: 1px solid currentColor; border-radius: 3px; padding: 5px 14px;
  font-size: 14px; letter-spacing: 0.04em;
}
.links a.nav-login:hover { background: rgba(32, 36, 31, 0.06); }
.ph-nav .links a.nav-login:hover { background: rgba(255, 255, 255, 0.14); }
.ph-secondary {
  display: inline-block; margin-left: 18px; color: rgba(255, 255, 255, 0.92);
  font-size: 15px; text-decoration: underline; text-underline-offset: 3px;
}
.ph-secondary:hover { color: #fff; }
.pq-cta { text-align: center; margin: 28px 0 4px; }
@media (max-width: 560px) { .ph-secondary { display: block; margin: 14px 0 0; } }

/* On phones the other links live in the menu; Log in stays in the bar. */
@media (max-width: 720px) {
  nav .links { display: flex; gap: 0; }
  nav .links a:not(.nav-login) { display: none; }
  .nav-right { gap: 10px; }
}
