/* Cirevo · edição comercial — one magazine cover on a proofing table; the coverlines are what the company sells. */
:root {
  --ink: #151311; --ink2: #46423D; --ink3: #615C55;
  --paper: #FCFCFA; --desk: #D3D2CC; --side: #EDEDEA; --proof: #F3F2EE; --line: rgba(21, 19, 17, .16);
  --disp: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif; --text: 'Work Sans', 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rail: 216px; --sidew: 468px;
  --hot: #E4553D; --hot-ink: #B0381F; --hot-soft: #FBE4DE;
}
html[data-scheme="petroleo"] { --hot: #2A8C9C; --hot-ink: #17616E; --hot-soft: #DBEDEF; }
html[data-scheme="mostarda"] { --hot: #E2A41F; --hot-ink: #845D05; --hot-soft: #F7ECCD; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--desk); color: var(--ink); font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--hot); color: var(--ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

.studio { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr) var(--sidew); align-items: start; }

/* ---------- rail: the reference's choices (view, colour scheme) as the tools of a proofing table ---------- */
.rail { position: sticky; top: 0; height: 100vh; height: 100svh; max-height: 1200px; overflow: auto; padding: 30px 22px 24px; display: flex; flex-direction: column; gap: 22px; border-right: 1px solid rgba(21, 19, 17, .28); }
.imprint { display: inline-block; align-self: flex-start; }
.imprint img { height: 30px; width: auto; display: block; }
.rail-kick { font: italic 500 31px/1 var(--disp); letter-spacing: -.02em; margin: 6px 0 -14px; }
.rail-sub { font: 600 11px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin: 0; }
.tool-l { display: block; font: 600 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin-bottom: 9px; }
.seg { display: inline-flex; border: 1px solid var(--ink); background: rgba(252, 252, 250, .5); }
.seg-b { padding: 10px 13px; background: transparent; border: 0; font: 600 13px/1 var(--text); letter-spacing: .02em; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.seg-b + .seg-b { border-left: 1px solid var(--ink); }
.seg-b[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg-b:not([aria-pressed="true"]):hover { background: rgba(21, 19, 17, .08); }
/* the proof colour bar: patches stacked edge to edge, the chosen one runs out further */
.bar { display: flex; flex-direction: column; border-left: 1px solid var(--ink); }
.bar-k { display: block; width: 46px; height: 12px; background: var(--ink); }
.sw { display: flex; align-items: center; gap: 12px; padding: 0; background: none; border: 0; cursor: pointer; text-align: left; font: 500 14px/1 var(--text); }
.sw i { display: block; width: 46px; height: 30px; transition: width .5s var(--ease); }
.sw[data-scheme="coral"] i { background: #E4553D; } .sw[data-scheme="petroleo"] i { background: #2A8C9C; } .sw[data-scheme="mostarda"] i { background: #E2A41F; }
.sw[aria-pressed="true"] i { width: 66px; } .sw[aria-pressed="true"] span { font-weight: 700; }
.sw[aria-pressed="true"] span::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-left: 8px; vertical-align: 2px; }
.sw:hover span { text-decoration: underline; text-underline-offset: 3px; }
.rail-hint { font-size: 13.5px; line-height: 1.5; color: var(--ink2); margin: auto 0 0; }
.rail-hint b { color: var(--ink); font-weight: 600; }
.rail-count { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 0; border-top: 1px solid var(--ink); font: 600 11.5px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.rail-count b { font: 700 26px/1 var(--disp); letter-spacing: 0; }

/* ---------- desk: the light table, a centimetre grid, the trimmed cover with its marks ---------- */
.desk { position: sticky; top: 0; height: 100vh; height: 100svh; max-height: 1200px; display: grid; place-items: center; padding: 40px 48px; min-width: 0;
  background-color: var(--desk); background-image: linear-gradient(rgba(21, 19, 17, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 19, 17, .055) 1px, transparent 1px); background-size: 37.8px 37.8px; background-position: -1px -1px; }
.trim { position: relative; width: min(100%, calc((min(100svh, 1200px) - 80px) * 202 / 266)); }
.sheet { position: relative; container-type: inline-size; background: var(--paper); outline: 1px solid rgba(21, 19, 17, .55);
  box-shadow: 0 1px 0 rgba(21, 19, 17, .1), 0 10px 20px -12px rgba(30, 24, 18, .45), 0 40px 70px -34px rgba(30, 24, 18, .6); transform-origin: 0 50%; }
.cm { position: absolute; width: 0; height: 0; }
.cm::before, .cm::after { content: ''; position: absolute; background: var(--ink); }
.cm::before { width: 24px; height: 1px; } .cm::after { width: 1px; height: 24px; }
.cm-tl { left: 0; top: 0; } .cm-tl::before { right: 10px; top: 0; } .cm-tl::after { left: 0; bottom: 10px; }
.cm-tr { right: 0; top: 0; } .cm-tr::before { left: 10px; top: 0; } .cm-tr::after { right: 0; bottom: 10px; }
.cm-bl { left: 0; bottom: 0; } .cm-bl::before { right: 10px; bottom: 0; } .cm-bl::after { left: 0; top: 10px; }
.cm-br { right: 0; bottom: 0; } .cm-br::before { left: 10px; bottom: 0; } .cm-br::after { right: 0; top: 10px; }
.reg { position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1px solid var(--ink); border-radius: 50%;
  background: linear-gradient(var(--ink), var(--ink)) center / 1px 30px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 30px 1px no-repeat; overflow: visible; }
.reg-l { left: -38px; } .reg-r { right: -38px; }

/* ---------- the cover ---------- */
.face { position: relative; min-height: calc(100cqw * 266 / 202); overflow: hidden; }
@media (min-width: 901px) { .face { height: calc(100cqw * 266 / 202); } }
.cover { display: flex; flex-direction: column; padding: 3.4cqw 5cqw 0; }
.face::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 14%), linear-gradient(0deg, rgba(21, 19, 17, .06), rgba(21, 19, 17, 0) 2.5%), linear-gradient(90deg, rgba(21, 19, 17, .07), rgba(21, 19, 17, 0) 1.6%); }
.dateline { display: flex; justify-content: space-between; gap: 2cqw; font: 600 max(9px, 1.45cqw)/1 var(--text); letter-spacing: .16em; text-transform: uppercase; padding-bottom: 1.3cqw; border-bottom: 1px solid var(--ink); }
.mast { margin: 2cqw 0 0; font: 900 21cqw/.78 var(--disp); letter-spacing: -.03em; white-space: nowrap; font-optical-sizing: auto; }
.mast-t { display: inline-block; }
.tagline { align-self: flex-end; margin: 2.2cqw 0 0; padding-top: 1.1cqw; border-top: 1px solid var(--ink); font: italic 500 max(12px, 2.25cqw)/1.15 var(--disp); text-align: right; max-width: 70cqw; }
.lines { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 7cqw; margin: 3cqw 0 3.2cqw; }
.lines ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2.6cqw; }
.col-r { text-align: right; }
.cl { display: block; width: 100%; padding: 0; margin: 0; background: none; border: 0; text-align: inherit; cursor: pointer; color: var(--ink); }
.cl-top { display: flex; align-items: center; gap: 1cqw; }
.col-r .cl-top { justify-content: flex-end; }
.cl-n { flex: none; padding: .45cqw .6cqw; border: 1px solid var(--ink); font: 700 max(9px, 1.3cqw)/1 var(--text); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.cl-t { display: block; margin: .9cqw 0 0; font: 600 max(15px, 4.3cqw)/1 var(--disp); letter-spacing: -.012em; text-wrap: balance; text-decoration: underline 0 transparent; text-underline-offset: .14em; transition: text-decoration-color .3s var(--ease), text-decoration-thickness .3s var(--ease); }
.lines li:first-child .cl-t { font-size: max(17px, 5.4cqw); font-weight: 700; }
.lines li:nth-child(3) .cl-t { font-style: italic; font-weight: 500; color: var(--hot-ink); }
.cl-p { font: italic 600 max(12px, 2.2cqw)/1 var(--disp); color: var(--hot-ink); white-space: nowrap; }
.cl-p em { font: 600 max(8.5px, 1.1cqw)/1 var(--text); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); margin-left: .8cqw; vertical-align: .15em; }
.cl:hover .cl-t { text-decoration-color: var(--hot); text-decoration-thickness: .08em; }
.cl:focus-visible { outline: 2px solid var(--ink); outline-offset: 1.2cqw; }
.dot { display: inline-block; width: 0; height: .4em; border-radius: 50%; background: var(--hot-ink); margin-right: 0; vertical-align: .14em; transform: scale(0); transition: transform .5s var(--ease), width .5s var(--ease), margin .5s var(--ease); }
.on-ed .dot { width: .4em; margin-right: .22em; transform: scale(1); }

.field { position: relative; z-index: 1; flex: 1 0 auto; min-height: 36cqw; margin: auto -5cqw 0; padding: 3.6cqw 5cqw 4.6cqw; background: var(--hot); overflow: hidden; display: flex; align-items: flex-end; transition: background-color .6s var(--ease); }
.glyph { position: absolute; right: -2cqw; bottom: -10cqw; font: 400 56cqw/.86 var(--disp); letter-spacing: -.04em; color: var(--paper); white-space: nowrap; pointer-events: none; font-optical-sizing: auto; }
.glyph[data-len="1"] { font-size: 68cqw; bottom: -13cqw; }
.glyph[data-len="3"] { font-size: 42cqw; bottom: -6cqw; }
.lead { position: relative; z-index: 1; max-width: 64cqw; }
.lead-k { margin: 0 0 1.6cqw; font: 600 max(9.5px, 1.4cqw)/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.lead-k span { display: inline-block; background: var(--ink); color: var(--paper); padding: .55cqw .9cqw; margin-right: .3cqw; }
.lead-t { margin: 0; font: italic 500 max(28px, 8.8cqw)/.92 var(--disp); letter-spacing: -.028em; text-wrap: balance; }
.lead .dot { background: var(--ink); }
.lead-d { margin: 1.5cqw 0 0; max-width: 44cqw; font: 500 max(12.5px, 2cqw)/1.35 var(--text); }
.lead-p { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .6cqw 1.4cqw; margin: 2cqw 0 0; padding: 1.1cqw 1.6cqw; background: var(--paper); border: 1px solid var(--ink); }
.lead-p b { font: 700 max(17px, 3.6cqw)/1 var(--disp); letter-spacing: -.01em; }
.lead-p span { font: 600 max(9px, 1.2cqw)/1.25 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.lead-go { display: none; }
.lead[data-long] .lead-t { font-size: max(26px, 7.6cqw); }

/* ---------- the contents page, other side of the sheet ---------- */
.toc { padding: 4.6cqw 5cqw 4cqw; display: flex; flex-direction: column; }
.toc-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 3cqw; padding-bottom: 1.6cqw; border-bottom: 2px solid var(--ink); }
.toc-t { margin: 0; font: italic 500 11.5cqw/.84 var(--disp); letter-spacing: -.035em; }
.toc-d { margin: 0 0 .6cqw; font: 600 max(9px, 1.35cqw)/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; text-align: right; }
.toc-b { display: grid; grid-template-columns: minmax(0, 1fr) 23cqw; gap: 4.4cqw; margin-top: 1.2cqw; flex: 1; }
.te-h { margin: 2cqw 0 .3cqw; padding-bottom: .7cqw; border-bottom: 1px solid var(--ink); font: 700 max(9.5px, 1.3cqw)/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--hot-ink); }
.te { display: grid; grid-template-columns: 11cqw minmax(0, 1fr) auto; grid-template-areas: "pg t p" "pg d d"; gap: 0 2cqw; align-items: baseline; width: 100%; padding: .95cqw 0; margin: 0; background: none; border: 0; border-bottom: 1px dotted rgba(21, 19, 17, .45); text-align: left; cursor: pointer; color: var(--ink); transition: background-color .35s var(--ease); }
.te:hover { background: var(--proof); }
.te.is-sel { background: var(--hot-soft); box-shadow: inset 3px 0 0 var(--hot-ink); }
.te-pg { grid-area: pg; font: 500 max(17px, 4.1cqw)/.9 var(--disp); color: var(--hot-ink); padding-left: 1cqw; white-space: nowrap; font-variant-numeric: lining-nums; }
.te-b { display: contents; }
.te-pg[data-len="5"] { font-size: max(13px, 2.9cqw); }
.te-t { grid-area: t; display: block; font: 600 max(14px, 2.55cqw)/1.05 var(--disp); }
.te-d { grid-area: d; display: block; margin-top: .35cqw; font: 400 max(11px, 1.5cqw)/1.35 var(--text); color: var(--ink2); }
.te-p { grid-area: p; font: italic 600 max(12px, 1.95cqw)/1 var(--disp); white-space: nowrap; padding-right: .6cqw; }
.te-n { margin: 1.6cqw 0 0; font: 600 max(9px, 1.2cqw)/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); }
.exped { align-self: start; margin-top: 2.2cqw; padding-left: 2.4cqw; border-left: 1px solid var(--ink); font: 400 max(11px, 1.4cqw)/1.45 var(--text); overflow-wrap: anywhere; }
.exped h3 { margin: 0 0 1.8cqw; font: italic 600 max(17px, 3cqw)/1 var(--disp); }
.exped p { margin: 0 0 1.4cqw; } .exped a { color: inherit; }
.ex-todo { color: var(--ink3); font-style: italic; }

