/* Craftsman demonstration (fictitious "Artisan du Sud", /exemples/artisan/), after the user's brochure
   (2026-10-28). Loaded after demo.css, by this demo only. Contrasts: white on forest green 12.8:1,
   dark text on gold 8.9:1, gold on forest green 7.6:1, copper on cream 4.8:1, muted text on cream 5.8:1. */

.demo--artisan {
    --art-green: #24362B;
    --art-gold: #E8C27A;
    --art-copper: #A65A1E;
    --art-cream: #FAF7F2;
    --art-text: #2A2F2C;
    --art-muted: #5C635E;
    --art-line: #E6DED3;
    --art-serif: Georgia, "Times New Roman", serif;
    color: var(--art-text);
    background: var(--art-cream);
}

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

.art-icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.art-eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--art-copper);
}

.art-title {
    margin-top: 6px;
    font-family: var(--art-serif);
    font-size: clamp(1.7rem, 5.5vw, 2.3rem);
    line-height: 1.15;
    color: var(--art-green);
}

/* ---- Buttons ------------------------------------------------------------------- */
.art-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 24px;
    border: 2px solid var(--art-gold);
    border-radius: 999px;
    background: var(--art-gold);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1C2A22;
    text-decoration: none;
    cursor: pointer;
}

.art-button:hover,
.art-button:focus-visible {
    filter: brightness(1.06);
}

.art-button--dark {
    border-color: var(--art-green);
    background: var(--art-green);
    color: #FFFFFF;
}

.art-button--light {
    border-color: rgba(255, 255, 255, 0.85);
    background: transparent;
    color: #FFFFFF;
}

.art-button--outline {
    border-color: var(--art-copper);
    background: transparent;
    color: var(--art-copper);
}

.art-more {
    margin-top: 24px;
}

.art-more summary {
    list-style: none;
}

.art-more summary::-webkit-details-marker {
    display: none;
}

.art-more p {
    margin-top: 14px;
    max-width: 28rem;
    font-size: 0.88rem;
}

/* ---- Header -------------------------------------------------------------------- */
.art-header {
    background: var(--art-cream);
    border-bottom: 1px solid var(--art-line);
}

.art-header .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding-block: 12px;
}

.art-header .art-button {
    min-height: 44px;
    padding-inline: 20px;
}

.art-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--art-green);
    text-decoration: none;
}

.art-logo__mark {
    width: 44px;
    height: 38px;
    fill: none;
    stroke: var(--art-copper);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.art-logo__name {
    display: block;
    font-family: var(--art-serif);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
}

.art-logo__tag {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.art-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    font-size: 0.85rem;
}

.art-nav a {
    padding-block: 4px;
    text-decoration: none;
    color: inherit;
}

.art-nav a[aria-current="page"],
.art-nav a:hover,
.art-nav a:focus-visible {
    box-shadow: inset 0 -2px 0 var(--art-copper);
}

@media (max-width: 899px) {
    .art-header .art-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 4px 12px;
    }
}

@media (max-width: 479px) {
    /* The hero repeats this button right below: keep the header on two lines only. */
    .art-header .art-button {
        display: none;
    }

    /* Six links: one scrollable row rather than a lone link on a second line. */
    .art-header .art-nav {
        flex-wrap: nowrap;
        gap: 16px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
}

/* ---- Hero ---------------------------------------------------------------------- */
.art-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #FFFFFF;
    background: var(--art-green);
}

.art-hero__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

/* The photo comes from the brochure with its text removed: the dark side keeps the text readable. */
.art-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgba(16, 24, 19, 0.7), rgba(16, 24, 19, 0) 35%),
        linear-gradient(to right, rgba(16, 24, 19, 0.78), rgba(16, 24, 19, 0.45) 50%, rgba(16, 24, 19, 0) 75%);
}

.art-hero .wrap {
    position: relative;
    padding-block: 56px 32px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.art-hero .art-eyebrow {
    color: var(--art-gold);
}

.art-hero h1 {
    margin-top: 10px;
    font-family: var(--art-serif);
    font-size: clamp(2.3rem, 8.5vw, 3.9rem);
    line-height: 1.05;
}

.art-hero h1 em {
    font-style: normal;
    color: var(--art-gold);
}

.art-hero__lead {
    margin-top: 14px;
    max-width: 28rem;
    font-size: clamp(1rem, 3.4vw, 1.1rem);
}

.art-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.art-hero__script {
    margin-top: 22px;
    font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
    font-size: clamp(1.3rem, 4.6vw, 1.9rem);
    line-height: 1.2;
    transform: rotate(-10deg);
    transform-origin: left;
}

.art-hero__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.78rem;
}

