/* Cabinet Saulaie — a fictional business, a demonstration website of Atlas Digital (/demos/base.css).
   Its own structure: a modern sans-serif, rounded arches and plants, a bento of treatments, numbered steps. */
:root {
    --bg: #f6f5f0;
    --surface: #ffffff;
    --surface-2: #f6f5f0;
    --sand: #ece7db;
    --sage: #dbe6dd;
    --ink: #1f2a24;
    --muted: #55625a;
    --line: #dcd8cc;
    --accent: #3f6b55;
    --accent-ink: #335a47;
    --accent-deep: #1f3a2e;
    --on-accent: #ffffff;
    --clay: #c56a4a;
    /* The clay as text: a step darker, 4.5:1 on every ground of the page (the steps' numbers, axe-core). */
    --clay-ink: #9e4f35;
    --foot-bg: #1f2a24;
    --foot-ink: #dcd8cc;
    --font-title: 'Avenir Next', 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Avenir Next', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 1.5rem;
}

h1,
h2,
h3 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Header: the wordmark, a pill navigation, one button. */
.k-top {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--bg);
}

.k-top .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.5rem;
}

.k-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.k-brand .i {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--accent);
}

.k-brand small {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.k-nav {
    display: none;
    gap: 0.25rem;
    padding: 0.3rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.k-nav a {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.9375rem;
    text-decoration: none;
}

@media (hover: hover) {
    .k-nav a:hover {
        background: var(--sand);
    }
}

@media (min-width: 900px) {
    .k-nav {
        display: flex;
    }
}

.k-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.6rem 1.25rem;
    border: 1.5px solid var(--accent-deep);
    border-radius: 999px;
    background: var(--accent-deep);
    color: var(--on-accent);
    font-weight: 600;
    text-decoration: none;
}

.k-btn--lg {
    min-height: 3.25rem;
    padding-inline: 1.6rem;
}

.k-btn--light {
    border-color: var(--bg);
    background: var(--bg);
    color: var(--accent-deep);
}

.k-btn--outline {
    border-color: currentColor;
    background: transparent;
    color: var(--bg);
    overflow-wrap: anywhere;
}

.k-link {
    color: var(--ink);
    font-weight: 600;
    text-underline-offset: 0.3em;
}

.k-chip {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: var(--sand);
    color: var(--accent-ink);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Hero: the text, and a plant in an arch with a floating note. */
.k-hero {
    padding-block: clamp(2rem, 6vw, 5rem) clamp(3rem, 8vw, 6rem);
}

.k-hero .wrap {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .k-hero .wrap {
        grid-template-columns: 1.15fr 1fr;
    }
}

.k-hero h1 {
    font-size: clamp(2.6rem, 7vw, 4.75rem);
    line-height: 1.02;
}

.k-hero h1 em {
    display: block;
    color: var(--accent);
    font-style: normal;
}

.k-hero__lead {
    max-width: 32rem;
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 1.15rem;
}

.k-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.k-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin: 2.5rem 0 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.k-stats li {
    display: grid;
    max-width: 9rem;
}

.k-stats strong {
    font-size: 1.75rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.k-stats span {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.35;
}

.k-hero__art {
    position: relative;
    max-width: 26rem;
    width: 100%;
    justify-self: center;
}

.k-arch {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    aspect-ratio: 4 / 5;
    padding: 2.5rem 2rem 0;
    border-radius: 999px 999px var(--radius) var(--radius);
    background: var(--sand);
}

.k-arch img {
    width: 82%;
}

.k-float {
    position: absolute;
    bottom: 1.5rem;
    left: -1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 15rem;
    padding: 0.9rem 1.1rem;
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: 0 12px 32px rgb(31 42 36 / 0.12);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.k-float .i {
    padding: 0.3rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
}

@media (max-width: 519px) {
    .k-float {
        left: 0.5rem;
    }
}

/* Sections. */
.k-section {
    padding-block: clamp(3.5rem, 9vw, 6rem);
}

.k-section--sand {
    background: var(--sand);
}

.k-section--sand .k-chip {
    background: var(--surface);
}

.k-head {
    max-width: 38rem;
    margin-bottom: 2.5rem;
}

.k-head h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.08;
}

.k-head > p:not(.k-chip) {
    margin-top: 1rem;
    color: var(--muted);
}

/* Treatments: a bento grid, one wide tile with a plant, one dark tile. */
.k-bento {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 700px) {
    .k-bento {
        grid-template-columns: repeat(3, 1fr);
    }

    .k-tile--wide {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.k-tile {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.75rem;
    border-radius: var(--radius);
    background: var(--surface);
}

.k-tile h3 {
    font-size: 1.35rem;
}

.k-tile p {
    color: var(--muted);
}

.k-tile--wide {
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--accent);
    color: var(--on-accent);
}

.k-tile--wide h3 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.k-tile--wide p {
    max-width: 24rem;
    margin-top: 0.75rem;
    color: inherit;
    opacity: 0.85;
}

.k-tile--wide img {
    align-self: flex-end;
    width: min(55%, 14rem);
    margin-bottom: -1.75rem;
}

.k-tile--dark {
    background: var(--accent-deep);
    color: var(--on-accent);
}

.k-tile--dark p {
    color: inherit;
    opacity: 0.8;
}

/* First visit: three numbered steps. */
.k-steps {
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 760px) {
    .k-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.k-steps li {
    display: grid;
    gap: 0.5rem;
    padding-top: 1.25rem;
    border-top: 2px solid var(--accent);
}

.k-steps__n {
    color: var(--clay-ink);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.k-steps h3 {
    font-size: 1.5rem;
}

.k-steps p {
    color: var(--muted);
}

/* The practice: its text and a row of plants in arches. */
.k-cabinet {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .k-cabinet {
        grid-template-columns: 1fr 1.2fr;
    }
}

.k-checks {
    display: grid;
    gap: 0.75rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.k-checks li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.k-checks .i {
    color: var(--accent);
}

.k-plants {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.k-plants li {
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    aspect-ratio: 3 / 5;
    padding: 1rem 0.5rem 0;
    border-radius: 999px 999px 1rem 1rem;
    background: var(--sand);
}

.k-plants li:nth-child(2) {
    margin-top: 2.5rem;
    background: var(--sage);
}

.k-plants li:nth-child(3) {
    background: var(--surface);
}

/* Booking: a deep green band, the hours as a list of terms. */
.k-book {
    padding-block: clamp(3.5rem, 9vw, 6rem);
    background: var(--accent-deep);
    color: var(--bg);
}

.k-book .wrap {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 900px) {
    .k-book .wrap {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.k-book h2 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.k-book__intro > p {
    margin-top: 0.75rem;
    opacity: 0.85;
}

.k-book__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.k-hours {
    display: grid;
    margin: 0;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    background: rgb(255 255 255 / 0.06);
}

.k-hours div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    padding-block: 0.9rem;
}

.k-hours div + div {
    border-top: 1px solid rgb(255 255 255 / 0.15);
}

.k-hours dt {
    font-weight: 600;
}

.k-hours dd {
    margin: 0;
    opacity: 0.85;
}

.k-foot {
    padding-block: 2rem;
    background: var(--foot-bg);
    color: var(--foot-ink);
    font-size: 0.9375rem;
}

.k-foot .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.k-foot a {
    color: inherit;
}

/* On a phone the header holds the wordmark and the menu; the hero's button books, right below. */
@media (max-width: 519px) {
    .k-top .k-btn {
        display: none;
    }
}
