/* The Inkkspiration Method — aligned with the homepage design system */
:root {
    --maxw: 1280px;
    --mp-forest: #1d4a38;
    --mp-forest-deep: #143a2c;
    --mp-cream: #f8f5ef;
    --mp-ivory: #fffdf9;
    --mp-sage: #e8f2ed;
    --mp-gold: #896936;
    --mp-muted: #6b6860;
    --mp-border: rgba(29, 74, 56, 0.12);
    --mp-section-space: clamp(4.75rem, 7vw, 7rem);
    --mp-shadow: 0 24px 70px -42px rgba(25, 50, 39, 0.36);
    --mp-shadow-hover: 0 34px 82px -42px rgba(25, 50, 39, 0.5);
}

.route-method,
.method-page {
    overflow: clip;
    background: var(--mp-ivory);
    color: var(--ink);
}

.mp-shell {
    width: min(100%, var(--maxw));
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
    position: relative;
    z-index: 2;
}

.method-page h1,
.method-page h2,
.method-page h3 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.method-page h1 {
    margin: 0 0 1.15rem;
    font-size: clamp(2.75rem, 4.1vw, 4.15rem);
    line-height: 0.98;
}

.method-page h2 {
    margin: 0 0 1.2rem;
    font-size: clamp(2.15rem, 3.2vw, 3.35rem);
    line-height: 1.07;
}

.method-page h3 {
    font-size: clamp(1.8rem, 2.7vw, 2.55rem);
    line-height: 1.05;
}

.method-page .eyebrow {
    margin-bottom: 1rem;
    color: var(--mp-gold);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
}

