/* ============================================================================
   Elevate Wellness — Main CSS
   Deferred. Holds everything below-the-fold: cards, grids, sections, footer,
   forms, blog, motion, utility classes, and minor responsive tuning.
   ============================================================================ */

/* --- Reveal animations (IntersectionObserver triggered) ---------------- */
.ewc-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.ewc-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ewc-reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Stat row --------------------------------------------------------- */
.ewc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-6);
  padding: var(--s-7) 0;
  border-block: 1px solid var(--c-line);
}
.ewc-stat { text-align: center; }
.ewc-stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--c-blue);
  letter-spacing: -.025em;
  line-height: 1;
}
.ewc-stat__label {
  margin-top: var(--s-2);
  color: var(--c-muted);
  font-size: .9375rem;
  letter-spacing: .03em;
}

/* --- Section headings -------------------------------------------------- */
.ewc-shead { max-width: 720px; margin-bottom: var(--s-7); }
.ewc-shead--center { margin-inline: auto; text-align: center; }
.ewc-shead h2 { margin-bottom: var(--s-4); }
.ewc-shead p { color: var(--c-ink-2); font-size: 1.125rem; }

/* --- Service cards ----------------------------------------------------- */
.ewc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-6);
}
.ewc-cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ewc-cards--features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-5); }

.ewc-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--s-6);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.ewc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 91, 157, .25);
}
.ewc-card--featured {
  background: linear-gradient(180deg, var(--c-blue) 0%, var(--c-blue-900) 100%);
  color: var(--c-paper);
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}
.ewc-card--featured .ewc-card__title,
.ewc-card--featured .ewc-card__price { color: var(--c-paper) !important; }
.ewc-card--featured .ewc-card__summary { color: rgba(255, 255, 255, .92) !important; }
.ewc-card--featured .ewc-card__list { color: var(--c-paper); }
.ewc-card--featured .ewc-card__list li::before { background: var(--c-orange); }
.ewc-card--featured .ewc-eyebrow { color: var(--c-orange) !important; }

.ewc-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--c-orange-50);
  color: var(--c-orange-700);
  border-radius: 12px;
  margin-bottom: var(--s-5);
}
.ewc-card__icon svg { width: 24px; height: 24px; }
.ewc-card--featured .ewc-card__icon { background: rgba(240, 103, 35, .18); color: var(--c-orange); }

.ewc-card__title { margin-bottom: var(--s-2); }
.ewc-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-blue);
  margin-bottom: var(--s-4);
  letter-spacing: -.02em;
}
.ewc-card__summary { color: var(--c-ink-2); margin-bottom: var(--s-5); flex-grow: 1; }
.ewc-card__list { list-style: none; padding: 0; margin: 0 0 var(--s-6) 0; }
.ewc-card__list li {
  position: relative;
  padding-left: 1.5rem;
  padding-block: .25rem;
  color: var(--c-ink-2);
  font-size: .9375rem;
}
.ewc-card__list li::before {
  content: ""; position: absolute; left: 0; top: .65rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-orange);
}
/* Featured (blue-background) cards: bulletproof override that beats the base
   .ewc-card__list li rule above. !important is justified here because list text
   contrast is a content-visibility bug, not a stylistic preference. */
.ewc-card--featured .ewc-card__list li,
.ewc-card--featured.ewc-card .ewc-card__list li { color: #FFFFFF !important; }
.ewc-card--featured .ewc-card__list li::before { background: var(--c-orange) !important; }

.ewc-card .ewc-btn { align-self: flex-start; margin-top: auto; }
.ewc-card--featured .ewc-btn--primary { background: var(--c-paper); color: var(--c-blue-900); box-shadow: none; }
.ewc-card--featured .ewc-btn--primary:hover { background: var(--c-orange); color: var(--c-paper); }

/* --- Icon utility ----------------------------------------------------- */
.ewc-icon { width: 1.25em; height: 1.25em; display: inline-block; flex-shrink: 0; fill: currentColor; }

/* --- Feature row (alternating image/text) ----------------------------- */
.ewc-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ewc-feature + .ewc-feature { margin-top: var(--s-9); }
.ewc-feature--reverse > :first-child { order: 2; }
.ewc-feature__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--c-cream-2);
  box-shadow: var(--shadow-md);
  display: block;
  width: 100%;
}
/* picture is an inline element by default — force it to fill the aspect-ratio box */
.ewc-feature__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.ewc-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ewc-feature__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 47, 82, .15));
  pointer-events: none;
}
.ewc-feature__body h2 { margin-bottom: var(--s-5); }
.ewc-feature__body p { margin-bottom: var(--s-4); color: var(--c-ink-2); }
.ewc-feature__body p:last-of-type { margin-bottom: var(--s-6); }
.ewc-feature__body ul { padding-left: 1.25rem; color: var(--c-ink-2); margin-bottom: var(--s-6); }
.ewc-feature__body ul li { padding-block: .25rem; }

