@font-face {
    font-family: "TT Commons";
    src: url("../fonts/TTCommons-Light.woff") format("woff");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "TT Commons";
    src: url("../fonts/TTCommons-Regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "TT Commons";
    src: url("../fonts/TTCommons-Medium.woff") format("woff");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

:root {
    --ink: #3b3b3b;
    --ink-deep: #292929;
    --soft-grey: #d8ddd6;
    --soft-grey-light: #eef0ec;
    --rose: #e5d1d0;
    --rose-light: #f4e9e8;
    --white: #ffffff;
    --page: #fcfcfa;
    --line: rgba(59, 59, 59, 0.2);
    --shadow: 0 30px 80px rgba(50, 48, 47, 0.14);
    --container: 76rem;
    --header-height: 5.5rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "TT Commons", "Segoe UI", sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.62;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid #a46d6a;
    outline-offset: 4px;
}

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

h1,
h2,
h3 {
    font-weight: 500;
    line-height: 0.98;
}

h1 {
    margin-bottom: 1.75rem;
    font-size: clamp(3.8rem, 7vw, 7.7rem);
    letter-spacing: -0.055em;
}

h2 {
    margin-bottom: 1.75rem;
    font-size: clamp(3.15rem, 5vw, 5.7rem);
    letter-spacing: -0.045em;
}

h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    letter-spacing: -0.025em;
}

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

.section {
    padding-block: clamp(5.5rem, 10vw, 9.5rem);
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    color: var(--ink);
    font-weight: 500;
    transform: translateY(-180%);
    transition: transform 180ms ease;
}

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

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.85rem clamp(1.5rem, 4vw, 4.5rem);
    border-bottom: 1px solid rgba(59, 59, 59, 0.1);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.site-header__brand {
    flex: 0 0 auto;
}

.site-header__brand img {
    width: 10.25rem;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.1rem, 2vw, 2.25rem);
}

.site-nav > a:not(.button) {
    position: relative;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
}

.site-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: -0.3rem;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 260ms var(--ease);
}

.site-nav > a:not(.button):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-button {
    display: none;
}

.button {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    padding: calc(0.85rem + 0.1em) 1.45rem calc(0.85rem - 0.1em);
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms var(--ease);
}

.button:hover {
    transform: translateY(-2px);
}

.button--compact {
    min-height: 2.8rem;
    padding: calc(0.7rem + 0.1em) 1.15rem calc(0.7rem - 0.1em);
}

.button--rose {
    border-color: var(--rose);
    background: var(--rose);
    color: var(--ink-deep);
}

.button--rose:hover {
    border-color: var(--white);
    background: var(--white);
}

.button--dark:hover {
    background: transparent;
    color: var(--ink);
}

.button-row {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-bottom: 1px solid currentColor;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

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

.eyebrow {
    margin-bottom: 1.3rem;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow--light {
    color: var(--rose);
}

.lead {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.45;
}

.hero {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
    background: var(--ink);
    color: var(--white);
}

.hero__content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: clamp(3.5rem, 8vw, 8rem) clamp(2rem, 7vw, 7.5rem);
}

.hero__logo {
    width: min(23rem, 75%);
    height: auto;
    margin-bottom: clamp(3rem, 8vh, 6rem);
}

.hero__intro {
    max-width: 34rem;
    margin-bottom: 2.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.hero__visual {
    position: relative;
    min-height: 35rem;
    margin: 0;
    overflow: hidden;
    background: #89898d;
}

.hero__visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(30, 30, 30, 0.52));
    content: "";
    pointer-events: none;
}

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

.hero__visual figcaption {
    position: absolute;
    z-index: 1;
    right: 2.25rem;
    bottom: 1.7rem;
    left: 2.25rem;
    color: var(--white);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-align: right;
    text-transform: uppercase;
}

