/* A.L.Martin & Son – the butcher's apron: butcher's green and brass from the logo, a cream counter,
   the green-and-cream pinstripe of the apron. Aleo (display) + Rubik (text), self-hosted. */

@font-face {
    font-family: "Aleo";
    src: url("/fonts/aleo.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Rubik";
    src: url("/fonts/rubik.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --green: #13431c;
    --green-mid: #1d5a28;
    --green-deep: #0b2a12;
    --brass: #9a6c35;
    --brass-text: #7a5322;
    --brass-light: #e0bd85;
    --cream: #f6f0e2;
    --cream-dark: #ebe2cc;
    --paper: #fffdf8;
    --ink: #18201a;
    --muted: #4a544b;
    --red: #a3262a;
    --line: #d9cdb3;
    --radius: 22px;
    --display: "Aleo", Georgia, "Times New Roman", serif;
    --text: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
    --apron: repeating-linear-gradient(90deg, var(--green) 0 11px, #e8e0cb 11px 13px);
    --menu-fg: var(--green);
    --menu-focus: var(--brass);
    --lb-accent: var(--brass-light);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--brass-text);
}

:focus-visible {
    outline: 3px solid var(--brass);
    outline-offset: 3px;
    border-radius: 4px;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--green);
    margin: 0 0 0.5em;
}

h1 {
    font-size: clamp(2.35rem, 1.5rem + 4vw, 4.6rem);
    font-weight: 900;
    letter-spacing: -0.025em;
}

h2 {
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem);
}

h3 {
    font-size: 1.4rem;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(1200px, 100% - 40px);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--green);
    color: var(--paper);
    border-radius: 10px;
}

.skip:focus {
    top: 12px;
    color: var(--paper);
}

.eyebrow {
    margin: 0 0 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass-text);
}

.lead {
    font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
    color: var(--muted);
    max-width: 36em;
}

.icon {
    flex: none;
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--text);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-green {
    background: var(--green);
    color: var(--paper);
}

.btn-green:hover {
    background: var(--green-deep);
    color: var(--paper);
}

.btn-line-green {
    border-color: var(--green);
    color: var(--green);
}

.btn-line-green:hover {
    background: var(--green);
    color: var(--paper);
}

.btn-cream {
    background: var(--cream);
    color: var(--green-deep);
}

.btn-cream:hover {
    background: var(--paper);
    color: var(--green-deep);
}

.btn-line {
    border-color: var(--cream);
    color: var(--cream);
}

.btn-line:hover {
    background: var(--cream);
    color: var(--green-deep);
}

/* ---- header ---- */

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(246 240 226 / 0.9);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid rgb(19 67 28 / 0.12);
}

.top::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 4px;
    background: var(--apron);
    opacity: 0.9;
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    min-height: 78px;
    padding-block: 8px;
}

.brand {
    flex: none;
    display: block;
    margin-right: auto;
}

.brand img {
    width: 200px;
    height: auto;
}

.nav {
    display: flex;
    gap: 4px;
}

.nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}

.nav a:hover {
    background: rgb(19 67 28 / 0.08);
    color: var(--green);
}

.nav a[aria-current="page"] {
    background: var(--green);
    color: var(--paper);
}

.top-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--green);
    color: var(--paper);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.top-call:hover {
    background: var(--green-deep);
    color: var(--paper);
}

/* ---- menu: /js/menu.js folds the navigation behind a button on a phone ---- */

.menu-toggle {
    display: none;
}

@media (max-width: 760px) {
    .has-menu .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        min-height: 44px;
        padding: 0 14px;
        border: 2px solid currentColor;
        border-radius: 999px;
        background: var(--menu-bg, transparent);
        color: var(--menu-fg, inherit);
        font: inherit;
        font-weight: 600;
        line-height: 1;
        cursor: pointer;
    }

    .has-menu .menu-toggle:focus-visible {
        outline: 3px solid var(--menu-focus, currentColor);
        outline-offset: 3px;
    }

    .has-menu .menu-nav:not(.is-open) {
        display: none;
    }

    .has-menu .menu-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-basis: 100%;
        width: 100%;
        margin-inline: 0;
        gap: 2px;
        padding-block: 6px 4px;
        background: var(--menu-panel, none);
    }

    .has-menu .menu-nav.is-open a {
        padding-block: 12px;
    }

    .nav {
        order: 4;
    }

    .top-call {
        order: 2;
    }

    .menu-toggle {
        order: 3;
    }
}