/* ---------- the side column: ficha, my edition, closing ---------- */
.side { min-width: 0; background: var(--side); border-left: 1px solid var(--ink); padding: 32px 36px 48px; position: relative; z-index: 2; }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font: 600 11.5px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.f-nav { display: inline-flex; flex: none; }
.f-arr { width: 38px; height: 38px; display: grid; place-items: center; background: transparent; border: 1px solid var(--ink); font: 400 24px/1 var(--disp); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.f-arr + .f-arr { border-left: 0; }
.f-arr:hover { background: var(--ink); color: var(--paper); }
.f-stamp { display: inline-block; margin: 22px 0 0; padding: 6px 9px 5px; border: 1px solid currentColor; font: 700 10.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--hot-ink); }
.f-k { margin: 18px 0 6px; font: 600 12px/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.f-t { margin: 0; font: italic 500 50px/.94 var(--disp); letter-spacing: -.025em; text-wrap: balance; }
.f-d { margin: 14px 0 0; font: 400 17px/1.5 var(--text); max-width: 38ch; }
.f-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 22px 0 4px; padding: 16px 0 14px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.f-p { font: 700 38px/1 var(--disp); letter-spacing: -.015em; }
.f-pu { font: 600 11.5px/1.35 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.f-dl { margin: 0; }
.f-dl > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.f-dl dt { padding-top: 3px; font: 600 11px/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.f-dl dd { margin: 0; font: 400 15px/1.55 var(--text); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline; padding: 3px 0; }
.steps li + li::before { content: ''; position: absolute; left: 6px; top: -7px; height: 10px; border-left: 1px dotted var(--ink2); }
.steps b { font: 700 16px/1 var(--disp); color: var(--hot-ink); }
.steps-n { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--ink2); }
.take { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 22px; padding: 17px 20px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 2px; font: 600 15px/1 var(--text); letter-spacing: .03em; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.take:hover { transform: translateY(-1px); background: #2A2622; }
.take-dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; transition: background .35s var(--ease); }
.take.is-on { background: transparent; color: var(--ink); }
.take.is-on .take-dot { background: var(--hot-ink); border-color: var(--hot-ink); }
.take.is-on:hover { background: rgba(21, 19, 17, .06); }

.edicao { margin-top: 46px; padding-top: 16px; border-top: 3px double var(--ink); }
.e-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 10px; font: italic 500 34px/1 var(--disp); letter-spacing: -.02em; }
.e-n { font: 600 11.5px/1 var(--text); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.e-n b { font: 700 24px/1 var(--disp); letter-spacing: 0; color: var(--hot-ink); margin-right: 4px; }
.e-list { list-style: none; margin: 0; padding: 0; }
.e-list li { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.e-go { flex: 1; min-width: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 0; background: none; border: 0; text-align: left; cursor: pointer; }
.e-go:hover .e-tt { text-decoration: underline; text-underline-offset: 3px; }
.e-pg { font: 500 19px/1 var(--disp); color: var(--hot-ink); }
.e-tt { font: 600 15px/1.3 var(--text); }
.e-pr { font: italic 600 15px/1 var(--disp); white-space: nowrap; }
.e-x { flex: none; width: 40px; background: none; border: 0; font: 400 22px/1 var(--text); color: var(--ink2); cursor: pointer; }
.e-x:hover { color: var(--ink); }
.e-empty { margin: 4px 0 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.close-ed { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 18px; padding: 18px 20px; background: var(--hot); color: var(--ink); border: 1px solid var(--ink); border-radius: 2px; font: italic 600 26px/1 var(--disp); letter-spacing: -.01em; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .6s var(--ease); }
.close-ed:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.close-ed:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.ce-a { font: 400 22px/1 var(--text); font-style: normal; transition: transform .4s var(--ease); }
.close-ed.is-open .ce-a { transform: rotate(180deg); }
.e-how { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink2); }

.pedido { margin-top: 26px; padding: 24px 24px 20px; background: var(--paper); border: 1px solid var(--ink); }
.p-t { margin: 0; font: italic 500 32px/1 var(--disp); letter-spacing: -.02em; }
.p-sub { margin: 8px 0 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.fld { display: block; margin-top: 14px; min-width: 0; }
.fld > span { display: block; margin-bottom: 4px; font: 600 11px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.fld input, .fld textarea { display: block; width: 100%; padding: 8px 0 7px; background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; font: 400 16px/1.4 var(--text); color: var(--ink); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.fld textarea { resize: vertical; min-height: 64px; }
.fld input::placeholder, .fld textarea::placeholder { color: #75706A; opacity: 1; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--hot-ink); box-shadow: 0 1.5px 0 var(--hot-ink); }
.fld-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
.proof { margin-top: 18px; padding: 12px 14px; background: var(--proof); border: 1px dashed rgba(21, 19, 17, .45); }
.proof-l { font: 700 10.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--hot-ink); }
.proof-t { margin: 8px 0 0; max-height: 210px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 12.5px/1.5 var(--text); color: var(--ink); }
.p-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.send { padding: 16px 20px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 2px; font: 600 15px/1 var(--text); cursor: pointer; transition: transform .3s var(--ease); }
.send:hover { transform: translateY(-1px); }
.call { padding: 15px 16px; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); text-decoration: none; font: 600 14px/1 var(--text); white-space: nowrap; }
.call:hover { background: rgba(21, 19, 17, .06); }
.p-status { min-height: 1.2em; margin: 10px 0 8px; font-size: 13.5px; line-height: 1.45; }
.p-status.is-bad { color: #9A2914; } .p-status.is-ok { color: var(--ink); }

.side-end { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--ink); }
.rule-note { margin: 0 0 14px; font: italic 500 17px/1.45 var(--disp); }
.small { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink2); }
.small a, .lnk { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lnk { padding: 0; background: none; border: 0; font: inherit; cursor: pointer; }

footer.seller { position: relative; z-index: 2; background: var(--paper); color: var(--ink); border-top: 2px solid var(--ink); }

/* ---------- entrance: masthead rises, lines arrive by column, the field fills from below ---------- */
html.enter .mast-t { opacity: 0; transform: translateY(24%); }
html.enter .lines li .cl, html.enter .tagline, html.enter .dateline { opacity: 0; transform: translateY(12px); }
html.enter .field { clip-path: inset(100% 0 0 0); }
html.enter .glyph { transform: translateY(18%); }
html.entered .mast-t { opacity: 1; transform: none; transition: opacity .7s var(--ease) .05s, transform 1.1s var(--ease) .05s; }
html.entered .dateline { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
html.entered .tagline { opacity: 1; transform: none; transition: opacity .6s var(--ease) .35s, transform .8s var(--ease) .35s; }
html.entered .lines li .cl { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .9s var(--ease); }
html.entered .col-l li:nth-child(1) .cl { transition-delay: .45s; } html.entered .col-l li:nth-child(2) .cl { transition-delay: .53s; } html.entered .col-l li:nth-child(3) .cl { transition-delay: .61s; } html.entered .col-l li:nth-child(4) .cl { transition-delay: .69s; } html.entered .col-l li:nth-child(5) .cl { transition-delay: .77s; }
html.entered .col-r li:nth-child(1) .cl { transition-delay: .5s; } html.entered .col-r li:nth-child(2) .cl { transition-delay: .58s; } html.entered .col-r li:nth-child(3) .cl { transition-delay: .66s; } html.entered .col-r li:nth-child(4) .cl { transition-delay: .74s; } html.entered .col-r li:nth-child(5) .cl { transition-delay: .82s; }
html.entered .field { clip-path: inset(0 0 0 0); transition: clip-path 1.05s var(--ease) .2s, background-color .6s var(--ease); }
html.entered .glyph { transform: none; transition: transform 1.4s var(--ease) .3s; }
html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1260px) { :root { --rail: 190px; --sidew: 410px; } .desk { padding: 36px 40px; } .side { padding: 28px 28px 44px; } .f-t { font-size: 44px; } }
@media (max-width: 1080px) {
  .studio { grid-template-columns: minmax(0, 1fr) 390px; }
  .rail { grid-column: 1 / -1; position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding: 16px 24px; border-right: 0; border-bottom: 1px solid rgba(21, 19, 17, .28); }
  .rail-kick, .rail-sub, .rail-hint { display: none; }
  .tool { display: flex; align-items: center; gap: 10px; } .tool-l { margin: 0; }
  .bar { flex-direction: row; border-left: 0; } .sw { gap: 6px; padding-right: 10px; } .sw i { width: 26px; height: 22px; } .sw[aria-pressed="true"] i { width: 26px; box-shadow: inset 0 0 0 2px var(--ink); }
  .bar-k { display: none; }
  .rail-count { border-top: 0; padding: 0; gap: 10px; margin-left: auto; }
  .desk { height: auto; min-height: calc(100svh - 110px); padding: 34px 36px; }
  .trim { width: min(100%, calc((100svh - 190px) * 202 / 266)); }
  .reg { display: none; }
}
@media (max-width: 900px) {
  .studio { display: block; }
  .rail { padding: 14px 16px; gap: 12px 18px; }
  .imprint img { height: 26px; }
  .tool-l { display: none; }
  .desk { position: static; height: auto; padding: 30px 22px 34px; }
  .trim { width: 100%; }
  .cm::before { width: 14px; } .cm::after { height: 14px; }
  .cm-tl::before, .cm-bl::before { right: 6px; } .cm-tr::before, .cm-br::before { left: 6px; } .cm-tl::after, .cm-tr::after { bottom: 6px; } .cm-bl::after, .cm-br::after { top: 6px; }
  .side { min-height: 0; border-left: 0; border-top: 1px solid var(--ink); padding: 26px 16px 40px; }
  .f-t { font-size: 40px; } .f-p { font-size: 32px; }
  .f-dl > div { grid-template-columns: 1fr; gap: 6px; }
  .lead-go { display: inline-flex; gap: 6px; margin-top: 3cqw; padding: 9px 12px; background: var(--ink); color: var(--paper); border: 0; font: 600 13px/1 var(--text); cursor: pointer; }
}
@media (max-width: 560px) { .fld-2 { grid-template-columns: 1fr; } .sw span { display: none; } .sw { padding-right: 6px; } .rail-count span { display: none; } .pedido { padding: 20px 16px 18px; } }
@container (max-width: 520px) {
  .lines { gap: 0 5cqw; } .lines ol { gap: 3.4cqw; }
  .lead { max-width: 80cqw; } .lead-d { max-width: 70cqw; }
  .toc-b { grid-template-columns: 1fr; } .exped { border-left: 0; border-top: 1px solid var(--ink); padding: 3cqw 0 0; }
  .te { grid-template-columns: 14cqw minmax(0, 1fr) auto; }
}

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: cirevo */
.ck { left: var(--cv-l, 16px); bottom: var(--cv-b, 96px); width: var(--cv-w, 620px); max-width: calc(100vw - 20px); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k b" "t b" "p b"; column-gap: 26px; padding: 15px 34px 15px; background: #151311; color: #FCFCFA; font-family: 'Work Sans', 'Segoe UI', Arial, sans-serif; border-top: 3px solid var(--hot, #E4553D); border-bottom: 3px solid var(--hot, #E4553D); box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 14px 22px -12px rgba(10, 8, 6, .65); animation: ck-wrap .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes ck-wrap { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
.ck::before, .ck::after { content: ''; position: absolute; top: -3px; bottom: -3px; width: 16px; pointer-events: none; }
.ck::before { left: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .25) 45%, rgba(255, 255, 255, .07) 70%, rgba(0, 0, 0, 0)); }
.ck::after { right: 0; background: linear-gradient(270deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .25) 45%, rgba(255, 255, 255, .07) 70%, rgba(0, 0, 0, 0)); }
.ck .ck-k { grid-area: k; font: 700 10.5px/1.2 'Work Sans', Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--hot, #E4553D); }
.ck .ck-t { grid-area: t; }
.ck .ck-t b { display: block; margin: 5px 0 4px; font: italic 500 23px/1.05 'Bodoni Moda', Didot, Georgia, serif; letter-spacing: -.015em; color: #FCFCFA; }
.ck .ck-p { grid-area: p; font-size: 12.5px; line-height: 1.45; color: #D9D6D0; max-width: 56ch; }
.ck .b { grid-area: b; margin-top: 0; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding-left: 22px; border-left: 1px dashed rgba(252, 252, 250, .35); }
.ck button { min-width: 112px; padding: 8px 12px; border-radius: 1px; font: 700 11px/1 'Work Sans', Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; transition: background .3s cubic-bezier(.16, 1, .3, 1), color .3s cubic-bezier(.16, 1, .3, 1); }
.ck button.ok { background: #FCFCFA; color: #151311; border: 1px solid #FCFCFA; }
.ck button.ok:hover { background: var(--hot, #E4553D); border-color: var(--hot, #E4553D); }
.ck button.no { background: transparent; color: #FCFCFA; border: 1px solid rgba(252, 252, 250, .6); }
.ck button.no:hover { border-color: #FCFCFA; background: rgba(252, 252, 250, .1); }
.ck a.more { text-align: center; padding: 4px 0 0; font: 600 11px/1.2 'Work Sans', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #FCFCFA; text-decoration: underline; text-underline-offset: 3px; }
.ck button:focus-visible, .ck a.more:focus-visible { outline: 2px solid var(--hot, #E4553D); outline-offset: 2px; }
@media (max-width: 900px) { .ck { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 14px 22px; } }
@media (max-width: 600px) { .ck { grid-template-columns: 1fr; grid-template-areas: "k" "t" "p" "b"; } .ck .b { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 0 0; margin-top: 10px; border-left: 0; border-top: 1px dashed rgba(252, 252, 250, .35); } .ck button { min-width: 0; } .ck a.more { padding: 0 0 0 6px; } }
html.static .ck { animation: none; }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
