/*
 Theme Name:   Artists.digital
 Description:  Custom theme
 Author:       Carnoustie Creative
 Author URI:   https://www.carnoustiecreative.co.uk
 Template:     canvas
 Version:      1.1.4
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  artistsdigital
*/

@font-face { font-family: "Cooper BT"; src: url("assets/fonts/cooper-bt-light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }

@view-transition {
    navigation: auto;
}

::view-transition-group(root) {
    animation-duration: 0.45s;
}

:root {
    --ad-brown: #463921;
    --ad-black: #161410;
    --ad-white: #ffffff;
    --ad-cream: #f5f1ed;
    --ad-surface: #fbfaf8;
    --ad-gold: #f7d39e;
    --ad-gold-strong: #efa927;
    --ad-mint: #afd3c4;
    --ad-mint-deep: #83bba5;
    --ad-pink: #d3afaf;
    --ad-blue: #afc2d3;
    --ad-muted: #68645e;
    --ad-line: rgba(70, 57, 33, 0.18);
    --ad-shadow: 0 1.5rem 4rem rgba(70, 57, 33, 0.08);
    --ad-font-display: "Cooper BT", "Cooper Lt BT", "Iowan Old Style", Georgia, serif;
    --ad-font-body: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
    --ad-container: 1200px;
    --ad-radius: 1.25rem;
    --pt-brown: var(--ad-brown);
}

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

html {
    scroll-behavior: smooth;
}

body.canvas {
    margin: 0;
    background: var(--ad-cream);
    color: var(--ad-black);
    font-family: var(--ad-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.canvas img {
    max-width: 100%;
    height: auto;
}

body.canvas a {
    color: inherit;
}

body.canvas button,
body.canvas input {
    font: inherit;
}

.site-canvas {
    overflow: hidden;
}

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

.ad-skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: var(--ad-black);
    color: var(--ad-white);
    text-decoration: none;
    transform: translateY(-180%);
}

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

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ad-site-header {
    position: relative;
    z-index: 50;
    background: var(--ad-cream);
}

.ad-site-header__inner {
    min-height: 6.5rem;
    display: grid;
    grid-template-columns: auto minmax(18rem, 1fr) auto;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.ad-site-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.ad-site-logo img {
    display: block;
    width: clamp(10.5rem, 15vw, 13.5rem);
}

.ad-nav--desktop {
    justify-self: center;
}

.ad-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1.3rem, 2.5vw, 2.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ad-nav__list li {
    margin: 0;
}

.ad-nav__list a {
    position: relative;
    display: inline-flex;
    padding: 0.55rem 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

.ad-nav__list a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0.16rem;
    border-radius: 999px;
    background: var(--ad-pink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.ad-nav__list a:hover::after,
.ad-nav__list a:focus-visible::after,
.ad-nav__list .current-menu-item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.ad-site-header__actions {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.ad-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.ad-login-link i {
    color: var(--ad-gold-strong);
}

.ad-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ad-button:hover,
.ad-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 0.7rem 1.5rem rgba(70, 57, 33, 0.12);
}

.ad-button--small {
    min-height: 40px;
    padding: 9px 20px;
    font-size: 14px;
}

.ad-button--mint {
    background: var(--ad-mint);
    color: var(--ad-black);
}

.ad-button--mint:hover,
.ad-button--mint:focus-visible {
    background: #9bc8b6;
}

.ad-button--outline {
    border-color: rgba(22, 20, 16, 0.48);
    background: rgba(255, 255, 255, 0.52);
    color: var(--ad-black);
}

.ad-button--outline:hover,
.ad-button--outline:focus-visible {
    border-color: var(--ad-black);
    background: var(--ad-white);
}

.ad-button--white {
    background: var(--ad-white);
    color: var(--ad-black);
}

.ad-site-header .ad-menu-toggle {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    padding: 0;
    line-height: 1;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ad-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    color: var(--ad-black);
    cursor: pointer;
}

.ad-menu-toggle i {
    font-size: 1.2rem;
}

.ad-mobile-menu {
    border-top: 1px solid var(--ad-line);
    background: var(--ad-cream);
}

.ad-mobile-menu__inner {
    padding-block: 1.5rem 2rem;
}

@media (min-width: 901px) {
    .ad-site-header__inner {
        width: max(min(calc(100% - 3rem), var(--ad-container)), calc(100% - clamp(3rem, 8vw, 8rem)));
        max-width: none;
    }

    .ad-site-footer > .ad-container {
        width: calc(100% - clamp(3rem, 8vw, 8rem));
        max-width: none;
    }

    .ad-site-header__inner {
        min-height: 9.1rem;
        gap: clamp(2.1rem, 4.2vw, 4.2rem);
    }

    .ad-site-logo img {
        width: clamp(14.7rem, 21vw, 18.9rem);
    }

    .ad-nav__list {
        gap: clamp(1.8rem, 3.5vw, 3.5rem);
    }

    .ad-nav__list a,
    .ad-login-link {
        font-size: 16px;
    }

    .ad-button--small {
        font-size: 18px;
    }

    .ad-nav__list a {
        padding-block: 0.77rem;
    }

    .ad-nav__list a::after {
        height: 0.22rem;
    }

    .ad-site-header__actions {
        gap: clamp(1.4rem, 2.8vw, 2.8rem);
    }

    .ad-login-link {
        gap: 0.77rem;
    }

    .ad-button--small {
        min-height: 56px;
        padding: 13px 28px;
    }
}

.ad-page h1,
.ad-page h2,
.ad-footer-cta h2 {
    margin-top: 0;
    color: var(--ad-black);
    font-family: var(--ad-font-display);
    font-weight: 300;
    letter-spacing: -0.035em;
}

.ad-page h3,
.ad-site-footer h3 {
    color: var(--ad-black);
    font-family: var(--ad-font-body);
}

.ad-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(8rem, 12vw, 11rem);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.92) 86%),
        var(--ad-cream);
}

.ad-hero::after {
    content: "";
    position: absolute;
    right: -3%;
    bottom: -1px;
    left: -3%;
    height: clamp(4rem, 8vw, 7rem);
    background: var(--ad-surface);
    clip-path: polygon(0 65%, 100% 0, 100% 100%, 0 100%);
}

.ad-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(28rem, 1.05fr);
    align-items: center;
    gap: clamp(4rem, 5vw, 7rem);
}

.ad-hero__content {
    position: relative;
    z-index: 2;
}

.ad-hero h1 {
    max-width: 12ch;
    margin-bottom: 1.65rem;
    font-size: clamp(48px, 4.3vw, 62px);
    line-height: 0.98;
}

.ad-hero h1 span {
    display: block;
    white-space: nowrap;
}

.ad-hero__lead {
    max-width: 44rem;
    margin: 0;
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.68;
}

.ad-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.25rem;
}

.ad-hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: clamp(3rem, 5vw, 5rem);
}

