:root {
    --container: 1280px;
    --section-space: clamp(6.875rem, 10vw, 9.375rem);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ps-text);
    background: var(--ps-ivory);
    font: 400 1rem/1.7 var(--font-body);
}

body.menu-is-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

h1,
h2,
h3,
p,
figure {
    margin-top: 0;
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.02;
}

h3 {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.15;
}

h1 {
    max-width: 12ch;
    margin-bottom: 1.7rem;
    font-size: clamp(3rem, 5.7vw, 5rem);
}

h2 {
    margin-bottom: 1.5rem;
    font-size: var(--type-h2);
}

h3 {
    margin-bottom: .7rem;
    font-size: var(--type-h3);
}

.container {
    width: min(calc(100% - 4rem), var(--container));
    margin-inline: auto;
}

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

.eyebrow,
.card-label,
.footer-title {
    margin-bottom: 1rem;
    color: var(--ps-sage-dark);
    font-size: .69rem;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.section-intro {
    max-width: 42rem;
    color: var(--ps-text-muted);
    font-size: clamp(1.1rem, 1.5vw, 1.28rem);
    line-height: 1.65;
}

.skip-link {
    position: fixed;
    z-index: 99;
    top: 1rem;
    left: 1rem;
    transform: translateY(-200%);
    padding: .7rem 1rem;
    color: var(--ps-white);
    background: var(--ps-charcoal);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 2px solid var(--ps-sage-dark);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid transparent;
    background: rgba(247, 245, 240, .9);
    backdrop-filter: blur(10px);
    transition: border-color .25s ease, background .25s ease;
}

.site-header.is-scrolled {
    border-color: var(--ps-border);
    background: rgba(247, 245, 240, .98);
}

.site-header__inner {
    display: flex;
    min-height: 7.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    flex: 0 0 auto;
}

.brand__frame {
    position: relative;
    display: block;
    width: 10rem;
    height: 6rem;
    overflow: hidden;
}

.brand img {
    position: absolute;
    width: 15.625rem;
    max-width: none;
    height: auto;
    top: -4.25rem;
    left: -3.1rem;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.55vw, 1.8rem);
    font-size: .82rem;
    font-weight: 500;
}

.primary-navigation>a:not(.btn) {
    position: relative;
    padding-block: .5rem;
}

.primary-navigation>a:not(.btn)::after {
    position: absolute;
    right: 0;
    bottom: .25rem;
    left: 0;
    height: 1px;
    background: var(--ps-charcoal);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .22s ease;
}

.primary-navigation>a:not(.btn):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
}

.btn span,
.text-link span {
    display: inline-block;
    transition: transform .2s ease;
}


.text-link--light {
    color: var(--ps-ivory);
}

.hero {
    padding: clamp(2.8rem, 5vw, 5rem) 0 clamp(5.5rem, 9vw, 8rem);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    gap: clamp(3rem, 7vw, 8.25rem);
    align-items: center;
}

.hero__content {
    padding-block: 2rem;
}

.hero__content[data-reveal] {
    opacity: 1;
    transform: none;
}

.hero-word {
    display: block;
    opacity: 0;
    transform: translateY(1.15em);
    animation: hero-word-in .72s cubic-bezier(.2, .75, .2, 1) forwards;
}

.hero-word:nth-child(2) {
    animation-delay: .12s;
}

.hero-word:nth-child(3) {
    animation-delay: .24s;
}

.hero-word:nth-child(4) {
    animation-delay: .36s;
}

.hero__intro {
    max-width: 48rem;
    margin-bottom: 2.2rem;
    color: var(--ps-text-muted);
    font-size: clamp(1.08rem, 1.4vw, 1.25rem);
    line-height: 1.68;
}

.hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.hero__visual {
    height: clamp(31rem, 48vw, 42rem);
    margin: 0;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--ps-sand);
}

.hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% center;
}