.method-page .btn {
    min-height: 48px;
    justify-content: center;
    padding: 0.8rem 1.45rem;
    border-radius: 999px;
    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.method-page .btn:hover {
    transform: translateY(-2px);
}

.method-page .btn-primary:hover {
    box-shadow: 0 12px 30px -18px rgba(29, 74, 56, 0.8);
}

.route-method .inner-heading,
.route-method .inner-interactive,
.route-method .inner-visual {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
}

.route-method .inner-motion-line,
.route-method .inner-morph,
.route-method .inner-card-glow {
    display: none !important;
}

.mp-section {
    position: relative;
    padding-block: var(--mp-section-space);
}

.mp-transition {
    position: absolute;
    right: -5%;
    bottom: -1px;
    left: -5%;
    z-index: 3;
    pointer-events: none;
}

/* Hero */
.mp-hero {
    min-height: clamp(500px, 62svh, 560px);
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
    padding-block: clamp(1.75rem, 3vw, 2.5rem) clamp(3.5rem, 5vw, 4.5rem);
    background:
        radial-gradient(circle at 87% 12%, rgba(245, 237, 216, 0.72), transparent 25rem),
        linear-gradient(135deg, var(--mp-ivory), var(--mp-cream));
}

.mp-hero__glow {
    position: absolute;
    left: -10rem;
    bottom: -13rem;
    width: 32rem;
    aspect-ratio: 1;
    border: 1px solid rgba(29, 74, 56, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.mp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    color: var(--mp-muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mp-breadcrumb a {
    position: relative;
    color: var(--mp-forest);
}

.mp-breadcrumb a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    height: 1px;
    background: var(--mp-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 200ms ease;
}

.mp-breadcrumb a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mp-hero__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.5vw, 2.5rem);
    align-items: center;
}

.mp-hero__copy {
    grid-column: 1 / span 6;
    position: relative;
    z-index: 3;
}

.mp-hero__lead {
    max-width: 610px;
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    line-height: 1.52;
}

.mp-hero__body {
    max-width: 590px;
    margin: 0.75rem 0 0;
    color: var(--mp-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

.mp-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.4rem;
    margin-top: 2rem;
}

.mp-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    padding-block: 0.6rem;
    color: var(--mp-forest);
    font-size: 0.9rem;
    font-weight: 500;
}

.mp-text-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0.35rem;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.mp-text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mp-hero__visual {
    grid-column: 8 / -1;
    position: relative;
    width: min(100%, 510px);
    margin: 0 0 0 auto;
}

.mp-hero__visual::before {
    content: "";
    position: absolute;
    inset: -1.1rem 2.2rem 2.3rem -1.3rem;
    z-index: -1;
    border-radius: 48% 48% 20px 20px / 26% 26% 20px 20px;
    background: rgba(211, 226, 216, 0.62);
    transform: rotate(-2.5deg);
}

.mp-hero__image {
    overflow: hidden;
    height: clamp(330px, 30vw, 390px);
    aspect-ratio: auto;
    border: 6px solid rgba(255, 255, 255, 0.75);
    border-radius: 48% 48% 20px 20px / 26% 26% 20px 20px;
    background: var(--mp-sage);
    box-shadow: var(--mp-shadow);
}

.mp-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 38% center;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mp-hero__visual:hover img {
    transform: scale(1.025);
}

.mp-hero__note {
    position: absolute;
    right: -1.25rem;
    bottom: 2.2rem;
    display: grid;
    min-width: 220px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(29, 74, 56, 0.1);
    border-radius: 14px;
    background: rgba(255, 253, 249, 0.92);
    box-shadow: 0 20px 50px -28px rgba(29, 74, 56, 0.46);
    backdrop-filter: blur(12px);
}

.mp-hero__note strong {
    color: var(--mp-forest);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
}

.mp-hero__note span {
    color: var(--mp-muted);
    font-size: 0.72rem;
}

.mp-transition--hero {
    height: clamp(38px, 5vw, 68px);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: var(--mp-forest-deep);
    transform: translateY(52%);
}

/* Why section */
.mp-why {
    isolation: isolate;
    padding-top: calc(var(--mp-section-space) + 1rem);
    background:
        radial-gradient(circle at 78% 30%, rgba(95, 147, 115, 0.18), transparent 30%),
        linear-gradient(145deg, var(--mp-forest-deep), var(--mp-forest));
    color: rgba(255, 253, 249, 0.78);
}

.mp-grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
    pointer-events: none;
}

.mp-why__orb {
    position: absolute;
    right: -11rem;
    bottom: -13rem;
    width: 29rem;
    aspect-ratio: 1;
    border: 1px solid rgba(245, 237, 216, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.mp-why__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
}

.mp-why__heading h2 {
    max-width: 520px;
    color: var(--mp-ivory);
}

.mp-why__statement {
    max-width: 470px;
    margin: 1.6rem 0 0;
    padding-left: 1.15rem;
    border-left: 2px solid var(--mp-gold);
    color: rgba(255, 253, 249, 0.72);
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.55;
}

.mp-why__content {
    position: relative;
    padding: clamp(1.75rem, 3vw, 2.6rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(30, 79, 59, 0.52);
    box-shadow: 0 30px 75px -48px rgba(3, 18, 12, 0.75);
    backdrop-filter: blur(14px);
}

.mp-why__lead {
    margin: 0 0 1rem;
    color: var(--mp-ivory);
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.25;
}

.mp-why__points {
    display: grid;
}

.mp-why__points p {
    margin: 0;
    padding: 0.9rem 0 0.9rem 1.5rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 253, 249, 0.72);
    font-size: 0.94rem;
    line-height: 1.65;
}

.mp-why__points p::before {
    content: "";
    position: absolute;
    top: 1.55rem;
    left: 0.15rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mp-gold);
}

.mp-why__conclusion {
    margin: 1.1rem 0 0;
    color: #f5edd8;
    font-weight: 500;
}

.mp-why__note {
    position: absolute;
    right: clamp(1.5rem, 4vw, 3.5rem);
    bottom: -2.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: var(--mp-ivory);
    box-shadow: 0 18px 44px -25px rgba(4, 24, 16, 0.72);
    color: var(--mp-muted);
    font-size: 0.78rem;
}

.mp-why__note i {
    width: 30px;
    height: 1px;
    background: var(--mp-gold);
}

.mp-why__note strong {
    color: var(--mp-forest);
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
}

.mp-transition--why {
    height: clamp(36px, 5vw, 64px);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: var(--mp-forest);
    transform: translateY(48%);
    opacity: 0.08;
}

/* Five-step journey */
.mp-journey {
    background:
        radial-gradient(circle at 7% 9%, rgba(232, 242, 237, 0.75), transparent 20rem),
        radial-gradient(circle at 95% 82%, rgba(245, 237, 216, 0.72), transparent 22rem),
        var(--mp-ivory);
}

.mp-journey__dots {
    position: absolute;
    top: 6rem;
    right: 2%;
    width: 250px;
    height: 220px;
    opacity: 0.045;
    background-image: radial-gradient(var(--mp-forest) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
}

.mp-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.mp-heading {
    max-width: 780px;
}

.mp-heading-row > p {
    max-width: 540px;
    margin: 0;
    justify-self: end;
    color: var(--mp-muted);
    line-height: 1.75;
}

.mp-step-index {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
    border-block: 1px solid var(--mp-border);
}

.mp-step-index a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 1rem clamp(0.65rem, 1.5vw, 1.2rem);
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.mp-step-index a + a {
    border-left: 1px solid var(--mp-border);
}

.mp-step-index a span {
    color: var(--mp-gold);
    font-family: var(--sans);
    font-size: 0.67rem;
    letter-spacing: 0.12em;
}

.mp-step-index a:hover {
    background: rgba(232, 242, 237, 0.58);
    color: var(--mp-forest);
}

.mp-steps {
    display: grid;
    gap: clamp(1.4rem, 2.4vw, 2rem);
}

.mp-step {
    display: grid;
    grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
    align-items: center;
    position: relative;
    min-height: 290px;
    border: 1px solid var(--mp-border);
    border-radius: 20px;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: var(--mp-shadow);
    scroll-margin-top: calc(var(--header-h) + 24px);
    transition:
        transform 260ms ease,
        border-color 260ms ease,
        box-shadow 260ms ease;
}

.mp-step:nth-child(even) {
    grid-template-columns: minmax(0, 1.38fr) minmax(240px, 0.62fr);
}

.mp-step:hover {
    border-color: rgba(176, 141, 87, 0.35);
    box-shadow: var(--mp-shadow-hover);
    transform: translateY(-5px);
}

.mp-step__visual {
    align-self: center;
    height: clamp(240px, 20vw, 280px);
    min-height: 0;
    margin: 0 0 0 -12px;
    overflow: hidden;
    position: relative;
    border-radius: 50% 50% 16px 16px / 18% 18% 16px 16px;
    background: var(--mp-sage);
    box-shadow: 0 28px 65px -40px rgba(29, 74, 56, 0.62);
}

.mp-step:nth-child(even) .mp-step__visual {
    grid-column: 2;
    grid-row: 1;
    margin: 0 -12px 0 0;
    border-radius: 16px 52% 48% 16px / 16px 22% 20% 16px;
}

.mp-step--reframe .mp-step__visual {
    border-radius: 42% 58% 38% 62% / 34% 31% 69% 66%;
}

.mp-step--grow .mp-step__visual {
    border-radius: 50% 50% 16px 16px / 30% 30% 16px 16px;
}

.mp-step__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 68%, rgba(20, 58, 44, 0.16));
    pointer-events: none;
}

