/* servicii.atelier-vast.com — variant B: the language of atelier-vast.com (white, DM Sans, uppercase labels,
   red #DD4124, left filter rail) + a studio-plate product grid. Marketing page: one theme, light. */
:root {
  --bg: #FFFFFF; --ink: #1E2827; --mute: #6B6B74; --hair: #E6E6E9; --plate: #EBEBEE; --plate-2: #F4F4F6;
  /* brand red #DD4124 sits at 4.3:1 on white — one step darker keeps the look and clears WCAG AA (5.4:1) for
     the 11–13 px uppercase text it colours (Lighthouse color-contrast, 2026-09-11) */
  --red: #C4351A; --chip: #F5F5F7; --ok: #1F7A4D;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "DM Sans", "Segoe UI", Roboto, system-ui, sans-serif;
       font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }
.lbl { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header as on the site: small wordmark left, uppercase menu right */
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.wordmark svg { height: 22px; width: auto; fill: var(--ink); }
nav { display: flex; gap: 28px; }
nav a { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
nav a[aria-current="page"] { color: var(--red); }
@media (max-width: 640px) { nav { gap: 16px; } nav a:not([aria-current]) { display: none; } }

/* the red statement, as on the About page */
.statement { padding: 56px 0 48px; }
.statement .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 880px) { .statement .wrap { grid-template-columns: 1fr; gap: 18px; } }
.statement h1 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.32; font-weight: 500; color: var(--red); max-width: 30ch; text-wrap: balance; }
.statement p { margin-top: 18px; max-width: 62ch; color: var(--ink); }
.links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.links a { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.links a.red { color: var(--red); }

/* filter rail (as the project list on the site) + grid */
.catalog { padding: 8px 0 64px; }
.catalog .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 880px) { .catalog .wrap { grid-template-columns: 1fr; } }
.rail { position: sticky; top: 24px; display: grid; gap: 26px; }
@media (max-width: 880px) { .rail { position: static; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; } .rail .group { display: contents; } .rail .tag { margin: 0; } }
.tag { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; margin-bottom: 10px; }
.rail button { display: block; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); cursor: pointer; text-align: left; }
.rail button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.rail button:hover { color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.tile { display: grid; gap: 10px; }
.tile[hidden] { display: none; }
.plate { aspect-ratio: 4 / 3; background: linear-gradient(180deg, var(--plate-2), var(--plate)); display: grid; place-items: center; color: var(--ink); }
.plate svg { width: 60%; height: auto; }
.tile .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.tile .name { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tile:hover .name { color: var(--red); }
.state { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--mute); }
.state.live { color: var(--red); font-weight: 700; }
.state.soon { color: var(--ink); }
.tile p { font-size: 13px; color: var(--mute); line-height: 1.5; }
.empty { grid-column: 1 / -1; color: var(--mute); font-size: 13px; }

/* text sections */
section.text { border-top: 1px solid var(--hair); padding: 48px 0; }
section.text .wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 880px) { section.text .wrap { grid-template-columns: 1fr; gap: 16px; } }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }
.cols h3 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cols h3 span { color: var(--red); margin-right: 8px; }
.cols p { margin-top: 8px; font-size: 14px; color: var(--mute); max-width: 36ch; }
.list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .list { grid-template-columns: 1fr; } }
.list h3 { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.list ul { list-style: none; margin: 0; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.9; }
.side-note { margin-top: 22px; font-size: 13px; color: var(--mute); max-width: 70ch; }

/* joinery gallery */
.joints .grid { gap: 32px 28px; }
.joints .plate { aspect-ratio: 3 / 2; }
.joints .plate svg { width: 68%; }
.code { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.code b { font-weight: 700; }
.facts { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--hair); padding-top: 22px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.facts h3 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.facts p { font-size: 13px; color: var(--mute); margin-top: 6px; }

/* minimal form, with lines */
.rfq { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
@media (max-width: 880px) { .rfq { grid-template-columns: 1fr; } }
form { display: grid; gap: 22px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
label { display: grid; gap: 8px; }
label .lbl { color: var(--mute); }
input, select, textarea { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 0; width: 100%; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--red); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-bottom-color: var(--red); }
.err { color: var(--red); font-size: 13px; }
.err:empty { display: none; }
.drop { border: 1px dashed var(--mute); padding: 20px; font-size: 13px; color: var(--mute); cursor: pointer; }
.drop.over { border-color: var(--red); color: var(--ink); }
.drop b { color: var(--ink); font-weight: 500; }
.drop input { display: none; }
.files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.files li { background: var(--chip); padding: 4px 8px; display: flex; gap: 8px; align-items: center; }
.files li.bad { background: #FBE9E5; color: var(--red); }
.files button { background: none; border: 0; padding: 0; font: inherit; color: var(--mute); cursor: pointer; line-height: 1; }
.files button:hover { color: var(--red); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mute); }
.consent input { width: auto; margin-top: 4px; }
.consent a { border-bottom: 1px solid currentColor; }
.submit { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
          border-bottom: 1px solid currentColor; padding-bottom: 3px; cursor: pointer; }
.submit[disabled] { color: var(--mute); cursor: progress; }
.progress { font-size: 13px; color: var(--mute); }
.progress:empty { display: none; }
.done { border-top: 2px solid var(--red); padding-top: 16px; }
.done h3 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.done p { margin-top: 8px; font-size: 14px; color: var(--mute); }
.fallback { border-top: 2px solid var(--ink); padding-top: 16px; font-size: 14px; color: var(--mute); }
.fallback a { color: var(--red); border-bottom: 1px solid currentColor; }
.after ol { margin: 12px 0 0; padding-left: 18px; font-size: 14px; color: var(--mute); display: grid; gap: 10px; }
.after li b { color: var(--ink); font-weight: 500; }
.formats { margin-top: 20px; font-size: 13px; color: var(--mute); }
.formats code { font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: var(--chip); padding: 2px 5px; }

footer { border-top: 1px solid var(--hair); padding: 22px 0 28px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
footer .l { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; }
footer .r { color: var(--mute); }