/* --- Pillar grid (What We Do) ----------------------------------------- */
.ewc-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
}
@media (max-width: 1000px) {
  .ewc-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ewc-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
}
@media (max-width: 420px) {
  .ewc-pillars { grid-template-columns: 1fr; }
}
.ewc-pillar {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.ewc-pillar:hover { transform: translateY(-2px); border-color: var(--c-orange); }
.ewc-pillar__icon {
  width: 40px; height: 40px;
  background: var(--c-blue-50); color: var(--c-blue);
  display: grid; place-items: center; border-radius: 10px;
  flex-shrink: 0;
}
.ewc-pillar__icon svg { width: 22px; height: 22px; }
.ewc-pillar h3 { font-size: 1rem; color: var(--c-blue-900); line-height: 1.25; }
.ewc-pillar p { color: var(--c-muted); font-size: .875rem; margin: 0; line-height: 1.5; }

/* --- Testimonials ----------------------------------------------------- */
.ewc-quote {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--s-7);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.ewc-quote::before {
  content: """;
  position: absolute; top: -.4em; left: var(--s-5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6rem; line-height: 1;
  color: var(--c-orange);
  opacity: .35;
}
.ewc-quote p { font-size: 1.1875rem; color: var(--c-ink); margin-bottom: var(--s-5); }
.ewc-quote__author { font-weight: 700; color: var(--c-blue-900); }
.ewc-quote__role { color: var(--c-muted); font-size: .9375rem; }

/* --- FAQ accordion ---------------------------------------------------- */
.ewc-faqs { display: grid; gap: var(--s-3); }
.ewc-faq {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out);
}
.ewc-faq[open] { border-color: var(--c-orange); }
.ewc-faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-5) var(--s-6);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  font-weight: 600;
  color: var(--c-blue-900);
  font-size: 1.0625rem;
}
.ewc-faq summary::-webkit-details-marker { display: none; }
.ewc-faq summary::after {
  content: "+";
  font-size: 1.5rem; font-weight: 400; color: var(--c-orange);
  transition: transform var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}
.ewc-faq[open] summary::after { transform: rotate(45deg); }
.ewc-faq__body {
  padding: 0 var(--s-6) var(--s-6);
  color: var(--c-ink-2);
}

/* --- Form styling ----------------------------------------------------- */
.ewc-form { display: grid; gap: var(--s-4); }
.ewc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.ewc-field { display: grid; gap: var(--s-2); }
.ewc-field__label { font-size: .875rem; font-weight: 600; color: var(--c-ink-2); }
.ewc-field input, .ewc-field textarea, .ewc-field select {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--c-paper);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--c-ink);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.ewc-field input:hover, .ewc-field textarea:hover, .ewc-field select:hover { border-color: var(--c-blue); }
.ewc-field input:focus, .ewc-field textarea:focus, .ewc-field select:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(0, 91, 157, .12);
}
.ewc-field textarea { resize: vertical; min-height: 9rem; }
.ewc-field--check { display: flex; gap: var(--s-3); align-items: flex-start; }
.ewc-field--check input { width: 1.125rem; height: 1.125rem; margin-top: .25rem; flex-shrink: 0; accent-color: var(--c-blue); }
.ewc-field--check label { font-size: .9375rem; color: var(--c-ink-2); line-height: 1.5; }
.ewc-form__status { font-size: .9375rem; min-height: 1.5em; }
.ewc-form__status.is-ok  { color: #0a7a44; }
.ewc-form__status.is-err { color: #b9281c; }
.ewc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- CTA band (above footer) ----------------------------------------- */
.ewc-cta-band {
  background:
    radial-gradient(800px 400px at 90% 100%, rgba(240, 103, 35, .25), transparent 60%),
    radial-gradient(700px 400px at 10% 0%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(180deg, var(--c-blue) 0%, var(--c-blue-900) 100%);
  color: var(--c-paper);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}
.ewc-cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: var(--s-7);
  align-items: center;
}
.ewc-cta-band__title { color: var(--c-paper); margin-bottom: var(--s-3); }
.ewc-cta-band__sub { color: rgba(255, 255, 255, .85); max-width: 60ch; }
.ewc-cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* --- Footer ---------------------------------------------------------- */
.ewc-footer { background: var(--c-blue-900); color: rgba(255, 255, 255, .82); padding-top: clamp(3rem, 6vw, 5rem); }
.ewc-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1.4fr;
  gap: var(--s-7);
  padding-bottom: var(--s-8);
}
.ewc-footer__heading { color: var(--c-paper); font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: var(--s-5); }
.ewc-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.ewc-footer__list a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .9375rem; transition: color var(--dur-fast); }
.ewc-footer__list a:hover { color: var(--c-orange); }
.ewc-footer__col--brand { max-width: 32ch; }
.ewc-footer__tagline { color: rgba(255, 255, 255, .7); margin-block: var(--s-3) var(--s-5); font-size: .9375rem; }
.ewc-brand--footer { color: var(--c-paper); }
.ewc-brand--footer:hover { color: var(--c-orange); }
.ewc-brand--footer .ewc-brand__name strong { color: var(--c-orange); }
/* Custom-uploaded site logo sized for the dark footer. If your logo has dark
   navy elements that disappear on the footer bg, upload a light/white version
   via WP Admin > Appearance > Customize > Site Identity. */
.ewc-brand__mark--footer {
  width: auto;
  height: 56px;
  max-width: 220px;
  object-fit: contain;
}
.ewc-footer__copy { font-size: .9375rem; margin-bottom: var(--s-5); color: rgba(255, 255, 255, .75); }

.ewc-social { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--s-3); }
.ewc-social a {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--c-paper);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.ewc-social a:hover { background: var(--c-orange); color: var(--c-paper); }
.ewc-social svg { width: 18px; height: 18px; }

.ewc-footer__col--newsletter .ewc-form { gap: var(--s-3); }
.ewc-footer__col--newsletter .ewc-field input {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .15);
  color: var(--c-paper);
}
.ewc-footer__col--newsletter .ewc-field input::placeholder { color: rgba(255, 255, 255, .55); }
.ewc-footer__col--newsletter .ewc-field input:focus { background: rgba(255, 255, 255, .12); border-color: var(--c-orange); box-shadow: 0 0 0 4px rgba(240, 103, 35, .15); }
.ewc-footer__col--newsletter .ewc-field__label { color: rgba(255, 255, 255, .8); }

.ewc-footer__base { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: var(--s-5); }
.ewc-footer__base-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.ewc-footer__copyright { font-size: .875rem; color: rgba(255, 255, 255, .65); margin: 0; }
.ewc-footer__legal { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--s-5); flex-wrap: wrap; }
.ewc-footer__legal a { color: rgba(255, 255, 255, .65); font-size: .875rem; text-decoration: none; transition: color var(--dur-fast); }
.ewc-footer__legal a:hover { color: var(--c-orange); }

/* --- Page header (inner pages) --------------------------------------- */
.ewc-pagehead {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 4.5vw, 4rem) clamp(1.5rem, 2.5vw, 2.25rem);
  background:
    radial-gradient(900px 400px at 88% -10%, rgba(240, 103, 35, .14), transparent 60%),
    radial-gradient(700px 300px at 8% 110%, rgba(0, 91, 157, .08), transparent 60%),
    linear-gradient(180deg, var(--c-cream) 0%, var(--c-paper) 100%);
  text-align: center;
}
.ewc-pagehead__eyebrow { color: var(--c-orange-700); margin-bottom: var(--s-3); }
.ewc-pagehead h1 {
  margin-bottom: var(--s-3);
  font-size: clamp(2rem, 3.4vw + .25rem, 3.25rem);  /* tighter than home hero */
}
.ewc-pagehead p {
  color: var(--c-ink-2);
  font-size: 1.0625rem;
  max-width: 56ch;
  margin-inline: auto;
}
.ewc-pagehead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);                  /* generous breathing room between buttons */
  justify-content: center;
  margin-top: var(--s-6);
}
.ewc-pagehead__actions .ewc-btn { padding: .85rem 1.5rem; font-size: 1rem; }

/* Mobile: stack the buttons full-width so neither one feels secondary. */
@media (max-width: 600px) {
  .ewc-pagehead__actions { flex-direction: column; align-items: stretch; gap: var(--s-3); }
  .ewc-pagehead__actions .ewc-btn { justify-content: center; width: 100%; }
}

/* Reusable CTA strip used by end-of-section "ready to do X?" blocks.
   Replaces the old inline `style="display:flex;gap:var(--s-3);..."` strings. */
.ewc-cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
  justify-content: center;
  align-items: center;
  margin-top: var(--s-6);
}
@media (max-width: 600px) {
  .ewc-cta-strip { flex-direction: column; align-items: stretch; gap: var(--s-3); }
  .ewc-cta-strip .ewc-btn { justify-content: center; width: 100%; }
}

/* Subtle decorative motif anchored to the corners — never blocks content,
   gives every inner page a brand-aligned visual hook without per-page art. */
.ewc-pagehead::before,
.ewc-pagehead::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .12;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.ewc-pagehead::before {
  /* Sun rays in the top-right */
  top: -40px; right: -40px; width: 220px; height: 220px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='%23F06723'><circle cx='50' cy='50' r='14'/><g stroke='%23F06723' stroke-width='4' stroke-linecap='round'><line x1='50' y1='10' x2='50' y2='25'/><line x1='50' y1='75' x2='50' y2='90'/><line x1='10' y1='50' x2='25' y2='50'/><line x1='75' y1='50' x2='90' y2='50'/><line x1='22' y1='22' x2='32' y2='32'/><line x1='68' y1='68' x2='78' y2='78'/><line x1='22' y1='78' x2='32' y2='68'/><line x1='68' y1='32' x2='78' y2='22'/></g></g></svg>");
}
.ewc-pagehead::after {
  /* Mountain ridge in the bottom-left */
  bottom: -30px; left: -30px; width: 280px; height: 140px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'><path fill='%23005B9D' d='M0 100 L30 50 L55 70 L80 30 L110 65 L140 25 L170 60 L200 40 L200 100 Z'/></svg>");
}
@media (max-width: 760px) {
  .ewc-pagehead::before { width: 140px; height: 140px; top: -30px; right: -30px; }
  .ewc-pagehead::after  { width: 180px; height: 90px;  bottom: -20px; left: -20px; }
}

.ewc-crumbs { font-size: .875rem; color: var(--c-muted); margin-bottom: var(--s-4); position: relative; z-index: 1; }
.ewc-crumbs a { color: var(--c-muted); text-decoration: none; }
.ewc-crumbs a:hover { color: var(--c-blue); }
.ewc-crumbs span { color: var(--c-ink-2); }
/* Keep all page-head content above the decorative pseudo-elements */
.ewc-pagehead > .ewc-wrap { position: relative; z-index: 1; }

/* --- Prose (blog/page content) --------------------------------------- */
.ewc-prose { max-width: 70ch; margin-inline: auto; font-size: 1.0625rem; line-height: 1.75; color: var(--c-ink); }
.ewc-prose > * + * { margin-top: var(--s-5); }
.ewc-prose h2 { margin-top: var(--s-8); }
.ewc-prose h3 { margin-top: var(--s-7); }
.ewc-prose p { color: var(--c-ink-2); }
.ewc-prose ul, .ewc-prose ol { padding-left: 1.5rem; color: var(--c-ink-2); }
.ewc-prose li + li { margin-top: var(--s-2); }
.ewc-prose blockquote {
  border-left: 4px solid var(--c-orange);
  padding-left: var(--s-5);
  color: var(--c-blue-900);
  font-style: italic;
  font-size: 1.125rem;
}
.ewc-prose img { border-radius: var(--radius); margin-block: var(--s-6); }
.ewc-prose a { color: var(--c-blue); }

/* --- Blog index cards ----------------------------------------------- */
.ewc-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-6);
}
.ewc-post-card {
  display: flex; flex-direction: column;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.ewc-post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ewc-post-card__media { aspect-ratio: 16 / 10; background: var(--c-cream-2); }
.ewc-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ewc-post-card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex-grow: 1; }
.ewc-post-card__meta { font-size: .8125rem; color: var(--c-muted); }
.ewc-post-card h3 { font-size: 1.25rem; }
.ewc-post-card h3 a { color: var(--c-blue-900); text-decoration: none; }
.ewc-post-card h3 a:hover { color: var(--c-orange-700); }
.ewc-post-card__excerpt { color: var(--c-ink-2); flex-grow: 1; }
.ewc-post-card__more { color: var(--c-blue); font-weight: 600; text-decoration: none; font-size: .9375rem; }

/* --- Pagination ----------------------------------------------------- */
.ewc-pagination { display: flex; gap: var(--s-2); justify-content: center; margin-top: var(--s-8); }
.ewc-pagination a, .ewc-pagination span {
  display: inline-grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 var(--s-3);
  border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
  color: var(--c-ink-2);
  background: var(--c-cream);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.ewc-pagination a:hover { background: var(--c-blue-50); color: var(--c-blue); }
.ewc-pagination .current { background: var(--c-blue); color: var(--c-paper); }

/* ============================================================
   Long-form info-page components — used by Theraphi, Men's Health,
   Heart-Mind, Wellness Coaching. Keeps every info page on the same
   visual rhythm so the desktop experience stops feeling like prose-dump.
   ============================================================ */

/* Lede block — one larger paragraph above the structured content */
.ewc-lede-block {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--c-ink-2);
}

/* Two-column "story" layout with sticky aside on desktop.
   Used to break up walls of prose with a contextual card on the right. */
.ewc-story {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: flex-start;
}
.ewc-story__main { min-width: 0; }
.ewc-story__main > * + * { margin-top: var(--s-5); }
.ewc-story__main h2 { margin-top: var(--s-7); }
.ewc-story__main h3 { margin-top: var(--s-6); }
.ewc-story__main p, .ewc-story__main li { color: var(--c-ink-2); line-height: 1.7; }
.ewc-story__main ul, .ewc-story__main ol { padding-left: 1.25rem; }
.ewc-story__main blockquote {
  border-left: 4px solid var(--c-orange);
  padding: var(--s-3) var(--s-5);
  background: var(--c-orange-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--c-blue-900);
  font-size: 1.0625rem;
}
.ewc-story__aside {
  position: sticky;
  top: calc(var(--header-h) + var(--s-5));
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--s-6);
  box-shadow: var(--shadow-sm);
}
.ewc-story__aside h3 { font-size: 1.0625rem; margin-bottom: var(--s-4); color: var(--c-blue-900); }
.ewc-story__aside .ewc-aside__price {
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 800;
  color: var(--c-blue); letter-spacing: -.02em; line-height: 1;
  margin: var(--s-3) 0 var(--s-2);
}
.ewc-story__aside .ewc-aside__detail {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--c-line);
  font-size: .9375rem; color: var(--c-ink-2);
}
.ewc-story__aside .ewc-aside__detail:first-of-type { border-top: 0; }
.ewc-story__aside .ewc-aside__detail svg { color: var(--c-orange-700); flex-shrink: 0; margin-top: 2px; }
.ewc-story__aside .ewc-btn { width: 100%; justify-content: center; margin-top: var(--s-4); }

/* Numbered/icon "principle" or "factor" card grid */
.ewc-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-5);
}
.ewc-principle {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--s-6);
  display: flex; flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.ewc-principle:hover { transform: translateY(-3px); border-color: var(--c-orange); box-shadow: var(--shadow-md); }
.ewc-principle__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-700) 100%);
  color: var(--c-paper);
  border-radius: 12px;
  font-weight: 800; font-size: 1.125rem;
  margin-bottom: var(--s-4);
  box-shadow: 0 4px 12px rgba(214, 83, 28, .35);
}
.ewc-principle__num--icon {
  background: var(--c-blue-50);
  color: var(--c-blue);
  box-shadow: none;
}
.ewc-principle__num--icon svg { width: 22px; height: 22px; }
.ewc-principle h3 { font-size: 1.125rem; margin-bottom: var(--s-3); color: var(--c-blue-900); }
.ewc-principle p { color: var(--c-ink-2); font-size: .9375rem; line-height: 1.6; margin: 0; }
.ewc-principle__more { margin-top: var(--s-4); font-size: .875rem; font-weight: 600; color: var(--c-blue); text-decoration: none; }
.ewc-principle__more:hover { color: var(--c-orange-700); }
/* Inside a --blue section, principles get a translucent surface */
.ewc-section--blue .ewc-principle {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}
.ewc-section--blue .ewc-principle h3 { color: var(--c-paper); }
.ewc-section--blue .ewc-principle p { color: rgba(255, 255, 255, .82); }

/* Benefit category panel (3-column grouped lists) */
.ewc-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
}
.ewc-benefit-cat {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--s-6);
}
.ewc-benefit-cat h3 {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: 1.0625rem;
  margin-bottom: var(--s-4);
  color: var(--c-blue-900);
}
.ewc-benefit-cat h3 svg {
  width: 28px; height: 28px; padding: 6px; border-radius: 10px;
  background: var(--c-orange-50); color: var(--c-orange-700);
}
.ewc-benefit-cat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.ewc-benefit-cat li { position: relative; padding-left: 1.75rem; color: var(--c-ink-2); font-size: .9375rem; line-height: 1.5; }
.ewc-benefit-cat li::before {
  content: "";
  position: absolute; left: 0; top: .15em;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7430E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Numbered timeline (session walkthrough, program weeks, etc.) */
.ewc-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-5);
  counter-reset: step;
}
.ewc-timeline__step {
  position: relative;
  padding: var(--s-5);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  counter-increment: step;
}
.ewc-timeline__step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--c-blue);
  color: var(--c-paper);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  position: absolute; top: -18px; left: var(--s-5);
  box-shadow: 0 4px 10px rgba(0, 91, 157, .3);
}
.ewc-timeline__step h4 { font-size: 1rem; color: var(--c-blue-900); margin: var(--s-3) 0 var(--s-2); }
.ewc-timeline__step p { color: var(--c-ink-2); font-size: .9375rem; line-height: 1.5; margin: 0; }

/* Big numeric callout — used at the top of long-form pages */
.ewc-keystats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s-5);
  padding: var(--s-6);
  background: var(--c-cream);
  border-radius: var(--radius);
  margin-bottom: var(--s-7);
}
.ewc-keystat { text-align: center; }
.ewc-keystat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1;
  letter-spacing: -.02em;
}
.ewc-keystat__label { display: block; color: var(--c-muted); font-size: .875rem; margin-top: var(--s-2); }

/* ============================================================
   Featured banner — used as a full-width "hero card" for the flagship
   service on the /services/ page. Big, loud, with diagonal ribbon,
   3 icon benefits, and an orange-glow hover state.
   ============================================================ */
.ewc-banner-featured {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: var(--radius);
  background:
    radial-gradient(800px 400px at 110% 10%, rgba(240, 103, 35, .18), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(255, 255, 255, .06), transparent 60%),
    linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-900) 100%);
  color: var(--c-paper);
  text-decoration: none;          /* the whole banner is an <a>; kill link underline */
  box-shadow: 0 18px 40px rgba(0, 91, 157, .25), 0 4px 12px rgba(0, 47, 82, .15);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  isolation: isolate; /* contain the ::after ribbon and ::before glow */
}
.ewc-banner-featured,
.ewc-banner-featured:hover,
.ewc-banner-featured:focus,
.ewc-banner-featured:visited { color: var(--c-paper); text-decoration: none; }

/* Orange glow on hover — both an outer ring and a deeper shadow. */
.ewc-banner-featured::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(240, 103, 35, 0) 0%, rgba(240, 103, 35, .55) 50%, rgba(240, 103, 35, 0) 100%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  z-index: -1;
  filter: blur(18px);
  pointer-events: none;
}
.ewc-banner-featured:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(240, 103, 35, .55),
    0 28px 60px rgba(240, 103, 35, .35),
    0 12px 28px rgba(0, 91, 157, .35);
}
.ewc-banner-featured:hover::before { opacity: 1; }

/* Diagonal "Most Popular" ribbon, top-right corner. */
.ewc-banner-featured::after {
  content: "Most Popular";
  position: absolute;
  top: 28px;
  right: -64px;
  width: 240px;
  padding: 8px 0;
  background: linear-gradient(135deg, var(--c-orange) 0%, var(--c-orange-700) 100%);
  color: var(--c-paper);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(214, 83, 28, .45);
  pointer-events: none;
}

.ewc-banner-featured__body { min-width: 0; display: flex; flex-direction: column; }
.ewc-banner-featured .ewc-eyebrow {
  color: var(--c-orange) !important;
  margin-bottom: var(--s-3);
}
.ewc-banner-featured__title {
  color: var(--c-paper) !important;
  font-size: clamp(1.875rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  margin-bottom: var(--s-4);
  letter-spacing: -.02em;
  max-width: 18ch;
}
.ewc-banner-featured__lede {
  color: rgba(255, 255, 255, .92) !important;
  font-size: 1.0625rem;
  line-height: 1.55;
  margin-bottom: var(--s-6);
  max-width: 52ch;
}

.ewc-banner-featured__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5);
  padding: var(--s-5) 0 var(--s-4);
  margin-top: auto;          /* push to the bottom of the body column */
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.ewc-banner-featured__benefit { display: flex; flex-direction: column; gap: var(--s-2); }
.ewc-banner-featured__benefit svg {
  width: 28px; height: 28px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(240, 103, 35, .15);
  color: var(--c-orange);
  flex-shrink: 0;
}
.ewc-banner-featured__benefit strong {
  color: var(--c-paper);
  font-size: .9375rem;
  line-height: 1.3;
}
.ewc-banner-featured__benefit span {
  color: rgba(255, 255, 255, .75);
  font-size: .8125rem;
  line-height: 1.5;
}

/* Right column: price + CTA stack. */
.ewc-banner-featured__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-4);
  padding-left: clamp(0rem, 2vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.ewc-banner-featured__price {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1;
}
.ewc-banner-featured__price-num {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--c-paper);
}
.ewc-banner-featured__price-unit {
  display: block;
  margin-top: var(--s-2);
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-orange);
}
.ewc-banner-featured__price-sub {
  color: rgba(255, 255, 255, .7);
  font-size: .875rem;
  max-width: 28ch;
}
.ewc-banner-featured__cta .ewc-btn {
  align-self: stretch;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1.0625rem;
}
.ewc-banner-featured__cta .ewc-btn--primary {
  background: var(--c-paper);
  color: var(--c-blue-900);
}
.ewc-banner-featured__cta .ewc-btn--primary:hover {
  background: var(--c-orange);
  color: var(--c-paper);
}
.ewc-banner-featured__cta-note {
  color: rgba(255, 255, 255, .65);
  font-size: .8125rem;
  text-align: center;
  width: 100%;
}

/* Reduce-motion users get static shadow, no transform. */
@media (prefers-reduced-motion: reduce) {
  .ewc-banner-featured:hover { transform: none; }
}

@media (max-width: 960px) {
  .ewc-banner-featured {
    grid-template-columns: 1fr;
    padding: clamp(1.75rem, 4vw, 2.5rem);
  }
  .ewc-banner-featured__cta {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: var(--s-5);
  }
  .ewc-banner-featured__title { max-width: none; }
}
@media (max-width: 560px) {
  .ewc-banner-featured__benefits { grid-template-columns: 1fr; gap: var(--s-3); }
  .ewc-banner-featured::after {
    top: 18px; right: -72px; width: 210px;
    font-size: .6875rem; padding: 6px 0;
  }
}

/* Promise / closing-statement card — used at the bottom of long-form pages
   right before the final blue CTA strip. Gives the section visual presence
   without competing with the CTA below. */
.ewc-promise {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  background:
    radial-gradient(900px 360px at 50% -20%, rgba(240, 103, 35, .08), transparent 60%),
    linear-gradient(180deg, var(--c-cream) 0%, var(--c-paper) 100%);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.ewc-promise h2 { margin-bottom: var(--s-4); }
.ewc-promise p {
  color: var(--c-ink-2);
  font-size: 1.125rem;
  max-width: 60ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* Section header variant with optional CTA on the right */
.ewc-shead--row {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: var(--s-5); flex-wrap: wrap;
}
.ewc-shead--row > div { max-width: 60ch; }

/* Responsive collapses */
@media (max-width: 960px) {
  .ewc-story { grid-template-columns: 1fr; }
  .ewc-story__aside { position: static; }
}
@media (max-width: 760px) {
  .ewc-keystats { padding: var(--s-5); }
}

/* --- Booking page ([bookme] container) --------------------------- */
.ewc-book__trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4) var(--s-5);
  padding: var(--s-5);
  margin-bottom: var(--s-6);
  background: var(--c-cream);
  border-radius: var(--radius);
}
.ewc-book__trust-item {
  display: flex; align-items: center; gap: var(--s-3);
  font-size: .9375rem; color: var(--c-ink-2);
}
.ewc-book__trust-item strong { color: var(--c-ink); font-weight: 700; }
.ewc-book__trust-item svg {
  width: 18px; height: 18px;
  padding: 3px;
  background: var(--c-orange-50);
  color: var(--c-orange-700);
  border-radius: 50%;
  flex-shrink: 0;
}

.ewc-book__calendar {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
/* Most booking plugins inject a <div> wrapper inside the shortcode. Make sure
   it can flow naturally and never bursts the container. */
.ewc-book__calendar > * { max-width: 100%; }
.ewc-book__calendar iframe { width: 100%; min-height: 600px; border: 0; display: block; }

.ewc-book__fallback {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.ewc-book__fallback h2 { margin-bottom: var(--s-4); }
.ewc-book__fallback p { color: var(--c-ink-2); max-width: 56ch; margin: 0 auto var(--s-5); }
.ewc-book__admin-note {
  margin-top: var(--s-6) !important;
  padding: var(--s-3) var(--s-4);
  background: var(--c-blue-50);
  border-left: 3px solid var(--c-blue);
  border-radius: var(--radius-sm);
  font-size: .875rem !important;
  color: var(--c-blue-900) !important;
  text-align: left !important;
}

.ewc-book__below {
  margin-top: var(--s-6);
  text-align: center;
  color: var(--c-muted);
  font-size: .9375rem;
}
.ewc-book__below p { margin: 0 0 var(--s-2); }

/* --- 404 ----------------------------------------------------------- */
.ewc-404 { text-align: center; padding-block: clamp(4rem, 8vw, 7rem); }
.ewc-404__num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-blue), var(--c-orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: var(--s-5);
}

/* --- Free consult hero ---------------------------------------------- */
.ewc-landing {
  background:
    radial-gradient(700px 400px at 85% 30%, rgba(240, 103, 35, .12), transparent 60%),
    linear-gradient(180deg, var(--c-cream) 0%, var(--c-paper) 100%);
  padding-block: clamp(4rem, 7vw, 6rem);
}
.ewc-landing__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ewc-landing__bullets { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); display: grid; gap: var(--s-3); }
.ewc-landing__bullets li { padding-left: 2.25rem; position: relative; color: var(--c-ink-2); min-height: 24px; }
.ewc-landing__bullets li::before {
  content: "";
  position: absolute; left: 0; top: .15em;
  width: 24px; height: 24px;
  border-radius: 50%;
  background-color: var(--c-orange);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* --- Responsive ----------------------------------------------------- */
@media (max-width: 980px) {
  .ewc-footer__grid { grid-template-columns: 1fr 1fr; }
  .ewc-cta-band__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .ewc-feature { grid-template-columns: 1fr; }
  .ewc-feature--reverse > :first-child { order: 0; }
  .ewc-landing__grid { grid-template-columns: 1fr; }
  .ewc-field-row { grid-template-columns: 1fr; }
  .ewc-footer__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .ewc-cta-band__actions { flex-direction: column; align-items: stretch; }
  .ewc-cta-band__actions .ewc-btn { justify-content: center; }
}
