/* Sivelika: canvas and pine, the green, yellow and blue of the parasol fabrics (PANTONE 350C, 134C,
   2756C on the original's colour chart), the red and blue of the logo. Libertinus Serif Display over
   News Cycle. The signature: an awning valance under the header and the bands, and a parasol that opens
   on the home page. One light theme. */

@font-face {
    font-family: "Libertinus Display";
    src: url("../fonts/libertinus-serif-display.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "News Cycle";
    src: url("../fonts/news-cycle.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "News Cycle";
    src: url("../fonts/news-cycle-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --canvas: #f5efe1;
    --sheet: #fffcf5;
    --sand: #ebe0c7;
    --sand-deep: #d9c9a5;
    --ink: #1f1c15;
    --muted: #574f40;
    --pine: #c98a47;
    --pine-deep: #8a4f1c;
    --green: #24543a;
    --green-deep: #173a25;
    --green-ink: #0f2717;
    --lit: #c4e2b8;
    --sun: #f6cf6a;
    --sun-deep: #e7b43f;
    --navy: #1f2c6e;
    --red: #c8221a;
    --focus: #1f2c6e;
    --radius: 18px;
    --wrap: 1180px;
    --display: "Libertinus Display", "Georgia", serif;
    --text: "News Cycle", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --menu-fg: var(--green-deep);
    --menu-focus: var(--navy);
    --lb-bg: rgba(15, 39, 23, 0.96);
    --lb-text: #f5efe1;
    --lb-accent: #f6cf6a;
    --lb-accent-soft: rgba(246, 207, 106, 0.2);
}

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

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

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font: 400 1.125rem/1.55 var(--text);
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--green);
}

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

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

h2 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
}

h3,
.h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.65rem);
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(100% - 32px, var(--wrap));
    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(--sun);
    color: var(--ink);
    font-weight: 700;
    border-radius: 10px;
}

.skip:focus {
    top: 12px;
}

/* ---- the awning valance: scallops in stripes, hung under a band ---- */
.top::after,
.hero::after,
.page-hero::after,
.call-band::before,
.fit-band::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 16px;
    background: repeating-linear-gradient(90deg, var(--v1, var(--green)) 0 32px, var(--v2, var(--sheet)) 32px 64px);
    -webkit-mask: radial-gradient(circle at 16px 0, #000 15.5px, transparent 16.5px) 0 0 / 32px 16px repeat-x;
    mask: radial-gradient(circle at 16px 0, #000 15.5px, transparent 16.5px) 0 0 / 32px 16px repeat-x;
    pointer-events: none;
}

/* ---- header ---- */
.top {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(245, 239, 225, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand-deep);
}

.top::after {
    top: 100%;
    --v1: var(--green);
    --v2: var(--canvas);
}

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

.brand {
    display: block;
    flex: none;
    padding: 4px 8px;
    background: #fff;
    border-radius: 10px;
    outline: 1.5px dashed rgba(36, 84, 58, 0.45);
    outline-offset: -4px;
    box-shadow: 0 6px 16px -8px rgba(31, 28, 21, 0.45);
}

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

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

.nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
    order: 1;
}

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

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

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

.call {
    order: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--pine-deep);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

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

.lang {
    order: 3;
    display: flex;
    gap: 2px;
    font-weight: 700;
    font-size: 0.95rem;
}

.lang a,
.lang span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    border-radius: 999px;
}

.lang a {
    color: var(--ink);
    text-decoration: none;
}

.lang a:hover {
    background: var(--sand);
}

.lang [aria-current] {
    color: var(--muted);
    box-shadow: inset 0 0 0 2px var(--sand-deep);
}

.menu-toggle {
    order: 4;
}

/* ---- menu: /js/menu.js folds the navigation behind a button on a phone ---- */
.menu-toggle {
    display: none;
}

@media (max-width: 900px) {
    .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);
        order: 5;
    }

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

    .call {
        margin-left: auto;
    }
}

@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: 480px) {
    .top-row {
        gap: 8px;
        min-height: 64px;
    }

    .brand {
        padding: 3px 6px;
    }

    .brand img {
        width: 64px;
    }

    .call {
        padding: 0 11px;
        font-size: 0.9rem;
        gap: 6px;
    }

    .call svg {
        width: 14px;
        height: 14px;
    }

    .lang [aria-current] {
        display: none;
    }

    .lang a {
        min-width: 36px;
    }
}

