/* Tigui's – coiffure, esthétique, hammam (Aix-en-Provence). Dark and candle-lit.
   Palette: plum-black night, candle amber, the original's mint (#cde5c1, also the dots of the logo),
   terracotta from the salon's red rooms. Fonts: Imbue (display), Urbanist (text). */

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

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

:root {
    --night: #170d12;
    --plum: #241219;
    --plum-2: #34192a;
    --line: #4a2a3b;
    --ivory: #f7ede4;
    --muted: #d4bfc8;
    --mint: #cde5c1;
    --candle: #f0b45a;
    --ember: #c2452a;
    --ember-deep: #8f2a1a;
    --display: "Imbue", "Didot", "Bodoni 72", Georgia, serif;
    --text: "Urbanist", "Segoe UI", system-ui, sans-serif;
    --radius: 22px;
    --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M6 100V34C2 30 0 25 0 20 0 9 22 0 50 0s50 9 50 20c0 5-2 10-6 14v66z'/%3E%3C/svg%3E");
    --lb-bg: rgba(16, 8, 12, .94);
    --lb-text: #f7ede4;
    --lb-accent: #cde5c1;
    --lb-accent-soft: rgba(205, 229, 193, .18);
}

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

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

body {
    margin: 0;
    background: var(--night);
    color: var(--ivory);
    font: 400 1.0625rem/1.65 var(--text);
    overflow-x: hidden;
}

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

a { color: var(--mint); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--candle); }

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

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; margin: 0 0 .5em; }
h1 { font-size: clamp(2.9rem, 9vw, 6.4rem); letter-spacing: -.01em; font-variation-settings: "opsz" 100; }
h2 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-variation-settings: "opsz" 80; }
h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-variation-settings: "opsz" 40; }
p { margin: 0 0 1em; }

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

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

.skip {
    position: absolute;
    left: 1rem; top: -4rem;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--mint);
    color: var(--night);
    border-radius: 999px;
    font-weight: 700;
}
.skip:focus { top: 1rem; }

.eyebrow {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--candle);
    margin-bottom: 1.1rem;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    min-height: 48px;
    padding: .7rem 1.4rem;
    border-radius: 999px;
    background: var(--mint);
    color: #1d1016;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--mint);
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--candle); border-color: var(--candle); color: #1d1016; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--mint); }
.btn-ghost:hover { background: var(--mint); border-color: var(--mint); }
.btn-light { background: var(--ivory); border-color: var(--ivory); color: #3a0f08; }
.btn-light:hover { background: var(--night); border-color: var(--night); color: var(--ivory); }
.btn-ghost-light { background: transparent; border-color: var(--ivory); color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: #3a0f08; }

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

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(23, 13, 18, .78);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid rgba(205, 229, 193, .12);
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem 1.4rem;
    padding-block: .7rem;
}

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

.nav { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; order: 3; width: 100%; }
.nav a {
    color: var(--ivory);
    text-decoration: none;
    font-weight: 600;
    padding: .35rem 0;
    border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--mint); }
.nav a[aria-current] { color: var(--mint); border-bottom-color: var(--mint); }

.top-tools { display: flex; align-items: center; gap: .7rem; margin-left: auto; }

.lang { display: flex; gap: .15rem; font-size: .85rem; font-weight: 700; }
.lang a, .lang span { padding: .35rem .5rem; border-radius: 8px; text-decoration: none; }
.lang a { color: var(--muted); }
.lang span { color: var(--night); background: var(--mint); }

.fb-icon {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    color: var(--ivory);
    border: 1px solid var(--line);
}
.fb-icon:hover { color: var(--night); background: var(--mint); border-color: var(--mint); }

