/* =========================================================
   MONTHLY MARKETING SUPPORT PAGE — section-scoped styles only
   All selectors prefixed with .ms-* (per CLAUDE.md no-cross-section rule).
   The "Marketing that works in your world" band reuses .podcast/.podcast-grid
   from podcast.css; any MS-only override goes under .ms-page or .ms-works.
   ========================================================= */

/* ===== HEADER on light hero ===== */
.ms-page .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.ms-page .site-header .logo img { height: 56px; width: auto; }

/* ===== Visually-hidden helper ===== */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* =========================================================
   HERO — white bg, centered headline, two photo cards floating
   ========================================================= */
.ms-hero {
    position: relative;
    background: #fff;
    padding: 180px 0 96px;
    overflow: hidden;
}

.ms-hero-container {
    position: relative;
    text-align: center;
}

.ms-hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -0.01em;
    color: var(--clr-navy);
    margin: 0 auto 28px;
    max-width: 900px;
}
.ms-hero-title .line { display: block; }

.ms-hero-sub {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--clr-navy);
    max-width: 620px;
    margin: 0 auto 32px;
}
.ms-hero-sub .line { display: block; }

/* No padding/color overrides — canonical .btn .btn-lavender .btn-lg handles it */

/* Photo cards — small rounded rectangles floating left/below + right/above */
.ms-hero-photo {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(26, 31, 54, 0.06);
    z-index: 1;
}
.ms-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.ms-hero-photo--top {
    top: 40px;
    right: 4%;
    width: 180px;
    height: 200px;
}
.ms-hero-photo--bottom {
    top: 247px;
    left: 12%;
    width: 160px;
    height: 200px;
}

/* Decor — brand SVG shapes (yellow circle, lavender ▼, blue half-circle).
   Canonical brand assets: see Hard Rule "Brand shape system" in CLAUDE.md. */
.ms-hero-decor {
    position: absolute;
    pointer-events: none;
    display: block;
}
.ms-hero-decor--yellow { top: 58px; left: 11%; width: 44px; height: auto; }
.ms-hero-decor--triangle { top: 360px; right: 13%; width: 58px; height: auto; }
.ms-hero-decor--blue-half { top: 485px; left: 26%; width: 44px; height: auto; }

@media (max-width: 1024px) {
    .ms-hero { padding: 140px 0 64px; }
    .ms-hero-photo--top {
        position: static; margin: 0 auto 28px; display: block;
        width: 220px; height: 160px;
    }
    .ms-hero-photo--bottom { display: none; }
    /* C4: hide all 3 floating decor shapes on mobile — they collide with
       the centered headline once the photos collapse to a single image. */
    .ms-hero-decor--yellow,
    .ms-hero-decor--triangle,
    .ms-hero-decor--blue-half { display: none; }
}

/* =========================================================
   STUCK — pale lavender bg, comparison row
   ========================================================= */
.ms-stuck {
    background: #ecf0fc;
    padding: var(--section-py) 0;
    text-align: center;
}

.ms-stuck-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.2rem, 4.4vw, 4rem);
    line-height: 1.08;
    color: var(--clr-navy);
    margin: 0 auto 28px;
    max-width: 1000px;
}
.ms-stuck-title .line { display: block; }
.ms-stuck-title strong { font-weight: 600; }

.ms-stuck-lede {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    line-height: 1.4;
    color: var(--clr-navy);
    max-width: 760px;
    margin: 0 auto 28px;
    letter-spacing: 0.2px;
}

.ms-stuck-cue {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-navy);
    margin: 0 0 14px;
}

.ms-stuck-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: start;
    background: rgba(255, 81, 45, 0.1);
    border-radius: 8px;
    padding: 28px 36px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.ms-stuck-arrow { margin-top: 28px; }

.ms-stuck-issues {
    list-style: disc;
    padding-left: 20px;
    color: var(--clr-navy);
}
.ms-stuck-issues li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.ms-stuck-arrow {
    color: var(--clr-red);
    display: block;
}

