*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow: hidden;
    --nav-h: 68px;
}

body {
    margin: 8px;
    height: calc(100dvh - 16px);
    border-radius: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

:root {
    --primary: #6EB5C0;
    --secondary: #C9A84C;
    --tertiary: #1A2030;
    --bg-body: #FAFAF8;
    --bg-surface: #FFFFFF;
    --text-body: #4A5060;
    --text-title: #1A2030;
    --border-primary: rgba(224,220,218,1);
    --shadow-primary: hsla(0, 0%, 0%, 0.15);
    --light: hsla(85, 0%, 100%, 1);
    --dark: hsla(0, 0%, 0%, 1);
    --success: hsla(136, 95%, 56%, 1);
    --error: hsla(351, 95%, 56%, 1);
    --navy: #1A2030;
    --navy-mid: #2A3A4A;
    --teal: #6EB5C0;
    --teal-lt: #A8D0D8;
    --teal-dk: #2A7A8A;
    --gold: #C9A84C;
    --gold-lt: #E8CC80;
    --linen: #FAFAF8;
    --warm-white: #F0EDEA;
    --ink: #2C3E50;
    --ink-soft: #4A5060;
    --rust: #B0563E;
    --pill-blue: #4F8FE3;
    --pill-blue-lt: #86BEF2;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

.p-nav {
    position: sticky;
    top: 0px;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 1rem;
    padding-top: 1rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 1rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
    background: var(--navy);
}

.p-nav-mark {
    grid-column: 1;
    justify-self: start;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: rgb(250, 250, 248);
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
    letter-spacing: 0.04em;
}

.p-nav-links {
    grid-column: 2;
    justify-self: center;
    display: flex;
    row-gap: 2rem;
    column-gap: 2rem;
    list-style-position: initial;
    list-style-image: initial;
    list-style-type: none;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}

.p-nav-right {
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.p-nav-mobile-cta {
    display: none;
}

.p-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.4rem;
    margin: -0.4rem;
    color: rgb(250, 250, 248);
    cursor: pointer;
}

.p-nav-cta {
    background: var(--gold);
    color: var(--navy);
    padding-top: 0.6rem;
    padding-right: 1.3rem;
    padding-bottom: 0.6rem;
    padding-left: 1.3rem;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .p-nav-links {
        display: none;
        grid-column: unset;
        justify-self: unset;
        flex-direction: column;
        row-gap: 1.25rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 1.75rem clamp(1.5rem, 5vw, 3.5rem) 2rem;
        border-top: 1px solid rgba(250, 250, 248, 0.08);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    }

    .p-nav-links.is-open {
        display: flex;
    }

    .p-nav-right .p-nav-cta {
        display: none;
    }

    .p-hamburger {
        display: inline-flex;
    }

    .p-nav-mobile-cta {
        display: block;
        margin-top: 0.5rem;
    }

    .p-nav-mobile-cta .p-nav-cta {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }

    .p-nav-links a {
        display: block;
        font-size: 1rem;
        padding: 0.15rem 0;
    }
}

.p-hero {
    background-color: var(--navy);
    background-image:
        radial-gradient(115% 85% at 82% 22%, rgba(110, 181, 192, 0.16) 0%, rgba(110, 181, 192, 0) 58%),
        radial-gradient(95% 75% at 8% 92%, rgba(201, 168, 76, 0.10) 0%, rgba(201, 168, 76, 0) 62%);
    color: rgb(250, 250, 248);
    min-height: calc(100svh - 16px - var(--nav-h));
    padding-top: 3.5rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 5rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
    text-align: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ═══════════════════════════════════════
   HERO LAYOUT + WORK SHOWCASE (browser mockups)
═══════════════════════════════════════ */
.p-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile-first: showcase sits below the copy as a fanned deck of landscape
   browser cards. The active card sits front-left; the rest step back and to
   the upper right so five are clearly readable at once. Every ~4s the front
   card slides out to the left and the next one slides forward to replace it. */
.p-hero-showcase {
    display: block;
    position: relative;
    width: 100%;
    max-width: 23rem;
    margin: 2.25rem auto 0;
}

.p-mock-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 860;
}

.p-mock {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 84%;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #0F1621;
    border: 1px solid rgba(250, 250, 248, 0.16);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.35);
    transition: transform 0.9s cubic-bezier(0.25, 0.8, 0.3, 1),
                opacity 0.9s cubic-bezier(0.25, 0.8, 0.3, 1);
    will-change: transform, opacity;
    transform-origin: bottom left;
}

/* Suppresses the transition for one frame so the outgoing card can be
   re-seated at the back of the deck without visibly flying there. */
.p-mock.is-resetting {
    transition: none;
}

.p-mock img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 720;
    object-fit: cover;
}

.p-mock-bar {
    display: flex;
    align-items: center;
    column-gap: 0.35rem;
    padding: 0.5rem 0.7rem;
    background: rgba(250, 250, 248, 0.07);
    border-bottom: 1px solid rgba(250, 250, 248, 0.08);
}

.p-mock-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(250, 250, 248, 0.22);
    flex-shrink: 0;
}

