/*
Theme Name: Michelle Jackson Coaching
Template: twentytwentyfive
Description: Child theme applying the Organic design direction. Tokens live in theme.json; this file covers only what theme.json cannot express.
Version: 1.0.0
*/

/* — sticky blurred header — */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--wp--preset--color--base) 88%, transparent);
  backdrop-filter: blur(10px);
}

/* — brand mark — */
.site-brand {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.site-brand a { color: inherit; text-decoration: none; display: inline-block; }
.site-brand em { font-style: normal; color: var(--wp--preset--color--accent-text); }

/* — navigation states — */
.wp-block-navigation .wp-block-navigation-item__content {
  font-family: var(--wp--preset--font-family--body);
  font-size: 16px;
  font-weight: 600;
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
}
.wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--accent); }
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--accent-text); }

/* — header CTA pill, slightly smaller than content buttons — */
.mjc-header-cta .wp-block-button__link {
  font-size: 15px;
  padding: 11px 22px;
}

/* — asymmetric hero: text column wider than the portrait — */
.hero-grid { align-items: center; }
.hero-grid > .wp-block-column:first-child { flex-basis: 57.5% !important; }
.hero-grid > .wp-block-column:last-child  { flex-basis: 42.5% !important; }

/* — tinted band: rounded top corners only, full-bleed — */
.band-tinted {
  background: var(--wp--preset--color--surface);
  border-radius: 56px 56px 0 0;
}

/* — over-rounded surfaces — */
.panel-sm { border-radius: 32px; }
.panel-md { border-radius: 40px; }
.panel-lg { border-radius: 48px; }

/* — numbered circle used in the 3-up card row — */
.step-badge {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 19px;
  background: var(--wp--preset--color--accent-tint-2);
  color: var(--wp--preset--color--accent-deep);
}
.step-badge.is-sage {
  background: var(--wp--preset--color--sage-tint-2);
  color: var(--wp--preset--color--sage-deep);
}

/* — decorative circles behind the hero portrait — */
.hero-portrait { position: relative; }
.hero-portrait::before,
.hero-portrait::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.hero-portrait::before {
  width: 150px; height: 150px;
  top: -22px; right: -22px;
  background: var(--wp--preset--color--sage-mid);
}
.hero-portrait::after {
  width: 84px; height: 84px;
  left: -26px; bottom: 34px;
  background: #ffc6a5;
}

/* — photo placeholders until Michelle supplies photography — */
.photo-slot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--wp--preset--color--sage-mid) 55%, transparent), transparent 60%),
    linear-gradient(150deg, var(--wp--preset--color--surface), #dcd3c4);
}
.photo-slot--circle { aspect-ratio: 1; border-radius: 999px; width: min(400px, 100%); }
.photo-slot--tall { aspect-ratio: 4 / 5; border-radius: 40px; }
.photo-slot--portrait { aspect-ratio: 3 / 4; border-radius: 40px; position: relative; }

/* — every content photograph is washed back into the page — */
.washed img,
img.washed {
  filter: saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94);
}

/* — eyebrow kicker — */
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent-text);
}

/* — uppercase meta line under a service description — */
.service-meta {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp--preset--color--neutral-600);
}
.service-meta.on-dark { color: var(--wp--preset--color--sage-mid); }

/* — pill tag — */
.tag {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--wp--preset--color--sage-tint);
  color: var(--wp--preset--color--sage-deep);
}
.tag.on-dark {
  background: #56633f;
  color: var(--wp--preset--color--neutral-100);
}

/* — secondary (outlined) button — */
.is-style-secondary .wp-block-button__link,
.wp-block-button.is-style-secondary .wp-block-button__link {
  background: transparent;
  color: var(--wp--preset--color--contrast);
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 16%, transparent);
}
.is-style-secondary .wp-block-button__link:hover {
  background: color-mix(in srgb, var(--wp--preset--color--contrast) 7%, transparent);
}
.is-style-secondary .wp-block-button__link:active {
  background: color-mix(in srgb, var(--wp--preset--color--contrast) 14%, transparent);
}

/* — light button on the dark sage panels — */
.is-style-on-dark .wp-block-button__link {
  background: var(--wp--preset--color--neutral-100);
  color: var(--wp--preset--color--sage-deepest);
}
.is-style-on-dark .wp-block-button__link:hover {
  background: var(--wp--preset--color--sage-tint);
}

