/* Zimo – machine embroidery, Sofia. Linen and bottle green with the thread colours of the original banner.
   Fonts: Marmelad (display), M PLUS 1p (text), both SIL OFL, cut to Latin and Cyrillic. */

@font-face {
    font-family: "Marmelad";
    src: url("/fonts/marmelad.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "M PLUS 1p";
    src: url("/fonts/mplus1p-regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "M PLUS 1p";
    src: url("/fonts/mplus1p-medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "M PLUS 1p";
    src: url("/fonts/mplus1p-bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    --linen: #f5efe1;
    --linen-2: #ece3cf;
    --paper: #fffbf2;
    --ink: #1b261f;
    --ink-soft: #46554a;
    --line: #d8ccb0;
    --green-900: #0a2419;
    --green-800: #0f3324;
    --green-700: #17482f;
    --clover: #3f9b3a;
    --clover-light: #a6dc86;
    --orange: #e8840f;
    --orange-ink: #944807;
    --magenta: #c2185b;
    --magenta-dark: #8e0f41;
    --gold: #d9a520;
    --on-dark: #f5efe1;
    --on-dark-soft: #cbd8c8;
    --radius: 22px;
    --display: "Marmelad", "Trebuchet MS", sans-serif;
    --text: "M PLUS 1p", "Segoe UI", system-ui, sans-serif;
    --lb-bg: rgba(10, 36, 25, 0.96);
    --lb-accent: #a6dc86;
    --lb-accent-soft: rgba(166, 220, 134, 0.18);
}

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

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

body {
    margin: 0;
    background: var(--linen);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--magenta-dark);
}

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

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
}

h1 {
    font-size: clamp(2.2rem, 5.2vw, 4.2rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

p {
    margin: 0 0 1em;
}

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

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

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

.skip:focus {
    top: 12px;
    color: #fff;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-ink);
    padding-bottom: 6px;
    background: repeating-linear-gradient(90deg, currentColor 0 8px, transparent 8px 13px) bottom left / 100% 2px no-repeat;
}

.lead {
    font-size: clamp(1.08rem, 1.6vw, 1.25rem);
    max-width: 40em;
}

/* ---- buttons and links ---- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--text);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.btn-thread {
    background: var(--magenta);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.18), inset 0 0 0 2px rgba(255, 255, 255, 0.0);
    outline: 2px dashed rgba(255, 255, 255, 0.55);
    outline-offset: -7px;
}

.btn-thread:hover {
    background: var(--magenta-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-thread:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.btn-ghost {
    border-color: currentColor;
    color: inherit;
}

.btn-ghost:hover {
    color: inherit;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.text-link {
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-decoration-style: dashed;
}

.text-link::after {
    content: " →";
}

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

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 239, 225, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 51, 36, 0.12);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    margin-right: auto;
}

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

.brand-name {
    font-family: var(--display);
    font-size: 1.3rem;
    line-height: 1;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    order: 2;
}

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

.nav a:hover {
    background: var(--linen-2);
    color: var(--ink);
}

.nav a[aria-current] {
    background: var(--green-800);
    color: var(--on-dark);
}

.call {
    order: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--magenta);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    outline: 1.5px dashed rgba(255, 255, 255, 0.55);
    outline-offset: -5px;
}

.call:hover {
    background: var(--magenta-dark);
    color: #fff;
}

.call:focus-visible {
    outline: 3px solid var(--green-800);
    outline-offset: 3px;
}

.lang {
    order: 4;
    display: inline-flex;
    border: 2px solid var(--green-800);
    border-radius: 999px;
    overflow: hidden;
    font-weight: 700;
    font-size: 0.85rem;
}

.lang a,
.lang span {
    padding: 6px 10px;
    text-decoration: none;
    color: var(--green-800);
}

.lang span[aria-current] {
    background: var(--green-800);
    color: var(--on-dark);
}

@media (max-width: 1020px) {
    .nav {
        order: 5;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .brand-name {
        display: none;
    }
    .brand img {
        height: 46px;
    }
    .top-row {
        gap: 8px 10px;
    }
    .call {
        padding: 9px 12px;
        font-size: 0.95rem;
    }
    .nav a {
        padding: 6px 10px;
        font-size: 0.95rem;
    }
}

/* ---- crumbs ---- */

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    list-style: none;
    margin: 0;
    padding: 14px 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.crumbs li + li::before {
    content: "·";
    margin-right: 10px;
    color: var(--orange-ink);
}

/* ---- hero (dark fabric) ---- */

.hero,
.page-hero,
.figures {
    background-color: var(--green-800);
    background-image:
        radial-gradient(ellipse 70% 60% at 85% 20%, rgba(232, 132, 15, 0.16), transparent 60%),
        radial-gradient(ellipse 60% 70% at 0% 100%, rgba(63, 155, 58, 0.18), transparent 60%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.09) 0 1px, transparent 1px 4px);
    color: var(--on-dark);
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: var(--clover-light);
}

.hero a:not(.btn),
.page-hero a:not(.btn) {
    color: var(--clover-light);
}

.hero {
    padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px);
    position: relative;
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    height: 0;
    border-top: 3px dashed rgba(245, 239, 225, 0.35);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}

.hero h1 {
    max-width: 13em;
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero .lead {
    color: var(--on-dark-soft);
    animation: rise 0.9s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.6rem;
    animation: rise 0.9s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero .btn-ghost {
    color: var(--on-dark);
}

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

@media (max-width: 820px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hoop {
        max-width: 380px;
        margin-inline: auto;
    }
}

/* ---- the hoop ---- */

.hoop {
    margin: 0;
    width: 100%;
    max-width: 470px;
    justify-self: center;
}

.hoop-art {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.leaf-line {
    fill: none;
    stroke: #164d1b;
    stroke-width: 2.4;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    animation: sew 1.1s cubic-bezier(0.5, 0, 0.3, 1) both;
}

.leaf > use:first-child {
    animation: satin 0.8s cubic-bezier(0.3, 0.8, 0.3, 1) both;
}

.leaf-1 .leaf-line { animation-delay: 0.3s; }
.leaf-2 .leaf-line { animation-delay: 0.7s; }
.leaf-3 .leaf-line { animation-delay: 1.1s; }
.leaf-4 .leaf-line { animation-delay: 1.5s; }
.leaf-1 > use:first-child { animation-delay: 0.9s; }
.leaf-2 > use:first-child { animation-delay: 1.3s; }
.leaf-3 > use:first-child { animation-delay: 1.7s; }
.leaf-4 > use:first-child { animation-delay: 2.1s; }

.stem {
    fill: none;
    stroke: #2a7a2c;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 1;
    animation: sew 0.9s 2.3s ease-out both;
}

.run-ring {
    stroke: var(--magenta);
    stroke-width: 2.5;
    stroke-dasharray: 0.012 0.008;
    stroke-linecap: round;
    transform-origin: 260px 270px;
    animation: ring 2.6s 0.2s ease-out both;
}

.needle {
    animation: needle 0.5s 0.3s ease-in-out 5 alternate both;
}

.thread {
    stroke-dasharray: 260;
    animation: thread 1.2s 0.1s ease-out both;
}

.spool {
    animation: rise 0.6s ease-out both;
}

.spool:nth-child(2) { animation-delay: 0.1s; }
.spool:nth-child(3) { animation-delay: 0.2s; }
.spool:nth-child(4) { animation-delay: 0.3s; }

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

@keyframes satin {
    from {
        transform: scale(0.15);
        opacity: 0;
    }
}

@keyframes ring {
    from {
        opacity: 0;
        transform: rotate(-40deg);
    }
}

@keyframes needle {
    to {
        transform: translate(318px, 392px) rotate(32deg);
    }
}

@keyframes thread {
    from {
        stroke-dashoffset: 260;
    }
}

.hoop-count {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px 10px;
    margin-top: 10px;
    text-align: center;
}

.count {
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1;
    color: var(--orange);
    font-variant-numeric: tabular-nums;
    min-width: 3.6ch;
    text-align: right;
}

.count-unit {
    font-family: var(--display);
    font-size: 1.4rem;
    color: var(--on-dark);
}

.count-note {
    flex-basis: 100%;
    color: var(--on-dark-soft);
    font-size: 0.95rem;
}

.count-note strong {
    color: var(--on-dark);
}

/* ---- labels: what we embroider on ---- */

.labels-band {
    padding: clamp(40px, 6vw, 72px) 0;
    background:
        repeating-linear-gradient(45deg, rgba(15, 51, 36, 0.035) 0 2px, transparent 2px 9px),
        var(--linen);
}

.labels-title {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.labels {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    list-style: none;
    margin: 1.2rem 0 1.4rem;
    padding: 0;
}

.labels li {
    --c: var(--magenta);
    padding: 10px 22px;
    background: var(--paper);
    border: 3px solid var(--c);
    border-radius: 14px;
    font-weight: 700;
    color: var(--ink);
    outline: 1.5px dashed var(--c);
    outline-offset: -8px;
    transform: rotate(calc((var(--i) - 4.5) * 0.5deg));
    box-shadow: 0 6px 14px rgba(15, 51, 36, 0.08);
    transition: transform 0.2s ease;
}

.labels li:nth-child(4n + 2) { --c: var(--orange-ink); }
.labels li:nth-child(4n + 3) { --c: var(--clover); }
.labels li:nth-child(4n + 4) { --c: #8a6a10; }

.labels li:hover {
    transform: rotate(0) translateY(-3px);
}

.labels-note {
    color: var(--ink-soft);
}

/* ---- bands ---- */

.band {
    padding: clamp(48px, 7vw, 96px) 0;
}

.band-linen {
    background: var(--linen-2);
}

.section-head {
    margin-bottom: 2rem;
}

.duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.duo-top {
    align-items: start;
}

@media (max-width: 820px) {
    .duo {
        grid-template-columns: 1fr;
    }
}

.prose {
    max-width: 40em;
}

/* ---- patches (service cards) ---- */

.patches {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.patch {
    --edge: var(--green-700);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 30px 34px;
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 0 0 5px var(--edge), 0 18px 30px rgba(15, 51, 36, 0.14);
    outline: 2px dashed var(--edge);
    outline-offset: -12px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

a.patch:hover {
    transform: translateY(-4px) rotate(-0.6deg);
    color: var(--ink);
}

a.patch:focus-visible {
    outline: 3px solid var(--magenta);
    outline-offset: 6px;
}

.patch-1,
.patch-2 {
    grid-column: span 3;
    min-height: 260px;
}

.patch-1 {
    --edge: var(--clover);
    background: var(--green-800);
    color: var(--on-dark);
}

.patch-2 {
    --edge: var(--orange);
    background: var(--orange-ink);
    color: #fff;
}

a.patch-1:hover,
a.patch-2:hover {
    color: #fff;
}

.patch-1 .patch-text {
    color: var(--on-dark-soft);
}

.patch-small {
    grid-column: span 3;
    --edge: var(--magenta);
}

.patch-no {
    font-family: var(--display);
    font-size: 1rem;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px dashed currentColor;
    flex: none;
}

.patch-name {
    font-family: var(--display);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.15;
}

.patch-small .patch-name {
    font-size: 1.35rem;
}

.patch-text {
    max-width: 30em;
}

.patch-1 .patch-name::after,
.patch-2 .patch-name::after {
    content: " →";
}

@media (max-width: 720px) {
    .patch-1,
    .patch-2,
    .patch-small {
        grid-column: 1 / -1;
        min-height: 0;
    }
}

.patch-static {
    --edge: var(--clover);
}

/* ---- figures ---- */

.figures {
    padding: clamp(40px, 6vw, 72px) 0;
}

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

.figure-num {
    font-family: var(--display);
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    line-height: 1;
    margin: 0 0 10px;
    color: var(--orange);
}

.figure-num small {
    font-size: 0.4em;
    color: var(--on-dark);
}

.figure-label {
    max-width: 18em;
    color: var(--on-dark-soft);
    padding-top: 10px;
    border-top: 3px dashed rgba(245, 239, 225, 0.3);
}

.figure-light .figure-num {
    color: var(--orange-ink);
}

.figure-light .figure-label {
    color: var(--ink-soft);
    border-top-color: var(--line);
}

@media (max-width: 720px) {
    .figures-row {
        grid-template-columns: 1fr;
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .figure,
        .patch,
        .service-item,
        .trail li,
        .price-card {
            animation: rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 40%;
        }
    }
}

/* ---- machine photo, cap ---- */

.machine {
    margin: 0;
}

.machine a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--gold), 0 22px 40px rgba(15, 51, 36, 0.2);
}

.machine img {
    display: block;
    width: 100%;
}

.machine-tall {
    margin: 26px 0;
}

.cap-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
}

@media (max-width: 600px) {
    .cap-row {
        grid-template-columns: 1fr;
    }
}

/* ---- gallery: swatches ---- */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.swatch {
    margin: 0;
}

.swatch a {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    padding: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 6px #d3a46c, 0 0 0 8px #9c6431, 0 10px 22px rgba(15, 51, 36, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swatch a:hover {
    transform: translateY(-4px) rotate(-2deg);
}

.swatch img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swatch a {
    container-type: inline-size;
}

.swatch a img {
    max-width: 74cqi;
    max-height: 74cqi;
    width: auto;
}

.swatch-big a {
    width: 210px;
}

@media (max-width: 420px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.page-hero {
    position: relative;
    padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 6vw, 80px);
}

.page-hero .lead {
    color: var(--on-dark-soft);
}

/* ---- services ---- */

.service-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 22px;
}

.service-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    padding: 28px;
    background: var(--paper);
    border-radius: var(--radius);
    border: 2px solid var(--line);
}

.service-item .patch-no {
    color: var(--orange-ink);
}

.service-item h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.service-item--link {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--on-dark);
    outline: 2px dashed rgba(166, 220, 134, 0.55);
    outline-offset: -10px;
}

.service-item--link .patch-no {
    color: var(--clover-light);
}

.service-item--link a {
    color: var(--on-dark);
    text-decoration-style: dashed;
    text-decoration-thickness: 2px;
}

.service-item--link a::after {
    content: " →";
}

.service-item--link a:hover {
    color: var(--clover-light);
}

.service-item p:last-child {
    margin: 0;
}

.note-line {
    padding: 18px 22px;
    border-left: 4px solid var(--magenta);
    background: var(--paper);
    border-radius: 0 14px 14px 0;
    font-weight: 500;
}

.stitch-list {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
}

.stitch-list li {
    position: relative;
    padding: 4px 0 4px 30px;
}

.stitch-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.95em;
    width: 18px;
    border-top: 3px dashed var(--magenta);
}

.patch-1 .stitch-list li::before,
.service-item--link .stitch-list li::before {
    border-top-color: var(--clover-light);
}

.stitch-list--cols {
    columns: 2;
    column-gap: 24px;
}

.trail {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    counter-reset: step;
    display: grid;
    gap: 0;
}

.trail li {
    position: relative;
    counter-increment: step;
    padding: 0 0 34px 78px;
    max-width: 46em;
}

.trail li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -4px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--on-dark);
    font-family: var(--display);
    font-size: 1.4rem;
    outline: 2px dashed var(--clover-light);
    outline-offset: -7px;
}

