/*
Theme Name: Mr. Online Marketing Local Growth
Theme URI: https://mronlinemarketing.com/
Author: Derek Miller
Author URI: https://mronlinemarketing.com/derek-miller/
Description: A conversion-focused, editorial WordPress theme for a local service-business marketing agency.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mom-local-growth
License: GPL-2.0-or-later
*/

:root {
  --mom-ink: #171714;
  --mom-paper: #f4f0e7;
  --mom-white: #fffdf8;
  --mom-orange: #ef5b2a;
  --mom-orange-dark: #c83f16;
  --mom-moss: #35483b;
  --mom-muted: #6d6b64;
  --mom-line: #c9c3b7;
  --mom-success: #1f6a45;
  --mom-max: 1240px;
  --mom-reading: 760px;
  --mom-gutter: clamp(20px, 4vw, 64px);
  --mom-shadow: 7px 7px 0 var(--mom-ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mom-paper);
  color: var(--mom-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
body.mom-menu-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { color: var(--mom-orange-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, .button, .wp-element-button, .mom-button {
  appearance: none;
  align-items: center;
  background: var(--mom-orange);
  border: 2px solid var(--mom-ink);
  border-radius: 0;
  color: var(--mom-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: .8rem;
  font-weight: 800;
  gap: .55rem;
  justify-content: center;
  letter-spacing: .055em;
  line-height: 1.1;
  min-height: 50px;
  padding: 15px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
button:hover, .button:hover, .wp-element-button:hover, .mom-button:hover {
  background: #ff7444;
  box-shadow: 4px 4px 0 var(--mom-ink);
  color: var(--mom-ink);
  transform: translate(-2px, -2px);
}
.mom-button--dark { background: var(--mom-ink); color: var(--mom-white); }
.mom-button--dark:hover { background: var(--mom-moss); color: var(--mom-white); }
.mom-button--plain { background: transparent; }
:focus-visible { outline: 3px solid var(--mom-orange); outline-offset: 3px; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus { clip: auto; clip-path: none; background: var(--mom-white); height: auto; left: 12px; padding: 12px; top: 12px; width: auto; z-index: 100000; }

.mom-wrap { margin-inline: auto; max-width: var(--mom-max); padding-inline: var(--mom-gutter); width: 100%; }
.mom-reading { max-width: var(--mom-reading); }
.mom-kicker {
  align-items: center; display: flex; font-family: "Courier New", monospace; font-size: .72rem;
  font-weight: 700; gap: .65rem; letter-spacing: .08em; margin: 0 0 18px; text-transform: uppercase;
}
.mom-kicker::before { background: var(--mom-orange); content: ""; height: 10px; width: 10px; }
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.035em;
  line-height: 1.02; margin: 0 0 .5em;
}
h1 { font-size: clamp(3rem, 8vw, 7.3rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.8rem); }
h3 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
p { margin: 0 0 1.25em; }
.mom-rule { border: 0; border-top: 2px solid var(--mom-ink); margin: 0; }

.site-notice {
  background: var(--mom-ink); color: var(--mom-white); font-family: "Courier New", monospace;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 8px var(--mom-gutter); text-align: center; text-transform: uppercase;
}
.site-header { background: var(--mom-paper); border-bottom: 2px solid var(--mom-ink); position: sticky; top: 0; z-index: 1000; }
.admin-bar .site-header { top: 32px; }
.site-header__inner { align-items: center; display: flex; gap: 26px; justify-content: space-between; min-height: 78px; }
.site-brand { align-items: center; display: inline-flex; font-family: Georgia, serif; font-size: 1.1rem; font-weight: 700; gap: 12px; letter-spacing: -.02em; text-decoration: none; }
.site-brand__mark { align-items: center; background: var(--mom-orange); border: 2px solid var(--mom-ink); display: inline-flex; font-family: Arial, sans-serif; font-size: .72rem; height: 40px; justify-content: center; letter-spacing: -.04em; width: 40px; }
.site-nav { align-items: center; display: flex; gap: 22px; }
.site-nav ul { align-items: center; display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: .78rem; font-weight: 800; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .menu-item-has-children { position: relative; }
.site-nav .sub-menu { background: var(--mom-white); border: 2px solid var(--mom-ink); display: none; left: -16px; min-width: 250px; padding: 12px; position: absolute; top: 100%; }
.site-nav .menu-item-has-children:hover .sub-menu, .site-nav .menu-item-has-children:focus-within .sub-menu { display: grid; }
.menu-toggle { display: none; min-height: 44px; padding: 10px 14px; }

.mom-hero { border-bottom: 2px solid var(--mom-ink); overflow: hidden; position: relative; }
.mom-hero__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr); min-height: 710px; }
.mom-hero__copy { align-content: center; border-right: 2px solid var(--mom-ink); display: grid; padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 84px) clamp(56px, 8vw, 110px) 0; }
.mom-hero h1 { max-width: 1000px; }
.mom-hero h1 em { color: var(--mom-orange-dark); font-style: italic; }
.mom-hero__dek { font-size: clamp(1.08rem, 1.5vw, 1.35rem); max-width: 700px; }
.mom-hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px; }
.mom-hero__proof { align-content: center; background: var(--mom-white); display: grid; padding: clamp(34px, 5vw, 64px); }
.mom-hero__proof h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); }
.mom-proof-list { list-style: none; margin: 24px 0; padding: 0; }
.mom-proof-list li { border-top: 1px solid var(--mom-line); display: grid; gap: 2px; padding: 15px 0; }
.mom-proof-list strong { font-family: Georgia, serif; font-size: 1.4rem; }
.mom-proof-list span { color: var(--mom-muted); font-size: .82rem; }

.mom-ticker { background: var(--mom-orange); border-bottom: 2px solid var(--mom-ink); overflow: hidden; white-space: nowrap; }
.mom-ticker__track { animation: momTicker 28s linear infinite; display: inline-flex; gap: 34px; padding: 11px 0; }
.mom-ticker span { font-family: "Courier New", monospace; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mom-ticker span::after { content: "✦"; margin-left: 34px; }
@keyframes momTicker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mom-ticker__track { animation: none; } * { transition: none !important; } }

.mom-section { border-bottom: 2px solid var(--mom-ink); padding-block: clamp(72px, 10vw, 150px); }
.mom-section--white { background: var(--mom-white); }
.mom-section--dark { background: var(--mom-ink); color: var(--mom-white); }
.mom-section__head { align-items: end; display: grid; gap: 30px; grid-template-columns: 1fr minmax(280px, .5fr); margin-bottom: 52px; }
.mom-section__head p { font-size: 1.05rem; margin: 0; }
.mom-grid { display: grid; gap: 0; grid-template-columns: repeat(12, 1fr); }
.mom-service-card { border-left: 2px solid var(--mom-ink); border-top: 2px solid var(--mom-ink); grid-column: span 4; min-height: 350px; padding: 32px; position: relative; }
.mom-service-card:nth-child(3n) { border-right: 2px solid var(--mom-ink); }
.mom-service-card:nth-last-child(-n+2) { border-bottom: 2px solid var(--mom-ink); }
.mom-service-card:nth-child(4) { grid-column: 3 / span 4; }
.mom-service-card:nth-child(5) { border-right: 2px solid var(--mom-ink); grid-column: span 4; }
.mom-service-card:hover { background: var(--mom-orange); }
.mom-service-card__num { font-family: "Courier New", monospace; font-size: .72rem; }
.mom-service-card h3 { margin-top: 58px; }
.mom-service-card a { bottom: 28px; font-size: .78rem; font-weight: 800; position: absolute; text-transform: uppercase; }

.mom-process { counter-reset: process; }
.mom-process__step { border-top: 1px solid currentColor; display: grid; gap: 28px; grid-template-columns: 110px 1fr 1fr; padding: 32px 0; }
.mom-process__step::before { counter-increment: process; content: "0" counter(process); font-family: "Courier New", monospace; font-size: .8rem; }
.mom-process__step h3 { margin: 0; }
.mom-process__step p { margin: 0; }

.mom-callout { align-items: center; background: var(--mom-orange); border: 2px solid var(--mom-ink); box-shadow: var(--mom-shadow); display: grid; gap: 40px; grid-template-columns: 1.25fr .75fr; padding: clamp(30px, 5vw, 64px); }
.mom-callout h2 { font-size: clamp(2rem, 4vw, 4rem); }

.mom-form-shell { background: var(--mom-white); border: 2px solid var(--mom-ink); box-shadow: var(--mom-shadow); padding: clamp(24px, 4vw, 44px); }
.mom-form-shell h2, .mom-form-shell h3 { font-size: clamp(1.6rem, 3vw, 2.7rem); }
.mom-lead-form { display: grid; gap: 18px; }
.mom-form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.mom-field { display: grid; gap: 7px; }
.mom-field--full { grid-column: 1 / -1; }
.mom-field label, .mom-field legend { font-size: .72rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.mom-field input, .mom-field select, .mom-field textarea {
  background: var(--mom-white); border: 2px solid var(--mom-ink); border-radius: 0; color: var(--mom-ink); min-height: 50px; padding: 12px 14px; width: 100%;
}
.mom-field textarea { min-height: 120px; resize: vertical; }
.mom-checkboxes { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.mom-check { align-items: flex-start; border: 1px solid var(--mom-line); cursor: pointer; display: flex; font-size: .86rem; gap: 9px; padding: 10px; }
.mom-check:has(input:checked) { background: #fce1d4; border-color: var(--mom-ink); }
.mom-check input { min-height: auto; width: auto; }
.mom-form-note { color: var(--mom-muted); font-size: .72rem; margin: 0; }
.mom-form-alert { border: 2px solid; font-weight: 700; padding: 12px; }
.mom-form-alert--success { background: #e5f2e8; color: var(--mom-success); }
.mom-hp { left: -9999px !important; position: absolute !important; }

.mom-proof-band { display: grid; grid-template-columns: repeat(4, 1fr); }
.mom-stat { border-right: 2px solid var(--mom-ink); padding: 36px var(--mom-gutter); }
.mom-stat:last-child { border-right: 0; }
.mom-stat strong { display: block; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; }
.mom-stat span { display: block; font-size: .75rem; line-height: 1.35; margin-top: 10px; }

.mom-content-card { border: 2px solid var(--mom-ink); display: flex; flex-direction: column; grid-column: span 4; margin: 0 -2px -2px 0; min-height: 410px; padding: 28px; }
.mom-content-card:hover { background: var(--mom-white); }
.mom-content-card__type { font-family: "Courier New", monospace; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.mom-content-card h3 { margin-top: auto; }
.mom-content-card a { font-size: .76rem; font-weight: 800; margin-top: 20px; text-transform: uppercase; }

.mom-page-hero { border-bottom: 2px solid var(--mom-ink); padding-block: clamp(72px, 10vw, 140px); }
.mom-page-hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); max-width: 1100px; }
.mom-page-hero__dek { font-size: 1.25rem; max-width: 760px; }
.mom-breadcrumbs { font-family: "Courier New", monospace; font-size: .68rem; margin-bottom: 34px; text-transform: uppercase; }
.mom-entry { background: var(--mom-white); }
.mom-entry__layout { display: grid; gap: clamp(40px, 8vw, 110px); grid-template-columns: minmax(0, 1fr) 310px; padding-block: clamp(64px, 9vw, 120px); }
.mom-entry__content { max-width: 780px; }
.mom-entry__content > *:first-child { margin-top: 0; }
.mom-entry__content h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin-top: 1.5em; }
.mom-entry__content h3 { margin-top: 1.4em; }
.mom-entry__content ul, .mom-entry__content ol { padding-left: 1.25em; }
.mom-entry__content li { margin-bottom: .55em; }
.mom-entry__content blockquote { border-left: 6px solid var(--mom-orange); font-family: Georgia, serif; font-size: 1.45rem; margin: 2em 0; padding-left: 25px; }
.mom-entry__content table { border-collapse: collapse; width: 100%; }
.mom-entry__content th, .mom-entry__content td { border: 1px solid var(--mom-line); padding: 12px; text-align: left; }
.mom-sidebar { align-self: start; position: sticky; top: 112px; }
.mom-sidebar__box { border: 2px solid var(--mom-ink); margin-bottom: 24px; padding: 22px; }
.mom-sidebar__box h2, .mom-sidebar__box h3 { font-size: 1.45rem; }

.mom-faq details { border-top: 2px solid var(--mom-ink); }
.mom-faq details:last-child { border-bottom: 2px solid var(--mom-ink); }
.mom-faq summary { cursor: pointer; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 700; list-style: none; padding: 24px 48px 24px 0; position: relative; }
.mom-faq summary::-webkit-details-marker { display: none; }
.mom-faq summary::after { content: "+"; font-family: Arial, sans-serif; position: absolute; right: 10px; }
.mom-faq details[open] summary::after { content: "−"; }
.mom-faq details p { max-width: 760px; padding-bottom: 24px; }

.mom-modal { background: rgba(23,23,20,.76); display: none; inset: 0; overflow-y: auto; padding: 30px; position: fixed; z-index: 9999; }
.mom-modal[aria-hidden="false"] { align-items: center; display: flex; justify-content: center; }
.mom-modal__panel { background: var(--mom-paper); border: 2px solid var(--mom-ink); max-height: calc(100vh - 40px); max-width: 760px; overflow-y: auto; padding: clamp(22px, 4vw, 46px); position: relative; width: 100%; }
.mom-modal__close { background: transparent; min-height: 42px; padding: 7px 12px; position: absolute; right: 12px; top: 12px; }
.mom-mobile-bar { display: none; }

.site-footer { background: var(--mom-ink); color: var(--mom-white); padding-top: clamp(60px, 8vw, 110px); }
.site-footer__grid { display: grid; gap: 50px; grid-template-columns: 1.1fr .65fr .65fr; }
.site-footer h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.site-footer h3 { font-family: Arial, sans-serif; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__bottom { align-items: center; border-top: 1px solid #686860; display: flex; font-size: .7rem; justify-content: space-between; margin-top: 70px; padding-block: 24px; }

@media (max-width: 980px) {
  .admin-bar .site-header { top: 46px; }
  .site-header__inner { min-height: 68px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { background: var(--mom-paper); border-bottom: 2px solid var(--mom-ink); display: none; inset: 68px 0 auto; max-height: calc(100vh - 68px); overflow-y: auto; padding: 28px var(--mom-gutter); position: fixed; }
  .admin-bar .site-nav { top: 114px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; display: grid; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--mom-line); }
  .site-nav a { display: block; font-size: 1rem; padding: 14px 0; }
  .site-nav .sub-menu { border: 0; display: grid; padding: 0 0 10px 18px; position: static; }
  .site-header__cta { display: none; }
  .mom-hero__grid { grid-template-columns: 1fr; }
  .mom-hero__copy { border-right: 0; padding-right: 0; }
  .mom-hero__proof { border-top: 2px solid var(--mom-ink); margin-inline: calc(-1 * var(--mom-gutter)); padding-inline: var(--mom-gutter); }
  .mom-section__head { grid-template-columns: 1fr; }
  .mom-service-card { grid-column: span 6 !important; }
  .mom-service-card:nth-child(odd) { border-right: 0; }
  .mom-service-card:nth-child(even) { border-right: 2px solid; }
  .mom-process__step { grid-template-columns: 70px 1fr; }
  .mom-process__step p { grid-column: 2; }
  .mom-callout { grid-template-columns: 1fr; }
  .mom-proof-band { grid-template-columns: repeat(2, 1fr); }
  .mom-stat:nth-child(2) { border-right: 0; }
  .mom-stat:nth-child(-n+2) { border-bottom: 2px solid var(--mom-ink); }
  .mom-content-card { grid-column: span 6; }
  .mom-entry__layout { grid-template-columns: 1fr; }
  .mom-sidebar { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__lead { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 17px; padding-bottom: 64px; }
  h1 { font-size: clamp(2.8rem, 16vw, 4.5rem); }
  .site-notice { font-size: .62rem; }
  .site-brand { font-size: .93rem; }
  .site-brand__mark { height: 34px; width: 34px; }
  .mom-hero__grid { min-height: 0; }
  .mom-hero__actions { align-items: stretch; flex-direction: column; }
  .mom-hero__actions .mom-button { width: 100%; }
  .mom-service-card { border-right: 2px solid !important; grid-column: 1 / -1 !important; min-height: 310px; }
  .mom-service-card:nth-child(n+2) { border-top: 0; }
  .mom-service-card:last-child { border-bottom: 2px solid; }
  .mom-process__step { gap: 16px; grid-template-columns: 45px 1fr; }
  .mom-proof-band { grid-template-columns: 1fr; }
  .mom-stat { border-bottom: 2px solid var(--mom-ink); border-right: 0; padding: 28px var(--mom-gutter); }
  .mom-stat:last-child { border-bottom: 0; }
  .mom-content-card { grid-column: 1 / -1; min-height: 330px; }
  .mom-form-grid, .mom-checkboxes { grid-template-columns: 1fr; }
  .mom-modal { padding: 10px; }
  .mom-modal__panel { max-height: calc(100vh - 20px); }
  .mom-mobile-bar { background: var(--mom-orange); border-top: 2px solid var(--mom-ink); bottom: 0; display: grid; grid-template-columns: 1fr 1fr; left: 0; position: fixed; right: 0; z-index: 1100; }
  .mom-mobile-bar a, .mom-mobile-bar button { background: transparent; border: 0; border-right: 2px solid var(--mom-ink); box-shadow: none; font-size: .7rem; min-height: 62px; padding: 10px; }
  .mom-mobile-bar > *:last-child { border-right: 0; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__lead { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}
