/* La Maison du Poêle – cast iron and flame.
   Soot and iron for the page, the flame orange, ember red and flame yellow measured on the firm's own
   logo, plaster bands between. League Spartan (display) + Source Serif 4 (text), both SIL OFL. */

@font-face {
    font-family: "League Spartan";
    src: url("../fonts/league-spartan.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-4.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --soot: #110c09;
    --soot-deep: #0a0705;
    --iron: #1b1512;
    --iron-2: #261e19;
    --iron-3: #33281f;
    --line: rgba(243, 236, 228, 0.13);
    --ash: #f3ece4;
    --ash-2: #cdbfb1;
    --flame: #e9661e;
    --flame-text: #f4a061;
    --ember: #bc2d1f;
    --ember-deep: #8e2315;
    --gold: #f9c219;
    --plaster: #f3ece4;
    --plaster-2: #e9dfd3;
    --ink: #1a1310;
    --ink-2: #5a4a40;
    --rust: #a63c10;
    --radius: 18px;
    --radius-lg: 28px;
    --display: "League Spartan", "Avenir Next", "Segoe UI", Arial, sans-serif;
    --text: "Source Serif 4", Georgia, "Times New Roman", serif;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
}

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

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

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

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

a {
    color: var(--flame-text);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

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

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

h1,
h2,
h3,
.h3 {
    font-family: var(--display);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: -0.015em;
    margin: 0 0 0.6em;
    text-wrap: balance;
}

h2 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
}

h3,
.h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(1240px, 100% - 2rem);
    margin-inline: auto;
}

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

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--gold);
    color: var(--soot);
    font-family: var(--display);
    font-weight: 700;
    border-radius: 8px;
}

.skip:focus {
    top: 1rem;
}

.eyebrow,
.kicker {
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--flame-text);
    margin-bottom: 1rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.7rem 1.4rem 0.6rem;
    border-radius: 999px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-fire {
    background-color: var(--flame);
    background-image: linear-gradient(135deg, #f7a531, var(--flame) 55%, #d84f19);
    color: var(--soot);
    box-shadow: 0 10px 30px rgba(233, 102, 30, 0.35);
}

.btn-fire:hover {
    color: var(--soot);
    box-shadow: 0 14px 40px rgba(233, 102, 30, 0.5);
}

.btn-ghost {
    background-color: transparent;
    color: var(--ash);
    border-color: rgba(243, 236, 228, 0.45);
}

.btn-ghost:hover {
    color: var(--ash);
    border-color: var(--gold);
}

.btn-dark {
    background-color: var(--soot);
    color: var(--ash);
}

.btn-dark:hover {
    color: var(--gold);
}

.plaster a.btn-dark,
.welcome a.btn-dark,
.card-light a.btn-dark {
    color: var(--ash);
}

.plaster a.btn-dark:hover {
    color: var(--gold);
}

.more {
    font-family: var(--display);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

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

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

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 9, 7, 0.86);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid var(--line);
}

.top-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    min-height: 4.25rem;
}

.brand {
    flex: 0 1 auto;
    margin-right: auto;
    border-radius: 6px;
}

.brand img {
    height: 34px;
    width: auto;
    border-radius: 6px;
}

.nav {
    display: flex;
    gap: 0.25rem;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.02rem;
}

.nav a {
    color: var(--ash);
    text-decoration: none;
    padding: 0.55rem 0.8rem 0.45rem;
    border-radius: 999px;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--gold);
    background: rgba(243, 236, 228, 0.06);
}

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

.nav .nav-home {
    display: none;
}

.top-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fb-link {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: var(--ash);
    border: 1px solid var(--line);
}

.fb-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.lang {
    display: flex;
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}

.lang a,
.lang span {
    padding: 0.5rem 0.7rem 0.4rem;
    text-decoration: none;
    color: var(--ash);
    line-height: 1.2;
}

.lang span[aria-current] {
    background: var(--iron-3);
    color: var(--gold);
}

.lang a:hover {
    color: var(--gold);
}