@media (max-width: 370px) {
    .wrap {
        width: min(100% - 24px, var(--wrap));
    }

    .call svg {
        display: none;
    }
}

/* ---- buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    font: 700 1rem/1.2 var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

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

.btn-sun {
    background: var(--sun);
    color: var(--ink);
}

.btn-sun:hover {
    background: #fbe09a;
    color: var(--ink);
}

.btn-line {
    border-color: rgba(245, 239, 225, 0.7);
    color: var(--canvas);
}

.btn-line:hover {
    background: rgba(245, 239, 225, 0.12);
    color: #fff;
}

/* ---- dark bands ---- */
.hero,
.page-hero,
.call-band {
    --focus: var(--sun);
    position: relative;
    background-color: var(--green-deep);
    background-image:
        radial-gradient(ellipse 60% 70% at 85% 20%, rgba(246, 207, 106, 0.16), transparent 70%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px);
    color: var(--canvas);
}

.hero a:not(.btn),
.page-hero a,
.call-band a:not(.btn) {
    color: var(--sun);
}

.hero::after,
.page-hero::after {
    top: 100%;
    --v1: var(--green-deep);
    --v2: var(--sun-deep);
}

/* ---- home hero ---- */
.hero {
    padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px);
    overflow: visible;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px 48px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--sun);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    line-height: 0.98;
    margin-bottom: 22px;
}

.hero .lead {
    color: var(--lit);
    font-size: clamp(1.08rem, 1.6vw, 1.25rem);
    max-width: 36em;
}

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

.parasol-fig {
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 14px;
}

.parasol {
    width: min(100%, 470px);
    height: auto;
    overflow: visible;
    background: radial-gradient(circle closest-side at 50% 36%, rgba(246, 207, 106, 0.32), rgba(246, 207, 106, 0.08) 60%, transparent 100%);
    --p1: #f6efde;
    --p2: #2f6a3f;
}