.ad-hero-benefit {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: start;
    gap: 0.7rem;
}

.ad-hero-benefit__bullet {
    width: 1.8rem;
    height: auto;
    margin-top: 0.15rem;
}
.ad-hero-benefit__bullet--mint { color: var(--ad-mint); }
.ad-hero-benefit__bullet--pink { color: var(--ad-pink); }
.ad-hero-benefit__bullet--blue { color: var(--ad-blue); }

.ad-hero-benefit p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.ad-hero-benefit strong,
.ad-hero-benefit span {
    display: block;
}

.ad-hero-benefit strong {
    margin-bottom: 0.2rem;
    font-size: 14px;
}

.ad-hero-benefit span {
    color: var(--ad-muted);
}

.ad-hero__visual {
    position: relative;
    min-height: clamp(29rem, 42vw, 36rem);
    display: grid;
    place-items: center;
}

.ad-hero__image-shell {
    position: relative;
    z-index: 2;
    width: min(118%, 50rem);
    margin-left: -7%;
    aspect-ratio: 869 / 766;
    -webkit-mask: url("assets/images/oval-mask.svg") center / 100% 100% no-repeat;
    mask: url("assets/images/oval-mask.svg") center / 100% 100% no-repeat;
}

body.canvas .ad-hero__image-shell img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 48% center;
    transform: scale(1.08);
}