.trust-strip {
    border-block: 1px solid var(--ps-border);
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-strip p {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    min-height: 6.8rem;
    justify-content: center;
    margin: 0;
    padding: 1.25rem clamp(1rem, 2vw, 2.2rem);
    border-right: 1px solid var(--ps-border);
    font-family: var(--font-body);
    font-size: 1.05rem;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.trust-strip p:first-child {
    border-left: 1px solid var(--ps-border);
}

.trust-strip span {
    color: var(--ps-sage-dark);
    font-family: var(--font-body);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .12em;
}

.consultation {
    background: var(--ps-cream);
}

.consultation__inner {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: clamp(3rem, 8vw, 9rem);
    align-items: center;
}

.consultation__visual {
    position: relative;
    min-height: 32rem;
    margin: 0;
    overflow: hidden;
    border-radius: .75rem;
}

.consultation__visual img,
.philosophy__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultation__content .btn {
    margin-top: 1rem;
}

.check-list {
    display: grid;
    gap: .65rem;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: .75rem;
    align-items: center;
    font-size: .94rem;
}

.check-list li::before {
    width: .5rem;
    height: .5rem;
    border: 1px solid var(--ps-sage);
    border-radius: 50%;
    background: var(--ps-sage);
    box-shadow: inset 0 0 0 2px var(--ps-cream);
    content: "";
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.section-heading h2 {
    margin: 0;
}

.section-heading>p {
    max-width: 27rem;
    margin: 0;
    color: var(--ps-text-muted);
}

.discovery-grid {
    display: grid;
    grid-template-columns: 1.28fr 1fr 1fr;
    grid-template-rows: 15.25rem 15.25rem;
    gap: 1rem;
}

.discovery-card {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: .75rem;
    color: var(--ps-white);
    background: var(--ps-charcoal);
}

.discovery-card--feature {
    grid-row: span 2;
}

.discovery-card::after {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 40, .22);
    content: "";
}

.discovery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.discovery-card:hover img,
.treatment-card:hover img {
    transform: scale(1.03);
}

.discovery-card__overlay {
    position: absolute;
    z-index: 1;
    right: 1.3rem;
    bottom: 1.15rem;
    left: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: -.035em;
}

.discovery-card__overlay b {
    display: grid;
    width: 1.95rem;
    height: 1.95rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    font: 400 1rem/1 var(--font-body);
}

.featured {
    background: var(--ps-white);
}

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

.treatment-card {
    display: flex;
    flex-direction: column;
}

.treatment-card figure {
    aspect-ratio: 1.17;
    margin: 0 0 1.35rem;
    overflow: hidden;
    border-radius: .65rem;
    background: var(--ps-sand);
}

.treatment-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.treatment-card h3 {
    margin-bottom: .55rem;
}

.treatment-card p:not(.card-label) {
    margin-bottom: 1.1rem;
    color: var(--ps-text-muted);
    font-size: .93rem;
    line-height: 1.6;
}

.treatment-card .text-link {
    align-self: flex-start;
    margin-top: auto;
}

.treatment-card--analysis {
    grid-column: 2 / span 1;
}

.concerns__inner {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(4rem, 11vw, 12rem);
}

.concerns__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: concerns;
    border-top: 1px solid var(--ps-border);
}

.concerns__list li {
    border-bottom: 1px solid var(--ps-border);
}

.concerns__list a {
    display: grid;
    grid-template-columns: 1fr 1.5rem;
    gap: .75rem;
    align-items: center;
    padding: 1.05rem 0;
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.2;
    transition: padding .2s ease, color .2s ease;
}

.concerns__list a:hover {
    padding-inline: .55rem;
    color: var(--ps-sage-dark);
}

.concerns__list span {
    display: none;
}

.concerns__list b {
    font: 400 1rem/1 var(--font-body);
}

.philosophy {
    background: var(--ps-sage-soft);
}

.philosophy__grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(3rem, 8vw, 8.5rem);
    align-items: center;
}

.philosophy__content {
    max-width: 35rem;
}

.philosophy__content>p:not(.eyebrow) {
    color: var(--ps-text-muted);
}

.philosophy__content .text-link {
    margin-top: 1rem;
}

.philosophy__visual {
    height: clamp(28rem, 42vw, 39rem);
    margin: 0;
    overflow: hidden;
    border-radius: 8rem 8rem 0 0;
}

.philosophy__visual img {
    object-position: 55% center;
}

.visual-break {
    position: relative;
    min-height: 43rem;
    background: var(--ps-charcoal);
    color: var(--ps-white);
}

.visual-break figure,
.visual-break img {
    width: 100%;
    height: 100%;
    margin: 0;
}

.visual-break figure {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: .7;
}

.visual-break img {
    object-fit: cover;
    object-position: center 37%;
}

.visual-break::after {
    position: absolute;
    inset: 0;
    background: rgba(43, 43, 40, .2);
    content: "";
}

.visual-break__caption {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 43rem;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4.5rem;
}

.visual-break__caption .eyebrow {
    color: var(--ps-ivory);
}

.visual-break__caption>p:last-child {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4.3rem);
    letter-spacing: -.055em;
    line-height: 1;
}