.call {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: var(--candle);
    color: #241008;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.call:hover { background: var(--mint); color: #1d1016; }

@media (max-width: 899px) {
    /* phone and tablet: logo, language and phone on the first row; the menu and Facebook under them */
    .top-tools { display: contents; }
    .lang { order: 1; margin-left: auto; }
    .call { order: 2; }
    .nav { order: 3; width: auto; flex: 1 1 auto; }
    .fb-icon { order: 4; }
}

@media (max-width: 479px) {
    .top-row { gap: .5rem .6rem; }
    .brand img { width: 92px; }
    .fb-icon { width: 36px; height: 36px; }
    .call { padding: .45rem .8rem; font-size: .95rem; }
    .lang a, .lang span { padding: .3rem .4rem; }
}

@media (min-width: 900px) {
    .brand img { width: 150px; }
    .nav { order: 0; width: auto; margin-left: 2rem; }
}

/* ---- the steam that rises past the arches ---- */

.steam { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.steam i {
    position: absolute;
    bottom: -20%;
    width: 38vmax; height: 38vmax;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(247, 237, 228, .12), rgba(247, 237, 228, 0));
    filter: blur(8px);
    animation: rise 16s linear infinite;
}
.steam i:nth-child(1) { left: 45%; animation-delay: -2s; }
.steam i:nth-child(2) { left: 62%; animation-delay: -7s; animation-duration: 19s; }
.steam i:nth-child(3) { left: 78%; animation-delay: -12s; }
.steam i:nth-child(4) { left: 30%; animation-delay: -5s; animation-duration: 22s; }

@keyframes rise {
    0% { transform: translateY(0) scale(.6); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-120%) scale(1.25); opacity: 0; }
}

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

.hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(60% 70% at 78% 40%, rgba(194, 69, 42, .38), transparent 70%),
        radial-gradient(40% 50% at 10% 90%, rgba(240, 180, 90, .14), transparent 70%),
        var(--night);
    overflow: hidden;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.hero h1 { max-width: 9em; }
.hero h1 .amp { color: var(--mint); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-hours { color: var(--muted); font-size: .95rem; }

.arches {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.6rem, 2vw, 1.2rem);
    align-items: end;
}

.arch { margin: 0; position: relative; }
.arch img,
.arch-hero img {
    width: 100%;
    aspect-ratio: 463 / 689;
    object-fit: cover;
    -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat;
    border-radius: 999px 999px 0 0; /* without mask support: a round arch */
}
.arches a { display: block; text-decoration: none; color: var(--ivory); }
.arches a span {
    display: block;
    margin-top: .7rem;
    font-family: var(--display);
    font-size: clamp(1.15rem, 2.6vw, 1.7rem);
    font-weight: 600;
    text-align: center;
}
.arches a:hover span { color: var(--mint); }
.arches a img { transition: transform .5s ease, filter .5s ease; }
.arches a:hover img { transform: translateY(-6px); filter: brightness(1.08); }
.arch-1 { transform: translateY(1.5rem); }
.arch-3 { transform: translateY(-1.5rem); }
.arch::before {
    content: "";
    position: absolute;
    inset: -8% -10% 30%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(240, 180, 90, .3), transparent);
}

@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1fr 1.12fr; gap: 3rem; }
    .hero { min-height: calc(100svh - 70px); display: grid; align-items: center; }
}

/* the arches rise in, one after another, when the page opens */
.arch { animation: arch-in .9s cubic-bezier(.2, .7, .2, 1) both; }
.arch-2 { animation-delay: .15s; }
.arch-3 { animation-delay: .3s; }
.hero-text > * { animation: text-in .8s ease both; }
.hero-text > :nth-child(2) { animation-delay: .1s; }
.hero-text > :nth-child(3) { animation-delay: .2s; }
.hero-text > :nth-child(4) { animation-delay: .3s; }
@keyframes arch-in { from { opacity: 0; translate: 0 40px; } }
@keyframes text-in { from { opacity: 0; translate: 0 18px; } }

/* ---- the plait ---- */

.plait { padding-block: 1rem; background: var(--night); }
.plait svg { display: block; width: 100%; height: 44px; }
.plait path { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.plait .s1 { stroke: var(--mint); }
.plait .s2 { stroke: var(--candle); }
.plait .s3 { stroke: var(--ember); }

@supports (animation-timeline: view()) {
    .plait path {
        animation: weave linear both;
        animation-timeline: view();
        animation-range: entry 10% cover 45%;
    }
    .plait .s2 { animation-range: entry 18% cover 50%; }
    .plait .s3 { animation-range: entry 26% cover 55%; }
}
@keyframes weave { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }

/* ---- cities ---- */

.cities { padding-block: clamp(3rem, 8vw, 6rem); text-align: center; }
.cities-intro {
    font-family: var(--text);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--candle);
}
.city-row {
    list-style: none;
    margin: 1rem 0 1.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .2rem clamp(1rem, 4vw, 3rem);
    font-family: var(--display);
    font-size: clamp(3rem, 11vw, 8.5rem);
    font-weight: 300;
    line-height: 1;
    font-variation-settings: "opsz" 100;
}
.city-row li:nth-child(1) { color: var(--ivory); }
.city-row li:nth-child(2) { color: var(--mint); }
.city-row li:nth-child(3) { color: var(--candle); }
.cities-text { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--muted); max-width: 32em; margin-inline: auto; }