@media (max-width: 420px) {
    .has-menu .menu-toggle {
        justify-content: center;
        width: 44px;
        padding: 0;
    }

    .menu-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-bars {
    position: relative;
}

.menu-bars::before,
.menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-bars::before {
    top: -6px;
}

.menu-bars::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-bars {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 520px) {
    .top-row {
        gap: 8px 10px;
        min-height: 66px;
    }

    .brand img {
        width: 132px;
    }

    .top-call {
        padding: 0 14px;
        font-size: 0.98rem;
    }
}

@media (max-width: 370px) {
    .brand img {
        width: 116px;
    }

    .top-call {
        gap: 6px;
        padding: 0 11px;
    }
}

/* ---- the apron: green with cream pinstripes ---- */

.apron {
    background: var(--apron);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08), inset 0 -40px 60px rgb(0 0 0 / 0.18);
}

/* ---- hero ---- */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 7vw, 100px);
    background:
        radial-gradient(1200px 500px at 100% 0%, rgb(154 108 53 / 0.14), transparent 60%),
        radial-gradient(900px 500px at 0% 100%, rgb(19 67 28 / 0.08), transparent 60%),
        var(--cream);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.hero-text h1 {
    margin-bottom: 0.4em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 22px;
}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px 0 10px;
    border-radius: 999px;
    border: 1px solid rgb(19 67 28 / 0.25);
    color: var(--green);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.social a:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--paper);
}

.hero-visual {
    position: relative;
    padding: 0 0 34px 34px;
}

.hero-visual .apron {
    position: absolute;
    inset: 34px 34px 0 0;
    transform-origin: top;
}

.hero-photo {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 60px -24px rgb(11 42 18 / 0.55);
    aspect-ratio: 4 / 3.4;
}

.hero-photo a,
.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-photo img {
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-photo a:hover img {
    transform: scale(1.03);
}

.since-label {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 16px 24px 14px;
    background: var(--paper);
    color: var(--green);
    border-radius: 14px;
    outline: 2px dashed rgb(154 108 53 / 0.7);
    outline-offset: -8px;
    box-shadow: 0 18px 30px -12px rgb(11 42 18 / 0.45);
    transform: rotate(-4deg);
    text-align: center;
}

.since-year {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2.6rem, 2rem + 2.4vw, 3.8rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.since-small {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass-text);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-text > * {
        animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .hero-text > :nth-child(2) {
        animation-delay: 0.08s;
    }

    .hero-text > :nth-child(3) {
        animation-delay: 0.16s;
    }

    .hero-text > :nth-child(n + 4) {
        animation-delay: 0.24s;
    }

    .hero-visual .apron {
        animation: unroll 0.9s cubic-bezier(0.3, 0.7, 0.2, 1) 0.1s both;
    }

    .hero-photo {
        animation: reveal 0.9s cubic-bezier(0.3, 0.7, 0.2, 1) 0.25s both;
    }

    .since-label {
        animation: stitch 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) 0.8s both;
    }
}

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

@keyframes unroll {
    from {
        transform: scaleY(0);
    }
}

@keyframes reveal {
    from {
        clip-path: inset(0 0 100% 0 round var(--radius));
    }

    to {
        clip-path: inset(0 0 0 0 round var(--radius));
    }
}

@keyframes stitch {
    from {
        opacity: 0;
        transform: rotate(-16deg) scale(0.7);
    }
}

/* ---- sections ---- */

.section {
    padding: clamp(56px, 8vw, 110px) 0;
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head p:last-child {
    color: var(--muted);
}

/* ---- the counter: three hanging price tags ---- */

.counter {
    background: var(--paper);
}

.tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
}

.tag {
    position: relative;
    padding-bottom: 70px;
}

.tag-photo {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.tag-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tag-photo:hover img {
    transform: scale(1.05);
}

.tag-card {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    padding: 30px 22px 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px);
    box-shadow: 0 14px 30px -18px rgb(11 42 18 / 0.5);
    transform: rotate(-1.6deg);
    transition: transform 0.3s ease;
}

.tag:nth-child(2) .tag-card {
    transform: rotate(1.4deg);
}

.tag:hover .tag-card {
    transform: rotate(0deg) translateY(-4px);
}

.tag-hole {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 50%;
    background: var(--cream-dark);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.3);
}

.tag-card h3 {
    margin-bottom: 0.3em;
    font-size: 1.5rem;
}

.tag-card p {
    margin: 0;
    color: var(--muted);
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .tag,
        .trail li,
        .shop {
            animation: rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 40%;
        }
    }
}

/* ---- the three promises on a green band ---- */

.promises {
    position: relative;
    background: var(--green);
    color: var(--cream);
    padding: clamp(34px, 5vw, 56px) 0;
}

.promises::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 10px;
    background: var(--apron);
    filter: brightness(1.25);
}

.promises-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.promise {
    display: flex;
    align-items: center;
    gap: 16px;
}

.promise svg {
    flex: none;
    color: var(--brass-light);
}

.promise h2 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--paper);
}

.promise p {
    margin: 2px 0 0;
    color: var(--cream);
}