.p-mock-url {
    margin-left: 0.6rem;
    flex: 1 1 auto;
    min-width: 0;
    background: rgba(250, 250, 248, 0.06);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    color: rgba(250, 250, 248, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Depth positions: 0 is the active card in front; 1-4 step back and to the
   upper right in even increments so five cards read clearly at once. 5 and 6
   are the tail of the deck, faded out so the cycle has somewhere to recede
   to. JS assigns these on an interval, so the deck reads as a shuffle. */
.p-mock[data-depth="0"] {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    z-index: 7;
}

.p-mock[data-depth="1"] {
    transform: translate(14%, -11.5%) scale(0.945);
    opacity: 0.92;
    z-index: 6;
}

.p-mock[data-depth="2"] {
    transform: translate(26%, -21.5%) scale(0.895);
    opacity: 0.74;
    z-index: 5;
}

.p-mock[data-depth="3"] {
    transform: translate(36.5%, -30%) scale(0.85);
    opacity: 0.52;
    z-index: 4;
}

.p-mock[data-depth="4"] {
    transform: translate(45%, -37%) scale(0.81);
    opacity: 0.3;
    z-index: 3;
}

.p-mock[data-depth="5"] {
    transform: translate(51.5%, -42.5%) scale(0.78);
    opacity: 0.11;
    z-index: 2;
}

.p-mock[data-depth="6"] {
    transform: translate(55%, -46%) scale(0.76);
    opacity: 0;
    z-index: 1;
}

/* The outgoing card slides off to the left and fades, rather than snapping
   straight to the back of the deck. Declared after the depth rules so it
   wins on equal specificity. Once the slide finishes, JS re-seats the card
   at depth 6 with the transition briefly suppressed.

   It gets its own timing: the travel starts immediately and the fade is
   held back, so the card is still solid while it clears the deck instead of
   dissolving in place (which reads as a crossfade, not a slide). */
.p-mock.is-exiting {
    transform: translate(-46%, 14%) scale(1.03);
    opacity: 0;
    z-index: 8;
    transition: transform 0.85s cubic-bezier(0.4, 0.05, 0.25, 1),
                opacity 0.45s ease-in 0.34s;
}

/* Reduced motion: freeze the auto-cycle. The deck still renders (front card
   plus a hint of depth) but nothing moves on its own. */
@media (prefers-reduced-motion: reduce) {
    .p-mock {
        transition: none;
    }
}

/* Small screens: tighten the vertical rhythm so the work frame peeks above
   the fold and acts as a scroll affordance. */
@media (max-width: 980px) {
    .p-hero {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    .p-hero-price {
        margin-bottom: 1.6rem;
    }

    .p-hero-showcase {
        margin-top: 1.5rem;
    }
}

/* Desktop: text left, showcase bleeding off the right edge.
   The showcase is absolutely positioned so it can never push the
   hero taller than the fold. */
@media (min-width: 981px) {
    .p-hero {
        text-align: left;
    }

    .p-hero-content {
        max-width: 47%;
    }

    .p-hero h1 {
        margin-left: 0;
        margin-right: 0;
    }

    .p-hero-sub {
        margin-left: 0;
        margin-right: 0;
        max-width: 32rem;
    }

    .p-hero-actions {
        justify-content: flex-start;
    }

    .p-hero .p-hero-actions {
        max-width: 32rem;
        flex-wrap: nowrap;
    }

    .p-hero .p-hero-actions .p-btn-primary,
    .p-hero .p-hero-actions .p-btn-ghost {
        flex: 1 1 0;
        min-width: 0;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
        white-space: nowrap;
    }

    /* The stack's box spans the whole fan, so centring the box on the
       hero-inner's midline centres the animation against the text block. */
    .p-hero-showcase {
        display: block;
        position: absolute;
        max-width: none;
        margin: 0;
        top: 50%;
        left: 50.5%;
        width: min(48vw, 630px);
        transform: translateY(-50%);
        pointer-events: none;
    }
}

@media (min-width: 1400px) {
    .p-hero-showcase {
        width: 680px;
    }
}

.p-hero-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-lt);
    display: block;
    margin-bottom: 1.5rem;
}

.p-hero-sub {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: rgba(250, 250, 248, 0.7);
    max-width: 620px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 2.5rem;
    margin-left: auto;
    line-height: 1.75;
}

.p-hero-price {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gold-lt);
    margin-top: -1.4rem;
    margin-bottom: 2.2rem;
}

.p-hero-actions {
    display: flex;
    row-gap: 1rem;
    column-gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.p-hero-actions .p-btn-primary,
.p-hero-actions .p-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17rem;
    text-align: center;
}

.p-btn-primary {
    background: var(--teal);
    color: var(--navy);
    padding-top: 0.95rem;
    padding-right: 2rem;
    padding-bottom: 0.95rem;
    padding-left: 2rem;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.92rem;
}

.p-btn-ghost {
    border-top-width: 1.5px;
    border-right-width: 1.5px;
    border-bottom-width: 1.5px;
    border-left-width: 1.5px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: rgba(250, 250, 248, 0.3);
    border-right-color: rgba(250, 250, 248, 0.3);
    border-bottom-color: rgba(250, 250, 248, 0.3);
    border-left-color: rgba(250, 250, 248, 0.3);
    border-image-source: none;
    border-image-slice: 100%;
    border-image-width: 1;
    border-image-outset: 0;
    border-image-repeat: stretch;
    color: rgb(250, 250, 248);
    padding-top: 0.9rem;
    padding-right: 2rem;
    padding-bottom: 0.9rem;
    padding-left: 2rem;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.92rem;
}

.p-section {
    padding-top: 7.5rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 7.5rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
}

.p-section--alt {
    background: var(--warm-white);
}

.p-section-inner {
    max-width: 1180px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
}

.p-section-head {
    text-align: center;
    max-width: 640px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 6rem;
    margin-left: auto;
}

.p-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-dk);
    display: block;
    margin-bottom: 0.8rem;
}

.p-website-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto repeat(5, auto);
    row-gap: 0.9rem;
    column-gap: 3rem;
    align-items: center;
}

.p-website-copy {
    grid-row: 1;
}

@media (min-width: 641px) {
    .p-website-copy:nth-of-type(1) {
        text-align: right;
    }

    .p-website-list--problem li {
        justify-content: flex-end;
        text-align: right;
    }
}

.p-website-copy:nth-of-type(1) {
    grid-column: 1;
}

.p-website-copy:nth-of-type(2) {
    grid-column: 2;
}

.p-website-copy h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0;
}

.p-website-list {
    list-style-position: initial;
    list-style-image: initial;
    list-style-type: none;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    display: contents;
}

.p-website-list--problem li:nth-child(1) {
    grid-column: 1;
    grid-row: 2;
}

