/* Ortho Lab – the lab bench: dental stone, the logo's pink acrylic with glitter, steel wire.
   Fonts: Cuprum (display) and Arimo (text), both SIL OFL, self-hosted, cut to Latin and Cyrillic. */

@font-face {
    font-family: "Cuprum";
    src: url("/fonts/cuprum.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

@font-face {
    font-family: "Arimo";
    src: url("/fonts/arimo.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --stone: #f3efe6;
    --stone-2: #ebe5d8;
    --sheet: #fffdf8;
    --line: #ddd5c3;
    --ink: #1b2230;
    --muted: #4a5262;
    --pink: #c56d88;
    --pink-deep: #93365a;
    --pink-wash: #f7e4ea;
    --pink-light: #f4b3c7;
    --blue: #2199d7;
    --blue-deep: #0b6597;
    --steel: #8d98a6;
    --steel-light: #c9d0d8;
    --night: #151c28;
    --night-2: #1f2836;
    --radius: 22px;
    --display: "Cuprum", "Arial Narrow", sans-serif;
    --text: "Arimo", Arial, sans-serif;
    --wrap: 1180px;
    --lb-accent: #f4b3c7;
    --lb-accent-soft: rgba(244, 179, 199, .25);
}

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

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

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

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

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

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

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 5rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 3rem); }
h3 { font-size: 1.5rem; }
.h-small { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }

p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); 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: 12px; top: -60px; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ---- header */
.top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(243, 239, 230, .88);
    backdrop-filter: blur(12px) saturate(1.3);
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    border-bottom: 1px solid rgba(147, 54, 90, .12);
}

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

.brand { display: block; flex: 0 1 auto; min-width: 0; }
.brand img { width: 224px; max-width: 100%; height: auto; }

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

.call {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--pink-deep); color: #fff; text-decoration: none;
    font: 700 1rem/1 var(--text); padding: 11px 16px; border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 6px 16px -8px rgba(147, 54, 90, .7);
}
.call:hover { background: #7c2b4b; }

.lang { display: flex; gap: 2px; font: 700 .85rem/1 var(--text); }
.lang a, .lang span { padding: 9px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.lang span { color: var(--pink-deep); background: var(--pink-wash); }
.lang a:hover { background: var(--stone-2); }

.menu-btn {
    width: 44px; height: 44px; border: 1px solid var(--line); background: var(--sheet);
    border-radius: 12px; cursor: pointer; display: grid; place-items: center; color: var(--ink);
}
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
    transition: transform .2s;
}
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; }
.menu-btn .bars::before { top: -6px; }
.menu-btn .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav { display: flex; flex-wrap: wrap; gap: 2px 4px; width: 100%; }
.nav a {
    color: var(--ink); text-decoration: none; font: 700 1.08rem/1 var(--display); letter-spacing: .01em;
    padding: 10px 12px; border-radius: 10px;
}
.nav a:hover { background: var(--stone-2); }
.nav a[aria-current] { color: var(--pink-deep); background: var(--pink-wash); }

/* with the script, the menu folds away on narrow screens */
@media (max-width: 899px) {
    .js .nav { display: none; flex-direction: column; padding: 6px 0 10px; }
    .js .nav.open { display: flex; }
    .js .nav a { padding: 14px 12px; font-size: 1.25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}

@media (max-width: 420px) {
    .brand img { width: 168px; }
    .call { padding: 10px 12px; font-size: .95rem; }
    .call svg { display: none; }
    .top-row { gap: 8px 8px; }
}

@media (min-width: 900px) {
    .top-row { flex-wrap: nowrap; }
    .nav { width: auto; order: 2; margin-left: auto; }
    .top-tools { order: 3; margin-left: 0; }
    .menu-btn { display: none !important; }
}

@media (min-width: 900px) and (max-width: 1180px) {
    .nav a { padding: 10px 8px; font-size: 1rem; }
    .call { padding: 10px 12px; }
    .call svg { display: none; }
}

/* ---- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--pink-deep); color: #fff; text-decoration: none;
    font: 700 1.05rem/1 var(--text); padding: 15px 24px; border-radius: 999px;
    border: 2px solid var(--pink-deep); cursor: pointer;
    transition: transform .15s, background .15s;
}
.btn:hover { background: #7c2b4b; border-color: #7c2b4b; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--night); border-color: #fff; }
.btn-light:hover { background: var(--pink-wash); color: var(--night); border-color: var(--pink-wash); }

/* ---- home: hero with the plate */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(28px, 5vw, 70px) 0 clamp(40px, 6vw, 90px);
    background:
        radial-gradient(60% 70% at 85% 30%, rgba(197, 109, 136, .22), transparent 70%),
        radial-gradient(40% 50% at 10% 90%, rgba(33, 153, 215, .12), transparent 70%),
        var(--stone);
}