.promise a {
    color: var(--paper);
}

.promise a:hover {
    color: var(--brass-light);
}

/* ---- best sellers: a sideways strip ---- */

.best {
    overflow: hidden;
}

.best-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.best-head h2 {
    margin: 0;
}

.strip-nav {
    display: flex;
    gap: 10px;
}

.strip-nav[hidden] {
    display: none;
}

.strip-btn {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 2px solid var(--green);
    border-radius: 50%;
    background: transparent;
    color: var(--green);
    cursor: pointer;
}

.strip-btn:hover:not(:disabled) {
    background: var(--green);
    color: var(--paper);
}

.strip-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.strip {
    list-style: none;
    margin: 0;
    padding: 4px max(20px, (100% - 1200px) / 2) 20px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, (100% - 1200px) / 2);
    scrollbar-width: thin;
    scrollbar-color: var(--green) transparent;
}

.strip li {
    flex: none;
    scroll-snap-align: start;
}

.strip a {
    display: block;
    border-radius: 18px;
    overflow: hidden;
}

.strip img {
    height: clamp(240px, 32vw, 360px);
    width: auto;
    transition: transform 0.5s ease;
}

.strip a:hover img {
    transform: scale(1.04);
}

/* ---- the shops: a shop-window board ---- */

.board {
    background: var(--cream-dark);
}

.shops {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
}

.shop {
    position: relative;
    padding: clamp(26px, 3.5vw, 40px);
    border-radius: var(--radius);
    background:
        radial-gradient(600px 300px at 100% 0%, rgb(255 255 255 / 0.07), transparent 60%),
        var(--green);
    color: var(--cream);
    box-shadow: 0 24px 50px -30px rgb(11 42 18 / 0.8);
    overflow: hidden;
}

.shop::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: var(--apron);
    filter: brightness(1.3);
}

.shop-chagford {
    background:
        radial-gradient(600px 300px at 100% 0%, rgb(255 255 255 / 0.07), transparent 60%),
        var(--green-deep);
}

.shop-role {
    margin: 0 0 4px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass-light);
}

.shop-town {
    margin: 0 0 14px;
    font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
    font-weight: 900;
    color: var(--paper);
}

.shop address {
    font-style: normal;
    margin-bottom: 14px;
}

.shop-phone {
    margin-bottom: 18px;
}

.shop-phone a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--cream);
    color: var(--green-deep);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.shop-phone a:hover {
    background: var(--paper);
    color: var(--green-deep);
}

.hours {
    margin: 0 0 12px;
    border-top: 1px solid rgb(246 240 226 / 0.25);
}

.hours div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 12px 10px;
    border-bottom: 1px solid rgb(246 240 226 / 0.25);
}

.hours dt {
    font-weight: 500;
}

.hours dd {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--paper);
}

.hours .is-today {
    background: rgb(246 240 226 / 0.12);
    border-radius: 10px;
}

.today-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 9px;
    border-radius: 999px;
    background: var(--brass-light);
    color: var(--green-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.shop-note {
    font-size: 0.95rem;
    color: var(--cream);
}

.shop-map {
    margin: 0;
}

.shop-map a {
    color: var(--paper);
    font-weight: 600;
}

.shop-map a:hover {
    color: var(--brass-light);
}

/* ---- FAQ ---- */

.faq {
    background: var(--paper);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: start;
}

.faq-list details {
    border-bottom: 2px solid var(--line);
}

.faq-list details:first-child {
    border-top: 2px solid var(--line);
}

.faq-list summary {
    position: relative;
    padding: 20px 48px 20px 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--green);
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: var(--paper);
    font-family: var(--text);
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list details p {
    margin: 0 0 20px;
    color: var(--muted);
}

/* ---- call band ---- */

.call-band {
    position: relative;
    background: var(--green-deep);
    color: var(--cream);
    padding: clamp(40px, 6vw, 72px) 0;
    overflow: hidden;
}

.call-band::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(28%, 280px);
    background: var(--apron);
    opacity: 0.55;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
    mask-image: linear-gradient(90deg, transparent, #000);
}

.call-band-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.call-band h2 {
    color: var(--paper);
    margin-bottom: 0.3em;
}

.call-band p {
    margin: 0;
    max-width: 34em;
    color: var(--cream);
}

.call-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---- page heads ---- */

.page-head {
    padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px);
    background:
        radial-gradient(900px 400px at 100% 0%, rgb(154 108 53 / 0.14), transparent 60%),
        var(--cream);
}

.page-head-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: end;
    gap: 32px;
}

.page-head h1 {
    margin-bottom: 0.3em;
}

.apron-short {
    height: 150px;
}

/* ---- about ---- */