@supports (animation-timeline: view()) {
    .city-row li {
        animation: city-in linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 35%;
    }
    @keyframes city-in { from { opacity: .15; letter-spacing: .12em; } }
}

/* ---- bands, sections ---- */

.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.h-section { margin-bottom: 1.6rem; }
.h-section::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: .9rem;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--mint), var(--candle), var(--ember));
}

/* bento of the three services */
.bento {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.bento a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 340px;
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--ivory);
    text-decoration: none;
    background: var(--plum);
}
.bento img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}
.bento a:hover img { transform: scale(1.05); }
.bento-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 4.5rem 1.4rem 1.4rem;
    background: linear-gradient(to top, rgba(18, 9, 13, .96) 35%, rgba(18, 9, 13, .7) 70%, rgba(18, 9, 13, 0));
    color: var(--ivory);
}
.bento-body strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--mint);
    margin-bottom: .3rem;
}
.bento a:hover strong { color: var(--candle); }
.bento-hair img { object-position: 50% 25%; }

@media (min-width: 760px) {
    .bento { grid-template-columns: 1.25fr 1fr; grid-template-rows: 300px 300px; }
    .bento-hair { grid-row: span 2; }
}

/* private hammam */
.private {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 6rem);
    background:
        radial-gradient(70% 90% at 90% 10%, rgba(240, 180, 90, .3), transparent 60%),
        linear-gradient(135deg, var(--ember-deep), #9c3320 55%, #6e1f15);
    color: var(--ivory);
}
.private .eyebrow { color: #ffe1b0; }
.private p { max-width: 34em; font-size: 1.15rem; }
.private-grid { display: grid; gap: 2.5rem; align-items: center; }
.figures { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; }
.figures div {
    flex: 1 1 140px;
    padding: 1.4rem;
    border-radius: var(--radius);
    background: rgba(23, 13, 18, .42);
    border: 1px solid rgba(255, 225, 176, .3);
}
.figures dt {
    font-family: var(--display);
    font-size: clamp(3.6rem, 9vw, 6rem);
    font-weight: 600;
    line-height: 1;
    color: #ffe1b0;
}
.figures dd { margin: .3rem 0 0; font-weight: 600; }
@media (min-width: 860px) { .private-grid { grid-template-columns: 1.4fr 1fr; } }

/* visit */
.visit { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--plum); }
.visit-grid { display: grid; gap: 2rem; }
.visit-address { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; color: var(--ivory); }
.visit-list { margin: 0; display: grid; gap: 1.1rem; }
.visit-list div { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.visit-list dt { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--candle); }
.visit-list dd { margin: .25rem 0 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.big-phone { font-family: var(--display); font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 600; text-decoration: none; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 1fr 1fr; } }

/* call band */
.cta {
    padding-block: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(120deg, #8f2a1a, #a8391f 60%, #7a2316);
    color: var(--ivory);
}
.cta h2 { margin-bottom: .3rem; }
.cta p { margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- page heroes (services, contact) ---- */

.page-hero, .svc-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    background:
        radial-gradient(55% 80% at 85% 30%, rgba(194, 69, 42, .32), transparent 70%),
        var(--night);
}
.page-hero .wrap, .svc-grid { position: relative; z-index: 1; }
.page-hero h1, .svc-hero h1 { font-size: clamp(2.6rem, 7.5vw, 5.2rem); }

.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--mint); }
.crumbs [aria-current] { color: var(--ivory); font-weight: 600; }

.svc-grid { display: grid; gap: 2.5rem; align-items: center; }
.arch-hero { max-width: 420px; justify-self: center; width: 100%; }
.arch-hero a { display: block; }
.arch-hero img { aspect-ratio: auto; }
@media (min-width: 860px) {
    .svc-grid { grid-template-columns: 1.2fr 1fr; }
}

/* the menu of a service */
.menu-band { padding-block: clamp(3rem, 7vw, 5rem); }
.price-note {
    display: inline-block;
    padding: .8rem 1.2rem;
    border-radius: 14px;
    background: var(--plum);
    border: 1px solid var(--line);
    color: var(--ivory);
}
.menu-groups {
    display: grid;
    gap: 2rem 3rem;
    margin-top: 2rem;
}
@media (min-width: 760px) { .menu-groups { grid-template-columns: repeat(2, 1fr); } }
.menu-group h3 { color: var(--candle); margin-bottom: .8rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2rem .8rem;
    padding: .65rem 0;
    border-bottom: 1px dashed var(--line);
}
.menu-list li::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--mint);
    flex: none;
    transform: translateY(-2px);
}
.menu-list span { font-size: 1.08rem; }
.menu-list small { color: var(--muted); font-size: .92rem; }