.ms-stuck-result-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--clr-navy);
    margin: 0 0 8px;
}
.ms-stuck-result p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--clr-navy);
    margin: 0 0 6px;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .ms-stuck-compare {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 20px;
    }
    .ms-stuck-arrow { transform: rotate(90deg); margin: 4px auto; }
    .ms-stuck-issues { display: inline-block; text-align: left; margin: 0 auto; }
}

/* =========================================================
   TIERS — peach/cream bg with intro + comparison table
   ========================================================= */
.ms-tiers {
    position: relative;
    background: #fde9c2;
    padding: var(--section-py) 0;
    overflow: hidden;
    view-timeline-name: --ms-tiers-view;
}

/* Background shapes — the large-shapes-chart SVG tiled horizontally as a
   repeating strip behind the tier comparison table; the strip parallax-
   translates as the user scrolls through the section so the shapes appear
   to drift past. Uses CSS scroll-driven animation (view-timeline); the
   `prefers-reduced-motion` query disables it for accessibility. */
.ms-tiers-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 74%;   /* vertical-center on the chart */
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    height: 320px;
}
.ms-tiers-bg-shapes {
    position: absolute;
    inset: 0 -80%;
    background-image: url('../assets/images/SVG/large-shapes-chart.svg');
    background-repeat: repeat-x;
    background-position: 0 center;
    /* Tile slot is wider than the SVG's natural aspect (5.81:1).
       SVG's default preserveAspectRatio is "xMidYMid meet", which
       letterboxes the artwork inside the slot — leaving transparent
       padding on both sides without distorting the shapes. With repeat-x,
       the right-padding of one tile + left-padding of the next creates
       the visible gap between repetitions. */
    background-size: 2100px 100%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: none;
}
@media (prefers-reduced-motion: reduce) {
    .ms-tiers-bg-shapes { transform: none !important; }
}

/* Make sure the table reads above the bg shapes */
.ms-tiers-table-head,
.ms-tiers-table-wrap,
.ms-tiers-intro,
.ms-tiers-intro-cta { position: relative; z-index: 1; }

.ms-tiers-container { position: relative; }

.ms-tiers-intro {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 140px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto 32px;
}

.ms-tiers-shapes {
    display: flex;
    justify-content: center;
}
.ms-tiers-shapes img {
    width: clamp(110px, 11vw, 160px);
    height: auto;
    display: block;
}

.ms-tiers-intro-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: left;
}

.ms-tiers-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    line-height: 1.05;
    color: var(--clr-navy);
    margin: 0;
}
.ms-tiers-title .line { display: block; }
.ms-tiers-title strong { font-weight: 600; }

.ms-tiers-intro-cta {
    text-align: center;
    margin: 0 auto 56px;
}

/* Red scribble circle around "yours" */
.ms-yours {
    position: relative;
    display: inline-block;
    padding: 0 0.32em 0.06em;
    z-index: 0;
}
.ms-yours::before {
    content: "";
    position: absolute;
    inset: -6% -8% -8% -8%;
    background-image: url('../assets/images/red-circle-scribble.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: -1;
}

.ms-tiers-intro-body {
    max-width: 540px;
    margin: 0;
}
.ms-tiers-intro-body p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--clr-navy);
    margin: 0 0 16px;
    letter-spacing: 0.4px;
}
.ms-tiers-cta { margin-top: 12px; }

/* Table head text */
.ms-tiers-table-head {
    text-align: center;
    margin-bottom: 28px;
}
.ms-tiers-table-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    color: var(--clr-navy);
    margin: 0 0 6px;
    line-height: 1.1;
}
.ms-tiers-table-sub {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    color: var(--clr-navy);
    margin: 0;
}

/* Comparison table */
.ms-tiers-table-wrap {
    max-width: 980px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 16px;
    /* Clip the table's hard cell borders against the rounded mask */
    overflow: hidden;
    border: 1px solid var(--clr-navy);
}

