/* Ritchie Business Consulting
   Brand greens #8EC63F (2.04:1 on white) and #6FA62E (2.93:1) are decorative only.
   --green-text #4E7A1F is 5.09:1 on white. --green-on-dark #9AD14A is 5.6:1+ on charcoal.
*/

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-700.woff2") format("woff2");
}

:root {
  --green: #8EC63F;
  --green-dark: #6FA62E;
  --green-text: #4E7A1F;
  --green-text-hover: #3F6B14;
  --green-on-dark: #9AD14A;
  --charcoal: #414143;
  --ink: #323335;
  --white: #FFFFFF;
  --paper: #F4F6F1;
  --line: #E3E6E0;
  --border: #6B6E6A;
  --muted: #5C5E5B;
  --muted-on-dark: #D0D1CE;
  --font-heading: "Source Serif 4", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --max-width: 1120px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 600;
}
h1 { font-size: clamp(2.05rem, 4.4vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--green-text); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
:focus-visible {
  outline: 2px solid var(--green-text);
  outline-offset: 3px;
}
.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;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 4.25rem 0; }
.section-alt { background: var(--paper); }

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 300; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-top: 4px solid var(--green);
  border-bottom: 1px solid var(--line);
}
header.site-header.is-stuck { box-shadow: 0 10px 28px rgba(40, 40, 40, 0.08); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.35rem 1.25rem;
}
.logo-link { flex: 0 0 auto; }
.logo-link picture, .footer-logo picture { display: block; }
.logo-link img { height: 86px; width: auto; }
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
}
nav.main-nav a, .nav-dropdown {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  padding: 0.35rem 0;
}
nav.main-nav a:hover, .nav-dropdown:hover { color: var(--green-text); }
.nav-call { display: none; }
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  min-width: 240px;
  padding: 0.4rem 0;
}
.dropdown-menu a { display: block; padding: 0.65rem 1rem; font-weight: 500; }
.dropdown.open .dropdown-menu,
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }
.header-actions { display: flex; align-items: center; gap: 0.85rem; }
.call-link { font-weight: 600; color: var(--charcoal); white-space: nowrap; text-decoration: none; }
.call-link:hover { color: var(--green-text); }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  color: var(--charcoal);
}

@media (max-width: 1160px) {
  .header-inner { padding: 0.3rem 0.85rem; gap: 0.5rem; }
  .logo-link img { height: 58px; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a, .nav-dropdown {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.25rem 0.75rem;
    min-width: 0;
  }
  nav.main-nav.open .dropdown-menu { display: block; }
  .nav-toggle { display: block; }
  .nav-call { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions .call-link { font-size: 0.92rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.2;
}
.btn-primary { background: var(--green-text); color: var(--white); }
.btn-primary:hover { background: var(--green-text-hover); text-decoration: none; }
.btn-secondary { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: var(--white); text-decoration: none; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--paper); text-decoration: none; }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); text-decoration: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.35rem; }