.ad-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
}

.ad-orb--pink {
    z-index: 1;
    top: 6%;
    right: -1%;
    width: clamp(6rem, 10vw, 8.5rem);
    aspect-ratio: 1;
    background: var(--ad-pink);
}

.ad-orb--blue {
    z-index: 1;
    right: -2%;
    bottom: 4%;
    width: clamp(9rem, 15vw, 13rem);
    aspect-ratio: 1;
    background: var(--ad-blue);
}

@media (min-width: 901px) {
    .ad-hero__visual {
        width: calc(100% + max(1.5rem, (100vw - var(--ad-container)) / 2));
        min-height: clamp(52rem, 42vw, 65rem);
        justify-self: start;
        place-items: center end;
    }

    .ad-hero__image-shell {
        width: min(100%, 74rem);
        margin-left: 0;
    }

    .ad-orb--pink {
        top: 1%;
        right: -1.5rem;
        width: clamp(7rem, 10vw, 14rem);
    }

    .ad-orb--blue {
        right: -4rem;
        bottom: 0;
        width: clamp(13rem, 19vw, 27rem);
    }
}

.ad-section {
    position: relative;
    padding-block: clamp(5rem, 8vw, 8rem);
}

.ad-section-title {
    max-width: 30ch;
    margin-inline: auto;
    margin-bottom: clamp(3rem, 5vw, 5rem);
    font-size: clamp(36px, 3vw, 48px);
    line-height: 1.08;
    text-align: center;
}

.ad-section-heading {
    margin-bottom: clamp(3rem, 5vw, 4.5rem);
    text-align: center;
}

.ad-section-heading .ad-section-title {
    margin-bottom: 0.65rem;
}

.ad-section-heading > p {
    margin: 0;
    color: var(--ad-muted);
    font-size: clamp(16px, 1.3vw, 18px);
}

.ad-features {
    background: var(--ad-surface);
}

.ad-feature-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.6vw, 2.5rem);
}

.ad-feature-card {
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
}

body.canvas .ad-feature-card::before,
body.canvas .ad-feature-card::after,
body.canvas .ad-theme-card::before,
body.canvas .ad-theme-card::after {
    content: none;
    display: none;
}

.ad-icon-disc {
    width: clamp(72px, 7vw, 96px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
}

.ad-icon-disc i,
.ad-step__icon i {
    color: var(--ad-brown);
    font-size: clamp(26px, 3vw, 38px);
}

.ad-icon-disc--mint,
.ad-step__number--mint {
    background: var(--ad-mint);
}

.ad-icon-disc--pink,
.ad-step__number--pink {
    background: var(--ad-pink);
}

.ad-icon-disc--blue,
.ad-step__number--blue {
    background: var(--ad-blue);
}

.ad-icon-disc--gold,
.ad-step__number--gold {
    background: var(--ad-gold);
}

.ad-feature-card h3 {
    margin: 0 0 0.75rem;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.ad-feature-card p {
    margin: 0;
    color: var(--ad-muted);
    font-size: 14px;
    line-height: 1.62;
}

.ad-themes {
    background: var(--ad-white);
}

.ad-theme-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.ad-theme-card {
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
}

.ad-theme-preview {
    position: relative;
    aspect-ratio: 1.42;
    overflow: hidden;
    border: 1px solid rgba(70, 57, 33, 0.13);
    border-radius: 0.55rem;
    background: #e9e4dd;
    box-shadow: 0 1rem 2.5rem rgba(70, 57, 33, 0.1);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.ad-theme-card:hover .ad-theme-preview {
    transform: translateY(-0.35rem);
    box-shadow: 0 1.5rem 3rem rgba(70, 57, 33, 0.15);
}

.ad-theme-preview__browser {
    position: absolute;
    inset: 7% 5% 0;
    display: block;
    overflow: hidden;
    border-radius: 0.3rem 0.3rem 0 0;
    background: #f8f5f0;
    box-shadow: 0 0 0 1px rgba(22, 20, 16, 0.1);
}

.ad-theme-preview__nav {
    display: block;
    height: 12%;
    border-bottom: 1px solid rgba(22, 20, 16, 0.1);
    background: rgba(255, 255, 255, 0.78);
}

.ad-theme-preview__nav::before {
    content: "";
    position: absolute;
    top: 4.5%;
    left: 5%;
    width: 24%;
    height: 2.5%;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.4;
}

.ad-theme-preview__title {
    position: absolute;
    z-index: 2;
    top: 27%;
    left: 8%;
    max-width: 42%;
    color: currentColor;
    font-family: var(--ad-font-display);
    font-size: clamp(0.95rem, 1.6vw, 1.45rem);
    line-height: 1;
    text-align: left;
}

.ad-theme-preview__title::after {
    content: "";
    width: 72%;
    height: 0.25rem;
    display: block;
    margin-top: 0.7rem;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.32;
    box-shadow: 0 0.6rem currentColor, 0 1.2rem currentColor;
}

.ad-theme-preview__art {
    position: absolute;
    right: 7%;
    bottom: 9%;
    width: 43%;
    aspect-ratio: 0.84;
    display: block;
    border-radius: 47% 47% 0.25rem 0.25rem;
    background:
        radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.62) 0 10%, transparent 11%),
        linear-gradient(145deg, rgba(70, 57, 33, 0.85), rgba(211, 175, 175, 0.8));
}

.ad-theme-preview__phone {
    position: absolute;
    z-index: 3;
    right: 4%;
    bottom: -4%;
    width: 21%;
    height: 58%;
    display: block;
    border: 0.22rem solid #f4f2ee;
    border-radius: 0.65rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95) 0 28%, rgba(70, 57, 33, 0.25) 29% 100%);
    box-shadow: 0 0.5rem 1rem rgba(22, 20, 16, 0.18);
}