.art-hero__points li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.art-hero__points .art-icon {
    width: 26px;
    height: 26px;
}

.art-hero__points strong {
    display: block;
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .art-hero::before {
        background: linear-gradient(to bottom, rgba(16, 24, 19, 0.72), rgba(16, 24, 19, 0.55));
    }
}

@media (min-width: 768px) {
    .art-hero {
        min-height: min(48vw, 640px);
    }

    .art-hero .wrap {
        padding-block: 72px 32px;
    }

    .art-hero__line {
        display: block;
    }

    .art-hero__script {
        position: absolute;
        right: 0;
        bottom: 120px;
        margin: 0;
        transform-origin: right;
    }

    .art-hero__points {
        grid-template-columns: repeat(4, max-content);
        gap: 16px 36px;
        margin-top: 56px;
    }
}

/* ---- Services ------------------------------------------------------------------ */
.art-services {
    padding-block: 48px;
}

.art-services .wrap {
    display: grid;
    gap: 28px;
}

.art-services__intro > p:not(.art-eyebrow) {
    margin-top: 16px;
    max-width: 26rem;
    font-size: 0.92rem;
    color: var(--art-muted);
}

.art-services__grid {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.art-services__grid li {
    display: grid;
    grid-template-columns: 1fr 40%;
    overflow: hidden;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 14px 30px -24px rgba(36, 54, 43, 0.6);
}

.art-services__grid li > div {
    padding: 16px;
}

.art-services__grid .art-icon {
    width: 28px;
    height: 28px;
    color: var(--art-copper);
}

.art-services__grid h3 {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--art-green);
}

.art-services__grid p {
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--art-muted);
}

.art-services__grid img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
}

@media (min-width: 600px) {
    .art-services__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .art-services .wrap {
        grid-template-columns: 0.8fr 1.2fr;
        align-items: center;
        gap: 40px;
    }
}

/* ---- Projects ------------------------------------------------------------------ */
.art-projects {
    padding-block: 48px;
    background: var(--art-green);
    color: #FFFFFF;
}

.art-projects .wrap {
    display: grid;
    gap: 28px;
}

.art-projects .art-eyebrow {
    color: var(--art-gold);
}

.art-projects .art-title {
    color: #FFFFFF;
}

.art-projects__intro > p:not(.art-eyebrow),
.art-projects .art-more p {
    margin-top: 14px;
    max-width: 26rem;
    font-size: 0.92rem;
    color: #C9D2CB;
}

.art-projects__gallery {
    display: grid;
    gap: 12px;
}

.art-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.art-arrows[hidden] {
    display: none;
}

.art-arrows button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    color: #FFFFFF;
    cursor: pointer;
}

.art-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0 0 6px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.art-track li {
    scroll-snap-align: start;
}

.art-track img {
    width: 100%;
    aspect-ratio: 160 / 181;
    border-radius: 6px;
    object-fit: cover;
}

.art-track:focus-visible {
    outline: 2px solid var(--art-gold);
    outline-offset: 2px;
}

@media (min-width: 1024px) {
    .art-projects .wrap {
        grid-template-columns: 0.75fr 1.25fr;
        align-items: center;
        gap: 40px;
    }

    .art-projects__gallery {
        margin-top: -36px;
    }
}

/* ---- Method -------------------------------------------------------------------- */
.art-method {
    padding-block: 40px;
    background: #FFFFFF;
}

.art-method .wrap {
    display: grid;
    gap: 28px;
}

.art-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.art-steps li {
    display: grid;
    justify-items: center;
}

.art-steps .art-icon {
    width: 28px;
    height: 28px;
    color: var(--art-green);
}

.art-steps__num {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--art-gold);
    font-size: 0.8rem;
    font-weight: 700;
    color: #1C2A22;
}

.art-steps h3 {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--art-green);
}

.art-steps p {
    margin-top: 4px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--art-muted);
}