.p-website-list--problem li:nth-child(2) {
    grid-column: 1;
    grid-row: 3;
}

.p-website-list--problem li:nth-child(3) {
    grid-column: 1;
    grid-row: 4;
}

.p-website-list--problem li:nth-child(4) {
    grid-column: 1;
    grid-row: 5;
}

.p-website-list--problem li:nth-child(5) {
    grid-column: 1;
    grid-row: 6;
}

.p-website-list--solution li:nth-child(1) {
    grid-column: 2;
    grid-row: 2;
}

.p-website-list--solution li:nth-child(2) {
    grid-column: 2;
    grid-row: 3;
}

.p-website-list--solution li:nth-child(3) {
    grid-column: 2;
    grid-row: 4;
}

.p-website-list--solution li:nth-child(4) {
    grid-column: 2;
    grid-row: 5;
}

.p-website-list--solution li:nth-child(5) {
    grid-column: 2;
    grid-row: 6;
}

.p-list-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.p-list-icon--check {
    color: var(--teal-dk);
}

.p-list-icon--cross {
    color: var(--rust);
}

.p-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.75rem;
    column-gap: 1.75rem;
    align-items: stretch;
}

.p-pflip {
    perspective: 1600px;
    height: 100%;
}

.p-pflip--featured {
    transform: translateY(-8px);
    box-shadow: rgba(26, 32, 48, 0.25) 0px 20px 50px;
    border-radius: 12px;
}

.p-pflip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover flip only where hover actually exists; touch devices use the
   tap handler and the .is-flipped class below. */
@media (hover: hover) and (pointer: fine) {
    .p-pflip:hover .p-pflip-inner {
        transform: rotateY(180deg);
    }

    /* Don't flip the card out from under the cursor when the visitor is
       reaching for the CTA on the front. */
    .p-pflip:has(.p-pcard-front .p-pcta:hover) .p-pflip-inner {
        transform: none;
    }
}

/* "Best for" on the FRONT of the card — the flip side repeats it, but this
   line must be readable with no hover and no tap. */
.p-ptitle:has(+ .p-pfor) {
    margin-bottom: 0.75rem;
}

.p-pfor {
    margin: 0 0 1.3rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.p-pfor span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.3rem;
}

.p-pcard--featured .p-pfor {
    color: rgba(250, 250, 248, 0.72);
}

.p-pcard--featured .p-pfor span {
    color: var(--teal-lt);
}

.p-pflip.is-flipped .p-pflip-inner {
    transform: rotateY(180deg);
}

.p-pflip .p-pcard-front:focus-visible {
    outline: 2px solid var(--gold-lt);
    outline-offset: 3px;
}

.p-pcard-front,
.p-pcard-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.p-pcard-front {
    height: 100%;
}

.p-pcard-back {
    position: absolute;
    inset: 0;
    height: 100%;
    transform: rotateY(180deg);
    background: var(--navy);
    color: rgb(250, 250, 248);
    border-radius: 12px;
    padding-top: 2.2rem;
    padding-right: 2.2rem;
    padding-bottom: 2.2rem;
    padding-left: 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    row-gap: 0.9rem;
}

.p-pcard-back--gold {
    background: linear-gradient(160deg, var(--gold-lt) 0%, var(--gold) 100%);
    color: var(--navy);
}

.p-pback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--teal-lt);
}

.p-pcard-back--gold .p-pback-icon {
    color: var(--navy);
    opacity: 0.75;
}

.p-pback-icon svg {
    width: 100%;
    height: 100%;
}

.p-pback-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-lt);
    opacity: 0.8;
}

.p-pcard-back--gold .p-pback-eyebrow {
    color: var(--navy);
    opacity: 0.6;
}

.p-pback-copy {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.4;
    max-width: 26ch;
}

.p-pback-note {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(250, 250, 248, 0.55);
}

.p-pcard-back--gold .p-pback-note {
    color: rgba(26, 32, 48, 0.6);
}

.p-pback-cta {
    margin-top: 0.4rem;
    text-align: center;
    background: var(--teal);
    color: var(--navy);
    padding-top: 0.85rem;
    padding-right: 1.6rem;
    padding-bottom: 0.85rem;
    padding-left: 1.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.p-pback-cta:hover {
    background: var(--teal-lt);
    transform: translateY(-1px);
}

.p-pback-cta--gold {
    background: var(--navy);
    color: rgb(250, 250, 248);
}

.p-pback-cta--gold:hover {
    background: var(--navy-mid);
}

.p-pcard {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(255, 255, 255);
    border: 1px solid var(--border-primary);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    padding-top: 2.2rem;
    padding-right: 2.2rem;
    padding-bottom: 2.2rem;
    padding-left: 2.2rem;
    display: flex;
    flex-direction: column;
}

.p-pcard--featured {
    background: var(--navy);
    color: rgb(250, 250, 248);
    border-color: var(--navy);
    position: relative;
    padding-top: 2.7rem;
    overflow: visible;
}

.p-ptier {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal-dk);
}

.p-pcard-pill {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    background: linear-gradient(180deg, var(--pill-blue-lt) 0%, var(--pill-blue) 100%);
    color: rgb(255, 255, 255);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-top: 0.55rem;
    padding-right: 1.3rem;
    padding-bottom: 0.55rem;
    padding-left: 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(22, 60, 110, 0.35), 0 0 0 5px var(--navy);
    white-space: nowrap;
}

.p-ptitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
    margin-right: 0px;
    margin-bottom: 1.2rem;
    margin-left: 0px;
}