.trail li::after {
    content: "";
    position: absolute;
    left: 26px;
    top: 56px;
    bottom: 4px;
    border-left: 3px dashed var(--magenta);
}

.trail li:last-child::after {
    display: none;
}

.trail h2 {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    margin-bottom: 0.3em;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.chips a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--paper);
    border: 2px dashed var(--green-700);
    color: var(--green-800);
    font-weight: 700;
    text-decoration: none;
}

.chips a:hover {
    background: var(--green-800);
    color: var(--on-dark);
}

.about-side {
    position: relative;
}

/* ---- prices ---- */

.prices {
    display: grid;
    gap: 34px;
}

.price-card {
    padding: clamp(22px, 4vw, 38px);
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: 0 0 0 5px var(--green-700), 0 18px 30px rgba(15, 51, 36, 0.12);
    outline: 2px dashed var(--green-700);
    outline-offset: -12px;
}

.price-card h2 {
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 2px dashed var(--line);
    vertical-align: baseline;
}

.price-table thead th {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-bottom: 3px solid var(--green-700);
}

.price-table tbody th {
    font-weight: 500;
}

.price-table td {
    color: var(--ink-soft);
    white-space: nowrap;
}

.price-table .price,
.price-table thead th:last-child {
    text-align: right;
}

.price-table .price {
    font-family: var(--display);
    font-size: 1.3rem;
    color: var(--orange-ink);
    font-variant-numeric: tabular-nums;
}