.mp-step__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(0.9);
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mp-step--discover img {
    object-position: 38% center;
}

.mp-step--understand img {
    object-position: center;
}

.mp-step--reframe img {
    object-position: center 30%;
}

.mp-step--practice img {
    object-position: center 34%;
}

.mp-step--grow img {
    object-position: center 40%;
}

.mp-step:hover .mp-step__visual img {
    transform: scale(1.03);
}

.mp-step__copy {
    padding: clamp(1.4rem, 2.4vw, 2.25rem);
}

.mp-step:nth-child(even) .mp-step__copy {
    grid-column: 1;
    grid-row: 1;
}

.mp-step__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.mp-step__number {
    color: var(--mp-gold);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.mp-step__icon {
    display: grid;
    width: 42px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--mp-sage);
    color: var(--mp-forest);
    transition: transform 260ms ease, background 260ms ease;
}

.mp-step:hover .mp-step__icon {
    background: #efe4ce;
    transform: translateY(-3px) rotate(-3deg);
}

.mp-step__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mp-step__copy h3 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.55rem, 2vw, 1.95rem);
}

.mp-step__tag {
    margin: 0 0 0.7rem;
    color: var(--mp-gold);
    font-family: var(--serif);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.35;
}

.mp-step__copy > p:last-child {
    max-width: 610px;
    margin: 0;
    color: var(--mp-muted);
    font-size: 0.92rem;
    line-height: 1.62;
}

