/* ==========================================================================
   Mayslea Consulting Management — Stylesheet
   Design language: prairie ledger / letterpress. Grounded in Clarendon, TX
   — Texas Panhandle open-range, homestead-ledger character. Deliberately
   different rhythm from a dark-hero/card-grid template: this one is
   light-dominant, sharp-edged (no border-radius anywhere), and lays
   services out as a numbered ledger rather than icon cards.
   Palette: cream/wheat paper (dominant), near-black ink, denim indigo
   accent, wheat-gold hairline rules.
   Type: Bitter (slab serif display — sturdy, sign-painted character) +
   Archivo (body/UI).
   ========================================================================== */

:root {
  --ink: #1a1610;           /* near-black warm ink */
  --paper: #f7f1e1;         /* cream/wheat — dominant background */
  --paper-2: #efe6cc;       /* deeper wheat for alternating sections */
  --indigo: #2b3a55;        /* denim accent — the one dark color used sparingly */
  --indigo-dark: #1e2a3e;
  --gold: #b98a2e;          /* wheat-gold — hairline rules, small accents */
  --ink-soft: #4a4335;
  --rule: rgba(26, 22, 16, 0.18);
  --rule-light: rgba(247, 241, 225, 0.25);

  --font-display: "Bitter", Georgia, serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 0; /* sharp letterpress edges throughout — no rounding anywhere */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section-sm { padding: 52px 0; }
@media (max-width: 768px) {
  .section { padding: 58px 0; }
  .section-sm { padding: 36px 0; }
}

/* Ledger label — small tracked-out caps, like a filing tab */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.76rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--indigo);
  margin-bottom: 18px;
}
.tag::before { content: ""; width: 24px; height: 2px; background: var(--gold); display: inline-block; }
.tag.on-dark { color: #d9c48a; }
.tag.on-dark::before { background: #d9c48a; }

/* ==========================================================================
   Horizon rule — the site's signature device: a single thin gold line,
   like the flat line of the Panhandle horizon, with a small sun marker.
   ========================================================================== */
.horizon {
  position: relative;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
  max-width: var(--container);
}
.horizon .sun {
  position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
}
.horizon-wrap { padding: 0 24px; }

/* Hairline rule, plain */
.hr { border: none; border-top: 1px solid var(--rule); margin: 0; }

/* ==========================================================================
   Header — single row, no two-tier topbar/navbar stack. Flat, no shadow.
   ========================================================================== */
.site-header {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: sticky; top: 0; z-index: 999;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-word { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; line-height: 1; }
.brand-word span {
  display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--indigo); margin-top: 5px;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--indigo); border-bottom-color: var(--gold); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--ink); color: var(--ink); background: transparent;
  padding: 9px 20px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
  text-transform: uppercase; white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }

.header-contact { display: flex; align-items: center; gap: 18px; font-size: 0.8rem; color: var(--ink-soft); }
.header-contact a { color: var(--ink-soft); }
.header-contact a:hover { color: var(--indigo); }
.header-contact i { color: var(--gold); margin-right: 5px; }

.nav-toggle { display: none; background: none; border: 2px solid var(--ink); padding: 7px 10px; color: var(--ink); font-size: 1.1rem; }

@media (max-width: 1080px) {
  .header-contact { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink); padding: 12px 24px 20px;
  }
  .site-header.open .nav-links a { width: 100%; padding: 10px 0; }
}

/* ==========================================================================
   Hero — light, asymmetric, no dark band, no boxed side panel.
   ========================================================================== */
.hero { background: var(--paper); padding: 84px 0 0; }
.hero-inner {
  display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 56px; align-items: start;
  padding-bottom: 64px;
}
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }

.hero-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero h1 { max-width: 17ch; }
.hero-lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 50ch; margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.03em; text-transform: uppercase; padding: 15px 28px; border: 2px solid var(--ink); cursor: pointer;
}
.btn-fill { background: var(--ink); color: var(--paper); }
.btn-fill:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line-light { border-color: var(--paper); color: var(--paper); }
.btn-line-light:hover { background: var(--paper); color: var(--ink); }

/* Ledger receipt — the hero's right-column device: a plain itemized list,
   no card, no shadow, just rules — like a receipt or ledger page. */
