@font-face {
    font-family: Marcellus;
    src: url("/assets/fonts/marcellus-latin-cca42eca.woff2") format("woff2");
    font-display: swap;
    unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2026;
}

@font-face {
    font-family: Marcellus;
    src: url("/assets/fonts/marcellus-latin-ext-6fb67085.woff2") format("woff2");
    font-display: swap;
    unicode-range: U+0100-02FF;
}

@font-face {
    font-family: "Albert Sans";
    font-weight: 400 600;
    src: url("/assets/fonts/albert-sans-latin-6cc8d411.woff2") format("woff2");
    font-display: swap;
    unicode-range: U+0000-00FF, U+2013-2014, U+2018-201E, U+2026;
}

@font-face {
    font-family: "Albert Sans";
    font-weight: 400 600;
    src: url("/assets/fonts/albert-sans-latin-ext-86853fd0.woff2") format("woff2");
    font-display: swap;
    unicode-range: U+0100-02FF;
}

/* Morzsa Bakery: flour, crust, oven */
:root {
    --paper: #fbf6ee;
    --flour: #f6ecdd;
    --ink: #2b2118;
    --soft: #5e4d40;
    --line: #e6d7c2;
    --accent: #9a4a1c;
    --crust: #b36b3a;
    --wheat: #e9c9a0;
    --plum: #d9c2d6;
    --sage: #c9d7b8;
    --ember: #e8743a;
    --disp: Marcellus, Georgia, serif;
    --pad: clamp(20px, 5vw, 80px);
    --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.6 "Albert Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

a {
    color: inherit;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}

.wrap {
    max-width: calc(1200px + 2 * var(--pad));
    margin-inline: auto;
    padding-inline: var(--pad);
}

h1,
h2,
blockquote,
.logo,
.big {
    font-family: var(--disp);
    font-weight: 400;
    text-wrap: balance;
}

h1 {
    font-size: clamp(44px, 6vw, 84px);
    line-height: 1.04;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1.12;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

p {
    text-wrap: pretty;
}

/* Header */
.top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    padding-block: 20px;
    position: relative;
    z-index: 2;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 30px;
    line-height: 1.2;
    text-decoration: none;
}

.wheat {
    width: 20px;
    height: 27px;
    color: var(--crust);
    flex: none;
}

.top {
    nav {
        display: flex;
        align-items: center;
        gap: 32px;

        a {
            text-decoration: none;
            padding: 10px 0;
            background: linear-gradient(var(--accent), var(--accent)) 0 80%/0 1px no-repeat;
            transition: background-size 0.35s var(--ease);

            &:hover,
            &[aria-current="page"] {
                background-size: 100% 1px;
            }
        }

        .line {
            color: var(--accent);
            font-weight: 600;
            padding: 10px 24px;
            border: 0;
            border-radius: 99px;
            background: var(--flour);
            transition: background-color 0.3s;

            &:hover {
                background: #efe0c9;
            }
        }
    }
}

.menu {
    display: none;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 99px;
    background: var(--flour);
    color: var(--accent);
    font: 600 16px/1 "Albert Sans", sans-serif;
    cursor: pointer;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font: 600 17px/1.6 "Albert Sans", sans-serif;
    text-decoration: none;
    padding: 15px 32px;
    border: 0;
    border-radius: 99px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.4s var(--ease);

    &:hover {
        background: #7d3a14;
        transform: translateY(-2px);
    }

    &:active {
        transform: none;
    }
}

.more {
    display: inline-block;
    padding: 12px 0;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;

    &:hover {
        text-decoration: underline;
    }
}

/* Hero */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px 64px;
    align-items: center;
    min-height: calc(100svh - 92px);
    padding-bottom: 48px;
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.kicker {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--crust);
}

.lead {
    max-width: 33em;
    font-size: 19px;
    color: var(--soft);
}

.acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
}

.hero-art {
    display: flex;
    justify-content: center;
}

