/**
 * A directory member's own page.
 *
 * The brief was a page a gardener would be proud to put on Facebook — in some cases
 * better-looking than their own website — while still reading as Shear Power.
 *
 * The hero is a mown lawn, drawn in CSS. Diagonal mower stripes are the signature of a
 * lawn somebody has just cut, so the page announces the trade before a word is read, and
 * it costs no image request — which matters, because the whole site was just cut from
 * 226KB of webfont and a 76KB hero down to almost nothing, and a decorative photograph on
 * every profile would hand a chunk of that back. Brand continuity comes from the same
 * scrolling grass strip the home page uses (shape-2.webp, @keyframes slide in style.css),
 * running along the bottom edge of the band.
 *
 * Loaded per page through $extraStyles, so it is non-blocking and only the profile pages
 * carry it. Its above-the-fold half is inlined by scripts/build-critical.php.
 *
 * Motion: everything animates from a *visible* resting state, so a browser without
 * scroll-driven animations (Safari and Firefox today) shows a finished page rather than an
 * empty one. prefers-reduced-motion stops all of it, including the grass.
 */

/*
 * On :root, not on .sp-profile-page — and that is a bug fix, not tidying.
 *
 * These were scoped to the profile page's body class. The area page loads this stylesheet
 * too (it reuses the dialog for "Is this your business?") but carries .sp-area-page, so
 * every var() below resolved to nothing there. `background: var(--pf-card)` is then
 * invalid at computed-value time, which makes it `unset` — a transparent modal. The only
 * things that still had colour were the inputs, which set `background: #fff` literally.
 * That is exactly what shipped: a see-through dialog with two floating white boxes on the
 * branch that has inputs, and nothing at all on the branch that does not.
 *
 * Tokens are a layer, not a component. They belong at the root of any document that
 * loads the sheet.
 */
:root {
    --pf-dark:   #2A331F;
    --pf-darker: #1B2115;
    --pf-acid:   #84F000;
    --pf-ink:    #171C12;
    --pf-muted:  #6B7561;
    --pf-line:   #E2E6DA;
    --pf-card:   #FFFFFF;
}

/* ---------------------------------------------------------------------------
   The banner: mown stripes, a soft light bloom, and the grass strip.
   --------------------------------------------------------------------------- */
.pf-hero {
    position: relative;
    overflow: hidden;
    /*
     * Normal padding, not header-clearance.
     *
     * This was 208px, sized to clear a position:absolute header when the page used the
     * header-2 layout. Moving to the home page's header on 2026-09-09 made the header
     * position:relative and therefore in flow — so that clearance stopped being clearance
     * and became 210px of empty green above the business name. Measured, not guessed:
     * the header is 176px and in the document, so the banner only owes its own padding.
     */
    padding: 84px 0 96px;
    background-color: var(--pf-dark);
    color: #fff;
    isolation: isolate;
}

/*
 * The stripes, second pass (2026-09-09).
 *
 * The first version crossed two sets of gradients at opposing angles, which was closer to
 * how a lawn is actually cut and read as noise on a screen — busy behind white text, and
 * fighting the logo. A real striped lawn seen from a doorway is one direction, wide bands
 * and very little contrast between them; that is what this is now. Wider (86px), shallower
 * angle, and about a third of the contrast, so it reads as texture rather than pattern.
 */
.pf-hero::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: -2;
    background:
        repeating-linear-gradient(97deg,
            rgba(255, 255, 255, .028) 0 86px,
            rgba(0, 0, 0, .030) 86px 172px),
        radial-gradient(130% 100% at 20% 0%, #3A4729 0%, var(--pf-darker) 78%);
}

/* A slow bloom across the stripes, like sun moving over a lawn. Very low contrast on
   purpose: you should notice the page feels alive, not that something is animating. */
.pf-hero::after {
    content: "";
    position: absolute;
    inset: -40% -10%;
    z-index: -1;
    background: radial-gradient(38% 46% at 50% 50%, rgba(132, 240, 0, .16), transparent 70%);
    animation: pf-drift 26s ease-in-out infinite alternate;
}

@keyframes pf-drift {
    from { transform: translate3d(-16%, -6%, 0) scale(1); }
    to   { transform: translate3d(16%, 6%, 0) scale(1.15); }
}

/* Same asset and same keyframes as the home page's hero, so the two feel related. */
.pf-grass {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 54px;
    background-repeat: repeat-x;
    z-index: 3;
    animation: slide 60s linear infinite;
}