/* — form fields (wraps the Contact Form 7 output) — */
.mjc-form input[type="text"],
.mjc-form input[type="email"],
.mjc-form input[type="tel"],
.mjc-form input[type="url"],
.mjc-form textarea {
  width: 100%;
  min-height: 52px;
  font-family: var(--wp--preset--font-family--body);
  font-size: 17px;
  color: var(--wp--preset--color--contrast);
  caret-color: var(--wp--preset--color--accent);
  background: var(--wp--preset--color--surface);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 16%, transparent);
  border-radius: 999px;
  padding: 6px 14px;
}
.mjc-form textarea {
  min-height: 150px;
  border-radius: 28px;
  padding: 16px 20px;
  resize: vertical;
}
.mjc-form label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--wp--preset--color--neutral-800);
}
.mjc-form input:hover,
.mjc-form textarea:hover {
  border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 45%, transparent);
}
.mjc-form input:focus,
.mjc-form textarea:focus {
  border-color: var(--wp--preset--color--accent);
  outline: none;
}
.mjc-form input[type="submit"],
.mjc-form button[type="submit"],
.mjc-form .wpcf7-submit {
  width: 100%;
  margin-top: 6px;
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 400;
  font-size: 17px;
  padding: 17px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--base);
  cursor: pointer;
}
.mjc-form .wpcf7-submit:hover { background: var(--wp--preset--color--accent-hover); }
.mjc-form .wpcf7-submit:active { background: var(--wp--preset--color--accent-text); }
.mjc-form .wpcf7-spinner { display: block; margin: 8px auto 0; }
.mjc-form .wpcf7-response-output {
  border: 0;
  margin: 18px 0 0;
  padding: 0;
  font-weight: 600;
  color: var(--wp--preset--color--accent-text);
}
.mjc-form form.sent .wpcf7-response-output { color: var(--wp--preset--color--sage-deep); }
.mjc-form .wpcf7-not-valid-tip {
  font-size: 14px;
  margin-top: 6px;
  color: var(--wp--preset--color--accent-text);
}

/* — themed focus and selection, never the browser default — */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--wp--preset--color--accent);
  outline-offset: 2px;
}
::selection { background: color-mix(in srgb, var(--wp--preset--color--accent) 30%, transparent); }

/* — footer — */
.wp-site-blocks > footer.wp-block-template-part {
  background: var(--wp--preset--color--accent-deep);
  color: var(--wp--preset--color--accent-tint-2);
}
.wp-site-blocks > footer a { color: var(--wp--preset--color--accent-tint-2); text-decoration: none; }
.wp-site-blocks > footer a:hover { color: var(--wp--preset--color--neutral-100); }
.footer-brand {
  font-family: var(--wp--preset--font-family--heading);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--neutral-100);
}
.footer-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--accent-light);
}
.footer-fine { font-size: 14px; color: var(--wp--preset--color--accent-light); }

/* — dotted "about me" list — */
.dot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.dot-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 19px; line-height: 1.6; color: var(--wp--preset--color--neutral-800); }
.dot-list li::before {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-radius: 999px;
  margin-top: 10px;
  background: var(--wp--preset--color--accent-light);
}
.dot-list li:nth-child(even)::before { background: var(--wp--preset--color--sage-mid); }

/* — responsive — */
@media (max-width: 1023px) {
  .band-tinted { border-radius: 44px 44px 0 0; }
  .panel-lg { border-radius: 40px; }
}
@media (max-width: 781px) {
  .hero-grid > .wp-block-column:first-child,
  .hero-grid > .wp-block-column:last-child { flex-basis: 100% !important; }
  .band-tinted { border-radius: 36px 36px 0 0; }
  .panel-md, .panel-lg { border-radius: 28px; }
  .hero-portrait::before { width: 92px; height: 92px; }
  .hero-portrait::after { width: 56px; height: 56px; }
  .photo-slot--circle { width: min(260px, 100%); margin-inline: auto; }
  .wp-block-button__link { width: 100%; text-align: center; }
  .mjc-header-cta .wp-block-button__link { width: auto; }
  .service-row { flex-wrap: wrap !important; }
}