.loaf {
    width: min(100%, 520px);
    height: auto;
    overflow: visible;

    .sun {
        fill: var(--flour);
    }

    .board {
        fill: #d9c2a3;
    }

    .crust {
        fill: var(--crust);
    }

    .crumb-light {
        stroke: #cf8f5c;
    }

    .score {
        stroke: #f2d3a7;
    }

    .flour {
        fill: #fff8ee;
    }

    .steam {
        stroke: #d8c5ae;
    }
}

/* Ma a pultban */
.today {
    padding-block: clamp(56px, 6vw, 88px);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
}

/* What we bake, prices */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr);
    gap: 40px 72px;
    align-items: start;
    padding-block: clamp(72px, 8vw, 116px);

    & > div p {
        margin-top: 16px;
        max-width: 24em;
        color: var(--soft);
    }
}

.offer li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 6px 20px;
    align-items: baseline;
    padding-block: 24px;
    border-top: 1px solid var(--line);
}

.offer li:last-child,
.prices li:last-child {
    border-bottom: 1px solid var(--line);
}

.offer p {
    color: var(--soft);
}

.pill {
    width: 44px;
    height: 18px;
    border-radius: 9px;
    background: var(--c);
    align-self: start;
    margin-top: 5px;
}

.prices {
    li {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 130px 120px;
        gap: 4px 24px;
        align-items: baseline;
        padding-block: 26px;
        border-top: 1px solid var(--line);
    }

    span {
        color: var(--soft);
    }

    strong {
        font-size: 20px;
        font-weight: 600;
        text-align: right;
        font-variant-numeric: tabular-nums;
    }
}

/* About us */
.about {
    background: var(--flour);

    .wrap {
        display: grid;
        grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
        gap: 48px 88px;
        align-items: center;
        padding-block: clamp(72px, 8vw, 116px);
    }
}

.portrait {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5/6;
    object-fit: cover;
    border-radius: 220px 220px 28px 28px;
}

.about {
    p {
        margin-top: 24px;
        max-width: 34em;
        color: var(--soft);
    }

    dl {
        margin-top: 32px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
        gap: 20px 40px;
    }
}

dt {
    font-size: 15px;
    color: var(--soft);
}

dd {
    margin: 0;
    font-weight: 600;
}

/* Folyamat */
.process {
    padding-block: clamp(72px, 8vw, 116px);
    text-align: center;

    ol {
        margin-top: 56px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
        gap: 48px 56px;
    }

    li {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
}

.step-no {
    width: 64px;
    height: 64px;
    display: grid;
    place-content: center;
    border-radius: 50%;
    background: var(--wheat);
    font: 400 30px/1 var(--disp);
    color: var(--ink);
}

.process li p {
    max-width: 21em;
    color: var(--soft);
}

/* Review */
.voice {
    background: #efe0c9;

    figure {
        max-width: calc(740px + 2 * var(--pad));
        padding-block: clamp(64px, 7vw, 100px);
        text-align: center;
    }
}

blockquote {
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1.35;
}

figcaption {
    margin-top: 24px;
    color: var(--soft);
}

/* FAQ on the home page */
.faq-teaser {
    padding-block: clamp(72px, 8vw, 116px);

    & > * {
        max-width: 46em;
    }

    h2 {
        margin-bottom: 20px;
    }

    & > p {
        margin-top: 16px;
    }
}

/* Pre-order */
.contact {
    background: var(--flour);

    .wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
        gap: 48px 88px;
        align-items: start;
        padding-block: clamp(72px, 8vw, 116px);
    }

    p {
        margin-top: 24px;
        max-width: 26em;
        color: var(--soft);
    }
}

address {
    font-style: normal;
    margin-top: 16px;

    span {
        display: block;
        padding: 6px 0;
    }
}

.card {
    padding: clamp(24px, 3vw, 44px);
    border-radius: 32px;
    background: #fff;
}

/* Űrlapok */
form {
    display: grid;
    gap: 20px;
    justify-items: start;

    & > * {
        width: 100%;
    }

    .btn {
        width: auto;
    }
}

.two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 20px;
}

label {
    display: grid;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid #a58c74;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: 400 17px/1.5 "Albert Sans", sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px #e9c9a080;
}

.form-error {
    color: #a3261b;
    font-size: 14px;
    font-weight: 500;
}