.ad-theme-preview--new-york {
    color: #f4efe9;
    background: #1c1c1a;
}

.ad-theme-preview--new-york .ad-theme-preview__browser {
    background: #0d0e0f;
}

.ad-theme-preview--new-york .ad-theme-preview__art {
    background: linear-gradient(135deg, #775543, #d39c74 45%, #48545e);
    border-radius: 50%;
}

.ad-theme-preview--florence {
    color: #554332;
    background: #dec8ae;
}

.ad-theme-preview--florence .ad-theme-preview__browser {
    background: #f0e1ce;
}

.ad-theme-preview--florence .ad-theme-preview__art {
    background: linear-gradient(145deg, #a86632, #d59b61 55%, #73401f);
    border-radius: 48% 48% 18% 18%;
}

.ad-theme-preview--tokyo {
    color: #5d5248;
    background: #e6e2dc;
}

.ad-theme-preview--tokyo .ad-theme-preview__browser {
    background: #f9f8f6;
}

.ad-theme-preview--tokyo .ad-theme-preview__art {
    background:
        linear-gradient(75deg, transparent 48%, #7d6954 49% 52%, transparent 53%),
        radial-gradient(circle at 58% 32%, #b9a58d 0 7%, transparent 8%),
        linear-gradient(155deg, #ddd7cd, #9d8872);
    border-radius: 0.25rem;
}

.ad-theme-card h3 {
    margin: 1.4rem 0 0.25rem;
    font-size: 17px;
    font-weight: 700;
}

.ad-theme-card > p {
    margin: 0;
    color: var(--ad-muted);
    font-size: 14px;
}

.ad-section-action {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

.ad-process {
    background: var(--ad-cream);
}

.ad-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(3rem, 6vw, 6rem);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.ad-step {
    position: relative;
    display: grid;
    grid-template-columns: minmax(7.5rem, 0.8fr) 1.2fr;
    align-items: center;
    gap: 1.25rem;
}

.ad-step:not(:last-child)::after {
    content: none;
    width: 1.3rem;
    height: 1.3rem;
    background: rgba(70, 57, 33, 0.28);
    clip-path: polygon(0 40%, 60% 40%, 60% 15%, 100% 50%, 60% 85%, 60% 60%, 0 60%);
    position: absolute;
    top: 50%;
    right: calc(clamp(3rem, 6vw, 6rem) * -0.72);
    color: rgba(70, 57, 33, 0.28);
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.45rem;
    transform: translateY(-50%);
}

.ad-step__visual {
    position: relative;
}

.ad-step__icon {
    width: 100%;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
}

.ad-step__number {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    width: 56px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 0.2rem solid var(--ad-cream);
    border-radius: 50%;
    font-family: var(--ad-font-display);
    font-size: 32px;
    font-variant-numeric: lining-nums;
    line-height: 1;
}

.ad-step__content h3 {
    margin: 0 0 0.65rem;
    font-size: 17px;
    font-weight: 700;
}

.ad-step__content p {
    margin: 0;
    color: var(--ad-muted);
    font-size: 14px;
    line-height: 1.65;
}

.ad-testimonials {
    background: #f8f5f1;
}

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

.ad-testimonial-card {
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: clamp(2rem, 3vw, 2.75rem);
    border: 1px solid rgba(70, 57, 33, 0.07);
    border-radius: var(--ad-radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--ad-shadow);
}

.ad-testimonial-card__quote {
    margin-bottom: 1.25rem;
    color: rgba(70, 57, 33, 0.17);
    font-size: 2.25rem;
}

body.canvas .ad-testimonial-card blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ad-black);
    font-family: var(--ad-font-body);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    text-align: left;
}

body.canvas .ad-testimonial-card blockquote::before,
body.canvas .ad-testimonial-card blockquote::after {
    content: none;
    display: none;
}

.ad-stars {
    display: flex;
    gap: 0.28rem;
    margin-top: 1.25rem;
    color: var(--ad-gold-strong);
    font-size: 0.95rem;
}

.ad-testimonial-card figcaption {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: auto;
    padding-top: 1.75rem;
}

.ad-avatar {
    width: 3rem;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--ad-blue), var(--ad-pink));
    color: var(--ad-brown);
    font-size: 0.78rem;
    font-weight: 750;
}

.ad-testimonial-card figcaption strong,
.ad-testimonial-card figcaption small {
    display: block;
}

.ad-testimonial-card figcaption strong {
    font-size: 15px;
}

.ad-testimonial-card figcaption small {
    margin-top: 0.12rem;
    color: var(--ad-muted);
    font-size: 13px;
}

.ad-site-footer {
    padding-block: clamp(4rem, 7vw, 6rem) 2rem;
    background: var(--ad-cream);
    color: var(--ad-black);
}

.ad-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2.25rem, 4vw, 3.5rem) clamp(2rem, 6vw, 6rem);
    border-radius: var(--ad-radius);
    background: linear-gradient(125deg, #a5cebd, var(--ad-mint) 55%, #9fc8b8);
}

.ad-footer-cta h2 {
    margin-bottom: 0.45rem;
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.08;
}

.ad-footer-cta p {
    margin: 0;
    font-size: clamp(15px, 1.3vw, 17px);
}

.ad-footer-cta .ad-button {
    min-width: 13rem;
    flex: 0 0 auto;
}

.ad-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.75fr 0.75fr 0.75fr 1.65fr;
    gap: clamp(2rem, 4vw, 4rem);
    padding-block: clamp(4rem, 6vw, 5.5rem) 4rem;
}