.price-free {
    margin: 18px 0 0;
    font-weight: 700;
    color: var(--green-700);
}

.price-notes p {
    margin: 0 0 6px;
}

.price-discount {
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    color: var(--magenta-dark);
}

@media (max-width: 560px) {
    .price-table thead {
        display: none;
    }
    .price-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        border-bottom: 2px dashed var(--line);
        padding: 10px 0;
    }
    .price-table th,
    .price-table td {
        border: 0;
        padding: 2px 0;
    }
    .price-table tbody th {
        grid-column: 1 / -1;
    }
    .price-table td {
        white-space: normal;
    }
}

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

.contact-card .patch-name {
    margin: 0;
}

.big-phone-line {
    margin: 4px 0 8px;
}

.big-phone {
    font-family: var(--display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--magenta-dark);
    text-decoration: none;
}

.contact-list {
    margin: 0;
    display: grid;
    gap: 16px;
}

.contact-list dt {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-soft);
}

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

.form-card {
    padding: clamp(22px, 4vw, 36px);
    background: var(--paper);
    border-radius: var(--radius);
    border: 2px solid var(--line);
}

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

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

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #b9ab8a;
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 3px solid var(--magenta);
    outline-offset: 2px;
    border-color: var(--magenta);
}

.form-hint {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.contact-sent {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #e3f2da;
    color: var(--green-800);
}

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

.cta {
    padding: clamp(44px, 6vw, 80px) 0;
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 5px),
        var(--magenta-dark);
    color: #fff;
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 56px;
    align-items: center;
}