[aria-invalid="true"] {
    border-color: #a3261b;
}

.form-help {
    color: var(--soft);
    font-size: 14px;
}

.lapis-form {
    fieldset {
        border: 0;
        padding: 0;
        display: grid;
        gap: 8px;
    }

    legend {
        font-size: 15px;
        font-weight: 500;
        margin-bottom: 6px;
    }

    .form-check,
    fieldset label {
        display: flex;
        gap: 10px;
        align-items: center;
        font-weight: 400;
    }

    input[type="checkbox"],
    input[type="radio"] {
        width: 20px;
        min-height: 20px;
        accent-color: var(--accent);
    }
}

.done {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    &[hidden] {
        display: none;
    }
}

.big {
    font-size: 38px;
    line-height: 1.15;
}

.card .done p {
    margin-top: 12px;
}

.done-inline {
    margin-top: 32px;
}

/* Footer */
.foot {
    background: var(--ink);
    color: #e9dccb;
    margin-top: 0;

    .wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        gap: 24px 64px;
        padding-block: 56px 40px;
        font-size: 15px;
    }

    .logo {
        font-size: 26px;
        color: #fff;
    }

    .wheat {
        color: var(--wheat);
    }

    address {
        color: #cdbca8;
    }
}

.foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-content: start;

    a {
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
    }
}

.fine {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 24px;
    border-top: 1px solid #4a3b2f;
    color: #bfae99;
}

/* Aloldalak */
.page {
    padding-block: clamp(56px, 7vw, 104px) clamp(72px, 8vw, 116px);

    h1 {
        font-size: clamp(38px, 5vw, 64px);
        max-width: 16em;
    }

    .lead {
        margin-top: 20px;
    }
}

.narrow {
    max-width: calc(760px + 2 * var(--pad));
}

.prose {
    max-width: 40em;
    margin-top: 40px;

    & > * + * {
        margin-top: 1em;
    }

    h2 {
        font-size: clamp(28px, 3vw, 38px);
        margin-top: 1.6em;
    }

    h3 {
        margin-top: 1.4em;
    }

    ul,
    ol {
        padding-left: 1.3em;
    }

    ul {
        list-style: disc;
    }

    ol {
        list-style: decimal;
    }

    a {
        color: var(--accent);
    }

    blockquote {
        font-size: 24px;
        padding-left: 20px;
        border-left: 3px solid var(--wheat);
    }
}

.back {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--soft);
}

.meta {
    font-size: 15px;
    color: var(--soft);
}

.note-small {
    font-size: 15px;
    color: var(--soft);
    margin-top: 32px;
    max-width: 40em;
}

.empty {
    margin-top: 32px;
    color: var(--soft);
}

/* Products */
.filters {
    display: grid;
    gap: 20px;
    margin-top: 40px;
    justify-items: start;

    .search {
        max-width: 420px;
    }
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;

    a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        padding: 0 18px;
        border-radius: 99px;
        background: var(--flour);
        text-decoration: none;
        font-size: 16px;

        &[aria-current="page"],
        &:hover {
            background: var(--accent);
            color: #fff;
        }
    }
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: 20px;
    margin-top: 32px;

    .card {
        border-radius: 28px;
    }
}

.product {
    &::before {
        content: "";
        display: block;
        width: 44px;
        height: 18px;
        border-radius: 9px;
        background: var(--c, var(--flour));
        margin-bottom: 14px;
    }

    &[data-category="bread"] {
        --c: var(--wheat);
    }

    &[data-category="pastry"] {
        --c: #f1d7b5;
    }

    &[data-category="cake"] {
        --c: var(--plum);
    }

    h3 {
        margin-top: 6px;

        a {
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }
    }
}

.price {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    margin-top: 8px;

    &.big {
        font: 400 34px/1.2 var(--disp);
        margin-top: 12px;
    }
}

.days {
    font-size: 15px;
    color: var(--soft);
}

.product-image {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 24px;
    margin-top: 28px;
}

.product-page .btn {
    margin-top: 32px;
}

/* Journal, guides */
.post-list {
    display: grid;
    gap: 28px;
    margin-top: 48px;
    max-width: 46em;
    justify-items: start;
}