.call {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.6rem;
    padding: 0.45rem 1rem 0.35rem;
    border-radius: 999px;
    background-color: var(--flame);
    color: var(--soot);
    font-family: var(--display);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    color: var(--soot);
    background-color: var(--gold);
}

.menu-btn {
    display: none;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.6rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ash);
    font: 700 0.95rem/1 var(--display);
    cursor: pointer;
}

@media (max-width: 1099px) {
    .nav {
        order: 5;
        width: 100%;
        flex-wrap: wrap;
        padding-bottom: 0.6rem;
    }

    .nav .nav-home {
        display: inline-block;
    }

    .js .menu-btn:not([hidden]) {
        display: inline-flex;
    }

    .js .nav {
        display: none;
    }

    .js .nav.open {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.4rem 0 1rem;
        font-size: 1.3rem;
    }

    .js .nav.open a {
        padding: 0.7rem 0.9rem 0.55rem;
    }
}

@media (max-width: 640px) {
    .brand img {
        height: 26px;
    }

    .fb-link {
        display: none;
    }

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

    .lang {
        border: 0;
    }

    .call {
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        justify-content: center;
    }

    .call-label {
        display: none;
    }

    .menu-btn {
        padding: 0;
        width: 2.75rem;
        height: 2.75rem;
        justify-content: center;
    }

    .menu-btn span {
        display: none;
    }

    .top-tools {
        gap: 0.35rem;
    }
}

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

.band {
    padding-block: clamp(3.5rem, 8vw, 7rem);
    position: relative;
}

.plaster,
.welcome,
.models-band {
    background: var(--plaster);
    color: var(--ink);
}

.plaster a,
.welcome a,
.models-band a {
    color: var(--rust);
}

.plaster a:hover,
.welcome a:hover,
.models-band a:hover {
    color: var(--ink);
}

.welcome .eyebrow,
.plaster .eyebrow {
    color: var(--rust);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.section-head h2 {
    margin: 0;
}

.section-head p {
    margin: 0;
    max-width: 38ch;
}

.models-band .section-head p {
    color: var(--ink-2);
}

.prose {
    max-width: 68ch;
}

.lead {
    font-size: clamp(1.15rem, 1.6vw, 1.32rem);
    line-height: 1.55;
    color: var(--ash-2);
    max-width: 52ch;
}

/* ---- hero: the stove ---- */

.hero {
    position: relative;
    overflow: clip;
    background:
        radial-gradient(ellipse 55% 60% at 74% 92%, rgba(233, 102, 30, 0.3), transparent 70%),
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(188, 45, 31, 0.16), transparent 70%),
        linear-gradient(180deg, var(--soot-deep), var(--soot));
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 102, 30, 0.6), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
    min-height: min(84vh, 800px);
}

.hero-text {
    align-self: center;
    padding-block: clamp(3rem, 7vw, 6rem);
}

.hero h1 {
    font-size: clamp(2.7rem, 6.4vw, 5.9rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.03em;
    margin-bottom: 1.6rem;
}

.hero h1 span {
    display: block;
    color: var(--flame-text);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2rem 0 2.4rem;
}

.brands {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.6rem;
    list-style: none;
    margin: 0;
    padding: 1.2rem 0 0;
    border-top: 1px solid var(--line);
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 0.95rem;
    color: var(--ash-2);
}

.hero-art {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 420px;
}

.hero-art::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 12%;
    width: 120%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(249, 194, 25, 0.16), rgba(233, 102, 30, 0.1) 35%, transparent 65%);
    animation: warm 3.2s ease-out 0.6s both;
    pointer-events: none;
}

.stove {
    position: relative;
    height: 100%;
    width: auto;
    max-height: 800px;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}

.fl,
.fk {
    transform-box: fill-box;
    transform-origin: 50% 100%;
}