.ms-tiers-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    /* outer border lives on the wrap (so it can be rounded);
       cells supply the internal grid only */
    border: 0;
}
.ms-tiers-table th,
.ms-tiers-table td {
    border: 1px solid var(--clr-navy);
    padding: 14px 16px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--clr-navy);
    vertical-align: middle;
    letter-spacing: 0.2px;
}
.ms-tiers-table thead th {
    color: #fff;
    font-weight: 600;
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    letter-spacing: 0;
    padding: 16px 14px;
    line-height: 1.2;
}
.ms-th-spacer { background: #fff; }
.ms-th--lavender { background: #b2baff; }
.ms-th--yellow   { background: #f6bf00; }
.ms-th--blue     { background: #0152f5; }

.ms-tiers-table tbody th[scope="row"] {
    font-weight: 600;
    text-align: left;
    background: #fff;
    color: var(--clr-navy);
    font-size: 0.9rem;
    width: 28%;
    line-height: 1.3;
}
.ms-tier-note {
    display: inline;
    font-weight: 400;
    font-size: 0.85em;
    color: var(--clr-navy);
}

.ms-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    color: var(--clr-navy);
}
.ms-mark svg { width: 100%; height: 100%; }
.ms-mark--cross { color: var(--clr-navy); }

.ms-tiers-row-price th[scope="row"] {
    font-weight: 600;
    background: #fff;
}
.ms-tier-pill {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.2px;
}
.ms-tier-pill--red    { background: var(--clr-red); }
.ms-tier-pill--yellow { background: #f6bf00; color: var(--clr-navy); }
.ms-tier-pill--blue   { background: #0152f5; }

@media (max-width: 1024px) {
    .ms-tiers-intro {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: left;
        margin-bottom: 32px;
    }
    .ms-tiers-shapes { display: none; }
    /* M4 — release the 540px body max-width so it fills the column */
    .ms-tiers-intro-body { max-width: none; }
    .ms-tiers-table th,
    .ms-tiers-table td { padding: 10px 8px; font-size: 0.78rem; }
    /* C6 — hide the parallax bg shapes; they leak past the table edges
       once the section narrows. */
    .ms-tiers-bg { display: none; }
}

/* C5 — narrow viewports: drop rounded clipping so the table can
   horizontally scroll. (overflow:hidden clips the scrollbar.) */
@media (max-width: 640px) {
    .ms-tiers-table-wrap {
        overflow: auto;
        border-radius: 12px;
        -webkit-overflow-scrolling: touch;
    }
    .ms-tiers-table { min-width: 560px; }
}

/* =========================================================
   WHAT YOU REALLY GET — cream bg, 2x3 grid w/ icon glyphs
   ========================================================= */
.ms-get {
    background: #efebdf;
    padding: var(--section-py) 0;
}

.ms-get-title {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    color: var(--clr-navy);
    margin: 0 0 56px;
}
.ms-get-title .fx-get {
    display: inline;
    text-decoration: underline;
    text-decoration-color: var(--clr-yellow);
    text-decoration-thickness: 6px;
    text-underline-offset: 1px;
    text-decoration-skip-ink: none;
}

.ms-get-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 80px;
    max-width: 880px;
    margin: 0 auto;
}

.ms-get-item h3 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 8px;
    color: var(--clr-navy);
    letter-spacing: 0.3px;
}
.ms-get-item p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--clr-navy);
    margin: 0;
    letter-spacing: 0.4px;
}

.ms-get-icon {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 14px;
}

.ms-get-cta {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .ms-get-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   FIT — moves your business forward + fit checklist + b-roll
   ========================================================= */
.ms-fit {
    background: #fff;
    padding: var(--section-py) 0 0;
}

.ms-fit-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.ms-fit-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.4rem, 5.4vw, 5rem);
    line-height: 1;
    color: var(--clr-navy);
    margin: 0;
    letter-spacing: -0.01em;
}
.ms-fit-title .line { display: block; }
.ms-fit-title strong { font-weight: 600; }

.ms-fit-underline {
    text-decoration: underline;
    text-decoration-color: var(--clr-red);
    text-decoration-thickness: 6px;
    text-underline-offset: 1px;
    text-decoration-skip-ink: none;
}