.p-pprice-wrap {
    display: flex;
    align-items: baseline;
    column-gap: 1.1rem;
    row-gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Setup-fee note sitting beside the monthly price. */
.p-pprice-note {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: var(--ink-soft);
    opacity: 0.75;
}

.p-pprice {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    color: var(--navy);
    line-height: 1;
}

.p-pfeatures {
    list-style-position: initial;
    list-style-image: initial;
    list-style-type: none;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 2rem;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    row-gap: 0.7rem;
    column-gap: 0.7rem;
    flex-grow: 1;
}

.p-pcta {
    text-align: center;
    background: var(--navy);
    color: rgb(255, 255, 255);
    padding-top: 0.85rem;
    padding-right: 0.85rem;
    padding-bottom: 0.85rem;
    padding-left: 0.85rem;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
}

.p-pricing-note {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-top: 2.5rem;
}

.p-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 1.25rem;
    column-gap: 1.25rem;
}

.p-scard {
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(255, 255, 255);
    border: 1px solid var(--border-primary);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    padding-top: 1.6rem;
    padding-right: 1.6rem;
    padding-bottom: 1.6rem;
    padding-left: 1.6rem;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
    display: block;
    border-top: 3px solid var(--teal);
    transition-behavior: normal;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-property: transform;
}

.p-scard--gold {
    border-top-color: var(--gold);
}

.p-scard--navy {
    border-top-color: var(--navy-mid);
}

.p-scard-photo {
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    overflow: hidden;
    height: 230px;
}

.p-scard-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p-scard-tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-dk);
}

.p-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.5rem;
    column-gap: 1.5rem;
}

.p-wcard {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow-x: hidden;
    overflow-y: hidden;
    border: 1px solid var(--border-primary);
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(255, 255, 255);
}

.p-wcard-img {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--teal-lt), var(--warm-white));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.p-wcard-body {
    padding-top: 1.2rem;
    padding-right: 1.4rem;
    padding-bottom: 1.2rem;
    padding-left: 1.4rem;
}

.p-footer {
    background: var(--navy);
    color: rgb(250, 250, 248);
    padding-top: 4.5rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 2.5rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
}

.p-footer-whatsapp {
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    row-gap: 0.75rem;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding-top: 1.5rem;
    padding-right: 1.75rem;
    padding-bottom: 1.5rem;
    padding-left: 1.75rem;
}

.p-footer-whatsapp-head {
    display: flex;
    align-items: center;
    column-gap: 0.65rem;
}

.p-footer-whatsapp-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-footer-whatsapp-icon svg {
    width: 17px;
    height: 17px;
    fill: #ffffff;
}

.p-footer-whatsapp-head strong {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.05rem;
    color: rgb(250, 250, 248);
}

.p-footer-whatsapp-desc {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(250, 250, 248, 0.55);
    line-height: 1.5;
}

.p-footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.4rem;
    background: #25d366;
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.85rem;
    padding-top: 0.75rem;
    padding-right: 1.4rem;
    padding-bottom: 0.75rem;
    padding-left: 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 0.15rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.p-footer-whatsapp-btn:hover {
    background: #1fb955;
    transform: translateY(-1px);
}

.p-footer-inner {
    max-width: 1180px;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 2rem;
    column-gap: 2rem;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgba(250, 250, 248, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
}

.p-footer-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.p-footer-links {
    display: flex;
    row-gap: 3rem;
    column-gap: 3rem;
    flex-wrap: wrap;
}

.p-footer-col h2 {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-lt);
    opacity: 0.7;
    margin-bottom: 0.8rem;
}

.p-footer-bottom {
    max-width: 1180px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(250, 250, 248, 0.3);
    text-align: center;
}

.p-logo-img {
    height: 34px;
    width: auto;
    display: block;
}

.p-footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
}


.p-hero-content {
    position: relative;
    z-index: 2;
}


.p-nav-mark em {
    font-style: normal;
    color: var(--gold);
}

.p-nav-links a {
    color: rgba(250, 250, 248, 0.6);
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
    font-family: var(--font-sans);
    font-size: 0.88rem;
}

.p-nav-links a:hover {
    color: rgb(250, 250, 248);
}

.p-hero h1 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 1.1;
    max-width: 900px;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 1.5rem;
    margin-left: auto;
}

.p-hero h1 em {
    font-style: italic;
    color: var(--teal-lt);
}

.p-section-head h2 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.p-section-head h2 em {
    font-style: italic;
    color: var(--gold);
}

.p-section-head p {
    font-family: var(--font-sans);
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
}

.p-website-copy p {
    font-family: var(--font-sans);
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.p-website-list li {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    row-gap: 0.6rem;
    column-gap: 0.6rem;
}

.p-pcard--featured .p-ptier {
    color: var(--gold-lt);
}

.p-pcard--featured .p-ptitle {
    color: rgba(250, 250, 248, 0.65);
}

.p-pcard--featured .p-pprice {
    color: rgb(250, 250, 248);
}

.p-pcard--featured .p-pprice-note {
    color: rgba(250, 250, 248, 0.55);
    opacity: 1;
}

.p-pfeatures li {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--ink-soft);
    display: flex;
    row-gap: 0.6rem;
    column-gap: 0.6rem;
    align-items: flex-start;
}

.p-pcard--featured .p-pfeatures li {
    color: rgba(250, 250, 248, 0.8);
}

.p-pcard--featured .p-pcta {
    background: var(--teal);
    color: var(--navy);
}

.p-scard:hover {
    transform: translateY(-4px);
}

.p-scard h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.p-scard p {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 0.8rem;
}

.p-wcard-img span {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-dk);
    opacity: 0.7;
}

.p-wcard-body strong {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--navy);
    display: block;
    margin-bottom: 0.3rem;
}