.fl {
    animation: ignite 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.fl1 { animation-delay: 0.7s; }
.fl2 { animation-delay: 1s; }
.fl3 { animation-delay: 1.25s; }
.fl4 { animation-delay: 0.9s; }
.fl5 { animation-delay: 1.1s; }

.fk {
    animation: flick 1.7s ease-in-out infinite alternate;
}

.fk2 { animation-duration: 1.3s; animation-delay: -0.4s; }
.fk3 { animation-duration: 1.05s; animation-delay: -0.2s; }
.fk4 { animation-duration: 1.9s; animation-delay: -0.8s; }
.fk5 { animation-duration: 1.5s; animation-delay: -0.6s; }

.glass-glow,
.embers,
.floor-glow {
    animation: glow 2.4s ease-out 0.5s both, breathe 3s ease-in-out 3s infinite alternate;
}

.spark {
    animation: spark 2.6s ease-out infinite;
    opacity: 0;
}

.s2 { animation-delay: 0.9s; }
.s3 { animation-delay: 1.7s; }

@keyframes ignite {
    from { transform: scale(0.3, 0); opacity: 0; }
    40% { opacity: 1; }
    to { transform: none; opacity: 1; }
}

@keyframes flick {
    0% { transform: scale(1, 1) skewX(0deg); }
    35% { transform: scale(0.96, 1.07) skewX(-3deg); }
    70% { transform: scale(1.03, 0.94) skewX(2deg); }
    100% { transform: scale(0.98, 1.04) skewX(-1deg); }
}

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

@keyframes breathe {
    to { opacity: 0.45; }
}

@keyframes spark {
    0% { opacity: 0; transform: translate(0, 0); }
    15% { opacity: 1; }
    100% { opacity: 0; transform: translate(6px, -120px); }
}

@keyframes warm {
    from { opacity: 0; transform: translateX(-50%) scale(0.6); }
}

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

.hero-text > * {
    animation: rise 0.8s cubic-bezier(0.2, 0.8, 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(4) { animation-delay: 0.24s; }
.hero-text > :nth-child(5) { animation-delay: 0.32s; }

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        gap: 0;
    }

    .hero-text {
        padding-bottom: 1rem;
    }

    .hero-art {
        height: 440px;
        min-height: 0;
    }
}

/* ---- welcome and the opening week ---- */

.welcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.welcome h2 {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
}

.welcome .prose p {
    font-size: 1.12rem;
}

.hours-card {
    background: var(--iron);
    color: var(--ash);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 3vw, 2.2rem);
    box-shadow: var(--shadow);
}

.hours-card a {
    color: var(--flame-text);
}

.hours-card a:hover {
    color: var(--gold);
}

.hours-line {
    font-size: 1.1rem;
}

.hours-line strong {
    font-family: var(--display);
    font-weight: 700;
}

.hours-note,
.hours-addr {
    font-size: 0.98rem;
    color: var(--ash-2);
    margin: 0.6rem 0 0;
}

.week {
    margin: 1.2rem 0 0.6rem;
    font-family: var(--display);
}

.week-scale {
    position: relative;
    height: 1.3rem;
    margin-left: 2.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ash-2);
}

.week-scale span {
    position: absolute;
    left: calc(var(--at) * 100% / 12);
    transform: translateX(-50%);
}

.week-day {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    align-items: center;
    height: 1.7rem;
}

.week-name {
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--ash-2);
}

.week-track {
    position: relative;
    height: 0.75rem;
    border-radius: 999px;
    background: rgba(243, 236, 228, 0.07);
}

.week-am,
.week-pm,
.week-summer {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 999px;
}

.week-am,
.week-pm {
    background: linear-gradient(90deg, var(--ember), var(--flame) 45%, var(--gold));
    box-shadow: 0 0 12px rgba(233, 102, 30, 0.45);
    transform-origin: left;
    animation: fill 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--i) * 0.08s + 0.2s);
}

.week-am {
    left: calc(100% / 12);
    width: calc(300% / 12);
}

.week-pm {
    left: 50%;
    width: calc(500% / 12);
    animation-delay: calc(var(--i) * 0.08s + 0.45s);
}