.cta h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.cta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.cta-list li {
    display: grid;
    grid-template-columns: 5.5em minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    padding-bottom: 10px;
    border-bottom: 2px dashed rgba(255, 255, 255, 0.35);
}

.cta-list span {
    font-size: 0.85rem;
    color: #f6d7e3;
}

.cta-list a {
    color: #fff;
    font-family: var(--display);
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.cta-list a:hover {
    text-decoration: underline;
    color: #fff;
}

.cta a:focus-visible {
    outline-color: var(--gold);
}

@media (max-width: 820px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

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

.foot {
    position: relative;
    background: var(--green-900);
    color: var(--on-dark-soft);
    padding: 0 0 26px;
    font-size: 0.97rem;
}

.stitch-rule {
    height: 0;
    border-top: 3px dashed var(--magenta);
}

.stitch-rule--light {
    border-top-color: rgba(166, 220, 134, 0.5);
    margin-bottom: clamp(36px, 5vw, 56px);
    position: relative;
    top: 14px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}

.foot h2 {
    font-size: 1.05rem;
    font-family: var(--text);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-dark);
    margin: 0 0 10px;
}

.foot h2 + address {
    margin-bottom: 18px;
}

.foot address {
    font-style: normal;
}

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

.foot a:hover {
    color: #fff;
}

.foot a:focus-visible {
    outline-color: var(--gold);
}

.foot-brand {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.foot-logo {
    width: 96px;
    height: auto;
    flex: none;
}

.foot-name {
    font-family: var(--display);
    font-size: 1.5rem;
    color: var(--on-dark);
    margin-bottom: 6px;
}

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

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

.foot-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(245, 239, 225, 0.15);
    font-size: 0.9rem;
}

.foot-bottom p {
    margin: 0;
}

@media (max-width: 960px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}

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

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    text-align: center;
}

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

.not-found img {
    width: 120px;
    height: auto;
}

.not-found [lang="en"] {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 3px dashed var(--line);
}

/* ---- motion ---- */

@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;
    }
}