@media (min-width: 1024px) {
    .art-method .wrap {
        grid-template-columns: 0.75fr 1.25fr;
        align-items: center;
        gap: 40px;
    }

    .art-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .art-steps li {
        position: relative;
    }

    .art-steps li + li::before {
        content: "→";
        position: absolute;
        top: 34px;
        left: -14px;
        color: var(--art-muted);
    }
}

/* ---- Quote request ------------------------------------------------------------- */
.art-quote {
    display: grid;
    background: var(--art-cream);
}

.art-quote__photo {
    position: relative;
    min-height: 240px;
}

.art-quote__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-quote__script {
    position: absolute;
    left: 16px;
    top: 38%;
    font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
    font-size: clamp(1.3rem, 4.6vw, 1.9rem);
    line-height: 1.25;
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
    transform: rotate(-10deg);
}

.art-quote__body {
    padding: 32px 16px 48px;
}

.art-form {
    display: grid;
    gap: 12px;
    padding: 24px 20px;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px -28px rgba(36, 54, 43, 0.6);
}

.art-form .art-title {
    margin-top: -4px;
    font-size: clamp(1.4rem, 4.6vw, 1.75rem);
}

.art-form__intro {
    font-size: 0.88rem;
    color: var(--art-muted);
}

.art-form__row {
    display: grid;
    gap: 10px;
}

.art-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--art-line);
    border-radius: 6px;
    color: var(--art-muted);
}

.art-field input,
.art-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    color: var(--art-text);
}

.art-field input::placeholder,
.art-field textarea::placeholder {
    color: var(--art-muted);
}

.art-field--area {
    padding-block: 10px;
}

.art-field textarea {
    resize: vertical;
}

.art-field:focus-within {
    border-color: var(--art-green);
    box-shadow: 0 0 0 2px rgba(36, 54, 43, 0.2);
}

.art-field input:focus,
.art-field textarea:focus {
    outline: none;
}

.art-form__foot {
    display: grid;
    gap: 10px;
    align-items: center;
}

.art-form__foot .art-button {
    border-radius: 6px;
}

.art-form__note {
    font-size: 0.76rem;
    color: var(--art-muted);
}

.art-form__status {
    padding: 10px;
    border-radius: 6px;
    background: var(--art-cream);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--art-green);
}

@media (min-width: 600px) {
    .art-form__row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .art-form__foot {
        grid-template-columns: auto 1fr;
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .art-quote {
        grid-template-columns: 0.7fr 1.3fr;
    }

    .art-quote__body {
        padding: 32px max(16px, calc((100vw - 1120px) / 2)) 32px 32px;
    }

    .art-quote__script {
        left: 24px;
    }
}

/* ---- Reviews ------------------------------------------------------------------- */
.art-reviews {
    padding-block: 44px;
}

.art-reviews .wrap {
    display: grid;
    gap: 24px;
}

.art-reviews__intro > p:not(.art-eyebrow) {
    margin-top: 12px;
    max-width: 24rem;
    font-size: 0.88rem;
    color: var(--art-muted);
}

.art-reviews__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.art-reviews__list li {
    padding: 18px;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 14px 30px -24px rgba(36, 54, 43, 0.6);
    font-size: 0.85rem;
}

.art-stars {
    letter-spacing: 0.15em;
    color: #C98A1B;
}

.art-reviews__list li p + p {
    margin-top: 8px;
}

.art-reviews__who {
    font-size: 0.78rem;
    color: var(--art-muted);
}

.art-reviews__who strong {
    display: block;
    color: var(--art-text);
}

@media (min-width: 768px) {
    .art-reviews__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .art-reviews .wrap {
        grid-template-columns: 0.75fr 1.25fr;
        align-items: center;
        gap: 40px;
    }
}

/* ---- Footer -------------------------------------------------------------------- */
.art-footer {
    padding-block: 32px;
    background: #1B261F;
    color: #FFFFFF;
}

.art-footer .wrap {
    display: grid;
    gap: 20px;
    align-items: start;
}

.art-footer .art-logo {
    color: #FFFFFF;
}

.art-footer .art-logo__mark {
    stroke: var(--art-gold);
}

.art-footer__item {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #C9D2CB;
}

.art-footer__social {
    display: flex;
    gap: 14px;
}

@media (min-width: 768px) {
    .art-footer .wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .art-footer .wrap {
        grid-template-columns: 1.2fr 1fr 1.2fr 1fr auto;
        align-items: center;
    }
}

.demo--artisan .demo-footer {
    background: #141D17;
}