.ad-footer-brand .ad-site-logo img {
    width: 12rem;
}

.ad-footer-brand > p {
    max-width: 14rem;
    margin: 1.3rem 0 1.5rem;
    font-family: var(--ad-font-display);
    font-size: 20px;
    line-height: 1.28;
}

.ad-social-links {
    display: flex;
    gap: 0.7rem;
}

.ad-social-links a {
    width: 2.35rem;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ad-black);
    color: var(--ad-white);
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease;
}

.ad-social-links a:hover,
.ad-social-links a:focus-visible {
    background: var(--ad-brown);
    transform: translateY(-2px);
}

.ad-footer-links h3,
.ad-footer-newsletter h3 {
    margin: 0 0 1.25rem;
    font-size: 16px;
    font-weight: 500;
}

.ad-footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ad-footer-links li + li {
    margin-top: 0.65rem;
}

.ad-footer-links a {
    color: var(--ad-muted);
    font-size: 14px;
    text-decoration: none;
}

.ad-footer-links a:hover,
.ad-footer-links a:focus-visible {
    color: var(--ad-black);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.ad-footer-newsletter > p {
    margin: 0 0 1.25rem;
    color: var(--ad-muted);
    font-size: 14px;
}

.ad-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.2rem;
    border: 1px solid rgba(70, 57, 33, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
}

.ad-newsletter-form:focus-within {
    outline: 2px solid var(--ad-mint-deep);
    outline-offset: 2px;
}

.ad-newsletter-form input {
    min-width: 0;
    padding: 0.7rem 1rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ad-black);
    font-size: 14px;
}

