/* =========================================================================
   Mindfully Consulting Group - styles
   Standalone. No build step. Edit the token block below to re-skin.
   ========================================================================= */

:root {
  /* ---- Color tokens (deep-space instrument palette) ---- */
  --bg:          #060912;   /* near-black navy */
  --bg-2:        #0b1220;   /* raised panel */
  --bg-3:        #0f1828;   /* card */
  --bg-elev:     #13203a;   /* hover / elevated card */
  --line:        #243352;   /* hairline borders (brighter, more visible) */
  --line-soft:   #18253c;   /* subtler divider */
  --ink:         #f3f7ff;   /* primary text - near white, high contrast */
  --ink-soft:    #c2cee4;   /* secondary text - raised for readability */
  --ink-faint:   #8595b3;   /* tertiary / labels - brighter than before */
  --accent:      #5fe0cf;   /* signal teal (a touch brighter) */
  --accent-2:    #7ab0ff;   /* data blue */
  --accent-warm: #ffc06b;   /* prediction amber */
  --danger:      #ff7a7a;

  /* ---- Type ---- */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* ---- Spacing / layout ---- */
  --wrap:    1400px;
  --gutter:  clamp(1.5rem, 5vw, 5rem);
  --radius:  18px;
  --radius-sm: 11px;

  /* ---- Depth ---- */
  --shadow-sm: 0 2px 10px -4px rgba(0,0,0,.5);
  --shadow:    0 24px 60px -30px rgba(0,0,0,.7);
  --ring:      inset 0 1px 0 rgba(255,255,255,.04);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 17px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: #04201c; }

/* visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--accent); color: #04201c; padding: .6rem 1rem;
  border-radius: 0 0 8px 8px; font-weight: 600; z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__mark {
  display: inline-grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  width: 22px; padding: 2px;
}
.brand__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 3.6s var(--ease) infinite;
}
.brand__dot:nth-child(2){ background: var(--accent-2); animation-delay: .4s; }
.brand__dot:nth-child(3){ background: var(--accent-warm); animation-delay: .8s; }
@keyframes pulse { 0%,100%{ opacity:.35; transform:scale(.8);} 50%{ opacity:1; transform:scale(1);} }
.brand__text { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; display: flex; flex-direction: column; }
.brand__sub { font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { color: var(--ink-soft); font-size: .95rem; transition: color .2s var(--ease); }
.site-nav a:hover { color: var(--ink); }
.site-nav__cta {
  color: var(--ink) !important; border: 1px solid var(--line);
  padding: .5rem 1.1rem; border-radius: 999px;
  background: var(--bg-2);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.site-nav__cta:hover { border-color: var(--accent); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: .5rem var(--gutter) 1.25rem; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mobile-nav a { padding: .85rem 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; color: var(--accent); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04201c;
  box-shadow: 0 8px 30px -10px color-mix(in srgb, var(--accent) 60%, transparent);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: color-mix(in srgb, var(--bg-2) 70%, transparent); }
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(94vh, 900px); display: flex; align-items: center; padding: 8rem 0 5rem; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; z-index: 0; }
.hero__poster {
  position: absolute; inset: 0;
  /* keep the glow on the RIGHT so the left stays a calm dark zone for text */
  background:
    radial-gradient(80% 70% at 82% 22%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 55%),
    radial-gradient(70% 70% at 95% 80%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
    var(--bg);
}
.hero__poster::after {
  /* faint instrument grid, only on the right */
  content: ""; position: absolute; inset: 0; opacity: .22;
  background-image:
    linear-gradient(color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 70%, transparent) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(90% 90% at 85% 35%, #000 20%, transparent 70%);
}
/* canvas is contained to the right and fades into the dark on its left edge */
.hero__canvas {
  position: absolute; inset: 0; left: auto; right: 0;
  width: 72%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
}
.hero__canvas.is-ready { opacity: .95; }
/* strong veil: near-solid behind the text, clearing toward the right */
.hero__stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, color-mix(in srgb, var(--bg) 50%, transparent) 58%, transparent 82%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__content { position: relative; z-index: 1; max-width: 720px; }
.hero__eyebrow {
  font-family: var(--font-display); font-size: .82rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.75rem;
  overflow-wrap: anywhere;
}
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -.03em;
  margin-bottom: 1.75rem; text-wrap: balance;
}
.grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, var(--accent-warm));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.6; color: var(--ink-soft); max-width: 54ch; margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }

/* Break the stats row out of the 720px text column so all three sit side by side. */
.hero__stats { display: flex; flex-wrap: nowrap; gap: clamp(1.5rem, 4vw, 3.5rem); width: max-content; max-width: min(920px, 100%); }
.hero__stats div { display: flex; flex-direction: column; position: relative; padding-left: 1.1rem; flex: 1 1 0; min-width: 0; }
.hero__stats div::before { content: ""; position: absolute; left: 0; top: .15rem; bottom: .15rem; width: 2px; background: linear-gradient(var(--accent), transparent); border-radius: 2px; }
.hero__stats dt { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--ink); }
.hero__stats dt span { color: var(--accent); }
.hero__stats dd { font-size: .88rem; color: var(--ink-faint); margin-top: .45rem; max-width: 16ch; line-height: 1.4; }