.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } }

.kicker {
    display: inline-block; font: 700 .82rem/1.3 var(--text); text-transform: uppercase; letter-spacing: .12em;
    color: var(--pink-deep); border-left: 4px solid var(--pink); padding: 2px 0 2px 10px; margin-bottom: 18px;
}

.hero h1 { font-size: clamp(2.6rem, 1.5rem + 5vw, 5.6rem); max-width: 12ch; }
.hero h1 { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-plate { margin: 0; }
.hero-plate figcaption { margin-top: 6px; font-size: .95rem; color: var(--muted); }
.hero-plate figcaption p { margin-bottom: 8px; }
.plate-legend { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0; margin: 0; list-style: none; counter-reset: lg; }
.plate-legend li { counter-increment: lg; }
.plate-legend a {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink);
    background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; font-weight: 700;
}
.plate-legend a::before {
    content: counter(lg); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    background: var(--night); color: #fff; font: 700 .85rem/1 var(--text);
}
.plate-legend a:hover { border-color: var(--pink); }

.plate { width: 100%; height: auto; overflow: visible; }
.plate .model { fill: var(--stone-2); stroke: #d5ccb8; stroke-width: 2; }
.plate .teeth { fill: #fffdf6; stroke: #cfc6b2; stroke-width: 1.5; }
.plate .fis { stroke: #ddd4c1; fill: none; stroke-width: 1.5; }
.plate .wire { fill: none; stroke: #7f8b9a; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.plate .screw rect { fill: var(--steel-light); stroke: #6c7785; stroke-width: 2; }
.plate .screw path:not(.wire) { stroke: #6c7785; stroke-width: 2; fill: none; }
.plate .screw .wire { stroke-width: 3.5; }
.plate .mk circle { fill: var(--night); stroke: #fff; stroke-width: 3; transition: fill .15s; }
.plate .mk text { fill: #fff; font: 700 17px/1 var(--text); }
.plate .mk:hover circle, .plate .mk:focus-visible circle { fill: var(--pink-deep); }
.plate .mk:focus-visible { outline: none; }
.plate .mk:focus-visible circle { stroke: var(--blue-deep); stroke-width: 5; }

/* the wires draw themselves once, in order: bow, clasps, spring, screw arms */
.plate .wire { stroke-dasharray: 1; stroke-dashoffset: 0; }
.plate .acrylic, .plate .glitter { animation: fade 1s .1s both; }
.plate .w1 { animation: draw 1.6s .5s cubic-bezier(.6, 0, .2, 1) both; }
.plate .w2 { animation: draw 1.1s 1.5s cubic-bezier(.6, 0, .2, 1) both; }
.plate .w3 { animation: draw .9s 2.2s ease-out both; }
.plate .w4 { animation: draw .6s 2.6s ease-out both; }
.plate .markers { animation: fade .5s 2.9s both; }

@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---- what you get: a row of large numbers */
.gets { background: var(--sheet); border-block: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0; }
.gets h2 { max-width: 22ch; }
.gets-list {
    list-style: none; padding: 0; margin: 24px 0 0; counter-reset: g;
    display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.gets-list li {
    counter-increment: g; position: relative; padding: 58px 18px 18px;
    background: var(--stone); border-radius: var(--radius); font: 700 1.3rem/1.15 var(--display);
}
.gets-list li::before {
    content: "0" counter(g); position: absolute; top: 14px; left: 18px;
    font: 700 1.9rem/1 var(--display); color: var(--pink-deep);
}
.gets-note { margin: 22px 0 0; max-width: 62ch; color: var(--muted); }

/* ---- bands */
.band { padding: clamp(40px, 6vw, 80px) 0; }
.band-tight { padding: clamp(28px, 4vw, 48px) 0; }
.band-alt { background: var(--stone-2); }
.band-shots { padding-top: 0; }
.band-others { padding-top: 0; }

.dark { background: var(--night); color: #e9edf3; }
.dark h2, .dark h3 { color: #fff; }
.dark a:not(.btn) { color: var(--pink-light); }

/* ---- bento of the sections */
.bento { display: grid; gap: 16px; margin-top: 10px; }
@media (min-width: 760px) {
    .bento { grid-template-columns: repeat(6, 1fr); }
    .tile-clear-aligner { grid-column: span 3; }
    .tile-appliances { grid-column: span 3; grid-row: span 2; }
    .tile-elements { grid-column: span 3; }
    .tile-special { grid-column: span 6; }
}
.tile {
    background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(27, 34, 48, .45); }
.tile-photo { display: block; background: #fff; }
.tile-photo img { width: 100%; height: 220px; object-fit: cover; }
.tile-appliances .tile-photo img { height: clamp(220px, 34vw, 430px); }
.tile-elements .tile-photo img, .tile-clear-aligner .tile-photo img { object-fit: contain; background: #fff; }
@media (min-width: 760px) {
    .tile-special { flex-direction: row; }
    .tile-special .tile-photo { flex: 0 0 42%; }
    .tile-special .tile-photo img { height: 100%; min-height: 260px; }
}
.tile-body { padding: 20px 22px 22px; }
.tile-body h3 { font-size: 1.8rem; margin-bottom: .3em; }
.tile-body h3 a { color: var(--ink); text-decoration: none; }
.tile-body h3 a:hover { color: var(--pink-deep); }
.tile-body > p { color: var(--muted); }

.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
    display: inline-block; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem;
    padding: 8px 14px; border-radius: 999px; background: var(--stone); border: 1px solid var(--line);
}
.chips a:hover { border-color: var(--pink); color: var(--pink-deep); }
.chips a[aria-current] { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }
.chips-small a { font-size: .9rem; padding: 6px 11px; background: var(--stone); }

/* ---- Clear Aligner band with the three foils */
.ca-band {
    background:
        radial-gradient(50% 80% at 90% 10%, rgba(33, 153, 215, .22), transparent 70%),
        radial-gradient(40% 60% at 0% 100%, rgba(197, 109, 136, .25), transparent 70%),
        var(--night);
}
.ca-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .ca-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.licence { font: 700 .82rem/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--pink-light); }
.ca-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.link-light { font-weight: 700; }

.foils { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.foils li {
    display: flex; flex-direction: column; gap: 6px; padding: 16px 14px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px;
}
.foil {
    display: block; height: 96px; border-radius: 40px 40px 14px 14px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .55), rgba(180, 220, 245, .18));
    border: calc(2px + var(--i) * 2px) solid rgba(220, 240, 255, .7);
    border-bottom: 0;
    margin-bottom: 8px;
}
.foils strong { font: 700 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--display); color: #fff; }
.foils small { font-size: .5em; color: #c9d4e2; }
.foils span:last-child { font-size: .95rem; color: #c9d4e2; }

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .foils li { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
        .gets-list li { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
        .tile { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
    }
}

.materials { padding: 28px 0; background: var(--pink-wash); }
.materials p { margin: 0; font: 700 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.3 var(--display); color: var(--pink-deep); }

/* ---- call band */
.cta {
    background: linear-gradient(120deg, var(--pink-deep), #6e2443 70%);
    color: #fff; padding: clamp(36px, 5vw, 64px) 0;
}
.cta h2 { color: #fff; }
.cta p { color: #fbe9ef; }
.cta a:not(.btn) { color: #fff; }
.cta-grid { display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .cta-grid { grid-template-columns: 1fr auto; gap: 48px; } }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-phone { font: 700 clamp(2rem, 1.5rem + 2.4vw, 3.2rem)/1 var(--display); color: #fff; text-decoration: none; white-space: nowrap; }
.cta-phone:hover { text-decoration: underline; }
.cta-addr { margin: 0; }

/* ---- page heads */
.page-hero {
    padding: clamp(36px, 6vw, 80px) 0 clamp(26px, 4vw, 48px);
    background:
        radial-gradient(50% 90% at 100% 0%, rgba(197, 109, 136, .2), transparent 70%),
        var(--stone);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 18ch; }
.page-hero.sec-clear-aligner { background: radial-gradient(50% 90% at 100% 0%, rgba(33, 153, 215, .18), transparent 70%), var(--stone); }

/* ---- section cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cards .card > a { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.cards img { width: 100%; height: 200px; object-fit: cover; background: #fff; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.card-body strong { font: 700 1.45rem/1.1 var(--display); }
.card-body span { color: var(--muted); font-size: .98rem; }
.cards .card > a:hover strong { color: var(--pink-deep); }
.cards .card { transition: transform .2s, box-shadow .2s; }
.cards .card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(27, 34, 48, .45); }

.duo { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; gap: 48px; } }
.video-duo { align-items: center; }

.photo-frame { margin: 0; background: #fff; border-radius: var(--radius); padding: 10px; border: 1px solid var(--line); }
.photo-frame img { margin-inline: auto; border-radius: 14px; }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--pink-deep); }
.note { font-size: .95rem; color: var(--muted); }
.strong { font: 700 1.4rem/1.2 var(--display); color: var(--pink-deep); }

.big-list { list-style: none; padding: 0 !important; counter-reset: b; display: grid; gap: 8px; }
.big-list li { counter-increment: b; margin: 0 !important; }
.big-list a {
    display: flex; align-items: baseline; gap: 14px; text-decoration: none; color: var(--ink);
    font: 700 1.6rem/1.1 var(--display); padding: 10px 0; border-bottom: 1px solid var(--line);
}
.big-list a::before { content: counter(b); color: var(--pink-deep); font-size: 1rem; min-width: 1.4em; }
.big-list a:hover { color: var(--pink-deep); }

.steps { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 14px; }
.steps li {
    counter-increment: s; background: var(--sheet); border: 1px solid var(--line); border-radius: 18px;
    padding: 18px 20px 18px 74px; position: relative; margin: 0 !important; min-height: 70px;
}
.steps li::before {
    content: counter(s); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center; background: var(--pink-deep); color: #fff; font: 700 1.2rem/1 var(--display);
}

.plates { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.plates li {
    background: var(--night); color: #fff; border-radius: 16px; padding: 14px 18px; margin: 0 !important;
    font: 700 1.6rem/1 var(--display);
}
.plates strong { display: block; font: 700 .8rem/1.2 var(--text); text-transform: uppercase; letter-spacing: .1em; color: var(--pink-light); margin-bottom: 4px; }

.links-big { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.links-big a {
    display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--sheet); border: 1px solid var(--line);
    border-radius: 18px; text-decoration: none; color: var(--ink); height: 100%;
}
.links-big strong { font: 700 1.4rem/1.1 var(--display); color: var(--pink-deep); }
.links-big span { color: var(--muted); font-size: .95rem; }
.links-big a:hover { border-color: var(--pink); }

/* ---- sub-pages */
.sub-hero {
    padding: clamp(24px, 4vw, 56px) 0 clamp(30px, 4vw, 56px);
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(197, 109, 136, .2), transparent 70%),
        var(--stone);
}
.sub-hero.sec-clear-aligner { background: radial-gradient(60% 90% at 100% 0%, rgba(33, 153, 215, .18), transparent 70%), var(--stone); }
.sub-hero-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .sub-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.sub-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.sub-hero-photo { margin: 0; background: #fff; border-radius: var(--radius); padding: 10px; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(27, 34, 48, .5); }
.sub-hero-photo img { margin-inline: auto; border-radius: 14px; max-height: 460px; width: auto; }
.sub-hero-photo figcaption, .shots figcaption { font-size: .92rem; color: var(--muted); padding: 8px 4px 2px; }

.crumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 4px; font-size: .95rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--steel); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

.shots {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}
.shots figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; height: 100%; }
.shots img { width: 100%; height: 200px; object-fit: contain; border-radius: 10px; }
.shots-two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin-bottom: 1em; }
.shots-two img { height: 220px; }

/* ---- FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; }
.faq summary {
    cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; position: relative;
    font: 700 clamp(1.2rem, 1.1rem + .4vw, 1.45rem)/1.2 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--pink-wash); color: var(--pink-deep); font: 700 1.3rem/1 var(--text);
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--pink-deep); }
.faq-body { padding: 0 20px 18px; max-width: 80ch; }
.faq-body ul { padding-left: 1.3em; }
.faq-body li::marker { color: var(--pink-deep); }
.faq-body h3 { font-size: 1.3rem; }
.duo-small { display: grid; gap: 18px; max-width: none; }
@media (min-width: 760px) { .duo-small { grid-template-columns: 1fr auto; align-items: start; } }
.duo-small > a img { max-width: 265px; border-radius: 10px; }
.two-lists { display: grid; gap: 8px 32px; }
@media (min-width: 700px) { .two-lists { grid-template-columns: 1fr 1fr; } }

/* ---- video */
.video { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video .play {
    position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%, -50%);
    border-radius: 50%; background: var(--pink-deep); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.video .play::after {
    content: ""; position: absolute; left: 34px; top: 26px;
    border-left: 24px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent;
}
.video-on iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- contact */
.contact-card { padding: 24px; }
.duo > .card { padding: 24px; }
.big-phone-line { margin-bottom: 18px; }
.big-phone { font: 700 clamp(2.1rem, 1.6rem + 2vw, 3rem)/1 var(--display); color: var(--pink-deep); text-decoration: none; white-space: nowrap; }
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.contact-list dt { font: 700 .8rem/1.2 var(--text); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }

.contact-form { display: grid; gap: 14px; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fff;
    border: 1.5px solid #b9b09c; border-radius: 12px; padding: 12px 14px;
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible { border-color: var(--blue-deep); }
.contact-form ul { color: #a3122e; margin: 4px 0 0; padding-left: 1.2em; }
.contact-form .btn { justify-self: start; }
.form-hint { font-size: .92rem; color: var(--muted); margin: 0; }
.contact-sent { background: #e5f3ea; border: 1px solid #9bc9aa; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }

/* ---- footer */
.foot { background: var(--night); color: #d6dce6; font-size: .98rem; }
.foot a { color: #fff; }
.foot h2 { font: 700 .8rem/1.2 var(--text); text-transform: uppercase; letter-spacing: .12em; color: var(--pink-light); margin-bottom: 12px; }
.foot-plate { background: var(--stone); border-top: 6px solid var(--pink); padding: 18px 0; }
.foot-logo { width: 968px; max-width: 100%; height: auto; }
.foot-grid { display: grid; gap: 28px; padding: 40px 0 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.foot-name { font: 700 1.6rem/1.1 var(--display); color: #fff; }
.foot address { font-style: normal; }
.foot-phone { font: 700 1.5rem/1.1 var(--display); text-decoration: none; white-space: nowrap; }
.fb { display: inline-flex; align-items: center; gap: 8px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0 26px; font-size: .9rem; color: #b9c2cf; }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: #fff; }

/* ---- 404 */
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; text-align: center; }
.not-found > div { max-width: 640px; }
.not-found img { margin: 0 auto 28px; }
.not-found h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); }
.not-found div[lang="en"] { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .plate .wire { stroke-dashoffset: 0 !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;
    }
}

/* the tall tile: the photo takes the space the text leaves */
@media (min-width: 760px) {
    .tile-appliances .tile-photo { flex: 1 1 auto; min-height: 0; position: relative; }
    .tile-appliances .tile-photo img { position: absolute; inset: 0; height: 100%; }
    .tile-appliances .tile-photo { min-height: 300px; }
}

/* two photos side by side on a phone */
@media (max-width: 599px) {
    .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .shots img { height: 140px; }
    .shots-two { grid-template-columns: 1fr; }
    .shots-two img { height: auto; max-height: 240px; }
}