.parasol[data-fabric="natural"] { --p1: #f6efde; --p2: #e4d8bb; }
.parasol[data-fabric="green"] { --p1: #3a7a4b; --p2: #2c6340; }
.parasol[data-fabric="yellow"] { --p1: #f6cf6a; --p2: #e9b94a; }
.parasol[data-fabric="blue"] { --p1: #3446a0; --p2: #273688; }

.parasol .ground-shadow { fill: rgba(0, 0, 0, 0.3); }
.parasol .pole { fill: var(--pine); }
.parasol .hub { fill: var(--pine-deep); }
.parasol .stay { stroke: var(--pine); stroke-width: 4; stroke-linecap: round; fill: none; }
.parasol .base { fill: #b9ae98; }
.parasol .base-top { fill: #ddd4c1; }
.parasol .p1,
.parasol .v1 { fill: var(--p1); transition: fill 0.45s ease; }
.parasol .p2,
.parasol .v2 { fill: var(--p2); transition: fill 0.45s ease; }
.parasol .vent { fill: var(--p2); stroke: var(--pine-deep); stroke-width: 2; transition: fill 0.45s ease; }
.parasol .rib { fill: none; stroke: var(--pine-deep); stroke-width: 3; stroke-linecap: round; }
.parasol .finial { fill: var(--pine-deep); }

.parasol .canopy {
    transform-box: view-box;
    transform-origin: 210px 70px;
    animation: parasol-open 1.4s cubic-bezier(0.2, 0.9, 0.25, 1) 0.3s both;
}

.parasol .valance {
    animation: fade-in 0.5s ease 1.3s both;
}

@keyframes parasol-open {
    from { transform: scale(0.07, 1.9); }
    65% { transform: scale(1.04, 0.96); }
    to { transform: none; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fabric-pick {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: var(--lit);
    font-size: 0.95rem;
}

.fabric-pick[hidden] {
    display: none;
}

.fabric-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.fabric-buttons button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 12px 0 6px;
    border: 1.5px solid rgba(245, 239, 225, 0.35);
    border-radius: 999px;
    background: transparent;
    color: var(--canvas);
    font: 700 0.92rem/1 var(--text);
    cursor: pointer;
}

.fabric-buttons button:hover {
    border-color: var(--sun);
}

.fabric-buttons button[aria-pressed="true"] {
    background: var(--canvas);
    color: var(--ink);
    border-color: var(--canvas);
}

/* ---- swatches (hero buttons and the colour chart) ---- */
.sw {
    display: inline-block;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px rgba(31, 28, 21, 0.25);
}

.sw-natural { background: #f6efde; }
.sw-stripe { background: repeating-linear-gradient(90deg, #f6efde 0 5px, #2f6a3f 5px 10px); }
.sw-green { background: #2f6a3f; }
.sw-yellow { background: #f6cf6a; }
.sw-blue { background: #2a3a8c; }
.sw-custom { background: conic-gradient(#c8221a, #f6cf6a, #2f6a3f, #2a3a8c, #c8221a); }

/* ---- bands ---- */
.band {
    padding: clamp(48px, 7vw, 88px) 0;
}

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

.band-head h2 {
    margin: 0;
}

.more {
    font-weight: 700;
}

.more::after {
    content: " →";
}

.prose {
    max-width: 44em;
}

.wrap.prose {
    max-width: none;
}

.wrap.prose > * {
    max-width: 44em;
}

/* about */
.about-band {
    padding-top: clamp(64px, 8vw, 104px);
}

.about-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px 48px;
    align-items: start;
}

.year {
    display: grid;
    font-family: var(--display);
    color: var(--pine-deep);
    line-height: 0.9;
}

.year span {
    font-size: clamp(4.5rem, 10vw, 8rem);
    letter-spacing: -0.03em;
}

.year small {
    font-family: var(--text);
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 10px;
}

.about-photo {
    margin: 0;
    padding: 10px 10px 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 40px -24px rgba(31, 28, 21, 0.55);
    transform: rotate(1.6deg);
}

.about-photo img {
    border-radius: 4px;
}

/* made for: a yellow band of large words */
.fit-band {
    position: relative;
    background: var(--sun);
    color: var(--ink);
    padding: 44px 0 34px;
}

.fit-band::before {
    top: 0;
    --v1: var(--canvas);
    --v2: var(--canvas);
}

.fit-title {
    font-size: 1rem;
    font-family: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
}

.fit {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 0;
    font-family: var(--display);
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    line-height: 1.2;
}

.fit li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0.32em;
    height: 0.32em;
    margin: 0 0.45em 0.12em;
    background: var(--navy);
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* product cards: a bento grid */
.products-band {
    background: var(--sheet);
}

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

.card > a,
.card figure {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    background: #fff;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card > a:hover,
.card figure:hover {
    transform: translateY(-4px);
    border-color: var(--pine);
    box-shadow: 0 22px 36px -24px rgba(31, 28, 21, 0.55);
}

.card-photo {
    display: grid;
    place-items: center;
    height: 210px;
    padding: 14px;
    background: #fff;
}

.card-photo img {
    max-height: 182px;
    width: auto;
    object-fit: contain;
}

.card-text {
    display: grid;
    gap: 6px;
    padding: 16px 18px 20px;
    border-top: 4px solid var(--sand);
    background: var(--sheet);
    flex: 1;
}

.card-name {
    font-family: var(--display);
    font-size: 1.45rem;
    line-height: 1.1;
}

.card-photo-only .card-name {
    display: block;
    padding: 16px 18px 20px;
    border-top: 4px solid var(--sand);
    background: var(--sheet);
    flex: 1;
}

.card-sum {
    color: var(--muted);
    font-size: 0.98rem;
}

@media (min-width: 900px) {
    .cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-flow: dense;
    }

    .cards .card-7,
    .cards .card-8,
    .cards .card-photo-only {
        grid-column: span 2;
    }

    .cards .card-1 {
        grid-column: span 2;
        grid-row: span 2;
    }

    .cards .card-1 .card-photo {
        height: auto;
        flex: 1;
        min-height: 300px;
    }

    .cards .card-1 .card-photo img {
        max-height: 440px;
    }

    .cards .card-1 .card-name {
        font-size: 2rem;
    }

    .cards .card-1 .card-text {
        flex: none;
        border-top-color: var(--green);
    }
}

/* clients */
.clients-band {
    background: var(--canvas);
}

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

.clients figure {
    margin: 0;
    background: #fff;
    border-radius: 10px;
    padding: 8px 8px 10px;
    box-shadow: 0 16px 30px -22px rgba(31, 28, 21, 0.6);
}

.clients img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.clients figcaption {
    padding: 8px 4px 0;
    font-weight: 700;
}

.clients.is-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    scrollbar-color: var(--pine) transparent;
}

.clients.is-strip li {
    flex: 0 0 min(78%, 320px);
    scroll-snap-align: start;
}

/* where to buy */
.buy-band {
    background: var(--sand);
}

.buy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 12px 48px;
    align-items: baseline;
}

.buy-grid p {
    font-size: 1.2rem;
    margin: 0;
}

/* call band */
.call-band {
    padding: clamp(56px, 7vw, 84px) 0 clamp(44px, 6vw, 72px);
}

.call-band::before {
    top: 0;
    --v1: var(--canvas);
    --v2: var(--canvas);
}

.buy-band + .call-band::before,
.products-band + .call-band::before {
    --v1: var(--sand);
    --v2: var(--sand);
}

.products-band + .call-band::before {
    --v1: var(--sheet);
    --v2: var(--sheet);
}

.call-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 24px 48px;
    align-items: center;
}

.call-band p {
    color: var(--lit);
}

.call-actions {
    display: grid;
    justify-items: start;
    gap: 14px;
}

.big-phone {
    font-family: var(--display);
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    line-height: 1.05;
    text-decoration: none;
    white-space: nowrap;
}

.call-band .big-phone {
    color: var(--sun);
}

/* ---- inner pages ---- */
.page-hero {
    padding: clamp(30px, 5vw, 56px) 0 clamp(34px, 5vw, 60px);
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    margin-bottom: 14px;
}

.page-hero .lead {
    color: var(--lit);
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    max-width: 42em;
    margin: 0;
}

.crumbs {
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--lit);
}

.crumbs a {
    font-weight: 700;
}

.crumbs [aria-current] {
    color: var(--canvas);
}

.intro-band {
    padding-top: clamp(56px, 7vw, 88px);
    padding-bottom: 8px;
}

.intro-band p {
    font-size: 1.15rem;
}

.model-band:nth-of-type(odd) {
    background: var(--sheet);
}

.page-hero + .model-band {
    padding-top: clamp(60px, 7vw, 92px);
}

.group-text {
    max-width: 46em;
    color: var(--muted);
    font-size: 1.08rem;
}

.models {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.model {
    display: grid;
    grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
    gap: 22px 28px;
    align-items: start;
    padding: 18px;
    background: #fff;
    border: 1.5px solid var(--sand);
    border-radius: var(--radius);
}

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

.model-photo {
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
}

.model-photo img {
    max-height: 300px;
    width: auto;
}

.model-body h3 {
    margin-bottom: 12px;
}

.specs {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
}

.specs div {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
}

.specs dt {
    font-weight: 700;
    color: var(--pine-deep);
}

.specs dt::after {
    content: ":";
}

.specs dd {
    margin: 0;
}

.art {
    margin: 0 0 4px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.models.is-many {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.models.is-many .model {
    grid-template-columns: 1fr;
    align-content: start;
}

.models.is-many .model-photo img {
    max-height: 240px;
}

.custom-note {
    margin: 26px 0 0;
    padding: 14px 18px;
    border-left: 5px solid var(--sun-deep);
    background: var(--sheet);
    border-radius: 0 12px 12px 0;
    max-width: 52em;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1.5px solid var(--sand);
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
    font-size: 0.98rem;
}

thead th {
    background: var(--green);
    color: var(--sheet);
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

th,
td {
    padding: 9px 12px;
    text-align: left;
}

tbody th {
    color: var(--pine-deep);
    white-space: nowrap;
}

tbody td {
    white-space: nowrap;
}

tbody tr:nth-child(even) {
    background: var(--canvas);
}

/* gallery */
.gallery-band {
    background: var(--canvas);
}

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

.gallery figure {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid var(--sand);
    border-radius: 14px;
    overflow: hidden;
}

.gallery figure > a,
.gallery figure > img {
    display: grid;
    place-items: center;
    height: 220px;
    padding: 10px;
}

.gallery figure > img {
    width: auto;
    margin: auto;
    max-height: 220px;
    object-fit: contain;
}

.gallery a img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}

.gallery figcaption {
    padding: 10px 14px 12px;
    border-top: 1.5px solid var(--sand);
    background: var(--sheet);
    font-weight: 700;
    font-size: 0.95rem;
}

@media (min-width: 700px) {
    .gallery .is-wide {
        grid-column: span 2;
    }
}

/* colour chart */
.colours-band {
    background: var(--sand);
}

.colours-title {
    margin-bottom: 18px;
}

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

.swatches li {
    display: grid;
    justify-items: center;
    gap: 6px;
    font-weight: 700;
}

.swatches .sw {
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.pantone {
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.colours-note {
    max-width: 48em;
    color: var(--muted);
    margin: 0;
}

/* other products */
.others-band {
    background: var(--sheet);
    border-top: 1.5px solid var(--sand);
}

.ask {
    font-size: 1.12rem;
    margin-bottom: 30px;
}

.ask a {
    font-weight: 700;
}

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

.chips a,
.chips span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid var(--sand-deep);
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
}

.chips a:hover {
    border-color: var(--green);
    background: var(--canvas);
}

.chips [aria-current] {
    background: var(--green);
    border-color: var(--green);
    color: var(--sheet);
}

/* contact */
.duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.panel {
    padding: clamp(20px, 3vw, 34px);
    background: var(--sheet);
    border: 1.5px solid var(--sand);
    border-radius: var(--radius);
}

.big-phone-line {
    display: grid;
    gap: 4px;
    margin-bottom: 22px;
}

.big-phone-line .label {
    font-weight: 700;
    color: var(--muted);
}

.big-phone-line .big-phone {
    color: var(--green);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    white-space: normal;
}

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

.contact-list dt {
    font-weight: 700;
    color: var(--pine-deep);
}

.contact-list dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.marks {
    margin: 0 0 22px;
    padding-left: 1.2em;
}

.marks li::marker {
    color: var(--pine);
}

/* form */
.contact-form {
    display: grid;
    gap: 14px;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--sand-deep);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

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

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

.contact-form .btn {
    justify-self: start;
}

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

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

/* ---- footer ---- */
.foot {
    --focus: var(--sun);
    background: var(--green-ink);
    color: #e6decb;
    padding: 56px 0 26px;
}

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

.foot h2 {
    font-size: 1.3rem;
    color: var(--canvas);
    margin: 0 0 10px;
}

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

.foot-grid p,
.foot-grid address {
    margin: 0 0 16px;
    font-style: normal;
}

.foot-label {
    display: inline-block;
    padding: 6px 10px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 10px;
    outline: 1.5px dashed rgba(36, 84, 58, 0.5);
    outline-offset: -5px;
}

.foot-label img {
    width: 140px;
}

.foot-phone {
    font-family: var(--display);
    font-size: 1.6rem;
    text-decoration: none;
}

.foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.foot-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(230, 222, 203, 0.2);
    font-size: 0.92rem;
}

.foot-bottom p {
    margin: 0;
}

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

.not-found > div {
    max-width: 38em;
}

.not-found .brand {
    display: inline-block;
    margin-bottom: 24px;
}

.not-found .brand img {
    width: 160px;
}

.not-found h1 {
    font-size: clamp(2.2rem, 6vw, 3.6rem);
}

.not-found [lang="en"] {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1.5px solid var(--sand-deep);
}

.not-found .btn-sun {
    background: var(--green);
    color: #fff;
}

/* ---- responsive ---- */
@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .call-grid,
    .duo,
    .buy-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-grid .year {
        grid-auto-flow: column;
        justify-content: start;
        align-items: end;
        gap: 16px;
    }

    .about-photo {
        max-width: 520px;
    }

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

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

@media (max-width: 640px) {
    .model {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px;
    }

    .model-photo img {
        max-height: 260px;
    }

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

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .gallery figure > a,
    .gallery figure > img {
        height: 170px;
    }

    .gallery a img {
        max-height: 150px;
    }

    .card-photo {
        height: 190px;
    }

    .card-photo img {
        max-height: 162px;
    }

    .fabric-buttons button {
        padding-right: 10px;
    }
}

/* ---- motion: cards and models rise as they scroll in ---- */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .card,
        .model,
        .clients li,
        .gallery li {
            animation: rise linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 40%;
        }
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

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