.week-summer {
    left: calc(1000% / 12);
    width: calc(100% / 12);
    border-radius: 0 999px 999px 0;
    background: repeating-linear-gradient(-45deg, rgba(17, 12, 9, 0.85) 0 3px, transparent 3px 6px);
}

.week-key {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.7rem 0 0 2.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ash-2);
}

.key-summer {
    width: 1.6rem;
    height: 0.75rem;
    border-radius: 999px;
    background: repeating-linear-gradient(-45deg, rgba(17, 12, 9, 0.85) 0 3px, transparent 3px 6px), var(--gold);
}

@keyframes fill {
    from { transform: scaleX(0); }
}

@supports (animation-timeline: view()) {
    .week-am,
    .week-pm {
        animation-timeline: view();
        animation-range: entry 10% cover 35%;
        animation-delay: 0s;
    }
}

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

/* ---- the trail: how we work ---- */

.trail-band {
    background: var(--soot);
    padding-block: clamp(3rem, 6vw, 5rem);
}

.trail {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    position: relative;
}

.trail::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 2.2rem;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--ember), var(--flame), var(--gold));
    transform-origin: left;
    opacity: 0.85;
}

@supports (animation-timeline: view()) {
    .trail::before {
        animation: fill linear both;
        animation-timeline: view();
        animation-range: entry 20% cover 45%;
    }
}

.trail li {
    position: relative;
    padding-top: 0;
}

.trail-n {
    display: inline-grid;
    place-items: center;
    width: 4.4rem;
    height: 4.4rem;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    background: var(--iron-2);
    border: 2px solid var(--flame);
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gold);
    position: relative;
}

.trail h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

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

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

    .trail::before {
        display: none;
    }
}

@media (max-width: 520px) {
    .trail {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.4rem;
    }

    .trail li {
        display: grid;
        grid-template-columns: 4.4rem minmax(0, 1fr);
        column-gap: 1rem;
    }

    .trail-n {
        grid-row: span 2;
        margin: 0;
    }
}

/* ---- products: the bento ---- */

.products-band {
    background:
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(233, 102, 30, 0.12), transparent 70%),
        var(--iron);
}

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

.tile a {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--soot);
    color: var(--ash);
    text-decoration: none;
    border: 1px solid var(--line);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.tile a:hover {
    transform: translateY(-4px);
    border-color: var(--flame);
    color: var(--ash);
}

.tile img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.tile-body {
    display: grid;
    gap: 0.3rem;
    padding: 1.1rem 1.25rem 1.3rem;
    background: var(--soot);
    position: relative;
    flex: 1;
}

.tile-brand {
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: var(--flame-text);
}

.tile-name {
    font-family: var(--display);
    font-weight: 750;
    font-size: 1.45rem;
    line-height: 1.08;
}

.tile-name::after {
    content: " →";
    color: var(--flame-text);
}

.tile-sum {
    color: var(--ash-2);
    font-size: 0.98rem;
    line-height: 1.5;
}

.tile-1 {
    grid-row: span 2;
}

.tile-1 img {
    aspect-ratio: auto;
    flex: 1;
    min-height: 260px;
}

.tile-1 .tile-name {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

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

    .tile-1 {
        grid-column: span 2;
        grid-row: auto;
    }

    .tile-1 img {
        aspect-ratio: 16 / 9;
        flex: none;
        min-height: 0;
    }

    .tile-5 {
        grid-column: span 2;
    }

    .tile-5 img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 560px) {
    .bento {
        grid-template-columns: minmax(0, 1fr);
    }

    .tile-1,
    .tile-5 {
        grid-column: auto;
    }
}

/* ---- the sweeping band ---- */

.sweep-band {
    background-color: var(--ember-deep);
    background-image:
        radial-gradient(ellipse 50% 80% at 85% 50%, rgba(249, 194, 25, 0.16), transparent 70%),
        linear-gradient(120deg, #6a170d, var(--ember-deep) 45%, #9c2717);
    color: #fff4ea;
}

.sweep-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.sweep-badge {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
}

.sweep-band .eyebrow {
    color: #ffd9a8;
}

.sweep-band p {
    font-size: 1.12rem;
    max-width: 56ch;
}

.sweep-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.6rem;
    margin-top: 1.8rem;
}