.ms-fit-cue {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    color: var(--clr-navy);
    margin: 0 0 24px;
}
.ms-fit-cue .fx-fit {
    display: inline;
    font-weight: 600;
}

.ms-fit-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ms-fit-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    align-items: center;
    border-bottom: 2px solid var(--clr-navy);
    padding: 22px 0;
}
.ms-fit-list li:first-child { border-top: 0; }

/* Reveal-on-scroll for each numbered item — fade + slight upward translate */
.ms-fit-list li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.ms-fit-list li.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .ms-fit-list li,
    .ms-fit-list li.is-revealed { opacity: 1; transform: none; transition: none; }
}

.ms-fit-num {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 1;
}
.ms-fit-num--blue     { color: #0152f5; }
.ms-fit-num--red      { color: var(--clr-red); }
.ms-fit-num--lavender { color: #b2baff; }
.ms-fit-num--yellow   { color: #f6bf00; }

.ms-fit-list p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.45;
    color: var(--clr-navy);
    margin: 0;
    letter-spacing: 0.4px;
}
.ms-fit-list p strong { font-weight: 600; }

/* B-roll team meeting photo + video placeholder */
.ms-fit-broll {
    position: relative;
    margin-top: 80px;
    width: 100%;
    height: clamp(360px, 36vw, 520px);
    background: url('../assets/images/ms-team-meeting.jpeg') center/cover no-repeat;
}
.ms-fit-broll-img { display: none; }

.ms-fit-video-placeholder {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    width: clamp(220px, 22vw, 320px);
    aspect-ratio: 16/10;
    background: #fff;
    border: 8px solid #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.ms-fit-video-frame {
    width: 86%;
    height: 70%;
    border: 2px solid #46a59a;
    background:
        repeating-linear-gradient(45deg, transparent 0 12px, rgba(70,165,154,0.12) 12px 14px);
}
.ms-fit-video-caption {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--clr-navy);
    letter-spacing: 0.12em;
}

@media (max-width: 1024px) {
    .ms-fit-container { grid-template-columns: 1fr; gap: 32px; }
    .ms-fit-broll { height: 320px; }
    .ms-fit-video-placeholder { right: 4%; width: 200px; }
}

/* =========================================================
   YELLOW BAND — rounded-top inset card overlapping team photo
   ========================================================= */
.ms-band {
    background: transparent;
    padding: 0 clamp(16px, 4vw, 48px) var(--section-py);
    margin-top: -80px;
    position: relative;
    z-index: 3;
}
.ms-band-container {
    position: relative;
    /* Intentional one-off amber yellow — distinct from brand #f6bf00 by design. */
    background: #f5b62e;
    /* All four corners rounded — bottom edge sits in white space before the
       next section so both bottom corners are visible. */
    border-radius: 32px;
    /* wide enough to fit the 4-line headline without re-wrapping */
    max-width: 1280px;
    margin: 0 auto;
    /* extra bottom padding leaves visual room for the CTA that overlaps the
       bottom edge by half its height */
    padding: 70px clamp(32px, 8vw, 96px) 90px;
    text-align: center;
}
/* Match the About page's mission-band headline (section-heading scale at
   weight 300, with strongs at 500). Text color is navy here vs white there. */
.ms-band-headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 4.1vw, 3.6rem);
    line-height: 1.12;
    color: var(--clr-navy);
    margin: 0 auto 40px;
    max-width: 1200px;
    text-align: center;
}
/* Keep each authored .line on its own line at desktop without intra-line
   wrapping. The global rule in style.css releases .line on ≤1024 for
   natural mobile reflow. */
.ms-band-headline .line { display: block; white-space: nowrap; }
.ms-band-headline .line { display: block; }
.ms-band-headline strong { font-weight: 500; }

/* CTA overlays the bottom edge of the yellow card — half above, half below.
   Hover rule re-applies the centering transform plus the global 1px lift,
   otherwise the global .btn:hover { transform: translateY(-1px) } would wipe
   the centering transform and snap the button to its raw absolute position. */
