/* Market Avenue Development — mobile-first layout, typography, and restrained colour. */

:root {
    color-scheme: light;
    --bone: #eae5db;
    --charcoal: #262722;
    --olive: #424637;
    --muted: #68675e;
    --line: #b7b1a5;
    --gutter: clamp(22px, 4.4vw, 76px);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--charcoal);
    background: var(--bone);
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
}

body {
    margin: 0;
}

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

a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 5px;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 6px;
}

::selection {
    color: var(--bone);
    background: #000;
}

.page-width {
    width: calc(100% - var(--gutter) * 2);
    max-width: 1500px;
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    z-index: 5;
    top: 12px;
    left: var(--gutter);
    padding: 14px 18px;
    color: var(--bone);
    background: var(--charcoal);
    transform: translateY(-200%);
}

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

.site-header {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-block: 26px 8px;
}

.wordmark {
    display: inline-flex;
    flex-direction: column;
    align-self: flex-start;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.wordmark:hover {
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 14px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-transform: uppercase;
}

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

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-block: 22px 48px;
}

h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(54px, 14.4vw, 104px);
    font-weight: 500;
    letter-spacing: -0.07em;
    line-height: 0.98;
}

.hero-sculpture {
    display: block;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 566 / 410;
    touch-action: none;
}

.hero-sculpture:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 6px;
}

.hero-description {
    grid-row: 3;
    margin-top: 24px;
}

