/*
Theme Name: Mojo Cares
Description: A block theme for Mojo Cares in-home respite and family support.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: mojo-cares
*/
:root {
  --mc-paper: #faf7ef;
  --mc-white: #fffcf6;
  --mc-ink: #173b32;
  --mc-soft-ink: #3e594f;
  --mc-accent: #ecab90;
  --mc-green: #dfe8da;
  --mc-line: #d4dcd0;
  --mc-serif: Georgia, "Times New Roman", serif;
  --mc-sans: "Trebuchet MS", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--mc-paper); color: var(--mc-ink); font-family: var(--mc-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid #ac5837; outline-offset: 5px; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .mc-site > * { margin-block-start: 0; }
.mc-shell { width: min(100% - 104px, 1280px); margin-inline: auto; }
.mc-narrow { max-width: 570px; }
.mc-header { background: var(--mc-paper); border-bottom: 1px solid #ece6d9; }
.mc-header-inner { min-height: 88px; display: flex; gap: 22px; align-items: center; justify-content: space-between; }
.mc-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.mc-brand-text { font: 700 28px/1 var(--mc-serif); letter-spacing: -.05em; }
.mc-mark { display: inline-grid; place-items: center; height: 32px; width: 32px; color: var(--mc-ink); background: var(--mc-accent); border-radius: 50%; flex-shrink: 0; }
.mc-mark-heart { width: 12px; height: 12px; position: relative; background: currentColor; border-radius: 1px; transform: translateY(1px) rotate(-45deg); }
.mc-mark-heart::before,.mc-mark-heart::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: currentColor; }
.mc-mark-heart::before { top: -6px; left: 0; }
.mc-mark-heart::after { top: 0; left: 6px; }
.mc-nav { display: flex; align-items: center; gap: clamp(16px, 3.15vw, 50px); }
.mc-nav a { text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 700; }
.mc-nav a:hover, .mc-text-link:hover, .mc-footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.mc-btn, .mc-buttons .wp-block-button__link { display: inline-flex; width: fit-content; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; min-height: 50px; border-radius: 999px; border: 1px solid var(--mc-ink); background: var(--mc-ink); color: #fffdf8; font: 700 14px/1.35 var(--mc-sans); text-decoration: none; text-align: center; transition: background-color .15s ease, color .15s ease; }
.mc-btn:hover, .mc-buttons .wp-block-button__link:hover { background: #28564a; color: white; }
.mc-btn-outline { background: transparent; color: var(--mc-ink); }
.mc-btn-outline:hover { background: var(--mc-green); color: var(--mc-ink); }
.mc-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.mc-mobile { display: none; }
.mc-hero { padding: 64px 0 70px; }
.mc-hero-inner { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); align-items: center; column-gap: clamp(32px,5vw,78px); }
.mc-kicker { display: flex; align-items: center; gap: 9px; color: var(--mc-soft-ink); font-size: 11px; font-weight: 700; letter-spacing: .135em; line-height: 1.5; text-transform: uppercase; margin: 0 0 18px; }
.mc-kicker::before { content: ""; width: 15px; height: 2px; background: #b76142; flex: 0 0 15px; }
.mc-title, .mc-h2, .mc-h3 { color: inherit; font-family: var(--mc-serif); font-weight: 400; letter-spacing: -.055em; }
.mc-title { font-size: clamp(54px, 6.1vw, 93px); line-height: .99; margin: 0 0 24px; }
.mc-title em { color: #38715e; font-weight: 400; }
.mc-h2 { font-size: clamp(40px,5.2vw,68px); line-height: 1.02; margin: 0 0 18px; }
.mc-h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 0 0 9px; }
.mc-copy { color: var(--mc-soft-ink); margin: 0 0 24px; font-size: 17px; max-width: 53ch; }
.mc-hero .mc-copy { font-size: 18px; }
.mc-hero-image { margin: 0; position: relative; }
.mc-photo { display: block; margin: 0; width: 100%; aspect-ratio: 1.17; border-radius: 28px; overflow: hidden; background: #e9ddc9; }
.mc-photo img { display: block; height: 100%; width: 100%; object-fit: cover; object-position: center 49%; }
.mc-note { margin: 15px 0 0; color: var(--mc-soft-ink); font-size: 13px; }
.mc-note strong { color: var(--mc-ink); }
.mc-ribbon { background: var(--mc-green); }
.mc-ribbon-inner { min-height: 92px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; text-align: center; }
.mc-ribbon-inner p { margin: 0; padding: 8px 12px; font-size: 15px; }
.mc-ribbon-inner p + p { border-left: 1px solid #afc4b3; }
.mc-ribbon-inner strong { font-weight: 700; }
.mc-section { padding: 92px 0; }
.mc-services { background: var(--mc-white); }
.mc-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin-top: 35px; }
.mc-card { min-height: 212px; border-radius: 20px; padding: 25px 24px; background: #f4eee1; }
.mc-card:nth-child(2) { background: #edf0e5; }
.mc-card:nth-child(3) { background: #f8e8db; }
.mc-card .mc-copy { font-size: 15px; margin: 0; }
.mc-bullet-mark { display: grid; width: 36px; height: 36px; border: 1px solid #638376; border-radius: 50%; place-items: center; margin: 0 0 17px; }
.mc-bullet-mark::after { content: ""; display: block; width: 12px; height: 12px; background: #4a7466; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.mc-split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: clamp(30px,7vw,110px); }
.mc-faq-list { border-top: 1px solid var(--mc-line); }
.mc-faq-list details { border-bottom: 1px solid var(--mc-line); }
.mc-faq-list summary { position: relative; cursor: pointer; padding: 17px 30px 17px 0; list-style: none; font-weight: 700; }
.mc-faq-list summary::-webkit-details-marker { display: none; }
.mc-faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 20px; line-height: 1.4; font-weight: 400; }
.mc-faq-list details[open] summary::after { content: "−"; }
.mc-faq-list .mc-copy { margin: -2px 22px 18px 0; font-size: 15px; }
.mc-careers { background: #f4e7d9; padding: 47px 0; }
.mc-careers-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mc-careers .mc-h2 { font-size: clamp(32px,4.2vw,52px); }
.mc-careers .mc-copy { margin-bottom: 0; }
.mc-text-link { font-weight: 700; text-underline-offset: 4px; }
.mc-contact { background: #183e34; color: #fffaf0; padding: 69px 0; }
.mc-contact .mc-kicker, .mc-contact .mc-copy { color: #ebf0e5; }
.mc-contact .mc-kicker::before { background: var(--mc-accent); }
.mc-contact .mc-buttons .wp-block-button__link { background: var(--mc-accent); border-color: var(--mc-accent); color: var(--mc-ink); }
.mc-contact .mc-buttons .wp-block-button__link:hover { background: #f3bea9; }
.mc-contact .mc-buttons .wp-block-button__link:focus-visible { outline-color: white; }
.mc-contact-address { padding-block: 13px; border-top: 1px solid #728c80; border-bottom: 1px solid #728c80; margin-top: 19px; }
.mc-contact-address p { margin: 0; }
.mc-footer { background: var(--mc-paper); padding: 30px 0; }
.mc-footer-inner { display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.mc-footer p { color: var(--mc-soft-ink); margin: 0; font-size: 13px; }
.mc-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.mc-footer-links a { text-decoration: none; font-size: 14px; font-weight: 700; }
.mc-default-content { min-height: 42vh; }
.mc-default-content p { max-width: 72ch; }
.mc-skip { position: absolute; z-index: 10; top: 8px; left: 8px; transform: translateY(calc(-100% - 12px)); }
.mc-skip:focus { transform: none; }
@media (max-width: 1000px) {
  .mc-shell { width: calc(100% - 68px); }
  .mc-title { font-size: clamp(46px,7.1vw,71px); }
  .mc-hero { padding-block: 48px; }
}
@media (max-width: 720px) {
  .mc-shell { width: calc(100% - 36px); }
  .mc-header-inner { min-height: 70px; }
  .mc-header .mc-nav, .mc-header .mc-header-cta { display: none; }
  .mc-mobile { display: block; position: relative; }
  .mc-mobile summary { list-style: none; font-weight: 700; padding: 8px 13px; border: 1px solid #718579; border-radius: 999px; cursor: pointer; }
  .mc-mobile summary::-webkit-details-marker { display: none; }
  .mc-mobile div { position: absolute; right: 0; top: calc(100% + 8px); padding: 8px 16px; min-width: 176px; background: var(--mc-white); border: 1px solid var(--mc-line); border-radius: 14px; z-index: 2; }
  .mc-mobile a { display: block; padding: 8px 0; font-weight: 700; font-size: 14px; }
  .mc-brand-text { font-size: 26px; }
  .mc-hero { padding: 36px 0 34px; }
  .mc-hero-inner, .mc-split, .mc-cards { grid-template-columns: 1fr; gap: 25px; }
  .mc-title { font-size: clamp(48px, 11.5vw, 68px); margin-bottom: 17px; }
  .mc-hero .mc-copy { font-size: 16px; }
  .mc-photo { border-radius: 20px; }
  .mc-ribbon-inner { min-height: 70px; }
  .mc-ribbon-inner p { font-size: 12px; line-height: 1.4; padding: 5px 7px; }
  .mc-section { padding: 55px 0; }
  .mc-cards { gap: 12px; margin-top: 24px; }
  .mc-card { min-height: 0; padding: 22px; }
  .mc-careers-inner, .mc-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mc-contact { padding-block: 52px; }
  .mc-contact-address { margin-top: 0; }
}
.mc-arrow { width: .68em; height: .68em; display: inline-block; position: relative; flex: 0 0 .68em; }
.mc-arrow::before { content: ""; position: absolute; inset: 0 0 auto auto; width: .45em; height: .45em; border-top: 1.4px solid currentColor; border-right: 1.4px solid currentColor; }
.mc-arrow::after { content: ""; position: absolute; height: 1.4px; width: .78em; background: currentColor; top: .34em; left: -.06em; transform: rotate(-45deg); }