.about__grid {
    display: grid;
    align-items: center;
    gap: clamp(4rem, 8vw, 8rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(26rem, 1.1fr);
}

.about__copy > p:not(.eyebrow) {
    max-width: 39rem;
}

.facts {
    display: grid;
    margin: 3.5rem 0 0;
    border-top: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
}

.facts > div {
    padding: 1.5rem 1rem 0 0;
}

.facts > div + div {
    padding-left: 1.2rem;
    border-left: 1px solid var(--line);
}

.facts dt {
    margin-bottom: 0.3rem;
    font-size: clamp(2.1rem, 3vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
}

.facts dd {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.image-frame {
    position: relative;
    margin: 0 1.5rem 1.5rem 0;
    isolation: isolate;
}

.image-frame::after {
    position: absolute;
    z-index: -1;
    top: 1.5rem;
    right: -1.5rem;
    bottom: -1.5rem;
    left: 1.5rem;
    background: var(--rose);
    content: "";
}

.image-frame img {
    width: 100%;
    aspect-ratio: 1.24;
    object-fit: cover;
}

.image-frame figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0.7rem 1rem;
    background: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
}

.services {
    background: var(--soft-grey-light);
}

.section-heading {
    display: grid;
    align-items: end;
    gap: 3rem;
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 31rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.section-heading--centred {
    display: block;
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
}

.section-heading--centred h2 {
    margin-bottom: 1.5rem;
}

.section-heading--centred > p {
    margin-inline: auto;
}

.service-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    position: relative;
    min-height: 31rem;
    padding: clamp(2rem, 3.5vw, 3.25rem);
    overflow: hidden;
    background: var(--white);
}

.service-card__number {
    display: block;
    margin-bottom: 5rem;
    color: #887b79;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.service-card h3 {
    max-width: 14rem;
}

.service-card ul {
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    columns: 2;
    column-gap: 1.2rem;
}

.service-card li {
    margin-bottom: 0.45rem;
}

.service-card li::before {
    margin-right: 0.5rem;
    color: #957d7a;
    content: "·";
}

.service-card__note {
    max-width: 18rem;
    margin-top: 2rem;
    color: #696969;
}

.service-card--image {
    min-height: 38rem;
    padding: 0;
    color: var(--white);
}

.service-card--image::after {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(34, 31, 29, 0.86));
    content: "";
}

.service-card--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__image-copy {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 2.5rem;
}

.service-card__image-copy .service-card__number {
    margin-bottom: 1.2rem;
    color: var(--rose);
}

.service-card__image-copy h3 {
    margin-bottom: 0.8rem;
}

.service-card__image-copy p {
    margin-bottom: 0;
}

.services__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    padding-top: 2rem;
}

.services__footer p {
    margin: 0;
}

.team__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(15rem, 0.8fr) repeat(2, minmax(0, 1fr));
}

.team__intro {
    padding-right: clamp(1rem, 3vw, 3rem);
}

.team__intro p:last-child {
    max-width: 20rem;
}

.person-card {
    display: flex;
    min-height: 23rem;
    align-items: flex-start;
    gap: 1.5rem;
    padding: clamp(2rem, 3vw, 3rem);
    border-top: 1px solid var(--ink);
    background: var(--rose-light);
}

.person-card__initial {
    display: grid;
    width: 3.7rem;
    height: 3.7rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 500;
}