.link-dark {
    color: #fff4ea;
    font-family: var(--display);
    font-weight: 700;
}

.sweep-band a.link-dark:hover {
    color: #ffd9a8;
}

@media (max-width: 760px) {
    .sweep-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sweep-badge {
        max-width: 420px;
    }
}

/* ---- a sideways strip of photos ---- */

.strip {
    list-style: none;
    margin: 0;
    padding: 0 0 1rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-color: var(--flame) transparent;
}

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

.strip .ph {
    position: relative;
    margin: 0;
}

.strip img {
    height: clamp(220px, 34vw, 340px);
    width: auto;
    border-radius: var(--radius);
}

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

.ph {
    margin: 0;
}

.ph a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
}

.ph img {
    border-radius: var(--radius);
    transition: transform 0.5s ease, filter 0.3s ease;
}

.ph a:hover img {
    transform: scale(1.03);
}

.ph figcaption {
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.55rem;
    color: var(--ash-2);
}

.plaster .ph figcaption {
    color: var(--ink-2);
}

/* ---- our installations ---- */

.work-band {
    background: var(--soot);
}

.work-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 210px;
    gap: 1rem;
}

.work-grid li:first-child {
    grid-row: span 2;
}

.work-grid li:nth-child(4) {
    grid-row: span 2;
}

.work-grid .ph,
.work-grid .ph a {
    height: 100%;
}

.work-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 860px) {
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 180px;
    }
}

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

.call-band {
    background:
        radial-gradient(ellipse 50% 70% at 0% 100%, rgba(233, 102, 30, 0.22), transparent 70%),
        var(--iron);
    border-top: 1px solid var(--line);
}

.call-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.call-band p {
    color: var(--ash-2);
    max-width: 52ch;
}

.call-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.big-phone {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    min-height: 3.5rem;
    padding-inline: 1.8rem;
}

.call-facts {
    margin: 0;
    display: grid;
    gap: 1.2rem;
}

.call-facts div {
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    background: var(--soot);
    border: 1px solid var(--line);
}

.call-facts dt {
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--flame-text);
    margin-bottom: 0.3rem;
}

.call-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.call-facts small {
    color: var(--ash-2);
    font-size: 0.92rem;
}

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

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

.foot {
    position: relative;
    overflow: clip;
    background: var(--soot-deep);
    padding: clamp(3rem, 6vw, 5rem) 0 2rem;
    border-top: 1px solid var(--line);
}

.foot-glow {
    position: absolute;
    left: 50%;
    top: -60px;
    width: 70%;
    height: 120px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(233, 102, 30, 0.22), transparent 70%);
    pointer-events: none;
}

.foot-logo {
    display: inline-block;
    margin-bottom: 2.4rem;
    border-radius: 8px;
}

.foot-logo img {
    width: min(470px, 100%);
    border-radius: 8px;
}

.foot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.foot h2 {
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--flame-text);
    margin-bottom: 0.9rem;
}

.foot address {
    font-style: normal;
    margin-bottom: 1rem;
}

.foot p,
.foot address,
.foot li {
    color: var(--ash-2);
    font-size: 0.98rem;
}

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

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

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

.foot-label {
    border-radius: 8px;
    background: #fff;
}

.foot-small {
    font-size: 0.9rem;
}

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

.foot-links a {
    text-decoration: none;
}

.foot-links a:hover {
    text-decoration: underline;
}