.ad-newsletter-form button {
    padding: 0.7rem 1.1rem;
    border: 0;
    border-radius: 999px;
    background: var(--ad-mint);
    color: var(--ad-black);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.ad-copyright {
    margin: 0;
    color: #8a867f;
    font-size: 12px;
    text-align: center;
}

.cde-wide-text.cde-image-header.has-bgimage > .wrapper {
    position: static;
}

@media (max-width: 1120px) {
    .ad-site-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .ad-site-header__actions .ad-login-link {
        display: none;
    }

    .ad-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.95fr);
        gap: 4rem;
    }

    .ad-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 3.5rem;
    }

    .ad-footer-grid {
        grid-template-columns: 1.3fr repeat(3, 0.75fr);
    }

    .ad-footer-newsletter {
        grid-column: 1 / -1;
        max-width: 35rem;
    }
}

@media (max-width: 900px) {
    .ad-container {
        width: min(calc(100% - 2.25rem), var(--ad-container));
    }

    .ad-site-header__inner {
        min-height: 5.5rem;
        display: flex;
        justify-content: space-between;
    }

    .ad-nav--desktop,
    .ad-site-header__actions {
        display: none;
    }

    .ad-site-header .ad-menu-toggle {
        display: inline-flex;
    }

    .ad-mobile-menu:not([hidden]) {
        display: block;
    }

    .ad-mobile-menu__inner,
    .ad-nav--mobile .ad-nav__list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .ad-mobile-menu__inner {
        gap: 1.35rem;
    }

    .ad-nav--mobile .ad-nav__list {
        gap: 0.35rem;
    }

    .ad-nav--mobile .ad-nav__list a {
        width: 100%;
        padding-block: 0.8rem;
        font-size: 16px;
    }

    .ad-nav--mobile .ad-nav__list a::after {
        right: auto;
        width: 2.5rem;
    }

    .ad-mobile-menu .ad-login-link {
        width: max-content;
    }

    .ad-mobile-menu .ad-button {
        align-self: stretch;
    }

    .ad-hero {
        padding-top: 3rem;
    }

    .ad-hero__grid {
        grid-template-columns: 1fr;
    }

    .ad-hero__content {
        max-width: 42rem;
    }

    .ad-hero h1 {
        max-width: 11ch;
    }

    .ad-hero__visual {
        width: calc(100% + 1.125rem);
        min-height: auto;
        margin: 1rem -1.125rem 0 0;
    }

    .ad-hero__image-shell {
        width: 100%;
        margin-left: 0;
    }

    .ad-orb--pink {
        right: 2%;
    }

    .ad-orb--blue {
        right: 1%;
        bottom: 0;
    }

    .ad-theme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 3rem;
    }

    .ad-step-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 38rem;
        margin-inline: auto;
    }

    .ad-step {
        grid-template-columns: 8rem 1fr;
    }

    .ad-step:not(:last-child)::after {
        content: "";
        top: auto;
        right: auto;
        bottom: -2.15rem;
        left: 3.4rem;
        transform: rotate(90deg);
    }

    .ad-testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 42rem;
        margin-inline: auto;
    }

    .ad-testimonial-card {
        min-height: 260px;
    }

    .ad-footer-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .ad-footer-grid {
        grid-template-columns: 1.3fr repeat(3, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .ad-footer-newsletter {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .ad-container {
        width: min(calc(100% - 1.5rem), var(--ad-container));
    }

    .ad-site-header__inner {
        min-height: 5rem;
    }

    .ad-site-logo img {
        width: 10.5rem;
    }

    .ad-hero {
        padding-top: 2.25rem;
        padding-bottom: 7rem;
    }

    .ad-hero h1 {
        margin-bottom: 1.3rem;
        font-size: clamp(42px, 12vw, 56px);
    }

    .ad-hero h1 span {
        white-space: normal;
    }

    .ad-hero__lead br {
        display: none;
    }

    .ad-button-row .ad-button {
        width: 100%;
    }

    .ad-hero-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2.5rem;
    }

    .ad-hero-benefit {
        grid-template-columns: 2.2rem 1fr;
    }

    .ad-hero-benefit p {
        font-size: 13px;
    }

    .ad-hero-benefit strong {
        font-size: 14px;
    }

    .ad-hero__visual {
        width: calc(100% + 0.75rem);
        margin-top: 0.5rem;
        margin-right: -0.75rem;
    }

    .ad-orb--pink {
        top: 9%;
        width: 5.5rem;
    }

    .ad-orb--blue {
        width: 8rem;
    }

    .ad-section {
        padding-block: 4.75rem;
    }

    .ad-section-title {
        margin-bottom: 3rem;
        font-size: clamp(34px, 9vw, 44px);
    }

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

    .ad-feature-card p {
        font-size: 14px;
    }

    .ad-theme-grid {
        grid-template-columns: 1fr;
        max-width: 27rem;
        margin-inline: auto;
    }

    .ad-theme-preview__title {
        font-size: 1.45rem;
    }

    .ad-step {
        grid-template-columns: 7rem 1fr;
    }

    .ad-step:not(:last-child)::after {
        left: 2.9rem;
    }

    .ad-footer-cta {
        padding: 2rem 1.5rem;
    }

    .ad-footer-cta .ad-button {
        width: 100%;
        min-width: 0;
    }

    .ad-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.75rem;
    }

    .ad-footer-brand,
    .ad-footer-newsletter {
        grid-column: 1 / -1;
    }

    .ad-newsletter-form {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        padding: 0.35rem;
        border-radius: 1rem;
    }

    .ad-newsletter-form button {
        min-height: 2.8rem;
    }
}

