/* ==========================================================================
   Unique-Faces single pager
   Template: unique-faces.php  |  Header: header-unique-faces.php
   Every rule is scoped under .page-template-unique-faces so nothing here can
   reach another page, even if the file is ever enqueued globally by mistake.
   Do not add any of this to style.css - that file is compiled from style.scss
   and hand edits get overwritten.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
.page-template-unique-faces {
    --uf-black: #000000;
    --uf-ink: #212529;
    --uf-grey: #eeeeee;
    --uf-rule: #e6e6e0;
    --uf-refs-label: #757570;  /* design said #7a7a74, which is 4.33:1 on white and fails AA at 10.5px */
    --uf-btn-border: #2c2c2a;

    --uf-font-regular: "proxima_nova_rgregular", Arial, Helvetica, sans-serif;
    --uf-font-semibold: "proxima_novasemibold", Arial, Helvetica, sans-serif;
    --uf-font-bold: "proxima_nova_rgbold", Arial, Helvetica, sans-serif;

    --uf-section-pad: 70px;
    --uf-container: 1140px;
}

/* --------------------------------------------------------------------------
   Page shell
   -------------------------------------------------------------------------- */
body.page-template-unique-faces,
.page-template-unique-faces .unique-faces {
    background: #ffffff;
}

.page-template-unique-faces .unique-faces {
    font-family: var(--uf-font-regular);
    color: var(--uf-black);
}

/* The two white-on-black bands only. Chrome on macOS defaults to subpixel
   antialiasing, which fattens light stems on a dark ground, so Regular copy on
   these sections reads as though it were Semibold. Figma renders light-on-dark
   slightly thinner, which is why the build looked heavier than the design even
   though the cascade is identical to the black-on-white sections (verified: both
   resolve to proxima_nova_rgregular at weight 400, no faux-bold synthesis).
   Grayscale antialiasing matches the design. Deliberately NOT applied to the
   whole page: it would thin the black-on-white copy, which is already correct. */