/* CTA */
.mp-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(5rem, 7vw, 7rem);
    background: linear-gradient(92deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 253, 249, 0.91) 52%, rgba(255, 253, 249, 0.5) 100%);
}

.mp-cta::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -5%;
    left: -5%;
    height: clamp(38px, 5vw, 68px);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: var(--mp-ivory);
    transform: translateY(-50%);
}

.mp-cta__glow {
    position: absolute;
    right: 7%;
    bottom: -8rem;
    width: 27rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(189, 215, 197, 0.44), transparent 68%);
    pointer-events: none;
}

.mp-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 3rem;
    align-items: end;
}

.mp-cta__copy {
    max-width: 760px;
}

.mp-cta__copy p {
    max-width: 660px;
    margin: 0;
    color: var(--mp-muted);
    line-height: 1.75;
}

.mp-cta__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 980px) {
    .mp-hero {
        min-height: auto;
    }

    .mp-hero__copy {
        grid-column: 1 / span 7;
    }

    .mp-hero__visual {
        grid-column: 8 / -1;
    }

    .mp-why__grid {
        gap: 3.5rem;
    }

    .mp-step {
        grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
    }

    .mp-step:nth-child(even) {
        grid-template-columns: minmax(0, 1.38fr) minmax(220px, 0.62fr);
    }

    .mp-cta__inner {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 780px) {
    .mp-hero {
        padding-top: 1.5rem;
    }

    .mp-hero__grid,
    .mp-why__grid,
    .mp-heading-row {
        grid-template-columns: 1fr;
    }

    .mp-hero__copy,
    .mp-hero__visual {
        grid-column: 1;
    }

    .mp-hero__copy {
        max-width: 680px;
    }

    .mp-hero__visual {
        width: min(88%, 500px);
        margin: 1.5rem auto 0;
    }

    .mp-why__grid,
    .mp-heading-row {
        gap: 2rem;
    }

    .mp-heading-row > p {
        justify-self: start;
    }

    .mp-step-index {
        grid-template-columns: repeat(5, minmax(145px, 1fr));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .mp-step-index::-webkit-scrollbar {
        display: none;
    }

    .mp-step-index a {
        scroll-snap-align: start;
    }

    .mp-step,
    .mp-step:nth-child(even) {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mp-step__visual,
    .mp-step:nth-child(even) .mp-step__visual {
        grid-column: 1;
        grid-row: 1;
        width: calc(100% - 36px);
        height: 230px;
        min-height: 0;
        margin: -10px auto 0;
    }

    .mp-step__copy,
    .mp-step:nth-child(even) .mp-step__copy {
        grid-column: 1;
        grid-row: 2;
        padding: 1.5rem;
    }
}

@media (max-width: 560px) {
    .method-page h1 {
        font-size: clamp(2.5rem, 11vw, 3.45rem);
    }

    .mp-hero__image {
        height: 270px;
    }

    .method-page h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .mp-hero__actions,
    .mp-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mp-hero__actions .btn,
    .mp-cta__actions .btn {
        width: 100%;
    }

    .mp-text-link {
        align-self: flex-start;
    }

    .mp-hero__visual {
        width: calc(100% - 10px);
    }

    .mp-hero__note {
        right: -0.65rem;
        min-width: 190px;
    }

    .mp-why__content {
        padding: 1.35rem;
    }

    .mp-why__note {
        right: 1.25rem;
        bottom: -2rem;
    }

    .mp-step__visual,
    .mp-step:nth-child(even) .mp-step__visual {
        width: calc(100% - 24px);
        height: 190px;
        margin-top: -12px;
    }

    .mp-step__copy,
    .mp-step:nth-child(even) .mp-step__copy {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .method-page *,
    .method-page *::before,
    .method-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