@media (max-width: 420px) {
    .ad-feature-grid {
        grid-template-columns: 1fr;
    }

    .ad-feature-card {
        max-width: 18rem;
        margin-inline: auto;
    }

    .ad-step {
        grid-template-columns: 6rem 1fr;
        gap: 1rem;
    }

    .ad-step:not(:last-child)::after {
        left: 2.45rem;
    }

    .ad-step__number {
        width: 48px;
        font-size: 27px;
    }
}

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

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

.ad-theme-preview > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Dedicated waitlist page, with content and form shortcode editable in CDE. */
.ad-marketing-page .flex-container:is(.ad-waitlist-page, .ad-enquiry-page) { padding: 64px 20px 80px; color: var(--ad-brown); }
.ad-marketing-page .flex-container:is(.ad-waitlist-page, .ad-enquiry-page) { width: 100%; max-width: 720px; margin: 0 auto; }
:is(.ad-waitlist-page, .ad-enquiry-page) .flex-elm { margin: 0; }
.ad-page :is(.ad-waitlist-page, .ad-enquiry-page) h1 { font-family: var(--ad-font-display); font-size: clamp(42px, 5vw, 64px); line-height: 1.15; text-align: center; margin: 0 0 24px; }
:is(.ad-waitlist-page, .ad-enquiry-page) p { font-size: 20px; line-height: 1.6; text-align: center; margin: 0 0 18px; }
:is(.ad-waitlist-page, .ad-enquiry-page) .gform_wrapper { margin-top: 36px; padding: 32px; background: var(--ad-white); border: 1px solid var(--ad-line); border-radius: 16px; }
:is(.ad-waitlist-page, .ad-enquiry-page) .gform_wrapper .gfield_label { color: var(--ad-brown); font: 500 18px/1.5 var(--ad-font-body); }
:is(.ad-waitlist-page, .ad-enquiry-page) .gform_wrapper input[type=text], :is(.ad-waitlist-page, .ad-enquiry-page) .gform_wrapper input[type=email] { width: 100%; min-height: 52px; border: 1px solid var(--ad-line); border-radius: 6px; padding: 10px 12px; font: 400 18px/1.5 var(--ad-font-body); color: var(--ad-brown); background: var(--ad-cream); }
.ad-page :is(.ad-waitlist-page, .ad-enquiry-page) .gform_wrapper .gform_footer .gform_button { border: 0; border-radius: 999px; padding: 14px 28px; background: var(--ad-mint); color: var(--ad-brown); font: 600 18px/1.5 var(--ad-font-body); cursor: pointer; }
:is(.ad-waitlist-page, .ad-enquiry-page) .gform_confirmation_message { padding: 32px; margin-top: 32px; border-radius: 16px; background: var(--ad-mint); font-size: 20px; line-height: 1.6; }
:is(.ad-waitlist-page, .ad-enquiry-page) :is(input, button):focus-visible { outline: 2px solid var(--ad-brown); outline-offset: 3px; }
@media (max-width: 540px) { .ad-marketing-page .flex-container:is(.ad-waitlist-page, .ad-enquiry-page) { padding: 40px 20px; } :is(.ad-waitlist-page, .ad-enquiry-page) .gform_wrapper { padding: 24px; } }