.p-wcard-body p {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* Challenge / Solution pairs on the case-study cards */
.p-wcard-block + .p-wcard-block {
    margin-top: 0.85rem;
}

.p-wcard-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.p-wcard-label--challenge {
    color: var(--rust);
}

.p-wcard-label--solution {
    color: var(--teal-dk);
}

.p-footer-brand em {
    font-style: normal;
    color: var(--gold);
}

.p-footer-col a {
    display: block;
    color: rgba(250, 250, 248, 0.5);
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}


/* Case-study photography overlay */
.p-wcard-img,
.p-wfcard-img {
    position: relative;
    overflow: hidden;
}

.p-wcard-img img,
.p-wfcard-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-wcard-img span,
.p-wfcard-img span {
    position: relative;
    z-index: 1;
    background: rgba(26, 32, 48, 0.6);
    color: #fafaf8 !important;
    padding: 0.3em 0.7em;
    border-radius: 3px;
    margin-top: 1em;
    margin-right: 1em;
}

/* Scroll hint (ported from original site) */
.p-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.p-scroll-mouse {
    width: 20px;
    height: 30px;
    border: 1px solid rgba(250, 250, 248, 0.35);
    border-radius: 10px;
    position: relative;
}

.p-scroll-mouse::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 5px;
    background: var(--teal-lt);
    border-radius: 1px;
    animation: p-scrollDot 2s ease-in-out infinite;
}

.p-scroll-hint span {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    color: rgba(250, 250, 248, 0.5);
    text-transform: uppercase;
}

@keyframes p-scrollDot {
    0% {
        top: 5px;
        opacity: 1;
    }

    75% {
        top: 15px;
        opacity: 0;
    }

    100% {
        top: 5px;
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .p-scroll-hint {
        display: none;
    }

    .p-website-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: 0.9rem;
    }

    .p-website-copy:nth-of-type(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .p-website-copy:nth-of-type(2) {
        grid-column: 1;
        grid-row: 7;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-primary);
    }

    .p-website-list--problem li .p-list-icon {
        order: -1;
    }

    .p-website-list--problem li:nth-child(1) {
        grid-column: 1;
        grid-row: 2;
    }

    .p-website-list--problem li:nth-child(2) {
        grid-column: 1;
        grid-row: 3;
    }

    .p-website-list--problem li:nth-child(3) {
        grid-column: 1;
        grid-row: 4;
    }

    .p-website-list--problem li:nth-child(4) {
        grid-column: 1;
        grid-row: 5;
    }

    .p-website-list--problem li:nth-child(5) {
        grid-column: 1;
        grid-row: 6;
    }

    .p-website-list--solution li:nth-child(1) {
        grid-column: 1;
        grid-row: 8;
    }

    .p-website-list--solution li:nth-child(2) {
        grid-column: 1;
        grid-row: 9;
    }

    .p-website-list--solution li:nth-child(3) {
        grid-column: 1;
        grid-row: 10;
    }

    .p-website-list--solution li:nth-child(4) {
        grid-column: 1;
        grid-row: 11;
    }

    .p-website-list--solution li:nth-child(5) {
        grid-column: 1;
        grid-row: 12;
    }
}

/* ═══════════════════════════════════════
   FOOTER ETYMOLOGY / BRAND BLOCK
   (πτύξις story — lives in the footer, dark background)
═══════════════════════════════════════ */
.p-ety-block {
    display: flex;
    flex-direction: column;
    margin-top: 1.1rem;
}

.p-ety-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.p-ety-origin {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal-lt);
    opacity: 0.7;
    margin-bottom: 0.7rem;
}

.p-ety-meaning {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(250, 250, 248, 0.5);
    line-height: 1.75;
}

.p-footer-tagline-main {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: rgba(250, 250, 248, 0.85);
    margin-top: 1rem;
    display: block;
}

.p-footer-tagline-main em {
    font-style: normal;
    color: var(--gold);
}

/* FAQ accordion */
.p-faq-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.p-faq-item {
    border-bottom: 1px solid var(--border-primary);
}

.p-faq-btn {
    width: 100%;
    text-align: left;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 0;
    padding-right: 0;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 1.5rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--navy);
    transition: color 0.2s ease;
}

.p-faq-btn:hover {
    color: var(--teal-dk);
}

.p-faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.p-faq-icon::before,
.p-faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--teal-dk);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.p-faq-icon::before {
    width: 14px;
    height: 2px;
}

.p-faq-icon::after {
    width: 2px;
    height: 14px;
}

.p-faq-item.is-active .p-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.p-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.p-faq-item.is-active .p-faq-content {
    max-height: 20rem;
}

.p-faq-inner {
    padding-bottom: 1.5rem;
    padding-right: 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   PROMPT GENERATOR TOOL PAGE
═══════════════════════════════════════ */
.p-tool-hero {
    background: var(--navy);
    color: rgb(250, 250, 248);
    padding-top: 6rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 4rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.p-tool-hero-inner {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.p-tool-hero h1 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: rgb(250, 250, 248);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.p-tool-hero h1 em {
    font-style: italic;
    color: var(--teal-lt);
}

.p-tool-hero p {
    font-family: var(--font-sans);
    color: rgba(250, 250, 248, 0.7);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.p-tool-step1 {
    background: rgb(255, 255, 255);
    padding-top: 4.5rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 4.5rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
    text-align: center;
    border-bottom: 1px solid var(--border-primary);
}

.p-tool-step1-card {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    background: var(--linen);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 14px rgba(26, 32, 48, 0.05);
}

.p-tool-step-head {
    display: flex;
    align-items: center;
    column-gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.p-tool-step-head--center {
    justify-content: center;
}

.p-tool-step-head-text {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--navy);
    text-align: left;
}

.p-tool-step-num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--teal-dk);
    color: rgb(255, 255, 255);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
}

.p-tool-step-num--sm {
    background: var(--gold);
}

.p-tool-domain-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    width: 100%;
    background: var(--navy);
    color: rgb(250, 250, 248);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.p-tool-domain-btn:hover {
    background: var(--navy-mid);
    transform: translateY(-1px);
}

.p-tool-review {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-top: 1.25rem;
}

.p-tool-review-link {
    color: var(--teal-dk);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid var(--teal-dk);
    padding-bottom: 1px;
}

/* ═══════════════════════════════════════
   LEGAL PAGES (privacy policy, terms)
═══════════════════════════════════════ */
.p-legal-hero {
    background: var(--navy);
    color: rgb(250, 250, 248);
    padding: 8rem clamp(1.5rem, 5vw, 3.5rem) 4rem;
}

.p-legal-hero-inner {
    max-width: 46rem;
    margin: 0 auto;
}

.p-legal-hero h1 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.4rem, 5.5vw, 3.6rem);
    line-height: 1.1;
    margin: 0.8rem 0 1rem;
    color: rgb(250, 250, 248);
}