/* Home hero */
.hero-home {
  display: grid;
  background: var(--ink);
  color: var(--white);
}
.hero-home .hero-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 40% 14%;
}
.hero-copy { padding: 1.6rem 1.5rem 2.1rem; }
.hero-copy h1, .hero-copy p { color: var(--white); }
.hero-copy .lede { font-size: 1.08rem; max-width: 38rem; color: #f4f5f3; }
.hero-copy .eyebrow { color: var(--green-on-dark); }
.hero-services {
  margin: 0.15rem 0 0.85rem;
  color: var(--green-on-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
}
@media (min-width: 880px) {
  .hero-home { grid-template-columns: minmax(340px, 0.92fr) 1.08fr; min-height: 600px; }
  .hero-home .hero-media { order: 2; }
  .hero-home .hero-media img { height: 100%; min-height: 600px; }
  .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem 3rem 3.5rem 3.25rem; }
}

.page-banner img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center center;
}
.product-hero { background: var(--paper); padding: 1.25rem 0 0.25rem; margin: 0; }
.product-hero img { width: auto; max-width: min(100%, 420px); max-height: 560px; height: auto; margin: 0 auto; object-fit: contain; }
.media-frame img[src*="tumbler"] { object-position: center 42%; }
@media (max-width: 720px) {
  .product-hero img[src*="tumbler"] {
    width: min(78vw, 320px);
    height: 360px;
    object-fit: cover;
    object-position: center 38%;
  }
}
@media (min-width: 800px) {
  .page-banner img { height: 380px; }
}
.page-intro { padding: 2.5rem 0 0.5rem; background: linear-gradient(180deg, var(--paper) 0%, #fff 78%); }
.page-banner + .page-intro { background: #fff; padding-top: 2.15rem; }
.page-intro h1 { max-width: 40rem; }
.page-intro .container > p { font-size: 1.125rem; max-width: 40rem; }

.eyebrow {
  color: var(--green-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}

.trust-strip { background: var(--paper); padding: 1rem 0; }
.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 600;
}
.trust-strip li::before { content: "✓ "; color: var(--green-text); }

.service-grid, .service-grid-primary, .other-services {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.service-card.feature-text a {
  background: var(--ink);
  color: var(--white);
  min-height: 100%;
  justify-content: flex-end;
}
.service-card.feature-text h3,
.service-card.feature-text p { color: var(--white); }
.service-card.feature-text .learn-more { color: var(--green-on-dark); }
.service-card.compact .media-frame { aspect-ratio: 16 / 9; }
.breadcrumbs { margin: 0 0 0.8rem; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--muted); }
.breadcrumbs [aria-current="page"] { color: var(--charcoal); }
.confirm-note {
  background: var(--paper);
  border-left: 4px solid var(--green-text);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}
@media (min-width: 800px) {
  .service-grid-primary { grid-template-columns: repeat(3, 1fr); }
  .other-services { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
}
.service-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.service-card a:hover { text-decoration: none; color: var(--charcoal); }
.media-frame { aspect-ratio: 3 / 2; background: #eceee9; overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.service-card-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.service-card-body h3 { margin-bottom: 0.15rem; }
.service-card-body p { margin: 0; flex: 1; }
.learn-more { color: var(--green-text); font-weight: 600; margin-top: 0.75rem; }

.tagline-band { background: var(--paper); padding: 3.25rem 0; }
.tagline-band p {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.25;
  margin: 0;
  max-width: 16em;
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.step h3 { font-size: 1.15rem; }
.step-num {
  counter-increment: step;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green-text);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.step-num::before { content: counter(step); }

.feature-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) {
  .feature-split { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
}
.feature-split img { width: 100%; height: auto; border-radius: 14px; }

.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band .hero-cta { justify-content: center; }
.cta-band a:not(.btn) { color: var(--white); }

.inline-photo { margin: 0; padding: 0 0 1rem; }
.inline-photo img { width: 100%; height: auto; border-radius: 14px; max-height: 520px; object-fit: cover; }
.inline-photo figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 0.55rem; }

.bio {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 0 0 1.75rem;
}
.bio picture { display: block; }
.bio img { width: 100%; height: auto; border-radius: 14px; }
.pull-quote {
  margin: 1.15rem 0 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 3px solid var(--green-text);
}
.pull-quote p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink);
}
.pull-quote footer {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.placeholder-note {
  background: var(--paper);
  border: 1px dashed var(--green-text);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-weight: 600;
}
.placeholder-card .placeholder-note { margin: 0; }
@media (max-width: 640px) {
  .bio { grid-template-columns: minmax(0, 240px); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
}
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.solution-block {
  background: var(--paper);
  border-left: 4px solid var(--green);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.4;
}

.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  min-height: 48px;
}
.faq-answer { display: none; padding: 0 0 1rem; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { color: var(--green-text); font-weight: 600; transition: transform 0.2s; }

form.site-form { display: grid; gap: 1rem; max-width: 680px; }
form.site-form label { font-weight: 600; display: block; margin-bottom: 0.35rem; }
form.site-form input,
form.site-form select,
form.site-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--charcoal);
  min-height: 48px;
}
form.site-form textarea { min-height: 120px; resize: vertical; }
form.site-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem 1.15rem;
  display: grid;
  gap: 0.85rem;
}
form.site-form legend { font-family: var(--font-heading); font-weight: 600; padding: 0 0.35rem; }
.honeypot { position: absolute; left: -9999px; }
.form-note { font-size: 0.92rem; color: var(--muted); }
.form-success {
  display: none;
  background: var(--paper);
  border-left: 4px solid var(--green-text);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
}
.form-success.visible { display: block; }

footer.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 3rem 0 1.4rem;
}
footer.site-footer a { color: var(--white); text-decoration: none; }
footer.site-footer a:hover { color: var(--green-on-dark); }
footer.site-footer :focus-visible { outline-color: #fff; }
.footer-logo img { height: 72px; width: auto; margin-bottom: 0.9rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}
.footer-grid h2 {
  color: var(--green-on-dark);
  font-size: 1rem;
  margin: 0 0 0.7rem;
  font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-bottom {
  border-top: 1px solid #4d4e50;
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted-on-dark);
  text-align: center;
}
.map-embed { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: rise 0.55s ease both; }
  .service-card a { transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .service-card a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(40, 40, 40, 0.08); }
  .faq-icon { transition: transform 0.2s ease; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  .service-card a, .faq-icon { transition: none; }
}