.pf-hero-inner { position: relative; z-index: 2; }

.pf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: rgba(132, 240, 0, .13);
    border: 1px solid rgba(132, 240, 0, .32);
    color: var(--pf-acid);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.pf-eyebrow i { font-size: 12px; }

.pf-name {
    margin: 0 0 14px;
    font-size: clamp(38px, 7vw, 76px);
    line-height: .97;
    letter-spacing: -.01em;
    text-wrap: balance;
    color: #fff;
}

.pf-tagline {
    max-width: 30ch;
    margin: 0 0 26px;
    font-size: clamp(18px, 2.4vw, 23px);
    line-height: 1.45;
    color: rgba(255, 255, 255, .84);
    text-wrap: pretty;
}

/* ---- the call-to-action row --------------------------------------------- */
.pf-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.pf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.pf-btn:hover, .pf-btn:focus-visible { transform: translateY(-2px); }
.pf-btn--primary {
    background: var(--pf-acid);
    color: var(--pf-ink);
    box-shadow: 0 8px 22px rgba(132, 240, 0, .28);
}
.pf-btn--primary:hover, .pf-btn--primary:focus-visible {
    box-shadow: 0 12px 30px rgba(132, 240, 0, .40);
    color: var(--pf-ink);
}
.pf-btn--ghost {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
}
.pf-btn--ghost:hover, .pf-btn--ghost:focus-visible { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------------------------------------------------------------------------
   Facts. Structured answers, as things you can take in at a glance.
   --------------------------------------------------------------------------- */
.pf-facts {
    display: grid;
    /*
     * Wider minimum than the first version's 158px. The labels now say what they mean
     * ("Best way to get in touch" rather than "Prefers"), which needs the room, and four
     * columns of real sentences beats five of riddles.
     */
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1px;
    /*
     * Clear of the banner rather than overlapping it. The strip used to pull up 46px and
     * cover the middle of the grass, which is the one piece of the home page's identity
     * this band carries — the overlap looked neat and hid the better idea.
     */
    margin: 26px auto 0;
    position: relative;
    z-index: 4;
    background: var(--pf-line);
    border: 1px solid var(--pf-line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(23, 28, 18, .12);
}
.pf-fact { background: var(--pf-card); padding: 20px 22px; }
.pf-fact dt {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--pf-muted);
}
.pf-fact dd {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
    color: var(--pf-ink);
    font-weight: 600;
}
.pf-fact--big dd { font-size: 32px; line-height: 1.05; }
.pf-fact--big dd span {
    display: block;
    margin-top: 3px;
    font-size: 14px;
    font-weight: 400;
    color: var(--pf-muted);
}

/* ---------------------------------------------------------------------------
   The interview.
   --------------------------------------------------------------------------- */
.pf-body { padding: 74px 0 20px; }
.pf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 56px; align-items: start; }

/* ---------------------------------------------------------------------------
   No transitions on text that this stylesheet recolours.

   The theme sets `transition: all 500ms ease` on h1-h6, and every stylesheet here is
   deferred (media="print", flipped to "all" on load). So the moment this file lands, a
   promoted business name does not simply become white — it *animates* from the theme's
   near-black to white over half a second, on top of dark green, on every single page
   load. It reads as a bug because it looks exactly like one.

   Colour that this sheet owns must therefore arrive instantly. Nothing here needs to
   animate on a stylesheet swap; the hover transitions are declared on their own rules.
   --------------------------------------------------------------------------- */
.pf-name, .pf-dialog-head h2, .pf-section-title, .pf-h2 { transition: none; }

@media (max-width: 991px) { .pf-layout { grid-template-columns: 1fr; gap: 40px; } }

.pf-section-label {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pf-muted);
}

/* <details>. The first is open; the rest are an index somebody scans and chooses from. */
.pf-qa {
    margin: 0;
    border-bottom: 1px solid var(--pf-line);
}
.pf-qa:first-of-type { border-top: 1px solid var(--pf-line); }