.p-legal-hero h1 em {
    font-style: italic;
    color: var(--gold-lt);
}

.p-legal-hero p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(250, 250, 248, 0.72);
    margin: 0;
    max-width: 38rem;
}

.p-legal-updated {
    font-family: var(--font-mono) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.45) !important;
    margin-top: 1.75rem !important;
}

.p-legal {
    background: var(--warm-white);
    padding: 4rem clamp(1.5rem, 5vw, 3.5rem) 6rem;
}

.p-legal-inner {
    max-width: 46rem;
    margin: 0 auto;
}

.p-legal-summary {
    border: 1px solid var(--border-primary);
    border-left: 3px solid var(--teal-dk);
    border-radius: 8px;
    background: rgb(255, 255, 255);
    padding: 1.75rem clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 3.5rem;
}

.p-legal-summary h2 {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal-dk);
    margin: 0 0 1rem;
}

.p-legal-summary ul {
    margin: 0;
    padding-left: 1.1rem;
}

.p-legal-summary li {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink);
    margin-bottom: 0.55rem;
}

.p-legal-summary-note {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 1.1rem 0 0;
}

.p-legal-body h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.25;
    color: var(--ink);
    margin: 3rem 0 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-primary);
    scroll-margin-top: 6rem;
}

.p-legal-body h2:first-child {
    margin-top: 0;
}

.p-legal-body h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    margin: 2rem 0 0.6rem;
}

.p-legal-body p,
.p-legal-body li {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

.p-legal-body p {
    margin: 0 0 1rem;
}

.p-legal-body ul {
    margin: 0 0 1.2rem;
    padding-left: 1.2rem;
}

.p-legal-body li {
    margin-bottom: 0.5rem;
}

.p-legal-body strong {
    color: var(--ink);
    font-weight: 600;
}

.p-legal-body a {
    color: var(--teal-dk);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.p-legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.4rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
}

.p-legal-table th,
.p-legal-table td {
    text-align: left;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--border-primary);
    line-height: 1.55;
    color: var(--ink-soft);
    vertical-align: top;
}

.p-legal-table th {
    background: rgba(26, 32, 48, 0.04);
    font-weight: 600;
    color: var(--ink);
}

.p-legal-cta {
    margin-top: 3rem;
    padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
    background: var(--navy);
    border-radius: 8px;
}

.p-legal-cta p {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(250, 250, 248, 0.8);
}

.p-legal-cta a {
    color: var(--gold-lt);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 640px) {
    .p-legal-hero {
        padding-top: 6.5rem;
    }

    .p-legal-table,
    .p-legal-table thead,
    .p-legal-table tbody,
    .p-legal-table tr,
    .p-legal-table th,
    .p-legal-table td {
        display: block;
        width: 100%;
    }

    .p-legal-table thead {
        display: none;
    }

    .p-legal-table tr {
        margin-bottom: 0.9rem;
        border: 1px solid var(--border-primary);
    }

    .p-legal-table td {
        border: none;
        border-bottom: 1px solid var(--border-primary);
    }

    .p-legal-table tr td:last-child {
        border-bottom: none;
    }
}

/* ── Unsubscribe page ── */
.p-unsub {
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    background: rgb(255, 255, 255);
    padding: clamp(1.75rem, 4vw, 2.75rem);
}

.p-unsub h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.25;
    color: var(--ink);
    margin: 0 0 0.9rem;
}

.p-unsub p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 1rem;
}

.p-unsub a {
    color: var(--teal-dk);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.p-unsub-btn {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgb(250, 250, 248);
    background: var(--navy);
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1.6rem;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.p-unsub-btn:hover:not(:disabled) {
    background: var(--navy-mid);
    transform: translateY(-1px);
}

.p-unsub-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.p-unsub-msg {
    font-size: 0.85rem !important;
    margin: 0.9rem 0 0 !important;
    min-height: 1px;
}

.p-unsub-msg.is-error {
    color: #b3261e;
}

.p-unsub-back {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
}

.p-tool-step1-sub {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 40rem;
    margin: 0 auto 1.4rem;
    text-align: center;
}

.p-tool-affiliate-note {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--ink-soft);
    opacity: 0.85;
    max-width: 38rem;
    margin: 1rem auto 0;
    text-align: center;
}

/* ═══════════════════════════════════════
   PROMPT GENERATOR — EMAIL EXCHANGE
   Not a gate: the prompt above stays visible.
═══════════════════════════════════════ */
.p-tool-lead {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    background: var(--warm-white);
}

.p-tool-lead[hidden] {
    display: none;
}

.p-tool-lead h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.3rem;
    margin: 0 0 0.4rem;
    color: var(--ink);
}

.p-tool-lead-sub {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 1.1rem;
}

.p-tool-lead-form {
    display: flex;
    flex-direction: column;
    row-gap: 0.9rem;
}

.p-tool-consent {
    display: flex;
    align-items: flex-start;
    column-gap: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--ink-soft);
    cursor: pointer;
}

.p-tool-consent input {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.15rem;
    accent-color: var(--teal-dk);
}

.p-tool-consent a {
    color: var(--teal-dk);
    text-decoration: underline;
}