.about {
    background: var(--paper);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.about-photo {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 60px -28px rgb(11 42 18 / 0.55);
}

.figures {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.figures li {
    padding: 18px 16px;
    border-top: 4px solid var(--green);
    background: var(--cream);
    border-radius: 0 0 14px 14px;
}

.figures strong {
    display: block;
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
    line-height: 1;
    color: var(--green);
}

.figures span {
    display: block;
    margin-block: 4px;
    font-size: 0.95rem;
    color: var(--muted);
}

.trail {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    counter-reset: step;
}

.trail li {
    counter-increment: step;
    position: relative;
}

.trail li a {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin-bottom: 16px;
}

.trail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trail a:hover img {
    transform: scale(1.05);
}

.trail h3::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: var(--brass-text);
}

.trail p {
    color: var(--muted);
    margin: 0;
}

/* ---- contact ---- */

.contact-top {
    background: var(--paper);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.contact-card,
.form-card {
    padding: clamp(24px, 3.5vw, 40px);
    border-radius: var(--radius);
    background: var(--cream);
    border: 1px solid var(--line);
}

.contact-list {
    margin: 0 0 20px;
}

.contact-list div {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.contact-list dt {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brass-text);
}

.contact-list dd {
    margin: 4px 0 0;
}

.big-phone {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem);
    text-decoration: none;
}

.mail {
    font-size: 1.1rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.contact-list .social {
    margin-top: 6px;
}

.company-line {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

/* ---- the form ---- */

.contact-form > div {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid #b9ad93;
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    outline: 3px solid rgb(19 67 28 / 0.2);
    outline-offset: 0;
}

.contact-form textarea::placeholder {
    color: #6a7066;
}

.contact-form ul {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    color: var(--red);
    font-weight: 600;
}

.form-hint {
    margin: 12px 0 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.contact-sent {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--green);
    color: var(--paper);
}

.contact-sent strong {
    display: block;
}

/* ---- footer ---- */

.foot {
    background: var(--green-deep);
    color: var(--cream);
    padding: clamp(48px, 6vw, 80px) 0 28px;
}

.foot a {
    color: var(--paper);
}

.foot a:hover {
    color: var(--brass-light);
}

.foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
}

.foot h2 {
    font-size: 1.2rem;
    color: var(--brass-light);
    margin-bottom: 14px;
}

.foot-h2-gap {
    margin-top: 26px;
}

.foot-plaque {
    display: inline-block;
    padding: 14px 20px;
    margin-bottom: 18px;
    background: var(--cream);
    border-radius: 16px;
}

.foot-plaque img {
    width: 220px;
}

.foot .social a {
    border-color: rgb(246 240 226 / 0.35);
    color: var(--paper);
}

.foot .social a:hover {
    background: var(--cream);
    color: var(--green-deep);
}

.foot-shop {
    font-style: normal;
    margin-bottom: 18px;
}

.foot-shop strong {
    font-family: var(--display);
    font-size: 1.1rem;
}

.foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foot-links li {
    margin-bottom: 6px;
}

.foot-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgb(246 240 226 / 0.2);
    font-size: 0.92rem;
}

.foot-bottom p {
    margin: 0 0 6px;
}

/* ---- 404 ---- */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    text-align: center;
    background:
        radial-gradient(900px 500px at 100% 0%, rgb(154 108 53 / 0.16), transparent 60%),
        var(--cream);
}

.not-found > div {
    max-width: 560px;
}

.not-found img {
    width: 260px;
    margin: 0 auto 28px;
}

.not-found .apron {
    height: 14px;
    width: 160px;
    margin: 0 auto 28px;
    border-radius: 999px;
}

/* ---- responsive ---- */

@media (max-width: 980px) {
    .tags {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
        margin-inline: auto;
    }

    .promises-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .trail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .foot-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 860px) {
    .hero-grid,
    .about-grid,
    .contact-grid,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        max-width: 560px;
    }

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

    .page-head-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .apron-short {
        height: 14px;
        border-radius: 999px;
        max-width: 200px;
    }
}

@media (max-width: 560px) {
    .wrap {
        width: calc(100% - 32px);
    }

    .hero-visual {
        padding: 0 0 26px 18px;
    }

    .hero-visual .apron {
        inset: 22px 22px 0 0;
    }

    .since-label {
        padding: 12px 16px 10px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .figures {
        gap: 8px;
    }

    .figures li {
        padding: 12px 10px;
    }

    .figures span {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .trail {
        gap: 24px 14px;
    }

    .trail li a {
        aspect-ratio: 1;
    }

    .trail h3 {
        font-size: 1.15rem;
    }

    .trail p {
        font-size: 0.95rem;
    }

    .tag-photo {
        aspect-ratio: 4 / 3;
    }

    .call-band::before {
        display: none;
    }

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

    .best-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .strip-nav {
        display: none;
    }

    .call-band-actions,
    .call-band-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}