.pf-q {
    position: relative;
    margin: 0;
    padding: 22px 40px 22px 22px;
    cursor: pointer;
    list-style: none;
    font-size: clamp(20px, 2.6vw, 26px);
    line-height: 1.3;
    color: var(--pf-ink);
    text-wrap: balance;
}
.pf-q::-webkit-details-marker { display: none; }
.pf-q:hover, .pf-q:focus-visible { color: #3E5C00; }

/* A mown edge down the side of each question — brighter once it is the one being read. */
.pf-q::before {
    content: "";
    position: absolute;
    left: 0; top: 24px; bottom: 24px;
    width: 4px;
    border-radius: 2px;
    background: #C3D9A0;
    transition: background-color .18s ease;
}
.pf-qa[open] > .pf-q::before { background: var(--pf-acid); }

/* The chevron. Rotates rather than swapping glyphs, so it animates. */
.pf-q::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 9px; height: 9px;
    margin-top: -6px;
    border-right: 2px solid var(--pf-muted);
    border-bottom: 2px solid var(--pf-muted);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.pf-qa[open] > .pf-q::after { transform: rotate(-135deg); margin-top: -2px; }

.pf-a {
    margin: 0;
    padding: 0 0 26px 22px;
    font-size: 17.5px;
    line-height: 1.72;
    color: #3D4636;
    max-width: 64ch;
    white-space: pre-line;
}

/* ---------------------------------------------------------------------------
   Contact card. Sticky beside the interview on a wide screen.
   --------------------------------------------------------------------------- */
.pf-card {
    background: var(--pf-card);
    border: 1px solid var(--pf-line);
    border-radius: 12px;
    padding: 26px 26px 22px;
    box-shadow: 0 12px 30px rgba(23, 28, 18, .07);
}
@media (min-width: 992px) { .pf-card { position: sticky; top: 26px; } }

.pf-card h2 { margin: 0 0 4px; font-size: 20px; }
.pf-card-note { margin: 0 0 18px; font-size: 14px; line-height: 1.5; color: var(--pf-muted); }

.pf-contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.pf-contact a,
.pf-contact button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--pf-line);
    border-radius: 8px;
    color: var(--pf-ink);
    text-decoration: none;
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.pf-contact a:hover, .pf-contact a:focus-visible,
.pf-contact button:hover, .pf-contact button:focus-visible {
    border-color: var(--pf-acid);
    background: rgba(132, 240, 0, .07);
    transform: translateX(2px);
}
.pf-contact i { width: 18px; text-align: center; color: #5C8A00; flex: 0 0 auto; }
.pf-contact span { font-size: 15px; word-break: break-word; }
.pf-contact .pf-contact-kind {
    margin-left: auto;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pf-muted);
}