.page-template-unique-faces .uf-hero,
.page-template-unique-faces .uf-support {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* The theme .container is capped at 1000px with overflow:hidden.
   Widen it for this page only, following the .radiesse-new .container precedent. */
.page-template-unique-faces .unique-faces .container {
    max-width: var(--uf-container);
    width: 100%;
}

/* The global h1/h2 rules force uppercase, centred and 80px of vertical padding.
   Neutralise them on our own headings only. The <h2> inside the relocated
   .contact_form block is deliberately left alone so it keeps the same treatment
   as the "Get in touch" heading on every other page. */
.page-template-unique-faces .uf-hero__headline,
.page-template-unique-faces .uf-trust__heading,
.page-template-unique-faces .uf-heading {
    padding: 0;
    margin: 0;
    text-align: inherit;
    text-transform: none;
    font-weight: normal;
    line-height: normal;
}

/* :where() contributes zero specificity, so this reset is (0,2,0) and every
   later .uf-* rule that declares a margin on a <p> wins on source order. Written
   as a bare `p` it was (0,2,1) and silently beat all of them, which flattened the
   hero eyebrow, CTA strapline, trust subhead, stat captions and job code. */
.page-template-unique-faces .unique-faces :where(p) {
    margin: 0;
}

/* ...but not inside the relocated form. HubSpot injects its rich text, legal
   consent and error messages as <p>, and zeroing their margins would collapse
   the form's spacing on this page only. */
.page-template-unique-faces .unique-faces .contact_form p {
    margin: revert;
}

.page-template-unique-faces .unique-faces sup {
    font-size: 11.61px;
    line-height: 0;
    /* Bootstrap's reboot already raises sup with `position:relative; top:-0.5em`.
       This used to say `vertical-align: super`, which stacked on top of that and
       raised every superscript twice, so they collided with the line above.
       Stay on baseline and let the single `top` offset do the work. */
    position: relative;
    vertical-align: baseline;
    top: -0.5em;
}

/* Registered trademark marks. Same element, but sized as part of the word
   rather than as a reference marker, so the two cannot be confused. */
.page-template-unique-faces .unique-faces sup.uf-reg {
    font-size: 0.6em;
}

/* Shared section heading: Bold 24px uppercase */
.page-template-unique-faces .uf-heading {
    font-family: var(--uf-font-bold);
    font-size: 24px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0;
}

/* Shared black button. Uses the theme .button class for the base, this only
   pins the measurements the design asks for. */
.page-template-unique-faces .uf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 20px;
    /* The theme's .button sets `margin: 10px 0`, which this shares the class
       with. Left alone it added 20px to the header height. */
    margin: 0;
    background: var(--uf-black);
    border: 1px solid var(--uf-btn-border);
    color: #ffffff;
    font-family: var(--uf-font-semibold);
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.page-template-unique-faces .uf-button:hover,
.page-template-unique-faces .uf-button:focus {
    background: #ffffff;
    color: var(--uf-black);
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   1. Custom header (header-unique-faces.php)
   -------------------------------------------------------------------------- */
.page-template-unique-faces .uf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    /* 17.8px, not the 31.418px in build-plan.md. That figure is Figma's
       auto-layout padding measured around the logo; the 54px buttons overflow it
       in the render. Applied literally to a flex row it gave a 138px header
       against the design's 91.3px. 17.8 + 54 + 17.8 + 1.745 border = 91.3. */
    padding: 17.8px 69.818px;
    background: #ffffff;
    border-bottom: 1.745px solid var(--uf-rule);
}

.page-template-unique-faces .uf-header__logo {
    display: block;
    flex: 0 0 auto;
    line-height: 0;
}

.page-template-unique-faces .uf-header__logo img,
.page-template-unique-faces .uf-header__logo svg {
    display: block;
    width: 319px;
    height: auto;
    max-width: 100%;
}

.page-template-unique-faces .uf-header__links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.page-template-unique-faces .uf-header__links .uf-button {
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   2. Hero
   -------------------------------------------------------------------------- */
.page-template-unique-faces .uf-hero {
    background: var(--uf-black);
    color: #ffffff;
    padding: 87px 20px 111px;
    text-align: center;
}

.page-template-unique-faces .uf-hero__inner {
    max-width: 1106px;
    margin: 0 auto;
}

.page-template-unique-faces .uf-hero__eyebrow {
    font-family: var(--uf-font-regular);
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 1.98px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 29px;
}

.page-template-unique-faces .uf-hero__headline {
    font-family: var(--uf-font-semibold);
    font-size: 49px;
    line-height: 47px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 29px;
}

/* 1000px, not 900px. The design's first intro line measures 885px, so a 900px
   cap left 15px of slack and any metric drift (the Arial fallback is wider)
   wrapped it and grew the hero. .uf-hero__inner already caps the column at the
   design's 1106px, so the tighter cap bought nothing. */
.page-template-unique-faces .uf-hero__intro {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 26.8px;
    color: #ffffff;
}

.page-template-unique-faces .uf-hero__intro strong,
.page-template-unique-faces .uf-hero__intro b {
    font-family: var(--uf-font-semibold);
    font-weight: normal;
}

/* --------------------------------------------------------------------------
   3. Product cards
   Full bleed row of four. Each card is a product logo above a bulleted list
   with an outlined speech bubble behind the list.
   -------------------------------------------------------------------------- */
.page-template-unique-faces .uf-cards {
    background: #ffffff;
    /* Measured off the Figma export: 31.8px above the tallest logo, and the
       bubble bottom sits 103.4px above the CTA button. */
    padding: 32px 0 33px;
}

/* Capped like every other band on the page (hero 1106, sections 6/7 1140,
   stats 1260, references 1020). Uncapped, a 2560px monitor gave 640px cards and
   570px bubbles, stretching the shape 1.75x the other way. The design frame is
   1920. */
.page-template-unique-faces .uf-cards__row {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.page-template-unique-faces .uf-card {
    flex: 1 1 25%;
    max-width: 25%;
    padding: 0 35px;
    display: flex;
    flex-direction: column;
}

.page-template-unique-faces .uf-card__logo {
    display: flex;
    align-items: flex-end;
    /* Centred: the design's logo insets (45.6 / 56.6 / 67.6 / 89.2 from the
       bubble edge) track logo width, which only centring explains. Without
       justify-content every logo sat flush against the bubble's left edge. */
    justify-content: center;
    /* 77px is the tallest logo (Ultherapy) in the design; 46.4px is the measured
       gap from the wordmark line down to the bubble top. */
    min-height: 77px;
    margin-bottom: 46px;
}

/* All four wordmarks share a baseline in the design; Bocouture's
   "(Botulinum toxin type A)" descriptor hangs below it into the gap above the
   bubble. Because the descriptor is part of the image, bottom-aligning the image
   lifted the Bocouture wordmark ~30px above the other three. */
.page-template-unique-faces .uf-card--bocouture .uf-card__logo img {
    margin-bottom: -30px;
}

.page-template-unique-faces .uf-card__logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Per product sizing. Expressed as a percentage of the card so the four logos
   keep the same size relationship to each other at every viewport width, rather
   than all collapsing to 100% once the card gets narrower than the largest of
   them. The percentages are the design's px widths over the 410px bubble. */
.page-template-unique-faces .uf-card--bocouture .uf-card__logo img { width: 77%;  max-width: 316px; }
.page-template-unique-faces .uf-card--radiesse  .uf-card__logo img { width: 72%;  max-width: 295px; }
.page-template-unique-faces .uf-card--belotero  .uf-card__logo img { width: 70%;  max-width: 285px; }
.page-template-unique-faces .uf-card--ultherapy .uf-card__logo img { width: 56%;  max-width: 231px; }


/* The bubble. The SVG is stretched with preserveAspectRatio="none" and the
   stroke is pinned with vector-effect="non-scaling-stroke", so the outline
   stays a crisp 1px at any card size instead of smearing. */
.page-template-unique-faces .uf-card__bubble {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    padding: 21px 24px 58px 24px;
}

.page-template-unique-faces .uf-card__bubble-shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.page-template-unique-faces .uf-card__bubble-shape path {
    stroke: var(--uf-black);
    stroke-width: 1;
    fill: none;
    vector-effect: non-scaling-stroke;
}

.page-template-unique-faces .uf-card__list {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-template-unique-faces .uf-card__list > li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 19px;
    letter-spacing: -0.25px;
    color: var(--uf-black);
}

.page-template-unique-faces .uf-card__list > li:last-child {
    margin-bottom: 0;
}

.page-template-unique-faces .uf-card__list > li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--uf-black);
}

.page-template-unique-faces .uf-card__list strong {
    font-family: var(--uf-font-bold);
    font-weight: normal;
}

/* Second level: en-rule markers, matching the design */
.page-template-unique-faces .uf-card__sublist {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.page-template-unique-faces .uf-card__sublist > li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 19px;
    letter-spacing: -0.25px;
}

.page-template-unique-faces .uf-card__sublist > li:last-child {
    margin-bottom: 0;
}

.page-template-unique-faces .uf-card__sublist > li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
}