.foot-bottom {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.foot-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.foot p,
.foot address {
    overflow-wrap: anywhere;
}

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

@media (max-width: 520px) {
    .foot-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- page heads (every page but the home page) ---- */

.page-hero {
    position: relative;
    overflow: clip;
    padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.6rem, 6vw, 4.5rem);
    background:
        radial-gradient(ellipse 50% 90% at 90% 100%, rgba(233, 102, 30, 0.24), transparent 70%),
        linear-gradient(180deg, var(--soot-deep), var(--soot));
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin-bottom: 1.2rem;
}

.ph-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.ph-grid > :only-child {
    grid-column: 1 / -1;
}

.ph-media img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.crumbs ol {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.5rem;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ash-2);
}

.crumbs li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--flame-text);
}

.crumbs a {
    color: var(--ash);
    text-decoration: none;
}

.crumbs a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.brand-plate {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
    background: #fff;
}

.brand-plate img {
    height: 52px;
    width: auto;
}

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

/* ---- product pages ---- */

.overview {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.2rem;
}

.ov-item a {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--iron);
    border: 1px solid var(--line);
    color: var(--ash);
    text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.ov-item:nth-child(even) a {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.ov-item:nth-child(even) img {
    order: 2;
}

.ov-item a:hover {
    border-color: var(--flame);
    color: var(--ash);
    transform: translateY(-3px);
}

.ov-item img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
}

.ov-body {
    padding: clamp(1.4rem, 4vw, 3rem);
}

.ov-n {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1rem;
    color: var(--flame-text);
    letter-spacing: 0.14em;
}

.ov-name {
    display: block;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1;
    margin: 0.5rem 0 0.8rem;
}

.ov-sum {
    display: block;
    color: var(--ash-2);
    max-width: 44ch;
}

.ov-go {
    display: inline-block;
    margin-top: 1.2rem;
    font-family: var(--display);
    font-weight: 700;
    color: var(--flame-text);
}

@media (max-width: 760px) {
    .ov-item a,
    .ov-item:nth-child(even) a {
        grid-template-columns: minmax(0, 1fr);
    }

    .ov-item:nth-child(even) img {
        order: 0;
    }

    .ov-item img {
        aspect-ratio: 16 / 10;
    }
}

.models {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.model {
    background: var(--iron);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.model .ph a,
.model .ph img {
    border-radius: 0;
}

.model .ph img {
    width: 100%;
    aspect-ratio: 10 / 7;
    object-fit: cover;
}

.model-body {
    padding: 1.3rem 1.5rem 1.6rem;
}

.model h3 {
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    margin-bottom: 0.3rem;
}

.model .power {
    display: inline-block;
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--soot);
    background: var(--gold);
    padding: 0.25rem 0.7rem 0.15rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}

.model ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ash-2);
}

.model li {
    margin-bottom: 0.35rem;
}

.model li::marker {
    color: var(--flame);
}

@media (max-width: 760px) {
    .models {
        grid-template-columns: minmax(0, 1fr);
    }
}

.series {
    display: grid;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.serie {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}

.serie:nth-child(even) .ph {
    order: 2;
}

.serie-tag {
    display: block;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(3.4rem, 9vw, 7rem);
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--flame-text);
    margin-bottom: 0.6rem;
}

.serie p {
    color: var(--ash-2);
}

.serie .ph img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

@media (max-width: 760px) {
    .serie {
        grid-template-columns: minmax(0, 1fr);
    }

    .serie:nth-child(even) .ph {
        order: 0;
    }
}

.gallery-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3 260px;
    column-gap: 1rem;
}

.gallery-grid li {
    break-inside: avoid;
    margin-bottom: 1rem;
}

.gallery-grid img {
    width: 100%;
}

.notice {
    border-left: 4px solid var(--flame);
    padding: 1.2rem 1.4rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--iron);
}

.plaster .notice {
    background: var(--plaster-2);
}

.notice h2,
.notice h3 {
    font-size: 1.4rem;
}

.obligations {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.8rem;
    counter-reset: ob;
}

.obligations li {
    position: relative;
    padding: 1rem 1.2rem 1rem 3.6rem;
    border-radius: var(--radius);
    background: var(--plaster-2);
    counter-increment: ob;
}