.ms-band-cta {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
}
.ms-band-cta:hover {
    transform: translate(-50%, calc(50% - 1px));
}

@media (max-width: 1024px) {
    .ms-band { margin-top: -60px; }
    .ms-band-container { padding: 48px clamp(24px, 6vw, 56px) 72px; border-radius: 24px 24px 0 0; }
}

/* =========================================================
   PROCESS — Venn-style 3 overlapping circles
   ========================================================= */
.ms-process {
    background: #ecf0fc;
    /* No bottom padding — the scribble divider provides the visual end-cap. */
    padding: var(--section-py) 0 0;
    overflow: hidden;
    position: relative;
}
.ms-process-divider {
    display: block;
    width: 100%;
    height: auto;
    margin-top: var(--section-py);
}

.ms-process-title {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 3.6vw, 3rem);
    color: var(--clr-navy);
    margin: 0 0 56px;
}
.ms-process-title-underline {
    text-decoration: underline;
    text-decoration-color: var(--clr-yellow);
    text-decoration-thickness: 8px;
    text-underline-offset: 4px;
    text-decoration-skip-ink: none;
}

/*
   Venn architecture: each circle is a single grid cell. Inside each cell we
   render:
     1) ::before — the multiply-blended bg disc (sits low and blends with sibling discs)
     2) the article's flex content — text + step eyebrow, sitting at a high
        z-index so all three circles' text always renders ABOVE all three discs.
   We use `isolation: isolate` on the venn so multiply only blends within
   the venn (not against the page bg).
*/
.ms-process-venn {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    width: min(1040px, 96%);
    margin: 0 auto;
    place-items: center;
    justify-content: center;
    justify-items: center;
    isolation: isolate;
}

.ms-process-circle {
    width: clamp(380px, 34vw, 485px);
    height: clamp(380px, 34vw, 485px);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    padding: 8% 9%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
}
.ms-process-circle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    mix-blend-mode: multiply;
    z-index: 1;
}
/* Pull every text node above every circle bg disc — z-index needs to beat
   the highest z-index used on the discs (which is 1 above). */
.ms-process-circle > * { position: relative; z-index: 5; }

/* Overlap pulled back a touch (-9%) so a small triangle of background
   peeks through where the three circles meet at center. */
.ms-process-circle--lavender {
    grid-column: 1 / span 2;
    grid-row: 1;
    margin-bottom: -11%;
    /* Step 1 has the longest copy — give the paragraph more horizontal
       room to keep the text inside the circle. */
    padding-left: 6%;
    padding-right: 6%;
}
.ms-process-circle--lavender::before { background: #8090ff; }

.ms-process-circle--red {
    grid-column: 1;
    grid-row: 2;
    margin-right: -11%;
    /* Tighter horizontal padding pulls the body in from the circle edge
       on Steps 2 & 3. */
    padding-left: 14%;
    padding-right: 14%;
}
.ms-process-circle--red::before { background: var(--clr-red); }

.ms-process-circle--blue {
    grid-column: 2;
    grid-row: 2;
    margin-left: -11%;
    padding-left: 14%;
    padding-right: 14%;
}
.ms-process-circle--blue::before { background: #0152f5; }

.ms-process-step {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 6px;
    opacity: 0.95;
}

.ms-process-circle-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 1.95vw, 1.85rem);
    line-height: 1.1;
    color: #fff;
    margin: 0 0 14px;
}
.ms-process-circle-title .line { display: block; }

.ms-process-circle p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 0.3px;
}

/* ---- Orbiting brand shape on each circle ----
   Each circle hosts a `.ms-process-orbit` ring that rotates around the
   circle's center. The shape is anchored at the top of the ring; as the
   ring rotates, the shape traces the circle's perimeter. A counter-rotation
   on the shape itself keeps the SVG upright (so the triangle stays point-
   down, etc.) regardless of where it currently sits in the orbit. */