.ledger-receipt { border-top: 2px solid var(--ink); padding-top: 18px; }
.ledger-receipt h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--indigo); margin-bottom: 4px; }
.ledger-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.ledger-row:last-child { border-bottom: none; }
.ledger-row .item-no { font-family: var(--font-display); color: var(--gold); font-weight: 700; margin-right: 10px; }
.ledger-row strong { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   Serve strip — plain text row, no circular icon badges
   ========================================================================== */
.serve-strip { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.serve-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.serve-item { padding: 28px 24px; text-align: center; border-left: 1px solid var(--rule); }
.serve-item:first-child { border-left: none; }
.serve-item .item-no { display: block; font-family: var(--font-display); color: var(--gold); font-size: 1.1rem; margin-bottom: 6px; }
.serve-item h4 { margin: 0; font-size: 0.95rem; }
@media (max-width: 860px) {
  .serve-strip .container { grid-template-columns: repeat(2, 1fr); }
  .serve-item:nth-child(3) { border-left: none; }
}
@media (max-width: 520px) {
  .serve-strip .container { grid-template-columns: 1fr; }
  .serve-item { border-left: none; border-top: 1px solid var(--rule); }
  .serve-item:first-child { border-top: none; }
}

/* ==========================================================================
   Section headers
   ========================================================================== */
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }

/* ==========================================================================
   Services — a numbered ledger table, NOT an icon card grid.
   ========================================================================== */
.ledger-table { border-top: 2px solid var(--ink); }
.ledger-item {
  display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 32px;
  padding: 34px 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.ledger-item .entry-no { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; font-weight: 700; }
.ledger-item h3 { margin-bottom: 6px; }
.ledger-item p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
@media (max-width: 760px) {
  .ledger-item { grid-template-columns: 60px 1fr; }
  .ledger-item p.desc-col { grid-column: 1 / -1; margin-top: 8px; }
}

/* ==========================================================================
   Split blocks — asymmetric, no dark visual panel with icon
   ========================================================================== */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.split.reverse { grid-template-columns: 1.05fr 0.95fr; }
.split.reverse .split-visual { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-visual { order: 0; }
}
.split-visual {
  border: 2px solid var(--ink); padding: 40px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--paper-2);
}
.split-visual .big-number { font-family: var(--font-display); font-size: 5rem; color: var(--gold); line-height: 1; font-weight: 700; }
.split-visual .visual-caption { font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.03em; }

.checklist { list-style: none; margin: 24px 0; padding: 0; }
.checklist li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.97rem; }
.checklist li:last-child { border-bottom: none; }
.checklist .mark { flex-shrink: 0; font-family: var(--font-display); color: var(--indigo); font-weight: 700; }

/* ==========================================================================
   Process — a single horizontal timeline instead of 4 boxed cards
   ========================================================================== */
.timeline { position: relative; padding-top: 8px; }
.timeline-line { position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--ink); }
.timeline-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline-item { padding-top: 30px; position: relative; }
.timeline-item::before {
  content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px;
  background: var(--gold); border: 2px solid var(--ink); transform: translateY(1px);
}
.timeline-item .step-label { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--indigo); margin-bottom: 6px; display: block; }
@media (max-width: 768px) {
  .timeline-items { grid-template-columns: 1fr; gap: 30px; }
  .timeline-line { display: none; }
}

/* ==========================================================================
   Founder pull-quote — editorial style, left border rule, no dark box
   ========================================================================== */
.pull-quote { border-left: 4px solid var(--gold); padding: 6px 0 6px 36px; }
.pull-quote p.quote { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--ink); line-height: 1.35; max-width: 46ch; }
.pull-quote .quote-attr { margin-top: 18px; font-size: 0.92rem; color: var(--ink-soft); }
.pull-quote .quote-attr strong { color: var(--ink); display: block; font-size: 1rem; }

/* ==========================================================================
   CTA band — flat solid indigo, sharp edges, one of the only dark blocks
   ========================================================================== */
.cta-band { background: var(--indigo); color: var(--paper); }
.cta-band .container { padding: 54px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(247,241,225,0.85); margin: 0; }

/* ==========================================================================
   Footer — the other dark block on the page
   ========================================================================== */