.hero-description > p {
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.hero-price {
    grid-row: 4;
    margin-top: 24px;
    font-size: 15px;
}

.hero-price strong {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.05em;
}

.hero-price .small-copy {
    margin-top: 9px;
}

.small-copy {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.section {
    padding-block: 42px 52px;
}

.section-heading {
    display: grid;
    gap: 16px;
    margin-bottom: 29px;
}

.section-heading > h2:not(.visually-hidden) {
    font-size: clamp(32px, 8.2vw, 50px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.06;
}

.section-subtitle {
    max-width: 620px;
    color: var(--muted);
    font-size: clamp(15px, 2vw, 18px);
    letter-spacing: -0.02em;
    line-height: 1.5;
}

.work {
    border-top: 1px solid var(--charcoal);
}

.work .section-heading {
    grid-template-columns: minmax(0, 1fr);
}

.project-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 860px;
    margin-inline: auto;
}

.project-tile {
    position: relative;
    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
}

.project-tile::after {
    position: absolute;
    z-index: 1;
    inset: 30% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(38, 39, 34, 0.82));
    content: "";
    pointer-events: none;
}

.project-image {
    display: block;
    width: 100%;
    height: 100%;
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-tile h3 {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 11px;
    left: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 1.08;
    overflow-wrap: break-word;
}

.project-link {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

.services {
    color: var(--bone);
    background: var(--olive);
}

.services .section {
    max-width: none;
    padding-block: clamp(42px, 4vw, 62px) clamp(37px, 4vw, 54px);
}

.services .services-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;
}

.services .pricing-plans {
    display: grid;
    gap: 13px;
}

.services .pricing-plan {
    display: flex;
    min-width: 0;
    padding: 24px 22px 22px;
    border: 1px solid #818575;
    flex-direction: column;
}

.services .pricing-plan--recommended {
    color: var(--charcoal);
    background: var(--bone);
    border-color: var(--bone);
}

.services .pricing-plan-marker {
    display: flex;
    min-height: 18px;
    align-items: center;
    margin: 0;
    color: #d5d7c9;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.095em;
    line-height: 1.3;
    text-transform: uppercase;
}

.services .pricing-plan--recommended .pricing-plan-marker {
    color: #4d5542;
}

.services .pricing-plan h3 {
    margin: 15px 0 8px;
    font-size: clamp(31px, 2.5vw, 40px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.services .pricing-plan-description {
    min-height: 59px;
    margin: 0;
    color: #d0d2c3;
    font-size: 13px;
    line-height: 1.5;
}

.services .pricing-plan--recommended .pricing-plan-description {
    color: #565a50;
}

.services .pricing-plan-price-area {
    display: flex;
    min-height: 147px;
    padding: 13px 0 16px;
    flex-direction: column;
    justify-content: flex-end;
}

.services .pricing-price-line {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 0;
    flex-wrap: wrap;
}

.services .pricing-price {
    font-size: clamp(74px, 7.4vw, 100px);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    letter-spacing: -0.075em;
    line-height: 0.95;
}

.services .pricing-price-period {
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.services .pricing-regular-price {
    min-height: 20px;
    margin: 0 0 5px;
    color: #d0d2c3;
    font-size: 13px;
    line-height: 1.5;
}

.services .pricing-plan--recommended .pricing-regular-price {
    color: #565a50;
}

.services .pricing-regular-price s {
    text-decoration-thickness: 1.5px;
}

.services .pricing-price-line--promotion {
    display: none;
}

.services.is-essential-promotion-active .pricing-price-line--regular {
    display: none;
}

.services.is-essential-promotion-active .pricing-price-line--promotion {
    display: block;
}

.services .pricing-plan-term {
    padding: 15px 0;
    margin: 0;
    border-top: 1px solid #818575;
    border-bottom: 1px solid #818575;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.services .pricing-plan--recommended .pricing-plan-term {
    border-color: #b7b1a5;
}

.services .pricing-features-heading {
    min-height: 18px;
    margin: 21px 0 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.services .pricing-feature-list {
    padding: 0;
    margin: 0 0 27px;
    list-style: none;
}

.services .pricing-feature-list--essential {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 7px;
    margin-top: 22px;
}

.services .pricing-feature-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-block: 8px;
    font-size: 13px;
    line-height: 1.42;
}

.services .pricing-feature-list li::before {
    flex: none;
    content: "\2713";
}

.services .pricing-custom-note {
    margin: -7px 0 19px;
    color: #d0d2c3;
    font-size: 11px;
    line-height: 1.48;
}

.services .pricing-plan-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0 9px;
    margin-top: auto;
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    font-weight: 700;
}

.services .pricing-plan-link:hover {
    opacity: 0.77;
}

.services .pricing-plan-link span {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.services .pricing-plan--recommended .pricing-plan-link {
    border-bottom-width: 2px;
}

.services .pricing-payments {
    margin-top: 33px;
}

.services .pricing-payments > .eyebrow {
    margin: 0 0 11px;
}

.services .pricing-payment-list {
    display: flex;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
}

.services .pricing-payment-list li {
    display: flex;
    width: 59px;
    height: 33px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border-radius: 3px;
}

.services .pricing-payment-list img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.services .pricing-payment-secondary {
    margin: 8px 0 0;
    font-size: 10px;
    line-height: 1.4;
}

.services .pricing-fine-print {
    display: grid;
    gap: 12px 40px;
    padding-top: 22px;
    margin-top: 26px;
    border-top: 1px solid #777c6b;
    color: #d0d2c3;
    font-size: 11px;
    line-height: 1.55;
}

@media (min-width: 860px) {
    .services .pricing-plans {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .services .pricing-fine-print {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .services .pricing-plan {
        padding: 22px 20px 23px;
    }

    .services .pricing-plan h3 {
        margin-top: 10px;
    }

    .services .pricing-plan-description {
        min-height: 0;
    }

    .services .pricing-plan-price-area {
        min-height: 0;
        padding: 20px 0;
    }

    .services .pricing-payment-list {
        gap: 6px;
    }

    .services .pricing-payment-list li {
        width: 57px;
        height: 32px;
    }

    .services .pricing-fine-print {
        margin-top: 22px;
    }
}

.faq {
    display: grid;
    gap: 42px;
    background: var(--bone);
}

.faq-introduction h2 {
    font-size: clamp(35px, 9.4vw, 62px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.faq-introduction p {
    max-width: 360px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.faq-category + .faq-category {
    padding-top: 38px;
    margin-top: 38px;
    border-top: 1px solid var(--line);
}

.faq-category h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.faq-questions {
    margin-top: 16px;
}

.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: start;
    min-height: 48px;
    padding-block: 12px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    content: "+";
}

.faq-item[open] > summary::after {
    content: "−";
}

.faq-item summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.faq-answer {
    max-width: 760px;
    padding: 2px 44px 22px 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
}

.faq-answer p {
    font-weight: 400;
}

.faq-answer p + p {
    margin-top: 16px;
}

.faq-answer a {
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.faq-answer code {
    font-family: inherit;
    font-size: inherit;
    overflow-wrap: anywhere;
}

.about,
.contact {
    display: grid;
    gap: 29px;
}

.about-content h3,
.contact-content h3 {
    font-size: clamp(35px, 9.4vw, 62px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 1.05;
}

.biography {
    max-width: 560px;
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.012em;
}

.biography p + p {
    margin-top: 16px;
}

.contact {
    border-top: 1px solid var(--line);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 100%;
    min-height: 44px;
    margin-top: 29px;
    border-bottom: 1px solid var(--charcoal);
    padding-bottom: 7px;
    font-size: clamp(17px, 4.4vw, 26px);
    letter-spacing: -0.035em;
}

.contact-link span:first-child {
    overflow-wrap: anywhere;
}

.contact-link:hover {
    text-decoration: none;
    border-bottom-width: 2px;
    padding-bottom: 6px;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-block: 24px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.site-footer p:first-child {
    flex-basis: 100%;
    color: var(--charcoal);
}

@media (min-width: 600px) {
    .site-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-block: 30px;
    }

    nav {
        gap: 24px;
    }

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

    h1 {
        grid-column: 1 / -1;
    }

    .hero-sculpture {
        grid-column: 1 / -1;
        max-width: 566px;
        justify-self: center;
    }

    .hero-description {
        margin-top: 32px;
    }

    .hero-price {
        grid-row: 3;
        justify-self: end;
        align-self: start;
        padding: 0;
        margin: 32px 0 0;
        border: 0;
    }

    .section {
        padding-block: 60px 70px;
    }

    .section-heading {
        grid-template-columns: 1fr 2fr;
        align-items: baseline;
    }

    .project-list {
        gap: 14px;
    }

    .project-tile {
        aspect-ratio: 1.65 / 1;
        border-radius: 12px;
    }

    .project-tile h3 {
        right: 18px;
        bottom: 16px;
        left: 18px;
        font-size: clamp(20px, 2.2vw, 28px);
    }

    .about,
    .contact {
        grid-template-columns: 1fr 2fr;
        gap: 16px;
    }

    .site-footer p:first-child {
        flex-basis: auto;
    }
}

@media (min-width: 700px) {
    .faq {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: clamp(36px, 6vw, 96px);
    }
}

@media (min-width: 960px) {
    .wordmark {
        font-size: 18px;
        align-self: auto;
    }

    nav {
        gap: 36px;
    }

    .hero {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 1fr;
        column-gap: 20px;
        padding-block: 38px 69px;
    }

    h1 {
        grid-column: 1;
        font-size: clamp(82px, 8.4vw, 134px);
    }

    .hero-sculpture {
        grid-column: 2;
        grid-row: 1;
    }

    .hero-description,
    .hero-price {
        grid-row: 2;
        align-self: end;
        margin-top: 49px;
    }

    .hero-description > p {
        font-size: 19px;
    }

    .hero-price {
        justify-self: start;
        margin-left: 11%;
        padding-bottom: 10px;
    }

    .hero-price > p:first-child {
        font-size: 17px;
    }

    .hero-price strong {
        font-size: 34px;
    }

    .section {
        padding-block: 58px 78px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading > h2:not(.visually-hidden) {
        font-size: clamp(37px, 3.8vw, 56px);
    }

    .about,
    .contact {
        padding-block: 76px 86px;
    }

    .biography {
        margin-top: 33px;
    }

    .site-footer {
        padding-block: 29px;
    }
}

@media (max-width: 345px) {
    .project-tile h3 {
        font-size: 16px;
    }

}

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