.p-tool-lead-btn {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgb(250, 250, 248);
    background: var(--navy);
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1.4rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.p-tool-lead-btn:hover:not(:disabled) {
    background: var(--navy-mid);
    transform: translateY(-1px);
}

.p-tool-lead-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.p-tool-lead-msg {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    min-height: 1px;
    color: var(--ink-soft);
}

.p-tool-lead-msg.is-error {
    color: #b3261e;
}

.p-tool-lead-msg.is-ok {
    color: var(--teal-dk);
    font-weight: 600;
}

/* Honeypot — hidden from people, visible to bots. Must not use display:none,
   which some bots skip. */
.p-tool-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.p-tool-main {
    background: var(--warm-white);
    padding-top: 5.5rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 5.5rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
}

.p-tool-grid {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.75rem;
    row-gap: 1.75rem;
    align-items: stretch;
}

.p-tool-card {
    background: rgb(255, 255, 255);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    padding: 2rem;
}

.p-tool-step-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-dk);
}

.p-tool-card h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.p-tool-card-sub {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.p-tool-form {
    display: flex;
    flex-direction: column;
    row-gap: 1.1rem;
}

.p-tool-field {
    display: flex;
    flex-direction: column;
    row-gap: 0.4rem;
}

.p-tool-field span {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--navy);
}

.p-tool-field input,
.p-tool-field textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--linen);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 0.75rem 0.95rem;
    resize: vertical;
}

.p-tool-field input:focus,
.p-tool-field textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: rgb(255, 255, 255);
}

.p-tool-generate-btn {
    margin-top: 0.5rem;
    background: var(--navy);
    color: rgb(250, 250, 248);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.p-tool-generate-btn:hover {
    background: var(--navy-mid);
    transform: translateY(-1px);
}

.p-tool-output {
    width: 100%;
    min-height: 210px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--linen);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 0.95rem;
    resize: vertical;
}

.p-tool-output::placeholder {
    font-style: italic;
    color: var(--ink-soft);
    opacity: 0.7;
}

.p-tool-output:focus {
    outline: none;
    border-color: var(--teal);
}

.p-tool-final-step {
    display: flex;
    align-items: flex-start;
    column-gap: 0.75rem;
    background: rgba(110, 181, 192, 0.1);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-top: 1.25rem;
}

.p-tool-final-step p {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

.p-tool-final-step strong {
    color: var(--navy);
}

.p-tool-final-step a {
    color: var(--teal-dk);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid var(--teal-dk);
}

.p-tool-divider {
    border: none;
    border-top: 1px solid var(--border-primary);
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
}

.p-tool-htaccess-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.p-tool-htaccess-head span {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy);
}