/* --------------------------------------------------------------------------
   4. Get in touch CTA
   -------------------------------------------------------------------------- */
.page-template-unique-faces .uf-cta {
    background: #ffffff;
    padding: var(--uf-section-pad) 20px;
    text-align: center;
}

.page-template-unique-faces .uf-cta .uf-button {
    width: 300px;
    max-width: 100%;
}

.page-template-unique-faces .uf-cta__strap {
    margin-top: 32px;
    font-size: 22px;
    line-height: 1.4;
    color: var(--uf-black);
}

/* --------------------------------------------------------------------------
   5. Trust band and stats
   -------------------------------------------------------------------------- */
.page-template-unique-faces .uf-trust {
    background: var(--uf-grey);
    padding: var(--uf-section-pad) 40px;
    text-align: center;
}

.page-template-unique-faces .uf-trust__heading {
    font-family: var(--uf-font-bold);
    font-size: 24px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0;
}

.page-template-unique-faces .uf-trust__sub {
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.4;
}

.page-template-unique-faces .uf-trust__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    /* The design's stat centres measure 417.4px and 420.8px apart, i.e. three
       420px columns touching, 1260px total, centred. build-plan.md's "44px gap"
       is the vertical auto-layout gap, which is the margin-top below. */
    max-width: 1260px;
    margin: 44px auto 0;
}

.page-template-unique-faces .uf-stat {
    /* Was `flex: 0 1 420px`. Three 420px items plus two 44px gaps need 1348px,
       so on any screen narrower than that the three stats wrapped to 2+1, and
       below 1024px to 1+1+1. That caught 1366px and 1280px laptops, which is
       most of them. A 220px basis with grow lets three share whatever the band
       gives them, and the 420px cap stops them stretching on a wide monitor. */
    flex: 1 1 220px;
    max-width: 420px;
}