/* Enquiry form additions to the shared form-page treatment. */
.ad-enquiry-page .gform_wrapper textarea { width: 100%; min-height: 180px; border: 1px solid var(--ad-line); border-radius: 6px; padding: 10px 12px; font: 400 18px/1.5 var(--ad-font-body); color: var(--ad-brown); background: var(--ad-cream); }
.ad-enquiry-page textarea:focus-visible { outline: 2px solid var(--ad-brown); outline-offset: 3px; }
.ad-enquiry-page .gfield_description { font-size: 15px; line-height: 1.5; }
.ad-enquiry-page p.ad-contact-privacy { margin-top: 24px; font-size: 16px; line-height: 1.6; text-align: left; }

/* Keep the social links ready to restore by removing their hidden attribute. */
.ad-social-links[hidden] { display: none; }

/* Brand colour for underlined editorial links. */
.ad-page .cde-richtext a:not(.ad-button),
.ad-blog .ad-blog-prose a,
.ad-page .ad-feature-table th a,
.ad-site-footer nav a:hover,
.ad-blog .ad-blog-link:hover,
.ad-blog .ad-blog-meta a:hover,
.ad-blog .ad-blog-contents nav a:hover,
.ad-blog .ad-blog-feature-copy h2 a:hover,
.ad-blog .ad-blog-story h3 a:hover {
    text-decoration-color: var(--ad-mint-deep);
}

/* Dark underlines on hover. */
.ad-page .cde-richtext a:not(.ad-button):hover,
.ad-blog .ad-blog-prose a:hover,
.ad-page .ad-feature-table th a:hover,
.ad-site-footer nav a:hover,
.ad-blog .ad-blog-link:hover,
.ad-blog .ad-blog-meta a:hover,
.ad-blog .ad-blog-contents nav a:hover,
.ad-blog .ad-blog-feature-copy h2 a:hover,
.ad-blog .ad-blog-story h3 a:hover {
    color: var(--ad-brown);
    text-decoration-color: currentColor;
}

/* Keep phone and unfolded-tablet chrome and process steps in proportion. */
.ad-step:not(:last-child)::after { content: none; display: none; }
@media (max-width: 900px) {
    .ad-site-header__inner { min-height: 72px; }
    .ad-site-header .ad-site-logo img { width: 180px; }
    .ad-step-grid { max-width: 560px; gap: 28px; }
    .ad-step { grid-template-columns: 88px minmax(0, 1fr); gap: 24px; }
    .ad-step__number { width: 34px; height: 34px; font-size: 23px; top: -4px; right: -4px; border-width: 2px; }
    .ad-step__icon i { font-size: 30px; }
}
@media (max-width: 540px) {
    .ad-site-header__inner { min-height: 64px; }
    .ad-site-header .ad-site-logo img { width: 160px; }
    .ad-step { grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
    .ad-step__number { width: 30px; height: 30px; font-size: 21px; }
    .ad-step__icon i { font-size: 26px; }
}