.post-card {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
    width: 100%;

    h3 {
        font: 400 clamp(24px, 2.4vw, 32px)/1.2 var(--disp);
        margin-top: 4px;

        a {
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    p:last-child {
        color: var(--soft);
        margin-top: 8px;
    }
}

.rss {
    margin-top: 40px;
    font-size: 15px;
}

.post .cover {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
    margin-top: 36px;
}

.newsletter-box {
    margin-top: 56px;
    max-width: 40em;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    justify-content: space-between;
    background: var(--flour);
}

.tree {
    margin-top: 32px;

    li {
        padding: 10px 0 10px calc(var(--depth, 0) * 28px);
        border-bottom: 1px solid var(--line);
    }

    small {
        color: var(--soft);
        margin-left: 8px;
    }
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 15px;
    color: var(--soft);
    margin-bottom: 24px;

    a + a::before {
        content: "/";
        margin-right: 10px;
        color: var(--line);
    }
}

.children {
    margin-top: 56px;
    max-width: 40em;

    h2 {
        font-size: clamp(24px, 2.4vw, 32px);
    }

    ul {
        margin-top: 12px;
    }

    li {
        padding: 10px 0;
        border-top: 1px solid var(--line);
    }
}

/* Campaign page */
.landing {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px 88px;
    align-items: start;
    padding-block: clamp(56px, 7vw, 104px);

    .lead {
        margin-top: 20px;
    }
}

.landing-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    margin-bottom: 24px;
}

.landing .card {
    background: var(--flour);
}

/* GYIK */
.faq-group {
    margin-top: 48px;
    max-width: 46em;

    h2 {
        font-size: clamp(26px, 2.6vw, 34px);
        margin-bottom: 12px;
    }
}

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

    &:last-of-type {
        border-bottom: 1px solid var(--line);
    }

    summary {
        cursor: pointer;
        padding: 18px 0;
        font-weight: 600;
    }

    p {
        padding: 0 0 20px;
        color: var(--soft);
    }
}

.page form.card,
.page .lead + .card,
.page .lead + div.card {
    margin-top: 32px;
}

/* Opening hours (plugin), partner area */
.hours {
    table {
        border-collapse: collapse;
        margin-top: 28px;
        font-size: 18px;
    }

    th,
    td {
        text-align: left;
        padding: 12px 32px 12px 0;
        border-bottom: 1px solid var(--line);
    }
}

.closed {
    margin-top: 48px;

    h2 {
        font-size: clamp(24px, 2.4vw, 32px);
    }

    li {
        padding: 8px 0;
    }
}

.wholesale {
    width: 100%;
    max-width: 46em;
    border-collapse: collapse;
    margin: 32px 0 36px;

    th,
    td {
        text-align: left;
        padding: 12px 16px 12px 0;
        border-bottom: 1px solid var(--line);
    }

    thead th {
        font-size: 14px;
        font-weight: 500;
        color: var(--soft);
    }

    td:last-child {
        text-align: right;
        font-variant-numeric: tabular-nums;
        font-weight: 600;
    }
}

/* Demo tour */
.demo .lead {
    max-width: 44em;
}

.demo-section {
    margin-top: 64px;
    scroll-margin-top: 24px;

    h2 {
        font-size: clamp(28px, 3vw, 40px);
        margin-bottom: 20px;
    }
}

