/* ============================================================
   ReadyDocs.ai — Shared Design System
   Mobile-first · Playfair Display + DM Sans
   ============================================================ */

/* ── ICON FONT — must be first @import ── */
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.0.0/dist/tabler-icons.min.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TOKENS ── */
:root {
  --bg:           #F8F5F0;
  --surface:      #ffffff;
  --dark:         #1A1810;
  --dark-80:      rgba(26,24,16,0.80);
  --dark-50:      rgba(26,24,16,0.50);
  --dark-20:      rgba(26,24,16,0.20);
  --dark-08:      rgba(26,24,16,0.08);
  --dark-05:      rgba(26,24,16,0.05);
  --gold:         #A8873D;
  --gold-light:   rgba(168,135,61,0.12);
  --gold-border:  rgba(168,135,61,0.28);
  --hr-navy:      #122646;
  --safe-forest:  #0E1E0E;
  --white:        #ffffff;
  --white-70:     rgba(255,255,255,0.70);
  --white-40:     rgba(255,255,255,0.40);
  --white-18:     rgba(255,255,255,0.18);

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  --radius-sm:    3px;
  --radius-md:    6px;
  --radius-lg:    10px;

  --nav-h:        62px;
  --touch:        44px;

  --max-w:        1160px;
  --pad-x:        20px;
  --pad-x-lg:     48px;
}

/* ── BASE ── */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.18;
  color: var(--dark);
}
h1 { font-size: clamp(28px, 5.5vw, 48px); }
h2 { font-size: clamp(22px, 4vw, 36px); }
h3 { font-size: clamp(18px, 3vw, 24px); }
h4 { font-size: 16px; }

p { line-height: 1.65; color: var(--dark-80); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--pad-x-lg); }
}

/* inner-width: constrains content inside padded sections */
.inner-w {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  min-height: var(--touch);
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: #BF9A47; border-color: #BF9A47; }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold-light); }

.btn-dark {
  background: var(--dark);
  color: var(--bg);
  border: 1px solid var(--dark);
}
.btn-dark:hover { background: #2e2c24; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--dark-08);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) {
  .nav-inner { padding: 0 var(--pad-x-lg); }
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-logo-ai { color: var(--gold); }
.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-80);
}

/* desktop links */
.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-80);
  transition: color 0.18s;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
  border-bottom-color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sign In — desktop, sits left of Contact button */
.nav-signin {
  display: none;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-50);
  align-items: center;
  gap: 5px;
  transition: color 0.18s;
  white-space: nowrap;
}
.nav-signin i { font-size: 14px; }
.nav-signin:hover { color: var(--gold); }
@media (min-width: 900px) {
  .nav-signin { display: inline-flex; }
}