.person-card__role {
    margin-bottom: 2.75rem;
    color: #766865;
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vouchers {
    overflow: hidden;
    background: var(--rose);
}

.vouchers__grid {
    display: grid;
    align-items: center;
    gap: clamp(4rem, 8vw, 8rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
}

.voucher-art {
    position: relative;
    padding: clamp(1rem, 3vw, 2.5rem);
}

.voucher-art__backdrop {
    position: absolute;
    inset: 12% 0 0 9%;
    border: 1px solid rgba(59, 59, 59, 0.26);
    transform: rotate(5deg);
}

.voucher-art img {
    position: relative;
    width: 100%;
    box-shadow: var(--shadow);
    transform: rotate(-3deg);
}

.vouchers__copy {
    max-width: 31rem;
}

.vouchers__copy .button {
    margin-top: 1rem;
}

.community {
    padding-block: clamp(4rem, 7vw, 6.5rem);
    background: var(--ink);
    color: var(--white);
}

.community__inner {
    display: grid;
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
    grid-template-columns: minmax(17rem, 0.72fr) minmax(0, 1fr);
}

.community__logo {
    display: block;
    width: 100%;
    max-width: 28rem;
}

.community__logo img {
    width: 100%;
    height: auto;
}

.community h2 {
    max-width: 36rem;
    margin-bottom: 1.35rem;
    font-size: clamp(2.7rem, 4vw, 4.8rem);
}

.community__copy > p:not(.eyebrow) {
    max-width: 28rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.75);
}

.testimonials {
    background: var(--page);
}

.development-note {
    padding: 0.75rem 1rem;
    border: 1px dashed #947875;
    color: #785e5b;
    font-size: 0.95rem !important;
    line-height: 1.35;
}

.testimonial-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial {
    margin: 0;
    padding: clamp(2.3rem, 5vw, 4.5rem);
    border: 1px solid var(--line);
    background: var(--white);
}

.testimonial p {
    margin-bottom: 2.5rem;
    font-size: clamp(1.55rem, 2.5vw, 2.35rem);
    line-height: 1.3;
}

.testimonial footer {
    color: #6d6d6d;
    font-size: 0.95rem;
    font-weight: 400;
}

.contact {
    padding-block: clamp(5.5rem, 10vw, 9rem);
    background: var(--soft-grey);
}

.contact__grid {
    display: grid;
    align-items: start;
    gap: clamp(4rem, 9vw, 9rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1.1fr);
}

.contact__intro > p:not(.eyebrow) {
    max-width: 35rem;
    font-size: 1.3rem;
}

.contact__intro .button {
    margin-top: 1.25rem;
}

.contact__details {
    display: grid;
    border-top: 1px solid var(--ink);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact__details > div {
    min-height: 12.5rem;
    padding: 2rem 1.5rem 2rem 0;
    border-bottom: 1px solid rgba(59, 59, 59, 0.35);
}

.contact__details > div:nth-child(even) {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(59, 59, 59, 0.35);
}

.contact__details h3 {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact__details address,
.contact__details p {
    margin-bottom: 1rem;
    font-style: normal;
}

.contact__details > div > a:not(.text-link) {
    display: block;
    width: fit-content;
    margin-bottom: 0.35rem;
}

.site-footer {
    padding-block: 2.5rem;
    background: var(--ink);
    color: var(--white);
}

.site-footer__inner {
    display: grid;
    align-items: center;
    gap: 2rem;
    grid-template-columns: 1fr auto 1fr;
}

.site-footer img {
    width: 9rem;
    height: auto;
}

.site-footer .site-footer__brand p {
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.86rem;
    letter-spacing: 0.025em;
    text-align: left;
}

.site-footer__brand em {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    text-align: center;
}

.site-footer a {
    justify-self: end;
    font-size: 0.92rem;
    text-decoration: none;
}

.js .reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 68rem) {
    .site-header {
        padding-inline: 1.5rem;
    }

    .menu-button {
        position: relative;
        z-index: 102;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
        border: 0;
        background: transparent;
        color: var(--ink);
        font: inherit;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
    }

    .menu-button__lines,
    .menu-button__lines::before,
    .menu-button__lines::after {
        display: block;
        width: 1.45rem;
        height: 1px;
        background: currentColor;
        content: "";
        transition: transform 220ms ease, opacity 220ms ease;
    }

    .menu-button__lines {
        position: relative;
    }

    .menu-button__lines::before {
        position: absolute;
        top: -0.38rem;
        left: 0;
    }

    .menu-button__lines::after {
        position: absolute;
        top: 0.38rem;
        left: 0;
    }

    .menu-button[aria-expanded="true"] .menu-button__lines {
        background: transparent;
    }

    .menu-button[aria-expanded="true"] .menu-button__lines::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-button[aria-expanded="true"] .menu-button__lines::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        z-index: 101;
        inset: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        padding: 7rem 2rem 3rem;
        background: var(--rose-light);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-1rem);
        visibility: hidden;
        transition: opacity 220ms ease, transform 300ms var(--ease);
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .site-nav > a:not(.button) {
        font-size: clamp(2.5rem, 8vw, 4rem);
        font-weight: 500;
        letter-spacing: -0.04em;
        line-height: 1.05;
    }

    .site-nav .button {
        margin-top: 1rem;
    }

    .hero {
        grid-template-columns: 1fr 0.82fr;
    }

    .hero__content {
        padding-inline: clamp(2rem, 5vw, 4rem);
    }

    .hero__logo {
        margin-bottom: 3.5rem;
    }

    .about__grid,
    .vouchers__grid,
    .contact__grid {
        gap: 4.5rem;
        grid-template-columns: 1fr;
    }

    .image-frame {
        max-width: 48rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card--image {
        grid-column: 1 / -1;
        min-height: 36rem;
    }

    .service-card--image img {
        object-position: 50% 38%;
    }

    .team__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team__intro {
        grid-column: 1 / -1;
        max-width: 42rem;
    }

    .community__inner {
        gap: 4rem;
    }
}

@media (max-width: 45rem) {
    :root {
        --header-height: 4.75rem;
    }

    body {
        font-size: 1.0625rem;
    }

    .container {
        width: min(calc(100% - 2rem), var(--container));
    }

    .section {
        padding-block: 5rem;
    }

    .site-header {
        min-height: var(--header-height);
        padding: 0.65rem 1rem;
    }

    .site-header__brand img {
        width: 8rem;
    }

    .hero {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .hero__content {
        min-height: calc(100svh - var(--header-height));
        padding: 3.5rem 1.25rem 4.5rem;
    }

    .hero__logo {
        width: 14rem;
        margin-bottom: auto;
    }

    .hero h1 {
        margin-top: 3rem;
        font-size: clamp(3.4rem, 16vw, 5.2rem);
    }

    .hero__intro {
        font-size: 1.2rem;
    }

    .hero__visual {
        min-height: 75svh;
    }

    .hero__visual figcaption {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        font-size: 0.8rem;
    }

    .about__grid,
    .vouchers__grid,
    .contact__grid {
        gap: 3.5rem;
    }

    .facts {
        grid-template-columns: 1fr;
    }

    .facts > div,
    .facts > div + div {
        display: grid;
        align-items: end;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--line);
        border-left: 0;
        grid-template-columns: 6rem 1fr;
    }

    .facts dt {
        font-size: 2rem;
    }

    .section-heading {
        display: block;
        margin-bottom: 3rem;
    }

    .section-heading > p {
        margin-top: 1.5rem;
    }

    .service-grid,
    .team__grid,
    .testimonial-grid,
    .community__inner {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .service-card__number {
        margin-bottom: 3.5rem;
    }

    .service-card--image {
        min-height: 35rem;
        grid-column: auto;
    }

    .services__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .team__intro {
        grid-column: auto;
    }

    .person-card {
        min-height: 0;
        flex-direction: column;
    }

    .voucher-art {
        padding: 0.5rem;
    }

    .community__logo {
        max-width: 22rem;
    }

    .testimonial {
        padding: 2rem;
    }

    .contact__details {
        grid-template-columns: 1fr;
    }

    .contact__details > div:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }

    .contact__details > div {
        min-height: 0;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer img,
    .site-footer a {
        justify-self: center;
    }

    .site-footer__brand {
        justify-self: center;
    }

    .site-footer .site-footer__brand p {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