.site-footer { background: var(--ink); color: #cfc6b0; padding-top: 68px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--paper); font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.site-footer .brand-word { color: var(--paper); }
.site-footer .brand-word span { color: #d9c48a; }
.site-footer p { color: #a89f88; font-size: 0.92rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cfc6b0; font-size: 0.92rem; }
.footer-links a:hover { color: #d9c48a; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.92rem; }
.footer-contact i { color: #d9c48a; margin-top: 3px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(247,241,225,0.3); display: flex; align-items: center; justify-content: center; color: var(--paper); font-size: 0.85rem; }
.footer-social a:hover { background: #d9c48a; border-color: #d9c48a; color: var(--ink); }

.newsletter-form { display: flex; margin-top: 8px; border: 1px solid rgba(247,241,225,0.3); }
.newsletter-form input { flex: 1; border: none; background: transparent; color: var(--paper); padding: 12px 14px; font-family: var(--font-body); font-size: 0.9rem; }
.newsletter-form input::placeholder { color: #8b8571; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button { border: none; background: #d9c48a; color: var(--ink); font-weight: 700; font-size: 0.85rem; padding: 0 18px; cursor: pointer; }

.copyright { border-top: 1px solid rgba(247,241,225,0.15); padding: 20px 0; font-size: 0.85rem; color: #8b8571; }
.copyright .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.copyright a { color: #cfc6b0; }
.copyright a:hover { color: #d9c48a; }

/* ==========================================================================
   Page header (inner pages) — flat cream, ink border, no dark band
   ========================================================================== */
.page-header { background: var(--paper-2); border-bottom: 2px solid var(--ink); padding: 58px 0 46px; }
.breadcrumb-trail { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }
.breadcrumb-trail a { color: var(--ink-soft); }
.breadcrumb-trail a:hover { color: var(--indigo); }
.breadcrumb-trail .sep { margin: 0 8px; opacity: 0.6; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-content h2 { font-size: 1.3rem; margin-top: 2.1em; padding-top: 0.4em; border-top: 1px solid var(--rule); }
.legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 0.98rem; }
.legal-content strong { color: var(--ink); }
.legal-meta { display: inline-block; font-size: 0.85rem; color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--rule); padding: 8px 16px; margin-bottom: 40px; }
.legal-toc { background: var(--paper-2); border: 2px solid var(--ink); padding: 24px 28px; margin-bottom: 44px; }
.legal-toc h4 { margin-bottom: 12px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; gap: 24px; }
.legal-toc li { font-size: 0.92rem; margin-bottom: 8px; }
.legal-toc a { color: var(--ink); }
.legal-toc a:hover { color: var(--indigo); }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }
.legal-layout { display: grid; grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; }

/* ==========================================================================
   FAQ / support
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--rule); padding: 22px 0; }
.faq-item summary {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--ink); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle-icon { flex-shrink: 0; width: 26px; height: 26px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--font-body); color: var(--indigo); }
.faq-item[open] summary .toggle-icon::before { content: "\2212"; }
.faq-item:not([open]) summary .toggle-icon::before { content: "\002B"; }
.faq-item p { margin-top: 14px; color: var(--ink-soft); }

.support-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
@media (max-width: 860px) { .support-tiles { grid-template-columns: 1fr; } }
.support-tile { border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 30px 26px; text-align: left; background: var(--paper); }
.support-tile .item-no { display: block; font-family: var(--font-display); color: var(--gold); font-size: 1.6rem; margin-bottom: 10px; }
.support-tile a.tile-link { font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; text-transform: uppercase; letter-spacing: 0.03em; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card { border: 2px solid var(--ink); padding: 38px; background: var(--paper-2); }
.contact-info-card ul { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-info-card li { padding: 14px 0; border-top: 1px solid var(--rule); }
.contact-info-card li:first-child { border-top: none; }
.contact-info-card strong { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--indigo); margin-bottom: 4px; }

.map-frame { border: 2px solid var(--ink); overflow: hidden; margin-top: 24px; }
.map-frame iframe { width: 100%; height: 250px; border: 0; display: block; filter: grayscale(0.15); }

.form-card { border: 2px solid var(--ink); padding: 38px; background: var(--paper); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--ink); padding: 12px 14px;
  font-family: var(--font-body); font-size: 0.95rem; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--indigo); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; }

/* ==========================================================================
   Back to top — square, flat
   ========================================================================== */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px;
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease; z-index: 998;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .back-to-top { transition: none; }
}
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