.ms-process-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 6;
    animation: ms-process-orbit-rotate linear infinite;
}
.ms-process-orbit-shape {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    height: auto;
    animation: ms-process-orbit-counter linear infinite;
}
.ms-process-orbit-shape--circle   { width: 54px; }
.ms-process-orbit-shape--half     { width: 38px; }
.ms-process-orbit-shape--triangle { width: 48px; }
/* Step 1 uses a brand-red CSS circle instead of the yellow brand SVG —
   scoped to this section only. */
.ms-process-orbit-shape--red {
    width: 54px;
    height: 54px;
    background: var(--clr-red);
    border-radius: 50%;
    display: block;
}

/* Each circle uses a distinct duration + starting offset so the three
   shapes never share the same orbital phase. Coprime periods (11 / 14 /
   17 seconds) guarantee they drift out of sync; the staggered negative
   delays place each shape in a different starting quadrant so they're
   spread around the venn from the moment the page loads. */
.ms-process-circle--lavender .ms-process-orbit,
.ms-process-circle--lavender .ms-process-orbit-shape {
    animation-duration: 11s;
    animation-delay: -8s;   /* starts ~262°  (lower-left of orbit) */
}
.ms-process-circle--red .ms-process-orbit,
.ms-process-circle--red .ms-process-orbit-shape {
    animation-duration: 14s;
    animation-delay: -2s;   /* starts ~51°   (upper-right of orbit) */
}
.ms-process-circle--blue .ms-process-orbit,
.ms-process-circle--blue .ms-process-orbit-shape {
    animation-duration: 17s;
    animation-delay: -11s;  /* starts ~233°  (lower-left of orbit) */
}

@keyframes ms-process-orbit-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes ms-process-orbit-counter {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .ms-process-orbit,
    .ms-process-orbit-shape { animation: none; }
}

@media (max-width: 1024px) {
    .ms-process-venn {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 24px;
        place-items: center;
    }
    /* No more aggressive negative margins — the Venn overlap only reads
       at desktop. On tablet/mobile each circle stacks cleanly with a
       consistent gap, no text collisions. */
    .ms-process-circle--lavender,
    .ms-process-circle--red,
    .ms-process-circle--blue {
        grid-column: 1;
        margin: 0 auto;
        padding-left: 11%;
        padding-right: 11%;
    }
    .ms-process-circle--lavender { grid-row: 1; }
    .ms-process-circle--red      { grid-row: 2; }
    .ms-process-circle--blue     { grid-row: 3; }
    .ms-process-circle::before { mix-blend-mode: normal; }
    /* N1/M5 — once stacked the Venn no longer shares horizontal space, so
       Step 1's longer copy needs help fitting inside its own circle. Bump
       the lavender circle a touch larger and drop body type so the bottom
       lines stay inside the disc. */
    .ms-process-circle {
        width: clamp(380px, 50vw, 460px);
        height: clamp(380px, 50vw, 460px);
    }
    .ms-process-circle--lavender {
        width: clamp(420px, 56vw, 500px);
        height: clamp(420px, 56vw, 500px);
    }
    .ms-process-circle p { font-size: 0.92rem; line-height: 1.3; }
    /* Shrink orbit shapes proportionally */
    .ms-process-orbit-shape--circle   { width: 44px; }
    .ms-process-orbit-shape--half     { width: 32px; }
    .ms-process-orbit-shape--triangle { width: 38px; }
    .ms-process-orbit-shape--red      { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
    /* At phone widths shrink the circles back down so they don't overflow
       the viewport edges. Step 1's copy still fits at 0.88rem. */
    .ms-process-circle {
        width: clamp(300px, 88vw, 360px);
        height: clamp(300px, 88vw, 360px);
    }
    .ms-process-circle--lavender {
        width: clamp(320px, 92vw, 380px);
        height: clamp(320px, 92vw, 380px);
    }
    .ms-process-circle p { font-size: 0.88rem; line-height: 1.28; }
}

/* =========================================================
   STEPS — 3 white cards w/ colored numbered circles
   ========================================================= */
.ms-steps {
    background: var(--clr-cream);
    padding: var(--section-py) 0;
}

/* Section-heading-md scale (canonical) — Reckless 400, ~64% of section-heading. */
.ms-steps-title {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.9rem, 3.25vw, 2.9rem);
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--clr-navy);
    margin: 0 0 51px;
}
.ms-steps-title .fx-started {
    text-decoration: underline;
    text-decoration-color: #b2baff;
    text-decoration-thickness: 6px;
    text-underline-offset: 1px;
    text-decoration-skip-ink: none;
}
.ms-steps-title strong { font-weight: 400; }

