/* JRMedia Solutions — homepage stylesheet.
   Same brand tokens as site.css (squared edges, no shadows, motion limited to color).
   site.css stays in place for /audit and /thanks. */

:root {
  --ink: #12181C;
  --ink-deep: #0B0F12;
  --paper: #F7F6F3;
  --paper-alt: #EDEAE3;
  --rule: #DCD9D2;
  --rule-alt: #D6D2C9;
  --rule-strong: #C9C5BC;
  --accent: #C2500F;
  --accent-hover: #A64109;
  --accent-light: #E8863F;
  --link: #B14A0E;
  --link-hover: #8E3A08;
  --body-muted: #414D56;
  --muted: #6B7681;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Source Sans 3", system-ui, sans-serif; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
input, textarea, button, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dark-sec :focus-visible { outline-color: var(--accent-light); }
h1, h2, h3 { font-family: Archivo, sans-serif; }

/* ---------- Header ---------- */
.hdr { background: var(--ink); color: var(--paper); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(247,246,243,0.12); }
.hdr-in { max-width: 1120px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { color: var(--paper); font-family: Archivo, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 8px; }
.wordmark:hover { color: var(--paper); text-decoration: none; }
.wordmark span { font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-link { color: rgba(247,246,243,0.82); font-weight: 600; font-size: 15px; }
.nav-link:hover { color: #fff; }
@media (max-width: 760px) { .nav-link { display: none; } .wordmark span { display: none; } }

/* ---------- Buttons ---------- */
.btn { background: var(--accent); color: #fff; font-family: Archivo, sans-serif; font-weight: 700; border-radius: 2px; display: inline-block; }
.btn:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.btn-sm { font-size: 15px; padding: 10px 16px; white-space: nowrap; }
.btn-lg { font-size: 18px; padding: 17px 28px; }
.btn-out { color: var(--paper); font-family: Archivo, sans-serif; font-weight: 700; font-size: 18px; padding: 15px 24px; border: 2px solid rgba(247,246,243,0.35); border-radius: 2px; display: inline-block; }
.btn-out:hover { border-color: var(--accent-light); color: var(--accent-light); text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.ulink { color: var(--paper); font-weight: 700; font-size: 17px; border-bottom: 2px solid var(--accent-light); padding-bottom: 2px; }
.ulink:hover { color: var(--accent-light); text-decoration: none; }

/* ---------- Sections & type ---------- */
.sec { padding: clamp(56px, 9vw, 104px) 20px; }
.dark-sec { background: var(--ink); color: var(--paper); }
.alt-sec { background: var(--paper-alt); }
.wrap { max-width: 1120px; margin: 0 auto; }
.anchor { scroll-margin-top: 64px; }
.eyebrow { margin: 0 0 18px; font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); }
.eyebrow-light { color: var(--link); }
.h1 { margin: 0 0 22px; font-weight: 800; font-size: clamp(38px, 7vw, 64px); line-height: 1.03; letter-spacing: -0.025em; text-wrap: balance; }
.h2 { margin: 0 0 16px; font-weight: 800; font-size: clamp(30px, 5.6vw, 44px); line-height: 1.08; letter-spacing: -0.02em; max-width: 26ch; text-wrap: balance; }
.h3-phase { margin: 0 0 12px; font-weight: 700; font-size: clamp(22px, 4.6vw, 28px); line-height: 1.15; }
.h3-card { margin: 0 0 10px; font-weight: 700; font-size: 20px; line-height: 1.2; }
.lede-hero { margin: 0 0 32px; font-size: clamp(18px, 3.8vw, 21px); line-height: 1.5; color: rgba(247,246,243,0.86); max-width: 58ch; text-wrap: pretty; }
.lede { margin: 0 0 40px; font-size: clamp(17px, 3.6vw, 20px); line-height: 1.5; color: var(--body-muted); max-width: 62ch; text-wrap: pretty; }
.lede-dark { color: rgba(247,246,243,0.82); }
.body { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body-muted); text-wrap: pretty; }
.body-dark { color: rgba(247,246,243,0.8); }
.body.lg { font-size: 18px; max-width: 52ch; }
.body.lg + .body.lg { margin-top: 14px; }
.mt { margin: 26px 0 0; }
.note { margin: 26px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 64ch; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 56px; }
.three-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 9vw, 96px) 20px clamp(52px, 9vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.chips { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(247,246,243,0.14); display: flex; flex-wrap: wrap; gap: 10px 22px; }
.chips li { font-size: 15px; font-weight: 600; color: rgba(247,246,243,0.72); display: flex; align-items: center; gap: 8px; }
.chips li::before { content: ""; width: 7px; height: 7px; background: var(--accent-light); flex: none; }
.g-card { background: rgba(247,246,243,0.05); border: 1px solid rgba(247,246,243,0.14); border-top: 4px solid var(--accent); padding: 28px 26px 30px; }
.g-label { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); }
.g-num { margin: 0; font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(52px, 9vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.g-cap { margin: 10px 0 18px; font-family: Archivo, sans-serif; font-weight: 600; font-size: 19px; line-height: 1.3; }
.g-body { margin: 0 0 22px; font-size: 16px; line-height: 1.55; color: rgba(247,246,243,0.74); }

/* ---------- Problem cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; background: var(--rule-alt); border: 1px solid var(--rule-alt); }
.card { background: #fff; padding: 26px 24px 28px; }
.card-tag { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--link); }

/* ---------- What you get ---------- */
.steps3 { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps3 li { border-top: 3px solid var(--accent); padding-top: 20px; }
.steps3-num { display: block; margin-bottom: 14px; font-family: Archivo, sans-serif; font-weight: 800; font-size: 15px; color: var(--accent); letter-spacing: 0.06em; }

/* ---------- Before / after ---------- */
.ba { margin-top: 36px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.ba-col { background: #fff; border: 1px solid var(--rule-alt); padding: 26px 24px; }
.ba-after { border-top: 4px solid var(--accent); }
.ba-label { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ba-after .ba-label { color: var(--link); }
.ba-text { margin: 0; font-family: Archivo, sans-serif; font-weight: 600; font-size: clamp(18px, 3.6vw, 21px); line-height: 1.35; }
.ba-arrow { align-self: center; font-family: Archivo, sans-serif; font-weight: 800; font-size: 28px; color: var(--accent); }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } .ba-arrow { transform: rotate(90deg); justify-self: center; } }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 40px; }
.stat { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.stat-num { margin: 0; font-family: Archivo, sans-serif; font-weight: 800; font-size: clamp(38px, 7vw, 52px); line-height: 1; letter-spacing: -0.03em; }
.stat-num span { font-size: 0.42em; font-weight: 700; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.stat-label { margin: 12px 0 8px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 18px; }
.stat-math { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body-muted); }

/* ---------- Tabs ---------- */
.tabs { border: 1px solid var(--rule); background: #fff; }
.tab-list { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--rule); }
.tab-list button { appearance: none; background: none; border: 0; border-right: 1px solid var(--rule); padding: 18px 12px 16px; cursor: pointer; text-align: left; font-family: Archivo, sans-serif; font-weight: 700; font-size: 17px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tab-list button:last-child { border-right: 0; }
.tab-list button span { display: block; font-size: 13px; letter-spacing: 0.08em; margin-bottom: 4px; color: var(--rule-strong); }
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tab-list button[aria-selected="true"] span { color: var(--accent); }
.tab-panel { padding: clamp(24px, 5vw, 40px); }
.tab-panel .body { max-width: 64ch; }
.get { margin: 22px 0 0; padding: 16px 18px; background: var(--paper); border-left: 4px solid var(--accent); font-size: 17px; line-height: 1.5; max-width: 64ch; }
@media (max-width: 640px) {
  .tab-list { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; }
  .tab-list button { font-size: 15px; padding: 14px 10px 12px; }
}

/* ---------- Identity / who it's for ---------- */
.id-lead { margin: 0 0 10px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 20px; color: var(--paper); }
.for-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px 32px; }
.for-item { border-top: 1px solid var(--rule-strong); padding-top: 16px; }
.for-label { margin: 0 0 8px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 18px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 56px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-top: 1px solid var(--rule-strong); }
.faq details:last-child { border-bottom: 1px solid var(--rule-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: Archivo, sans-serif; font-weight: 700; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 600; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--link); }
.faq details p { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--body-muted); max-width: 62ch; }

/* ---------- Booking ---------- */
.book-steps { list-style: none; margin: 30px 0 30px; padding: 0; display: grid; gap: 12px; }
.book-steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; color: rgba(247,246,243,0.55); }
.book-steps li span { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid rgba(247,246,243,0.25); font-family: Archivo, sans-serif; font-weight: 800; font-size: 15px; }
.book-steps li.is-active { color: var(--paper); }
.book-steps li.is-active span { border-color: var(--accent); background: var(--accent); color: #fff; }
.contact-detail { margin: 8px 0 0; font-size: 16px; color: rgba(247,246,243,0.7); }
.contact-detail a { color: var(--paper); font-weight: 700; border-bottom: 1px solid var(--accent-light); }
.contact-detail a:hover { color: var(--accent-light); text-decoration: none; }

.form-panel { background: var(--paper); color: var(--ink); padding: clamp(22px, 5vw, 34px); border-top: 4px solid var(--accent); align-self: start; }
.hp { display: none; }
.fstep { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; }
.fstep[hidden] { display: none; }
.fstep + .fstep { margin-top: 28px; }
.js-steps .fstep + .fstep { margin-top: 0; }
.fstep legend { padding: 0; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--link); }
.form-panel label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form-panel input, .form-panel select, .form-panel textarea { width: 100%; padding: 12px 13px; background: #fff; border: 1px solid var(--rule-strong); border-radius: 2px; font-size: 17px; font-weight: 400; }
.form-panel input:focus, .form-panel select:focus, .form-panel textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.form-panel textarea { resize: vertical; }
.form-submit { appearance: none; border: 0; border-radius: 2px; cursor: pointer; background: var(--accent); color: #fff; font-family: Archivo, sans-serif; font-weight: 700; font-size: 18px; padding: 15px 22px; }
.form-submit:hover { background: var(--accent-hover); }
.form-nav { display: flex; gap: 12px; align-items: center; }
.form-nav .form-submit { flex: 1; }
.form-back { appearance: none; background: none; border: 1px solid var(--rule-strong); border-radius: 2px; cursor: pointer; font-weight: 700; font-size: 16px; padding: 14px 18px; color: var(--ink); }
.form-back:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.ftr { background: var(--ink-deep); color: rgba(247,246,243,0.7); padding: 40px 20px; }
.ftr-in { max-width: 1120px; margin: 0 auto; display: grid; gap: 22px; }
.ftr-name { font-family: Archivo, sans-serif; font-weight: 800; font-size: 18px; color: var(--paper); }
.ftr-tag { margin: 6px 0 0; font-size: 15px; }
.ftr-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.ftr-links a { color: rgba(247,246,243,0.85); font-weight: 600; font-size: 15px; }
.ftr-links a:hover { color: var(--accent-light); }
.ftr-copy { font-size: 14px; color: rgba(247,246,243,0.5); }

/* ---------- Audit page ---------- */
.sec-tight { padding: clamp(32px, 5vw, 48px) 20px; }
.h2-sm { font-size: clamp(26px, 4.6vw, 34px); }
.nav-link[aria-current="page"] { color: #fff; }
.five-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--rule-alt); border: 1px solid var(--rule-alt); }
.five-strip li { background: #fff; padding: 16px 14px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 17px; color: var(--muted); }
.five-strip li span { display: block; font-size: 13px; letter-spacing: 0.08em; color: var(--rule-strong); margin-bottom: 2px; }
.five-strip li em { display: block; font-style: normal; font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 14px; color: var(--muted); margin-top: 2px; }
.five-strip li.is-here { background: var(--ink); color: var(--paper); box-shadow: inset 0 -3px 0 var(--accent); }
.five-strip li.is-here span { color: var(--accent-light); }
.five-strip li.is-here em { color: rgba(247,246,243,0.75); }
@media (max-width: 700px) { .five-strip { grid-template-columns: 1fr; } .five-strip li { display: flex; gap: 12px; align-items: baseline; } .five-strip li span { margin: 0; } .five-strip li em { margin: 0 0 0 auto; } }
.phase-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 40px; }
.phase-list > li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 24px; border-top: 3px solid var(--accent); padding-top: 22px; }
.phase-list .body { max-width: 66ch; font-size: 18px; }
.phase-num { font-family: Archivo, sans-serif; font-weight: 800; font-size: 32px; color: var(--accent); line-height: 1; }
@media (max-width: 640px) { .phase-list > li { grid-template-columns: 1fr; } }
.dash-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; max-width: 64ch; }
.dash-list li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.5; color: var(--body-muted); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 2px; background: var(--accent); }
.tl { display: grid; gap: 18px; margin-top: 8px; }
.tl-item { border-left: 3px solid var(--accent); padding-left: 16px; }
.tl-label { margin: 0 0 4px; font-family: Archivo, sans-serif; font-weight: 700; font-size: 17px; }
.cta-band { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; border-top: 4px solid var(--accent); padding-top: 32px; }
.btn-out-light { color: var(--ink); border-color: var(--rule-strong); }
.btn-out-light:hover { color: var(--link); border-color: var(--accent); }