/* photos */
.photo-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.photo-row figure { margin: 0; }
.photo-row a { display: block; border-radius: var(--radius); overflow: hidden; }
.photo-row img { width: 100%; transition: transform .5s ease; }
.photo-row a:hover img { transform: scale(1.04); }
.photo-row figcaption { margin-top: .6rem; color: var(--muted); font-size: .95rem; }

/* links to the other services */
.others { background: var(--plum); }
.other-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 700px) { .other-links { grid-template-columns: repeat(2, 1fr); } }
.other-links a {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: .8rem;
    border-radius: var(--radius);
    background: var(--night);
    border: 1px solid var(--line);
    color: var(--muted);
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}
.other-links a:hover { border-color: var(--mint); transform: translateY(-3px); color: var(--muted); }
.other-links img { width: 74px; height: 110px; object-fit: cover; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; border-radius: 999px 999px 0 0; flex: none; }
.other-links strong { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--mint); line-height: 1.1; margin-bottom: .2rem; }

/* the services overview */
.svc-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 760px) { .svc-cards { grid-template-columns: repeat(3, 1fr); } }
.svc-cards a { display: block; color: var(--muted); text-decoration: none; }
.svc-cards img { width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 463 / 689; object-fit: cover; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; border-radius: 999px 999px 0 0; transition: transform .5s ease; }
.svc-cards a:hover img { transform: translateY(-6px); }
.svc-cards h2 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--mint); margin: 1rem 0 .4rem; }
.svc-cards a:hover h2 { color: var(--candle); }
.svc-cards .more { display: inline-block; margin-top: .6rem; color: var(--ivory); font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }

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

.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.panel {
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border-radius: var(--radius);
    background: var(--plum);
    border: 1px solid var(--line);
}
.panel h2 { font-size: clamp(1.9rem, 4vw, 2.4rem); }

.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: block; font-weight: 700; margin-bottom: .35rem; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: .8rem 1rem;
    border-radius: 12px;
    border: 1px solid #6d4a5c;
    background: var(--night);
    color: var(--ivory);
    font: inherit;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible { outline: 3px solid var(--candle); outline-offset: 1px; }
.contact-form ::placeholder { color: #a88f9a; }
.contact-form ul { margin: .3rem 0 0; padding-left: 1.2rem; color: #ffb4a6; }
.contact-form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
.form-hint { color: var(--muted); font-size: .92rem; margin: 0; }
.contact-sent { padding: 1rem 1.2rem; border-radius: 14px; background: rgba(205, 229, 193, .14); border: 1px solid var(--mint); margin-bottom: 1rem; }
.contact-sent strong { display: block; color: var(--mint); }

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

.foot {
    background: #0f080b;
    border-top: 1px solid var(--line);
    padding-top: clamp(2.5rem, 6vw, 4rem);
    color: var(--muted);
}
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; } }
.foot h2 { font-family: var(--text); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--candle); margin-bottom: .9rem; }
.foot address { font-style: normal; margin-bottom: 1rem; }
.foot a { color: var(--ivory); }
.foot a:hover { color: var(--mint); }
.foot strong { color: var(--ivory); }
.foot-logo { width: 170px; margin-bottom: 1rem; }
.foot-phone { font-family: var(--display); font-size: 1.7rem; font-weight: 600; text-decoration: none; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot-bottom { margin-top: 2.5rem; padding-block: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; }
.foot-bottom p { margin: 0; }

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

.not-found {
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 2rem 1.25rem;
    text-align: center;
    background: radial-gradient(60% 60% at 50% 30%, rgba(194, 69, 42, .3), transparent 70%), var(--night);
}
.not-found > div { max-width: 36rem; }
.not-found img { width: 200px; margin: 0 auto 2rem; }
.not-found h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
.not-found [lang="en"] { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.not-found h2 { font-size: 2rem; }

/* ---- reduced motion: everything stands still, in its finished state ---- */

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

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

/* narrow phones: logo, language and phone still on one row */
@media (max-width: 399px) {
    .brand img { width: 84px; }
    .call { padding: .45rem .7rem; font-size: .88rem; }
    .call svg { display: none; }
    .lang a, .lang span { padding: .3rem .35rem; }
}

.page-hero + .band { padding-top: .5rem; }