.hero__scroll { position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: start center; padding-top: 7px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--accent); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{ transform: translateY(0); opacity: 1;} 70%{ transform: translateY(14px); opacity: 0;} 100%{ opacity: 0;} }

/* ---------------------------------------------------------------- trust strip */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.1rem; }
.strip__label { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.strip__list { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.strip__list li { font-size: .95rem; color: var(--ink-soft); position: relative; }
.strip__list li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: .55rem; vertical-align: middle; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(5rem, 9vw, 8.5rem); }
.section__head { max-width: 760px; margin-bottom: clamp(2.75rem, 5vw, 4.25rem); }
.section__eyebrow { font-family: var(--font-display); font-size: .82rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.section__lede { color: var(--ink-soft); font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.6; margin-top: 1.4rem; max-width: 58ch; }

/* ---------------------------------------------------------------- manifesto */
.manifesto { padding-block: clamp(4.5rem, 8vw, 7.5rem); position: relative; }
/* a quiet hairline rule above to set it apart, expert/editorial */
.manifesto::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.manifesto__inner { max-width: 940px; }
.manifesto__title { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12; }
.manifesto__text { margin-top: 1.9rem; color: var(--ink-soft); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.65; max-width: 64ch; }

/* ---------------------------------------------------------------- capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cap-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cap-grid--4 .cap-card { padding: 1.75rem; }
.cap-grid--4 .cap-card__title { font-size: 1.25rem; }
.cap-card {
  position: relative; padding: 2.1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  box-shadow: var(--shadow-sm), var(--ring);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.cap-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
}
/* a thin accent line that draws in on the top edge - subtle 'senior' detail */
.cap-card::after {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .4s var(--ease);
}
.cap-card:hover, .cap-card:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.cap-card:hover::before, .cap-card:focus-visible::before { opacity: 1; }
.cap-card:hover::after, .cap-card:focus-visible::after { width: 100%; }
.cap-card__glyph { width: 52px; height: 52px; margin-bottom: 1.6rem; color: var(--accent); display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--accent) 6%, transparent); padding: 11px; }
.cap-card__glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap-card__glyph svg .fill { fill: currentColor; stroke: none; }
.cap-card__glyph svg .faint { opacity: .35; }
.cap-card__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: .9rem; letter-spacing: -.01em; }
.cap-card__text { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; margin-bottom: 1.4rem; }
.cap-card__list { padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }
.cap-card__list li { font-size: .94rem; color: var(--ink-soft); padding-left: 1.5rem; position: relative; margin-bottom: .6rem; }
.cap-card__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border: 1.5px solid var(--accent); border-radius: 50%; }

/* ---------------------------------------------------------------- approach */
.approach { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 2.5rem; border-top: 2px solid var(--line); }
.step::after { content: ""; position: absolute; left: 0; top: -2px; width: 38px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.step__num { font-family: var(--font-display); font-size: .9rem; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.step__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: .7rem 0 .7rem; letter-spacing: -.01em; }
.step__text { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }

/* ---------------------------------------------------------------- proof */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3.5rem; }
.proof-card { padding: 2.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); box-shadow: var(--shadow-sm), var(--ring); }
.proof-card__metric { display: flex; align-items: baseline; gap: .15rem; margin-bottom: 1.1rem; }
.proof-card__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 5vw, 3.8rem); line-height: 1; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof-card__unit { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--accent); }
.proof-card figcaption { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }

.quote { max-width: 820px; margin-inline: auto; text-align: center; padding: 3rem 0 1rem; position: relative; }
.quote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 5rem; line-height: .6; color: var(--accent); opacity: .35; margin-bottom: .5rem; }
.quote p { font-family: var(--font-display); font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 500; line-height: 1.38; letter-spacing: -.015em; color: var(--ink); }
.quote footer { margin-top: 1.75rem; color: var(--ink-faint); font-size: 1rem; }
.quote__note { opacity: .7; }

/* review carousel */
.quote-carousel { max-width: 860px; margin-inline: auto; }
.quote-carousel__track { list-style: none; margin: 0; padding: 0; }
.quote-carousel__slide { animation: quote-fade .5s var(--ease); }
.quote-carousel__slide[hidden] { display: none; }
@keyframes quote-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quote-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.5rem; }
.quote-carousel__btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line);
  background: var(--bg-3); color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.quote-carousel__btn:hover { border-color: var(--accent); color: var(--accent); }
.quote-carousel__dots { display: flex; gap: .5rem; }
.quote-carousel__dot {
  width: .55rem; height: .55rem; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--ink-faint); opacity: .4; transition: opacity .2s var(--ease), background .2s var(--ease);
}
.quote-carousel__dot.is-active { opacity: 1; background: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .quote-carousel__slide { animation: none; }
}