.faq__grid {
    display: grid;
    grid-template-columns: .73fr 1.27fr;
    gap: clamp(3rem, 10vw, 10rem);
}

.faq__list {
    border-top: 1px solid var(--ps-border);
}

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

.faq-item h3 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -.02em;
}

.faq-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 0;
    border: 0;
    color: var(--ps-charcoal);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.faq-trigger span {
    color: var(--ps-sage-dark);
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform .2s ease;
}

.faq-trigger[aria-expanded="true"] span {
    transform: rotate(45deg);
}

.faq-panel {
    max-width: 42rem;
    padding: 0 2.5rem 1.25rem 0;
    color: var(--ps-text-muted);
    font-size: .94rem;
}

.faq-panel p {
    margin: 0;
}

.final-cta {
    padding-block: clamp(5rem, 8vw, 7.5rem);
    color: var(--ps-white);
    background: var(--ps-sage-dark);
}

.final-cta__inner {
    max-width: 54rem;
    text-align: center;
}

.final-cta .eyebrow {
    color: var(--ps-sage-soft);
}

.final-cta h2 {
    max-width: 16ch;
    margin-inline: auto;
}

.final-cta__inner>p:not(.eyebrow) {
    margin-bottom: 2rem;
    color: var(--ps-sage-soft);
    font-size: 1.08rem;
}

.final-cta__inner>div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.site-footer {
    padding-top: 5rem;
    background: var(--ps-charcoal);
    color: var(--ps-ivory);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 4rem;
}

.site-footer .brand__frame {
    filter: grayscale(1) brightness(6);
}

.site-footer__brand>p {
    max-width: 16rem;
    margin: 1.2rem 0 0;
    color: var(--ps-sand);
    font-size: .9rem;
    line-height: 1.6;
}

.site-footer a:not(.brand) {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-bottom: .55rem;
/*     color: var(--ps-sand); */
    font-size: .86rem;
    transition: color .2s ease;
}

.site-footer a:not(.brand):hover {
    color: var(--ps-white);
}

.site-footer .footer-title {
    color: var(--ps-sage-light);
}

.site-footer address {
    color: var(--ps-sand);
    font-style: normal;
    font-size: .86rem;
    line-height: 1.65;
}

.site-footer address p:last-child {
    margin-bottom: 0;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: var(--ps-sage-light);
    font-size: .72rem;
}

.site-footer__bottom p {
    margin: 0;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(1.2rem);
    transition: opacity .65s ease, transform .65s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.image-reveal {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1s cubic-bezier(.2, .7, .2, 1), opacity .6s ease, transform .6s ease;
}

.image-reveal.is-visible {
    clip-path: inset(0);
}

.image-reveal img {
    transform: scale(1.08);
    transition: transform 1.15s cubic-bezier(.2, .7, .2, 1);
}

.image-reveal.is-visible img {
    transform: scale(1);
}

.analysis-scan {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    height: 2rem;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .75);
    color: var(--ps-white);
    font: 500 .65rem/1 var(--font-body);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.analysis-scan svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    animation: analysis-scan 3.8s ease-in-out infinite;
}

.analysis-scan path {
    stroke: var(--ps-sage-soft);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.analysis-scan small {
    position: absolute;
    right: 0;
    bottom: .35rem;
    font-size: .58rem;
}

.discovery-card[data-reveal],
.treatment-card[data-reveal] {
    opacity: 1;
    transform: none;
}

.journey__steps i {
    display: none;
}

.journey__steps article::before {
    position: absolute;
    top: 2.35rem;
    right: 0;
    left: 2.8rem;
    height: 1px;
    background: var(--ps-sage-soft);
    content: "";
}

.journey__steps article:last-child::before {
    display: none;
}

@keyframes hero-word-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes analysis-scan {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0;
    }

    20%,
    75% {
        opacity: 1;
    }

    55% {
        transform: translateY(1.85rem);
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* Treatment and concern menu links */
.mega a.mega__service,
.mega a.mega__concern-link,
.mobile-subnav a.mega__service,
.mobile-subnav a.mega__concern-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.mobile-subnav a.mega__service,
.mobile-subnav a.mega__concern-link {
    padding: 10px 16px;
}

.mega a.mega__service:hover,
.mega a.mega__concern-link:hover,
.mobile-subnav a.mega__service:hover,
.mobile-subnav a.mega__concern-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mega a.mega__service:focus-visible,
.mega a.mega__concern-link:focus-visible,
.mobile-subnav a.mega__service:focus-visible,
.mobile-subnav a.mega__concern-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}