.obligations li::before {
    content: counter(ob);
    position: absolute;
    left: 1rem;
    top: 0.85rem;
    width: 1.9rem;
    height: 1.9rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--plaster);
    font: 800 1rem/1 var(--display);
}

.duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

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

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

.chips a {
    display: inline-block;
    padding: 0.55rem 1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ash);
    text-decoration: none;
    font-family: var(--display);
    font-weight: 600;
}

.chips a:hover {
    border-color: var(--flame);
    color: var(--gold);
}

.chips a[aria-current] {
    background: var(--ash);
    color: var(--soot);
}

.others {
    background: var(--soot);
    padding-block: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid var(--line);
}

.others h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

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

.card {
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 3.5vw, 2.4rem);
    background: var(--iron);
    border: 1px solid var(--line);
}

.card-light {
    background: var(--plaster);
    color: var(--ink);
    border: 0;
}

.card-light a {
    color: var(--rust);
}

.contact-list {
    margin: 1.4rem 0 0;
    display: grid;
    gap: 1rem;
}

.contact-list dt {
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--flame-text);
}

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

.contact-list small {
    color: var(--ash-2);
}

.contact-big {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1;
    text-decoration: none;
    color: var(--gold);
}

.contact-big:hover {
    color: var(--flame-text);
}

.map-figure {
    margin-top: 1.6rem;
}

.map-figure img {
    width: 100%;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: block;
    font-family: var(--display);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 2px solid #cbbcac;
    border-radius: 12px;
    background: #fffdf9;
    color: var(--ink);
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--rust);
    outline: 3px solid rgba(166, 60, 16, 0.3);
    outline-offset: 1px;
}

.contact-form button {
    justify-self: start;
    cursor: pointer;
}

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

.contact-sent {
    padding: 1rem 1.2rem;
    border-radius: var(--radius);
    background: #e3f1dc;
    color: #1e3a12;
    margin-bottom: 1rem;
}

.contact-form ul {
    color: #8a1c10;
    margin: 0.3rem 0 0;
    padding-left: 1.1rem;
}

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

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(233, 102, 30, 0.25), transparent 70%),
        var(--soot);
    text-align: center;
}

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

.not-found img {
    margin: 0 auto 2rem;
    border-radius: 8px;
}

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

.not-found h2 {
    font-size: 1.6rem;
    margin-top: 2.4rem;
}

.not-found .btn {
    margin-top: 0.4rem;
}

/* ---- figures, logos, the law ---- */

.figures {
    margin: 0;
    display: grid;
    gap: 1rem;
    align-self: center;
}

.figures div {
    padding: 1.4rem 1.6rem;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: var(--plaster);
}

.figures dt {
    font-family: var(--display);
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f4b27a;
}

.figures dd {
    margin: 0.2rem 0 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(4rem, 10vw, 7.5rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--gold);
}

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

.logos li {
    display: grid;
    place-items: center;
    padding: 1.6rem;
    border-radius: var(--radius);
    background: #fff;
    min-height: 140px;
}

.logos img {
    max-height: 90px;
    width: auto;
}

@media (max-width: 700px) {
    .logos {
        grid-template-columns: minmax(0, 1fr);
    }
}

.law-big {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--rust);
    margin-top: 1.4rem;
}

.hours-card h2 {
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.tile-1 .tile-body {
    flex: 0 0 auto;
}

.tile-1 img {
    flex: 1 1 0;
}

.legal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.6rem 3rem;
}

.legal p {
    overflow-wrap: anywhere;
}

/* ---- motion: reveal on scroll ---- */

@supports (animation-timeline: view()) {
    .tile,
    .ov-item,
    .model,
    .serie,
    .work-grid li {
        animation: rise linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 22%;
    }
}

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

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

    .spark {
        opacity: 0;
    }
}

.lightbox { --lb-bg: rgba(10, 7, 5, 0.96); --lb-text: #f3ece4; --lb-accent: #f9c219; --lb-accent-soft: rgba(233, 102, 30, 0.35); }

/* ---- 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;
    }
}