/* ---------------------------------------------------------------- contact */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__direct { margin-top: 2.5rem; display: grid; gap: 1.1rem; }
.contact__direct li { display: flex; flex-direction: column; gap: .2rem; }
.contact__direct span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.contact__direct a { color: var(--accent); }
.contact__direct a:hover { text-decoration: underline; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; color: var(--ink); font-weight: 500; }
.field .opt { color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .8rem .9rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--danger); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form__footer { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form-status { font-size: .9rem; color: var(--ink-soft); }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--accent); }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand--footer .brand__text { font-size: 1rem; }
.site-footer__tag { color: var(--ink-faint); font-size: .85rem; }
.site-footer__legal { color: var(--ink-faint); font-size: .82rem; }

/* ---------------------------------------------------------------- reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */

/* Large desktop: cap the line lengths but let the shell breathe */
@media (min-width: 1600px) {
  :root { --wrap: 1480px; }
}

/* Laptop / small desktop: 4-up capabilities → 2-up, steps stay 4 then wrap */
@media (max-width: 1180px) {
  .cap-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}

/* Tablet */
@media (max-width: 960px) {
  .cap-grid, .proof-grid { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  /* hero: scene moves behind everything, dimmer, with a top-down veil */
  .hero__canvas { width: 100%; opacity: 0; -webkit-mask-image: none; mask-image: none; }
  .hero__canvas.is-ready { opacity: .45; }
  .hero__stage::after {
    background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 30%, transparent) 0%, var(--bg) 88%);
  }
  .hero__poster { background:
    radial-gradient(80% 55% at 70% 20%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 60%),
    var(--bg); }
}

/* Large phone / small tablet */
@media (max-width: 720px) {
  html { font-size: 16px; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.is-open { display: flex; }
  .cap-grid, .cap-grid--4, .steps, .proof-grid, .contact-form { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 6rem 0 4rem; }
  .hero__scroll { display: none; }
  .hero__content { max-width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; text-align: center; } /* full-width tappable buttons */
  .hero__stats { gap: 1.5rem 2rem; }
  .strip__inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Small phone */
@media (max-width: 420px) {
  html { font-size: 15px; }
  :root { --gutter: 1.15rem; }
  /* Too narrow for three across; stack them so the captions stay readable. */
  .hero__stats { flex-direction: column; width: 100%; gap: 1.25rem; }
  .hero__stats div { padding-left: .9rem; flex: 0 0 auto; }
  .hero__stats dd { max-width: none; }
  .quote::before { font-size: 3.5rem; }
}

/* Coarse pointers (touch): remove hover-lift that can feel sticky on tap */
@media (hover: none) {
  .cap-card:hover { transform: none; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__canvas { display: none; } /* keep the static poster only */
}

/* ====================================================================
   WORDPRESS EMBED - full-bleed breakout
   When rendered via the [mindfully_consulting] shortcode the site sits
   inside the theme's constrained content column (~1140px), which makes
   everything look narrow. This breaks the embed out to the full
   viewport width regardless of the parent container, and neutralises
   theme padding. Scoped to .mcg-embed so the standalone site is
   completely unaffected.
   ==================================================================== */
.mcg-embed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* re-establish the design's own background + text colors over the theme */
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}
/* Neutralise theme styles that commonly leak into shortcode output */
.mcg-embed *,
.mcg-embed *::before,
.mcg-embed *::after { box-sizing: border-box; }
.mcg-embed ul { list-style: none; margin: 0; padding: 0; }
.mcg-embed a { text-decoration: none; }
.mcg-embed img, .mcg-embed svg, .mcg-embed canvas { max-width: 100%; }
/* Some themes add max-width/margins to direct children - keep our sections full */
.mcg-embed > * { max-width: none; }

/* Defend the grid layouts against theme CSS that forces display:block / single column.
   Scoped to .mcg-embed and marked !important ONLY here so the standalone site stays clean. */
.mcg-embed .cap-grid,
.mcg-embed .proof-grid,
.mcg-embed .steps { display: grid !important; }
.mcg-embed .cap-grid    { grid-template-columns: repeat(3, 1fr) !important; }
.mcg-embed .cap-grid--4 { grid-template-columns: repeat(4, 1fr) !important; }
.mcg-embed .proof-grid  { grid-template-columns: repeat(3, 1fr) !important; }
.mcg-embed .steps       { grid-template-columns: repeat(4, 1fr) !important; }
.mcg-embed .contact__inner { display: grid !important; grid-template-columns: 1fr 1.1fr !important; }
.mcg-embed .contact-form   { display: grid !important; grid-template-columns: 1fr 1fr !important; }
.mcg-embed .hero__content,
.mcg-embed .section__head,
.mcg-embed .manifesto__inner { float: none !important; }

@media (max-width: 1180px) {
  .mcg-embed .cap-grid--4 { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 1080px) {
  .mcg-embed .steps { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 960px) {
  .mcg-embed .cap-grid,
  .mcg-embed .proof-grid { grid-template-columns: 1fr 1fr !important; }
  .mcg-embed .contact__inner { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  .mcg-embed .cap-grid,
  .mcg-embed .cap-grid--4,
  .mcg-embed .steps,
  .mcg-embed .proof-grid,
  .mcg-embed .contact-form { grid-template-columns: 1fr !important; }
}