.p-tool-copy-btn {
    display: inline-flex;
    align-items: center;
    column-gap: 0.35rem;
    background: none;
    border: 1px solid var(--teal-dk);
    color: var(--teal-dk);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.p-tool-copy-btn:hover {
    background: var(--teal-dk);
    color: rgb(255, 255, 255);
}

.p-tool-htaccess-note {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-bottom: 0.9rem;
}

.p-tool-quote-box {
    margin-top: 1.75rem;
    background: var(--linen);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    text-align: center;
}

.p-tool-quote-box p {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
}

.p-tool-quote-link {
    color: var(--teal-dk);
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.p-tool-cta {
    background: var(--navy-mid);
    color: rgb(250, 250, 248);
    text-align: center;
    padding-top: 6rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 6rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
}

.p-tool-cta-inner {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.p-tool-cta h2 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.p-tool-cta p {
    font-family: var(--font-sans);
    color: rgba(250, 250, 248, 0.7);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.p-tool-cta-actions {
    display: flex;
    justify-content: center;
    column-gap: 1rem;
    row-gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .p-tool-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   CONTACT SECTION (index.html)
═══════════════════════════════════════ */
.p-contact {
    background: var(--warm-white);
    padding-top: 7.5rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 7.5rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
    border-top: 1px solid var(--border-primary);
}

.p-contact-inner {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    column-gap: 4rem;
    row-gap: 3rem;
    align-items: start;
}

.p-contact-person {
    display: flex;
    flex-direction: column;
    row-gap: 1.75rem;
}

.p-contact-portrait {
    width: clamp(140px, 16vw, 190px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--teal);
    box-shadow: 0 0 0 6px rgba(110, 181, 192, 0.14);
    flex-shrink: 0;
}

.p-contact-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p-contact-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-dk);
    display: block;
    margin-bottom: 0.6rem;
}

.p-contact-bio h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 0.3rem;
}

.p-contact-role {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.p-contact-bio p {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 44ch;
}

.p-contact-links {
    display: flex;
    flex-direction: column;
    row-gap: 0.65rem;
    margin-top: 0.5rem;
}

.p-contact-link {
    display: inline-flex;
    align-items: center;
    column-gap: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.p-contact-link:hover {
    color: var(--teal-dk);
}

.p-contact-link svg {
    width: 15px;
    height: 15px;
    color: var(--teal-dk);
    flex-shrink: 0;
}

.p-contact-form-card {
    background: var(--navy);
    color: rgb(250, 250, 248);
    padding: clamp(2rem, 4vw, 2.75rem);
    border-radius: 10px;
}

.p-contact-form-card .p-contact-eyebrow {
    color: var(--gold-lt);
}

.p-contact-form-card h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.6rem;
    color: rgb(250, 250, 248);
    margin: 0.5rem 0 0.5rem;
    line-height: 1.2;
}

.p-contact-form-card > p {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: rgba(250, 250, 248, 0.55);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.p-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    margin-bottom: 1rem;
}

.p-form-group {
    display: flex;
    flex-direction: column;
    row-gap: 0.4rem;
    margin-bottom: 1rem;
}

.p-form-group label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.45);
}

.p-form-group input,
.p-form-group select,
.p-form-group textarea {
    background: rgba(250, 250, 248, 0.06);
    border: 1px solid rgba(250, 250, 248, 0.14);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: rgb(250, 250, 248);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
}

.p-form-group input:focus,
.p-form-group select:focus,
.p-form-group textarea:focus {
    border-color: var(--teal);
    background: rgba(110, 181, 192, 0.08);
}

.p-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(250,250,248,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.p-form-group select option {
    background: var(--navy);
    color: rgb(250, 250, 248);
}

.p-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.p-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.p-contact-submit:hover {
    background: var(--gold-lt);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .p-contact-inner {
        grid-template-columns: 1fr;
        row-gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .p-form-row {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE CARD GRIDS
   (pricing / additional services / client results)
═══════════════════════════════════════ */
@media (max-width: 900px) {
    .p-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .p-pricing-grid {
        grid-template-columns: 1fr;
    }

    .p-services-grid {
        grid-template-columns: 1fr;
    }

    .p-work-grid {
        grid-template-columns: 1fr;
    }

    .p-pflip--featured {
        transform: none;
    }
}

/* ═══════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════ */
.p-back-to-top {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 70;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--teal-lt);
    border: 1px solid rgba(250, 250, 248, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(26, 32, 48, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.p-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.p-back-to-top:hover {
    background: var(--navy-mid);
}

.p-back-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 640px) {
    .p-back-to-top {
        left: 1rem;
        bottom: 1rem;
        width: 42px;
        height: 42px;
    }
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
   Content is VISIBLE BY DEFAULT so the page still works with JavaScript
   disabled, blocked, or slow. The reveal script opts elements into the
   hidden -> fade-in behaviour by adding .p-reveal-active to <html> only
   once it has successfully initialised.
═══════════════════════════════════════ */
.p-reveal {
    opacity: 1;
    transform: none;
}

.p-reveal-active .p-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-reveal-active .p-reveal.is-revealed {
    opacity: 1;
    transform: none;
}

.p-reveal-active .p-reveal--stagger.is-revealed {
    transition-delay: calc(var(--reveal-i, 0) * 0.08s);
}

@media (prefers-reduced-motion: reduce) {
    .p-reveal-active .p-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ═══════════════════════════════════════
   FOOTER BRAND / LOGO COLUMN
═══════════════════════════════════════ */
.p-footer-brand-col {
    flex: 0 1 320px;
    align-self: flex-start;
}

@media (max-width: 900px) {
    .p-footer-brand-col {
        flex-basis: 100%;
    }

    /* Stacked footer keeps the useful order: nav links, then the WhatsApp
       card, then the brand block as a sign-off. */
    .p-footer-links { order: 1; }
    .p-footer-whatsapp { order: 2; }
    .p-footer-brand-col { order: 3; }
}

/* ═══════════════════════════════════════
   SKIP LINK (keyboard accessibility)
═══════════════════════════════════════ */
.p-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 6px 0;
    text-decoration: none;
}

.p-skip-link:focus {
    left: 0;
}

/* Visible focus ring for keyboard users across interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════
   CONTACT: alternate (WhatsApp) path under the form
═══════════════════════════════════════ */
.p-contact-alt {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: rgba(250, 250, 248, 0.55);
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
}

.p-contact-alt a {
    color: var(--gold-lt);
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 204, 128, 0.4);
}

.p-contact-alt a:hover {
    color: var(--gold);
}

/* ═══════════════════════════════════════
   TESTIMONIAL BAND (sits directly above pricing)
═══════════════════════════════════════ */
.p-quote {
    background: var(--navy-mid);
    padding-top: 5rem;
    padding-right: clamp(1.5rem, 5vw, 3.5rem);
    padding-bottom: 5rem;
    padding-left: clamp(1.5rem, 5vw, 3.5rem);
}

.p-quote-inner {
    max-width: 46rem;
    margin: 0 auto;
    text-align: center;
}

.p-quote blockquote {
    margin: 0;
}

.p-quote blockquote p {
    font-family: var(--font-serif);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.5;
    color: rgb(250, 250, 248);
    margin: 0;
}

.p-quote-by {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.9rem;
    margin-top: 2rem;
}

.p-quote-avatar {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 250, 248, 0.08);
    border: 1px solid rgba(250, 250, 248, 0.18);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--gold-lt);
}

.p-quote-avatar--photo {
    object-fit: cover;
    object-position: center top;
    background: rgba(250, 250, 248, 0.06);
}

/* ── Secondary testimonials: three smaller cards below the feature quote ── */
.p-quote-grid {
    max-width: 68rem;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.p-qcard {
    margin: 0;
    padding: 1.75rem;
    border: 1px solid rgba(250, 250, 248, 0.12);
    border-radius: 4px;
    background: rgba(250, 250, 248, 0.03);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.p-qcard blockquote {
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.p-qcard blockquote p {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 300;
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(250, 250, 248, 0.86);
}

.p-qcard-by {
    display: flex;
    align-items: center;
    column-gap: 0.8rem;
}

@media (max-width: 900px) {
    .p-quote-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 34rem;
        margin-top: 3rem;
        gap: 1.25rem;
    }
}

.p-quote-meta {
    text-align: left;
}

.p-quote-meta strong {
    display: block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.92rem;
    color: rgb(250, 250, 248);
}

.p-quote-role {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.45);
    margin-top: 0.2rem;
}

/* ═══════════════════════════════════════
   OUTCOME FIGURE ON A CASE-STUDY CARD
═══════════════════════════════════════ */
.p-wcard-stat {
    display: flex;
    align-items: baseline;
    column-gap: 0.55rem;
    flex-wrap: wrap;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid var(--border-primary);
}

.p-wcard-stat-fig {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
    color: var(--teal-dk);
}

.p-wcard-stat-label {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    line-height: 1.35;
    color: var(--ink-soft);
    flex: 1 1 8rem;
}

/* ═══════════════════════════════════════
   CONTACT FORM STATUS MESSAGE
═══════════════════════════════════════ */
.p-contact-msg {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 1rem;
    margin-bottom: 0;
    min-height: 1.2em;
}

.p-contact-msg.is-ok {
    color: var(--teal-lt);
}

.p-contact-msg.is-error {
    color: #E39A8A;
}

.p-contact-msg a {
    color: var(--gold-lt);
}