.nav-contact {
  padding: 8px 18px;
  background: var(--dark);
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
  transition: background 0.18s;
  text-decoration: none;
}
.nav-contact:hover { background: #2e2c24; }

/* hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: var(--touch);
  min-height: var(--touch);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.28s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 900px) {
  .nav-hamburger { display: none; }
}

/* mobile drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--dark-08);
  z-index: 99;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  padding: 20px var(--pad-x) 28px;
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--dark-80);
  border-bottom: 1px solid var(--dark-05);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════
   MOBILE HOMEPAGE LAYOUT — LOCKED MAY 2026
   DO NOT MODIFY without explicit approval from Derek Worth

   The homepage mobile view is finalized and approved.
   The following measurements and structure are locked:

   NAV:
   - Height: 62px (--nav-h)
   - Logo: SVG file icon (gold outline, no fill, no lines)
     left of stacked ReadyDocs.ai + TEXAS COMPLIANCE SOLUTIONS
   - Right side: Sign In (lock icon) + black Order button
   - Mobile: Contact button + hamburger only

   HERO SPLIT (mobile = stacked vertical):
   - .hero-split: height auto, no min-height
   - .hero-half: min-height 240px each
   - HR half top, Safety half bottom
   - Eyebrow: 13px bold white, margin-bottom 8px
   - Hero content padding: 16px 18px 20px
   - Body text: 12px, margin-bottom 14px

   BOTH-BAND (below hero, full width black):
   - Background: #1A1810
   - Eyebrow: gold, "TOTAL COMPLIANCE — $149/MO"
   - Headline: "Start Your Total Compliance Subscription"
   - Arrow: gold circle, right side
   - Must be FULLY VISIBLE on mobile without scrolling
   - No mobile sticky bar (removed — band replaces it)

   APPROVED MOBILE SCREENSHOT: May 2026 session
   ══════════════════════════════════════════════════════ */

.hero-split {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
}
.hero-half {
  min-height: 240px;
}
@media (min-width: 768px) {
  .hero-split {
    flex-direction: row;
    height: calc(100svh - var(--nav-h));
    min-height: 540px;
    max-height: 780px;
  }
  .hero-half { min-height: 0; }
}

.hero-half {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  /* no transition on mobile — only desktop */
}
@media (min-width: 768px) {
  .hero-half { transition: flex 0.5s cubic-bezier(0.4,0,0.2,1); }
  .hero-split:hover .hero-half { flex: 0.78; }
  .hero-split .hero-half:hover { flex: 1.44; }
}

.hero-half-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.hero-half:hover .hero-half-bg { transform: scale(1.04); }

.hero-half-overlay {
  position: absolute;
  inset: 0;
  transition: opacity 0.35s;
}
/* dim non-hovered side on desktop */
@media (min-width: 768px) {
  .hero-split:hover .hero-half:not(:hover) .hero-half-overlay {
    opacity: 1.15; /* overlay stacks — effectively darkens */
  }
}

.hero-hr .hero-half-bg {
  background-image: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?w=1400&q=85&fit=crop');
  background-position: center 28%;
}
.hero-hr .hero-half-overlay {
  background: linear-gradient(155deg, rgba(18,38,70,0.90) 0%, rgba(18,38,70,0.46) 100%);
}

.hero-safe .hero-half-bg {
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1400&q=85&fit=crop');
  background-position: center 40%;
}
.hero-safe .hero-half-overlay {
  background: linear-gradient(205deg, rgba(14,30,14,0.92) 0%, rgba(18,46,18,0.50) 100%);
}

/* dividers */
.hero-divider-h {
  height: 1px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  z-index: 5;
}
@media (min-width: 768px) { .hero-divider-h { display: none; } }

.hero-divider-v {
  display: none;
  width: 1px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  z-index: 5;
}
@media (min-width: 768px) { .hero-divider-v { display: block; } }

/* hero content — FIX: max-width on desktop prevents text sprawl */
.hero-content {
  position: relative;
  z-index: 5;
  padding: 16px 18px 20px;
  width: 100%;
}
@media (min-width: 768px) {
  .hero-content {
    padding: 40px 44px 48px;
    max-width: 520px;
  }
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-sans);
}
.hero-hr .hero-eyebrow  { color: #ffffff; }
.hero-safe .hero-eyebrow { color: #ffffff; }
@media (min-width: 768px) {
  .hero-eyebrow { font-size: 22px; margin-bottom: 14px; }
}

/* FIX: use h2 in hero — h1 is page-level, not section-level */
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 300px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}
@media (min-width: 768px) {
  .hero-sub { font-size: 14.5px; max-width: 340px; margin-bottom: 22px; }
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cred {
  font-size: 10px;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.03em;
  line-height: 1.7;
  text-align: right;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
  font-weight: 500;
}

/* ── ORDER MODAL ── */
.order-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,24,16,0.72);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.order-modal-overlay.open { display: flex; }
.order-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  font-family: var(--font-sans);
  max-height: 92vh;
  overflow-y: auto;
}
.om-top {
  background: var(--dark);
  padding: 24px 26px 20px;
}
.om-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168,135,61,0.2);
  border: 1px solid rgba(168,135,61,0.35);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.om-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 5px;
}
.om-title em { font-style: italic; color: var(--gold); }
.om-sub { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.om-flow {
  display: flex;
  align-items: flex-start;
  background: var(--bg);
  border-bottom: 1px solid var(--dark-08);
  padding: 0 20px;
}
.om-flow-step {
  flex: 1;
  padding: 14px 4px 12px;
  text-align: center;
  position: relative;
}
.om-flow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-55%);
  font-size: 11px;
  color: rgba(26,24,16,0.25);
}
.om-flow-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--dark-08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 15px;
  color: var(--gold);
}
.om-flow-label {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(26,24,16,0.45);
  line-height: 1.4;
  text-transform: uppercase;
}
.om-body { padding: 18px 26px 0; }
.om-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.om-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 11px;
  background: var(--bg);
  border-radius: 7px;
  border: 1px solid var(--dark-05);
}
.om-item i { font-size: 15px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.om-item-title { font-size: 11.5px; font-weight: 500; color: var(--dark); margin-bottom: 2px; }
.om-item-body { font-size: 10.5px; color: var(--dark-60); line-height: 1.45; }
.om-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--dark);
  border-radius: 8px;
  margin-bottom: 12px;
  gap: 16px;
}
.om-price { font-family: var(--font-serif); font-size: 28px; color: #fff; line-height: 1; }
.om-price span { font-family: var(--font-sans); font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.4); }
.om-price-label { font-size: 9px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.om-order-btn {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px 22px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: background 0.18s;
}
.om-order-btn:hover { background: var(--gold-light); }
.om-footer {
  padding: 10px 26px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.om-trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.om-trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  color: rgba(26,24,16,0.4);
}
.om-trust-item i { font-size: 12px; color: var(--gold); }
.om-cancel-note {
  font-size: 9.5px;
  color: rgba(26,24,16,0.35);
  text-align: right;
}
.om-close-btn {
  background: none;
  border: none;
  font-size: 11px;
  color: rgba(26,24,16,0.3);
  cursor: pointer;
  font-family: var(--font-sans);
  padding: 0;
}
.om-close-btn:hover { color: var(--dark); }
@media (max-width: 500px) {
  .om-grid { grid-template-columns: 1fr; }
  .om-pricing { flex-direction: column; align-items: flex-start; }
}

.ind-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,24,16,0.65);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ind-modal-overlay.open { display: flex; }
.ind-modal {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.ind-modal-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.ind-modal-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.2;
}
.ind-modal-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.ind-modal-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 7px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s;
}
.ind-modal-btn-hr {
  background: #eef2f8;
  color: #1e3a5f;
  border: 1px solid rgba(30,58,95,0.15);
}
.ind-modal-btn-hr:hover { background: #dde5f0; }
.ind-modal-btn-safe {
  background: #eef4ef;
  color: #1f3528;
  border: 1px solid rgba(31,53,40,0.15);
}
.ind-modal-btn-safe:hover { background: #ddeede; }
.ind-modal-close {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--dark-50);
  cursor: pointer;
  width: 100%;
  text-align: center;
  padding: 4px;
  font-family: var(--font-sans);
}
.ind-modal-close:hover { color: var(--dark); }
.industry-card { cursor: pointer; }
.industry-card:hover { border-color: var(--gold); background: #fdfaf5; }


.both-band {
  background: var(--dark);
  border-top: none;
  border-bottom: none;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-decoration: none;
  transition: background 0.18s;
  cursor: pointer;
  width: 100%;
}
.both-band:hover { background: #2e2c24; }
@media (min-width: 768px) {
  .both-band { padding: 26px var(--pad-x-lg); }
}

.both-band-left { display: flex; flex-direction: column; gap: 2px; align-items:center; }
.both-band-badge {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.both-band-text {
  font-family: var(--font-serif);
  font-size: clamp(15px, 2.2vw, 20px);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.both-band-arrow {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.18s;
}
.both-band:hover .both-band-arrow { background: #BF9A47; border-color: #BF9A47; }

/* ── PROOF STRIP ── */
.proof-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--dark-08);
  /* mobile: 2-col grid */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 24px var(--pad-x);
}
@media (min-width: 600px) {
  .proof-strip {
    /* FIX: switch to flex row, remove mobile card styles */
    display: flex;
    gap: 0;
    padding: 0;
  }
}

.proof-item {
  /* mobile card */
  background: var(--surface);
  border: 1px solid var(--dark-08);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
@media (min-width: 600px) {
  .proof-item {
    /* FIX: reset mobile card styles for desktop strip */
    background: var(--bg);
    border: none;
    border-radius: 0;
    border-right: 1px solid var(--dark-08);
    padding: 28px 32px;
    flex: 1;
  }
  .proof-item:last-child { border-right: none; }
}

.proof-icon {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 4px;
}
.proof-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
}
.proof-sub {
  font-size: 11px;
  color: var(--dark-50);
  line-height: 1.45;
}

/* ── THESIS SECTION ── */
.thesis {
  background: var(--surface);
  padding: 56px var(--pad-x);
  border-bottom: 1px solid var(--dark-08);
}
@media (min-width: 768px) {
  .thesis { padding: 80px var(--pad-x-lg); }
}

.thesis-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.thesis-header {
  margin-bottom: 40px;
  max-width: 560px;
}

.thesis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .thesis-grid { grid-template-columns: repeat(3, 1fr); }
}

.thesis-card {
  background: var(--bg);
  border: 1px solid var(--dark-08);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.thesis-card:hover {
  border-color: var(--gold-border);
  background: #fdfaf5;
}
.thesis-card-icon { font-size: 22px; color: var(--gold); }
.thesis-card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  font-family: var(--font-sans);
}
.thesis-card-body {
  font-size: 13px;
  color: var(--dark-50);
  line-height: 1.62;
  flex: 1;
}
.thesis-card-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── INDUSTRIES GRID ── */
.industries {
  background: var(--bg);
  padding: 56px var(--pad-x);
  border-bottom: 1px solid var(--dark-08);
}
@media (min-width: 768px) {
  .industries { padding: 80px var(--pad-x-lg); }
}

.industries-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.industries-header {
  margin-bottom: 32px;
  max-width: 520px;
}

.industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 640px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .industry-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
}

.industry-card {
  background: var(--surface);
  border: 1px solid var(--dark-08);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.industry-card:hover {
  border-color: var(--gold-border);
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}
.industry-icon { font-size: 22px; color: var(--gold); }
.industry-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
}
.industry-tags { display: flex; flex-direction: column; gap: 2px; }
.industry-tag {
  font-size: 9.5px;
  color: var(--dark-50);
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--dark);
  padding: 64px var(--pad-x);
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band { padding: 88px var(--pad-x-lg); }
}
.cta-band .eyebrow { color: var(--gold); display: block; margin-bottom: 10px; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band > p {
  color: var(--white-70);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
}
.cta-band-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px var(--pad-x) 56px;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 768px) {
  .page-hero { padding: 100px var(--pad-x-lg) 80px; min-height: 400px; }
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay { position: absolute; inset: 0; }
.page-hero-content {
  position: relative;
  z-index: 5;
  max-width: 640px;
}
.page-hero-content .eyebrow { color: rgba(197,169,107,0.95); margin-bottom: 12px; }
.page-hero-content h1 { color: var(--white); margin-bottom: 16px; }
.page-hero-content p {
  color: var(--white-70);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 520px;
}

/* ── CONTENT SECTIONS (inner pages) ── */
.content-section {
  background: var(--surface);
  padding: 56px var(--pad-x);
  border-bottom: 1px solid var(--dark-08);
}
@media (min-width: 768px) {
  .content-section { padding: 80px var(--pad-x-lg); }
}
.content-section.bg-parchment { background: var(--bg); }

/* FIX: all content section children constrained to max-w */
.content-section > * {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  font-size: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-text h4 {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 4px;
}
.feature-text p {
  font-size: 13px;
  color: var(--dark-50);
  line-height: 1.58;
}

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 540px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--dark);
  background: var(--surface);
  border: 1px solid var(--dark-20);
  border-radius: var(--radius-sm);
  min-height: var(--touch);
  transition: border-color 0.18s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8873D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  padding: 56px var(--pad-x) 32px;
  color: var(--white-70);
}
@media (min-width: 768px) {
  .site-footer { padding: 72px var(--pad-x-lg) 36px; }
}

/* FIX: constrain footer content to max-w */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
}

.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand .nav-logo { color: var(--white); }
.footer-brand .nav-logo-ai { color: var(--gold); }
.footer-brand .nav-logo-sub { color: rgba(255,255,255,0.32); }
.footer-brand p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.42);
  line-height: 1.65;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.26); line-height: 1.6; }
.footer-legal {
  font-size: 10.5px;
  color: rgba(255,255,255,0.2);
  max-width: 480px;
  line-height: 1.58;
  text-align: right;
}


/* ── SCROLL REVEAL ── */
.reveal { transition: opacity 0.5s ease, transform 0.5s ease; }

/* ── UTILITIES ── */
.text-gold  { color: var(--gold); }
.text-white { color: var(--white); }
.text-muted { color: var(--dark-50); }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