.ms-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

/* The card item is a vertical stack: eyebrow → number → white card body.
   The number circle overlaps the top edge of the card body by half its
   height (negative margin-bottom pulls the next sibling up).
   `height: 100%` makes the card fill its grid row, and `.ms-steps-card-body
   { flex: 1 }` further down stretches the white card so all three are
   the same height regardless of copy length. */
.ms-steps-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.ms-steps-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.ms-steps-num {
    width: 68px; height: 68px;
    border-radius: 50%;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    /* Pull half of the circle below this row so the next sibling (.ms-steps-card-body)
       sits visually behind the lower half of the circle. */
    margin-bottom: -34px;
    position: relative;
    z-index: 2;
}

.ms-steps-card-body {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1;
    background: #fff;
    border-radius: 28px;
    padding: 64px 32px 44px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.ms-steps-card--red .ms-steps-eyebrow,
.ms-steps-card--red h3 { color: var(--clr-red); }
.ms-steps-card--red .ms-steps-num { background: var(--clr-red); }

.ms-steps-card--blue .ms-steps-eyebrow,
.ms-steps-card--blue h3 { color: #0152f5; }
.ms-steps-card--blue .ms-steps-num { background: #0152f5; }

.ms-steps-card--lavender .ms-steps-eyebrow,
.ms-steps-card--lavender h3 { color: #8090ff; }
.ms-steps-card--lavender .ms-steps-num { background: #b2baff; }

.ms-steps-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.55rem, 2.15vw, 2rem);
    line-height: 1.1;
    margin: 0 0 28px;
}
.ms-steps-card h3 .line { display: block; }

/* body-large for the description */
.ms-steps-card p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--clr-navy);
    margin: 0;
    letter-spacing: 0.4px;
}

.ms-steps-cta {
    text-align: center;
    margin-top: 56px;
}
/* No padding override — uses canonical .btn .btn-red .btn-lg */

@media (max-width: 1024px) {
    .ms-steps-grid { grid-template-columns: 1fr; gap: 28px; max-width: 520px; }
    /* M2 — cap card width so each step still reads as a centered card,
       not a full-width slab on tablet/mobile. */
    .ms-steps-card { max-width: 460px; margin: 0 auto; }
}

/* =========================================================
   FAQ — based on web-faq pattern but ms-scoped
   ========================================================= */
.ms-faq {
    background: #fff;
    padding: var(--section-py) 0;
}
.ms-faq-grid {
    display: grid;
    grid-template-columns: 0.65fr 1fr;
    gap: 56px;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}
.ms-faq-heading {
    position: relative;
    padding-top: 8px;
}
.ms-faq-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.05;
    color: var(--clr-navy);
    margin: 0;
}
.ms-faq-mark {
    position: absolute;
    top: -12px;
    right: 28%;
    width: 64px;
    height: auto;
}

.ms-faq-list { display: flex; flex-direction: column; gap: 14px; }

.ms-faq-item {
    border-radius: 999px;
    background: #fff;
}
.ms-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    border: 1px solid #d8d8e0;
    border-radius: 999px;
    background: #fff;
    transition: border-color 0.18s ease;
}
.ms-faq-item summary:hover { border-color: #b8b8d4; }
.ms-faq-item summary::-webkit-details-marker,
.ms-faq-item summary::marker { display: none; content: ""; }

.ms-faq-label {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--clr-navy);
    flex-shrink: 0;
    width: 28px;
}
.ms-faq-q {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-navy);
}
.ms-faq-body {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    padding: 16px 22px 8px 22px;
}
.ms-faq-label--a {
    color: var(--clr-navy);
    font-size: 1.1rem;
}
.ms-faq-body p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--clr-navy);
    margin: 0;
    letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
    .ms-faq-grid { grid-template-columns: 1fr; gap: 28px; }
    .ms-faq-mark { right: auto; left: 240px; top: 0; width: 48px; }
}