.demo {
    table {
        width: 100%;
        border-collapse: collapse;
        font-size: 16px;
    }

    th,
    td {
        text-align: left;
        vertical-align: top;
        padding: 14px 20px 14px 0;
        border-top: 1px solid var(--line);
    }

    thead th {
        font-size: 14px;
        font-weight: 500;
        color: var(--soft);
        border-top: 0;
    }

    tbody {
        th {
            font-weight: 600;
            width: 30%;

            a {
                font-weight: 400;
                font-size: 14px;
                color: var(--accent);
                word-break: break-all;
            }
        }
    }

    .code {
        font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
        background: var(--flour);
        padding: 2px 6px;
        border-radius: 6px;
        word-break: break-word;
    }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
    .hero {
        & > * {
            animation: rise 1.1s var(--ease) both;
        }

        & > :nth-child(2) {
            animation-delay: 0.1s;
        }

        & > :nth-child(3) {
            animation-delay: 0.2s;
        }

        & > :nth-child(4) {
            animation-delay: 0.3s;
        }
    }

    @keyframes rise {
        from {
            opacity: 0;
            transform: translateY(16px);
        }
    }

    .loaf .sun {
        transform-origin: 210px 190px;
        animation: bloom 1.6s var(--ease) both;
    }

    @keyframes bloom {
        from {
            opacity: 0;
            transform: scale(0.86);
        }
    }

    .loaf {
        .crust,
        .crumb-light,
        .board {
            animation: rise 1.2s 0.2s var(--ease) both;
        }

        .score path {
            stroke-dasharray: 1 1;
            animation: cut 0.7s var(--ease) both;
            animation-delay: calc(1s + var(--d) * 0.22s);
        }
    }

    @keyframes cut {
        from {
            stroke-dashoffset: 1;
        }

        to {
            stroke-dashoffset: 0;
        }
    }

    .loaf {
        .flour {
            animation: fade 1s 1.8s both;
        }

        .steam path {
            stroke-dasharray: 1 1;
            animation: steam 4.8s ease-in-out infinite;
            animation-delay: calc(2s + var(--d) * 0.8s);
        }
    }

    @keyframes steam {
        0% {
            stroke-dashoffset: 1;
            opacity: 0;
        }

        30% {
            opacity: 0.9;
        }

        70% {
            opacity: 0.6;
        }

        100% {
            stroke-dashoffset: -1;
            opacity: 0;
        }
    }

    @keyframes fade {
        from {
            opacity: 0;
        }
    }

    .js {
        .pill {
            width: 18px;
            transition: width 0.8s var(--ease) calc(var(--i) * 0.12s);
        }

        .seen .pill {
            width: 44px;
        }

        .portrait {
            clip-path: inset(10% 10% 10% 10% round 220px 220px 28px 28px);
            transition: clip-path 1.4s var(--ease);

            &.seen {
                clip-path: inset(0 round 220px 220px 28px 28px);
            }
        }

        .process {
            ol {
                .step-no {
                    transform: scale(0.6);
                    opacity: 0;
                    transition: transform 0.8s var(--ease), opacity 0.5s;
                    transition-delay: calc(var(--s) * 0.25s);
                }

                &.seen .step-no {
                    transform: none;
                    opacity: 1;
                }
            }
        }
    }

    .done {
        & > * {
            animation: rise 0.8s var(--ease) both;
        }

        & > :nth-child(2) {
            animation-delay: 0.12s;
        }
    }

    .top nav.open {
        animation: rise 0.5s var(--ease);
    }
}

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

    *,
    ::before,
    ::after {
        transition: none !important;
        animation: none !important;
    }

    .loaf .steam {
        display: none;
    }
}

@media (max-width: 899px) {
    .menu {
        display: block;
    }

    .js .top nav {
        display: none;
    }

    .top nav,
    .js .top nav.open {
        flex: 1 1 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid var(--line);
    }

    .top nav a,
    .top nav .line {
        padding: 12px 0;
        border: 0;
        background: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        padding-block: 24px 56px;
    }

    .hero-art {
        order: -1;
    }

    .loaf {
        width: min(100%, 360px);
    }

    .split,
    .about .wrap,
    .contact .wrap,
    .landing,
    .foot .wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .portrait {
        max-width: 440px;
    }

    .demo {
        thead {
            display: none;
        }

        tr {
            display: grid;
            padding: 14px 0;
            border-top: 1px solid var(--line);
        }

        th,
        td {
            border: 0;
            padding: 4px 0;
            width: auto !important;
        }
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: clamp(36px, 11vw, 44px);
    }

    .lead {
        font-size: 17px;
    }

    .offer {
        li {
            grid-template-columns: 44px minmax(0, 1fr);
        }

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

    .prices {
        li {
            grid-template-columns: minmax(0, 1fr) auto;
        }

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