.page-template-unique-faces .uf-stat__figure {
    font-family: var(--uf-font-semibold);
    font-size: 48px;
    line-height: 1.1;
    color: var(--uf-black);
}

.page-template-unique-faces .uf-stat__caption {
    margin-top: 4px;
    font-size: 16px;
    line-height: 22px;
}

/* --------------------------------------------------------------------------
   6. Supporting your practice
   -------------------------------------------------------------------------- */
.page-template-unique-faces .uf-support {
    background: var(--uf-black);
    color: #ffffff;
    padding: var(--uf-section-pad) 20px;
}

.page-template-unique-faces .uf-support__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    max-width: var(--uf-container);
    margin: 0 auto;
}

.page-template-unique-faces .uf-support__text {
    flex: 1 1 515px;
    max-width: 515px;
}

.page-template-unique-faces .uf-support__text .uf-heading {
    color: #ffffff;
    margin-bottom: 15px;
}

.page-template-unique-faces .uf-support__text p {
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-template-unique-faces .uf-support__text p:last-child {
    margin-bottom: 0;
}

.page-template-unique-faces .uf-support__media {
    flex: 0 0 500px;
    max-width: 500px;
}

.page-template-unique-faces .uf-support__media img {
    display: block;
    width: 500px;
    max-width: 100%;
    height: 380px;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   7. Because every face is different
   -------------------------------------------------------------------------- */
.page-template-unique-faces .uf-different {
    background: #ffffff;
    padding: var(--uf-section-pad) 20px;
}

.page-template-unique-faces .uf-different__inner {
    display: flex;
    /* Centred, unlike .uf-support__inner. In the design the section 7 text block
       starts 56.7px below the image top and the two share a centre line. */
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: var(--uf-container);
    margin: 0 auto;
}

.page-template-unique-faces .uf-different__media {
    flex: 0 0 500px;
    max-width: 500px;
}

.page-template-unique-faces .uf-different__media img {
    display: block;
    width: 500px;
    max-width: 100%;
    height: 380px;
    object-fit: cover;
}

.page-template-unique-faces .uf-different__text {
    flex: 1 1 543px;
    max-width: 543px;
}

.page-template-unique-faces .uf-different__text .uf-heading {
    margin-bottom: 12px;
}

.page-template-unique-faces .uf-different__text p {
    font-size: 16px;
    line-height: 22px;
}

.page-template-unique-faces .uf-different__block + .uf-different__block {
    margin-top: 32px;
}

/* --------------------------------------------------------------------------
   8. Relocated get in touch form
   Reuses the .grey_bg / .contact_form markup from footer.php, minus the
   "Tell us who you are" button: on this page the form is always visible.
   -------------------------------------------------------------------------- */
.page-template-unique-faces .uf-form {
    background: var(--uf-grey);
    padding: 0 20px var(--uf-section-pad);
    margin-top: 0;
}

.page-template-unique-faces .uf-form .container {
    max-width: 1050px;
}

/* new-styles-jul-2025.css hides `.contact_form .form` until the "Tell us who
   you are" button is clicked. The client asked (2026-09-29) for the form to be
   always visible on this page only, so the button is removed from
   unique-faces.php and the form is shown here. Every other page keeps the
   button, because this rule is scoped to the Unique-Faces template. */
.page-template-unique-faces .uf-form .contact_form .form {
    display: block;
}

/* Anchor target offset so the smooth scroll in global.js, which has no header
   offset of its own, does not park the heading under the top of the viewport. */
.page-template-unique-faces .uf-anchor {
    display: block;
    position: relative;
    top: -20px;
    visibility: hidden;
}

/* --------------------------------------------------------------------------
   9. References and job code
   -------------------------------------------------------------------------- */
.page-template-unique-faces .uf-references {
    background: #ffffff;
    border-top: 1px solid var(--uf-rule);
    padding: 40px 20px;
}

.page-template-unique-faces .uf-references__inner {
    max-width: 1020px;
    margin: 0 auto;
}

.page-template-unique-faces .uf-references__label {
    font-family: var(--uf-font-bold);
    font-size: 10.5px;
    line-height: 16.5px;
    color: var(--uf-refs-label);
    margin-bottom: 4px;
}

.page-template-unique-faces .uf-references__list {
    list-style: decimal;
    margin: 0;
    padding-left: 20px;
    font-size: 11px;
    line-height: 16.5px;
    color: var(--uf-ink);
}

.page-template-unique-faces .uf-references__list li {
    margin: 0;
}

.page-template-unique-faces .uf-references__list a {
    color: inherit;
    text-decoration: underline;
    word-break: break-word;
}

.page-template-unique-faces .uf-jobcode {
    margin-top: 20px;
    font-size: 13px;
    line-height: 22px;
    color: var(--uf-black);
}

/* ==========================================================================
   Responsive
   Two breakpoints only, matching the convention in new-styles-jul-2025.css
   and radiesse.css. Bootstrap md (768px) is used only where grid classes are.
   ========================================================================== */

@media only screen and (max-width: 1200px) {
    .page-template-unique-faces .uf-header {
        padding: 24px 30px;
    }

    .page-template-unique-faces .uf-header__logo img,
    .page-template-unique-faces .uf-header__logo svg {
        width: 240px;
    }

    .page-template-unique-faces .uf-card {
        padding: 0 20px;
    }

    .page-template-unique-faces .uf-card__list > li,
    .page-template-unique-faces .uf-card__sublist > li {
        font-size: 16px;
        line-height: 18px;
    }
}

/* The bubble SVG uses preserveAspectRatio="none", so its 12.9px corner radii
   scale independently on each axis. Holding four cards across all the way down
   to 900px squeezed each bubble to 185px wide by 432px tall, rendering the radii
   as a 5.8 x 19.6px ellipse: a 3.4x distortion. Dropping to two across at 1100px
   caps that at 2.2x. The row is capped at 1000px at the same time, because two
   across in a 1100px viewport would otherwise stretch each bubble to 510px,
   distorting it the other way. With the cap the bubble never exceeds 460px and
   distortion stays at 1.5x or below across the whole band. */
@media only screen and (max-width: 1100px) {
    .page-template-unique-faces .uf-card {
        flex: 1 1 50%;
        max-width: 50%;
        /* Measured 0px between the two rows before this: the Belotero and
           Ultherapy logos butted straight against the row above. The 30px lived
           only in the 900px block, which this switch now pre-empts. */
        margin-bottom: 30px;
    }

    /* Bottom row of two. There are exactly four cards. */
    .page-template-unique-faces .uf-card:nth-child(n+3) {
        margin-bottom: 0;
    }

    .page-template-unique-faces .uf-cards__row {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* "90+ countries" needs 289px at 48px Semibold. Three across gives each stat
   (vw - 80) / 3, which drops below 289px at about 947px, so the first figure
   wrapped to two lines from there down and left the three captions on different
   baselines. At 36px it needs 217px, which holds until roughly 765px, where the
   row stacks instead. */
@media only screen and (max-width: 1000px) {
    .page-template-unique-faces .uf-stat__figure {
        font-size: 36px;
    }
}

@media only screen and (max-width: 900px) {
    .page-template-unique-faces {
        --uf-section-pad: 60px;
    }

    /* Header: logo on its own line, buttons below */
    .page-template-unique-faces .uf-header {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 24px 20px;
    }

    /* 240px, matching the 1200px step. It previously grew to 260px here, so the
       logo got bigger as the viewport got narrower. */
    .page-template-unique-faces .uf-header__logo img,
    .page-template-unique-faces .uf-header__logo svg {
        width: 240px;
    }

    .page-template-unique-faces .uf-header__links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Hero */
    .page-template-unique-faces .uf-hero {
        padding: 60px 20px 70px;
    }

    .page-template-unique-faces .uf-hero__headline {
        font-size: 34px;
        line-height: 36px;
    }

    .page-template-unique-faces .uf-hero__eyebrow,
    .page-template-unique-faces .uf-hero__headline {
        margin-bottom: 20px;
    }

    /* Cards: four across becomes two across */
    .page-template-unique-faces .uf-cards {
        padding: 40px 0;
    }

    .page-template-unique-faces .uf-card {
        flex: 1 1 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }

    /* Trust */
    .page-template-unique-faces .uf-trust {
        padding: var(--uf-section-pad) 20px;
    }

    .page-template-unique-faces .uf-trust__stats {
        gap: 32px;
    }

    .page-template-unique-faces .uf-stat {
        flex: 1 1 220px;
    }

    /* Supporting your practice and Every face: image drops below the text */
    .page-template-unique-faces .uf-support__inner,
    .page-template-unique-faces .uf-different__inner {
        flex-direction: column;
        gap: 32px;
    }

    .page-template-unique-faces .uf-support__text,
    .page-template-unique-faces .uf-support__media,
    .page-template-unique-faces .uf-different__text,
    .page-template-unique-faces .uf-different__media {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    /* Image above the text in section 7, as the design has it */
    .page-template-unique-faces .uf-different__inner {
        flex-direction: column;
    }

    .page-template-unique-faces .uf-support__media img,
    .page-template-unique-faces .uf-different__media img {
        width: 100%;
        height: auto;
        max-height: 380px;
    }
}

@media only screen and (max-width: 768px) {
    .page-template-unique-faces .uf-trust__stats {
        flex-direction: column;
        gap: 28px;
        margin-top: 32px;
    }

    /* The row is a column here, so the flex-basis set at 900px would be read as
       a height and leave huge gaps between the stats. Reset it. */
    .page-template-unique-faces .uf-stat {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .page-template-unique-faces {
        --uf-section-pad: 40px;
    }

    .page-template-unique-faces .uf-header {
        padding: 20px;
    }

    .page-template-unique-faces .uf-header__logo img,
    .page-template-unique-faces .uf-header__logo svg {
        width: 220px;
    }

    .page-template-unique-faces .uf-header__links {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .page-template-unique-faces .uf-header__links .uf-button {
        width: 100%;
        font-size: 14px;
        letter-spacing: 1px;
    }

    /* Hero */
    .page-template-unique-faces .uf-hero {
        padding: 40px 20px 48px;
    }

    .page-template-unique-faces .uf-hero__headline {
        font-size: 28px;
        line-height: 30px;
    }

    .page-template-unique-faces .uf-hero__intro {
        font-size: 16px;
        line-height: 24px;
    }

    /* Cards: one across */
    .page-template-unique-faces .uf-cards {
        padding: 30px 0;
    }

    .page-template-unique-faces .uf-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0 20px;
        margin-bottom: 24px;
    }

    /* One card per row here, so cards 3 and 4 are no longer the bottom row and
       must get their gap back. 24px to match the rule above, not the 30px used
       at two-across. Only the genuine last card loses it. */
    .page-template-unique-faces .uf-card:nth-child(n+3) {
        margin-bottom: 24px;
    }

    .page-template-unique-faces .uf-card:last-child {
        margin-bottom: 0;
    }

    .page-template-unique-faces .uf-card__logo {
        min-height: 0;
        margin-bottom: 14px;
    }

    /* The -30px that aligns the Bocouture wordmark with the other three only
       makes sense while they share a row. At one card per row it has no purpose,
       and because the logo-to-bubble gap drops from 46px to 14px here, the
       "(Botulinum toxin type A)" descriptor was landing 16px inside the bubble's
       top border. Measured, not theoretical. */
    .page-template-unique-faces .uf-card--bocouture .uf-card__logo img {
        margin-bottom: 0;
    }

    .page-template-unique-faces .uf-card__bubble {
        padding: 22px 20px 48px;
    }

    /* CTA */
    .page-template-unique-faces .uf-cta {
        padding: var(--uf-section-pad) 20px;
    }

    .page-template-unique-faces .uf-cta .uf-button {
        width: 100%;
        max-width: 300px;
    }

    .page-template-unique-faces .uf-cta__strap {
        margin-top: 24px;
        font-size: 18px;
    }

    /* Trust: stacks to one across */
    .page-template-unique-faces .uf-trust__heading {
        font-size: 20px;
    }

    .page-template-unique-faces .uf-trust__sub {
        font-size: 18px;
    }

    /* The stats column and the 36px figure are handled at 768px and 1000px
       respectively, both of which already apply here. */

    /* Sections 6 and 7 */
    .page-template-unique-faces .uf-support,
    .page-template-unique-faces .uf-different {
        padding: var(--uf-section-pad) 20px;
    }

    /* Section 8 keeps padding-top 0, as at desktop: the theme's
       `.contact_form h2 { padding-top: 80px }` already supplies the space, and
       adding 40px on top of it pushed the heading down on mobile only. */
    .page-template-unique-faces .uf-form {
        padding: 0 20px var(--uf-section-pad);
    }

    .page-template-unique-faces .uf-heading {
        font-size: 20px;
    }

    /* References */
    .page-template-unique-faces .uf-references {
        padding: 30px 20px;
    }
}