/* =========================================================
   MARKETING THAT WORKS — reuses .podcast pattern w/ overrides
   ========================================================= */
.ms-page .podcast.ms-works {
    position: relative;
    background: #b2baff;
    padding: var(--section-py) 0;
    /* Let the yellow cross extend above the section's top edge */
    overflow: visible;
}
/* Yellow cross decor — straddles the boundary between the steps section
   above (cream) and this lavender section. translateY(-50%) centers it
   on the seam regardless of the SVG's intrinsic size. */
.ms-works-cross {
    position: absolute;
    top: 0;
    right: clamp(24px, 4vw, 64px);
    width: clamp(56px, 5vw, 78px);
    height: auto;
    pointer-events: none;
    z-index: 4;
    transform: translateY(-50%);
}

.ms-page .ms-works .podcast-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.ms-page .ms-works .podcast-image-col {
    position: relative;
}
.ms-page .ms-works-photo {
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
    object-position: 50% 100%;
}
/* Blue brand-star decor — sits along the photo's lower-left edge,
   inset up from the bottom corner. */
.ms-works-star {
    position: absolute;
    bottom: 14%;
    left: -28px;
    width: clamp(56px, 5vw, 78px);
    height: auto;
    pointer-events: none;
}

.ms-page .ms-works-content { color: var(--clr-navy); }
.ms-page .ms-works .podcast-headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.4rem, 3.6vw, 3.4rem);
    line-height: 1.05;
    color: var(--clr-navy);
    margin: 0 0 24px;
}
.ms-page .ms-works .podcast-headline .line { display: block; }
.ms-page .ms-works .podcast-headline strong { font-weight: 500; }
.fx-works2 {
    display: inline-block;
    position: relative;
    padding: 0 0.18em;
}
.fx-works2::after {
    content: "";
    position: absolute;
    inset: -8% -10% -8% -10%;
    border: 3px solid var(--clr-red);
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    transform: rotate(-3deg);
    pointer-events: none;
}

/* body-large copy */
.ms-page .ms-works .podcast-content p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--clr-navy);
    margin: 0 0 28px;
    max-width: 580px;
    letter-spacing: 0.4px;
}
/* Section-scoped one-off: red CTA reads in navy here (per reference) */
.ms-works-cta { color: var(--clr-navy); }
.ms-page .ms-works .podcast-script-img { display: none; }

@media (max-width: 1024px) {
    /* Force the works image-col back into the layout (podcast.css mobile
       rule hides it because the homepage uses Kathy as a section-bg, not
       an actual <img>). Re-enable it and center-stack the content. */
    .ms-page .ms-works .podcast-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
        text-align: center;
    }
    .ms-page .ms-works .podcast-image-col {
        display: block;
        margin: 0 auto;
    }
    .ms-page .ms-works-photo { max-width: 360px; margin: 0 auto; }
    /* Center text + CTA in the stacked layout */
    .ms-page .ms-works-content { max-width: 580px; margin: 0 auto; }
    .ms-page .ms-works .podcast-headline { text-align: center; }
    .ms-page .ms-works .podcast-content p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .ms-works-cross { width: 44px; top: 0; right: 14px; }
    .ms-works-star { width: 44px; bottom: 10%; left: 0; }
}
@media (max-width: 480px) {
    /* C3: shrink body max-width and tighten padding so nothing clips at 390 */
    .ms-page .ms-works .podcast-grid { padding: 0 20px; gap: 28px; }
    .ms-page .ms-works .podcast-content p { font-size: 1rem; max-width: 100%; }
    .ms-page .ms-works .podcast-headline { font-size: clamp(2rem, 8vw, 2.6rem); }
}