.pf-areas { margin: 0; padding: 16px 0 0; border-top: 1px solid var(--pf-line); }
.pf-areas dt {
    margin: 0 0 5px; font-size: 11px; letter-spacing: .13em;
    text-transform: uppercase; color: var(--pf-muted);
}
.pf-areas dd { margin: 0; font-size: 15px; line-height: 1.6; color: #3D4636; }

.pf-services { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 0; padding: 0; list-style: none; }
.pf-services li {
    padding: 5px 12px;
    border-radius: 999px;
    background: #F1F4EC;
    border: 1px solid var(--pf-line);
    font-size: 13.5px;
    color: #3D4636;
}

/* ---------------------------------------------------------------------------
   Others in the area, and the footer strip.
   --------------------------------------------------------------------------- */
.pf-others { padding: 20px 0 78px; }
.pf-others-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.pf-other {
    padding: 15px 18px;
    border: 1px solid var(--pf-line);
    border-radius: 9px;
    background: var(--pf-card);
    color: var(--pf-ink);
    text-decoration: none;
    transition: border-color .16s ease, transform .16s ease;
}
.pf-other:hover, .pf-other:focus-visible { border-color: var(--pf-acid); transform: translateY(-2px); color: var(--pf-ink); }
.pf-other strong { display: block; font-size: 16px; }
.pf-other span { font-size: 13px; color: var(--pf-muted); }

.pf-claim {
    margin-top: 34px;
    padding: 20px 24px;
    border-radius: 10px;
    background: #F1F4EC;
    border: 1px solid var(--pf-line);
    font-size: 15px;
    line-height: 1.6;
    color: #3D4636;
}

/* ---------------------------------------------------------------------------
   Motion.

   Scroll-driven where the browser has it, and nothing anywhere else — every rule below
   only ever *adds* an animation to an element that is already in its finished state, so
   an unsupporting browser renders the completed page. That is the opposite of the usual
   reveal-on-scroll pattern, which parks content at opacity:0 and needs JavaScript to
   arrive before anything is readable.
   --------------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .pf-fact, .pf-other {
            animation: pf-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 46%;
        }
    }
}

@keyframes pf-rise {
    from { opacity: .35; transform: translateY(14px); }
    to   { opacity: 1;   transform: none; }
}

/* One reveal on load, for the name only — the page's own small moment. */
@media (prefers-reduced-motion: no-preference) {
    .pf-name { animation: pf-cut .85s cubic-bezier(.2, .7, .3, 1) both; }
    .pf-eyebrow, .pf-tagline, .pf-cta { animation: pf-rise .7s ease-out both; }
    .pf-tagline { animation-delay: .08s; }
    .pf-cta     { animation-delay: .16s; }
}

/*
 * Named for what it looks like: the strimmer passing across the words.
 *
 * The vertical insets are negative, not zero. clip-path clips to the border box, and this
 * heading runs at line-height .97 in a face with tall ascenders — so `inset(0 ...)` sliced
 * the tops off the f's in "Greenfingers of Cardiff". Letting the clip bleed a little above
 * and below the box wipes horizontally, which is all it was ever meant to do.
 */
@keyframes pf-cut {
    from { clip-path: inset(-.2em 100% -.2em 0); opacity: .2; }
    to   { clip-path: inset(-.2em 0 -.2em 0);    opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .pf-grass, .pf-hero::after { animation: none; }
    .pf-btn, .pf-contact a, .pf-other { transition: none; }
}

/* 768–991px is where the nav wraps and the header is at its tallest. */
@media (max-width: 620px) {
    .pf-hero { padding: 60px 0 76px; }
    .pf-facts { margin-top: 20px; }
    .pf-body { padding-top: 44px; }
}

/* ---------------------------------------------------------------------------
   Contact buttons (2026-09-09).

   WhatsApp gets WhatsApp's own green and a full-size mark. It is not our brand colour and
   that is the point: people recognise that green before they read the word, which is
   exactly what you want on the button this trade will actually get used through.
   --------------------------------------------------------------------------- */
.pf-contact li { display: block; }

.pf-contact .pf-contact-wa,
.pf-contact .pf-contact-email {
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pf-contact .pf-contact-wa {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    font-weight: 600;
    padding: 15px 16px;
}
.pf-contact .pf-contact-wa:hover,
.pf-contact .pf-contact-wa:focus-visible {
    background: #1FB855;
    border-color: #1FB855;
    color: #fff;
}
.pf-contact .pf-contact-wa i { color: #fff; font-size: 24px; width: 26px; }
.pf-contact .pf-contact-wa span { font-size: 16px; }

.pf-contact .pf-contact-email { background: var(--pf-card); }

/* ---------------------------------------------------------------------------
   The message dialog.
   --------------------------------------------------------------------------- */
.pf-dialog {
    /*
     * Centred explicitly. A modal <dialog> is centred by the UA's own `inset: 0` plus
     * `margin: auto`, and setting a width without restating those leaves it pinned to the
     * top-left corner — which is what shipped. Stating all three keeps it in the middle
     * whatever else the theme's stylesheet has to say about dialogs.
     */
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(520px, calc(100vw - 32px));
    /* dvh tracks the visible viewport; on mobile Safari plain vh is the
       toolbar-hidden height, so the foot of a tall modal hides under the
       browser chrome. vh first, as the fallback. */
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    border: none;
    border-radius: 14px;
    /*
     * Stated explicitly. The UA gives a dialog `background: canvas`, but this theme sets
     * backgrounds broadly enough to leave it transparent — which rendered the box as a
     * ghost with the banner showing through it.
     */
    background: var(--pf-card);
    box-shadow: 0 30px 70px rgba(23, 28, 18, .28);
    color: var(--pf-ink);
}
.pf-dialog::backdrop { background: rgba(16, 20, 12, .74); }

/* Opens from slightly small and low, which reads as the box arriving rather than
   appearing. Skipped entirely under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .pf-dialog[open] { animation: pf-dialog-in .22s cubic-bezier(.2, .7, .3, 1); }
}
@keyframes pf-dialog-in {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to   { opacity: 1; transform: none; }
}

.pf-message-form { padding: 24px 26px 26px; }

.pf-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.pf-dialog-head h2 { margin: 0; font-size: 22px; line-height: 1.25; text-wrap: balance; }
.pf-dialog-close {
    flex: 0 0 auto;
    width: 34px; height: 34px;
    border: 1px solid var(--pf-line);
    border-radius: 8px;
    background: #fff;
    font-size: 22px;
    line-height: 1;
    color: var(--pf-muted);
    cursor: pointer;
}
.pf-dialog-close:hover, .pf-dialog-close:focus-visible { border-color: var(--pf-acid); color: var(--pf-ink); }

.pf-dialog-note { margin: 8px 0 18px; font-size: 14px; line-height: 1.55; color: var(--pf-muted); }
.pf-dialog-error {
    margin: 0 0 16px;
    padding: 11px 14px;
    border-radius: 8px;
    border-left: 3px solid #B4521E;
    background: #FDF3EE;
    font-size: 14.5px;
    color: #7A3512;
}

.pf-message-form label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: 15px; }
.pf-message-form label span { font-weight: 400; color: var(--pf-muted); }
.pf-message-form input, .pf-message-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--pf-line);
    border-radius: 8px;
    font: inherit;
    line-height: 1.5;
    color: var(--pf-ink);
    background: #fff;
}
.pf-message-form input:focus, .pf-message-form textarea:focus {
    outline: 2px solid var(--pf-acid);
    outline-offset: 1px;
    border-color: var(--pf-acid);
}
.pf-message-form textarea { resize: vertical; min-height: 130px; }
.pf-field-hint { margin: 6px 0 0; font-size: 13px; color: var(--pf-muted); }
.pf-dialog-send { width: 100%; justify-content: center; margin-top: 22px; }

/* ---------------------------------------------------------------------------
   The claim dialog: three steps, not a form.
   --------------------------------------------------------------------------- */
.claim-loading {
    display: flex; align-items: center; gap: 10px;
    margin: 14px 0 4px; font-size: 14.5px; color: var(--pf-muted);
}

.claim-steps { margin: 16px 0 22px; padding: 0; list-style: none; display: grid; gap: 14px; }
.claim-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
.claim-step-n {
    flex: 0 0 auto;
    width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--pf-dark);
    color: var(--pf-acid);
    font-size: 12.5px; font-weight: 700;
}
/* The address is the sentence people actually read, so it gets to look like a value and
   is allowed to break rather than push the dialog sideways. */
.claim-email {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 5px;
    background: #F1F5EA;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13.5px;
    color: var(--pf-ink);
    word-break: break-all;
}
.claim-foot { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--pf-muted); }

/* The honeypot. Off-screen rather than display:none — some bots skip hidden fields, and
   the whole trick depends on them filling this one in. */
.pf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pf-sent {
    position: fixed;
    left: 50%; bottom: 24px;
    transform: translateX(-50%);
    z-index: 60;
    display: flex; align-items: center; gap: 10px;
    max-width: calc(100vw - 32px);
    padding: 14px 22px;
    border-radius: 999px;
    background: var(--pf-ink);
    color: #fff;
    font-size: 15px;
    box-shadow: 0 14px 34px rgba(23, 28, 18, .3);
}
.pf-sent i { color: var(--pf-acid); }

/* ---------------------------------------------------------------------------
   Google rating, in the banner (2026-09-09).

   Two numbers and a link. The stars are one gradient clipped to the glyphs, filled to a
   custom property set from the rating itself — so 4.6 renders as 4.6 rather than rounding
   to the nearest half star, and it costs no image and no icon font.
   --------------------------------------------------------------------------- */
.pf-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 15px;
    color: rgba(255, 255, 255, .82);
}

.pf-stars {
    font-size: 19px;
    line-height: 1;
    letter-spacing: 2px;
    background: linear-gradient(
        90deg,
        #FFC531 0,
        #FFC531 var(--pf-fill, 0%),
        rgba(255, 255, 255, .26) var(--pf-fill, 0%)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pf-rating strong { font-size: 17px; color: #fff; }
.pf-rating a { color: var(--pf-acid); text-decoration: none; }
.pf-rating a:hover, .pf-rating a:focus-visible { text-decoration: underline; }

/* ---------------------------------------------------------------------------
   Preview mode: the member's own page before anybody else can see it.

   Same treatment as the Ideas previews in /hq, deliberately — somebody who has
   seen one should recognise the other instantly. The border follows the viewport
   and the bar sticks, because on a long profile the "is this ready" decision is
   made at the bottom of the page, not the top.
   --------------------------------------------------------------------------- */
body.sp-preview {
    border: 6px solid var(--pf-acid);
    min-height: 100vh;
}

.pf-preview-bar {
    position: sticky; top: 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    padding: 10px 22px;
    background: var(--pf-acid);
    color: #12140f;
    font-size: 14.5px; font-weight: 600;
}
.pf-preview-bar a { color: #12140f; font-weight: 700; }
.pf-preview-bar .state {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .14);
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

@media (max-width: 620px) {
    body.sp-preview { border-width: 4px; }
    .pf-preview-bar { padding: 9px 14px; font-size: 13.5px; }
}
