/* home-cut.css — the home, «La mesa de corte» (r1210, 11-11-2026).
   ==========================================================================
   Only the home loads this (tools/home-cut.cjs writes the screens, for / and /es/ through tools/build-home.cjs
   and for /de/, /fr/, /pt/ and /it/ through tools/i18n/home.cjs). Eight screens, each as tall as the window and
   each one colour: ink, mint, amber, coral, paper, indigo, green, mint. Type is the site's Archivo; the giant
   words and figures are its condensed cut (wdth 62, weight 900).
   Everything is visible without JavaScript: the opening animations are plain CSS that ends in the resting
   state, and what waits for the scroll is hidden only once assets/js/home-cut.js has put .mc-io on <html>.
   Viewport units are divided by --zc, as everywhere on the site (base.css zooms the page on big screens).
   ========================================================================== */
.home-cut{
  --mc-ink:#0b0f0e; --mc-paper:#f4f1ea; --mc-mint:#79e0cc; --mc-amber:#f6b93b; --mc-coral:#ff6b3d; --mc-lilac:#b9a7ff; --mc-green:#0f6e56; --mc-indigo:#23236b;
  --mc-sheet:#161d1b; --mc-rule:rgba(244,241,234,.16);
  --mc-vw:calc(1vw / var(--zc,1)); --mc-vh:calc(1vh / var(--zc,1));
  --mc-gut:max(20px, calc(4.2 * var(--mc-vw)));
  --mc-head:61px;
}
@supports (height:1svh){ .home-cut{ --mc-vh:calc(1svh / var(--zc,1)); } }
.mc-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; font-size:12px; letter-spacing:0; }

/* ---------- the site's header, in the tone of the screen under it ----------
   Without JavaScript it is a solid ink bar. home-cut.js sets data-mc-tone (dark, light, or site once the
   screens are behind) and --mc-hbg, the colour of the screen under it, so it reads as part of that screen. */
.home-cut .site-head:not([data-mc-tone="site"]){
  --ink:#f4f1ea; --ink-2:#dedbd3; --ink-3:#b9b6ae; --paper:#1d2624; --surface:#0b0f0e; --rule:#2c3633; --rule-2:#55605c; --glass:#79e0cc; --glass-tint:#12332c; --glass-deep:#79e0cc;
  background:var(--mc-hbg, var(--mc-ink)); border-bottom-color:transparent; color-scheme:dark; transition:background-color .25s ease;
}
.home-cut .site-head[data-mc-tone="light"]{
  --ink:#0b0f0e; --ink-2:#161d1b; --ink-3:#2a3330; --paper:#f4f1ea; --surface:#f4f1ea; --rule:rgba(11,15,14,.28); --rule-2:rgba(11,15,14,.5); --glass:#0b0f0e; --glass-tint:#f4f1ea; --glass-deep:#0b0f0e;
  color-scheme:light;
}
/* the bar as wide as the screens; from 1300 px its edges are the screens' gutters (below that the bar keeps the
   site's own padding, which is what tools/test/ui-nav-fit.mjs has measured to fit on one row) */
.home-cut .site-head .wrap{ max-width:none; }
@media (min-width:1300px){ .home-cut .site-head .wrap{ padding:0 var(--mc-gut); } }
.home-cut .site-head:not([data-mc-tone="site"]) .sfp-btn,
.home-cut .site-head:not([data-mc-tone="site"]) .menu-btn{ background:transparent; }
.home-cut main > .langbar{ margin:0; border-radius:0; border:0; padding:8px var(--mc-gut); background:#1d2624; color:var(--mc-paper); }
.home-cut main > .langbar a{ color:var(--mc-mint); }
.home-cut main > .langbar button{ color:var(--mc-paper); }

/* ---------- a screen ---------- */
.mc-screen{ position:relative; min-height:max(calc(100 * var(--mc-vh)), 620px); padding:96px var(--mc-gut) 56px; display:grid; overflow:hidden; --p:.5; --mc-focus:var(--mc-ink);
  font-family:var(--font); color:var(--mc-ink); }
.mc-screen[data-mc="dark"]{ color:var(--mc-paper); --mc-focus:var(--mc-lilac); }
/* a jump to a screen puts its top at the window's: base.css keeps 76 px free for the header on ordinary pages, and here the header sits on the screen */
.mc-screen[id]{ scroll-margin-top:-76px; }
.mc-screen + .mc-screen::before{ content:""; position:absolute; inset:0 0 auto 0; height:4px; background:currentColor; transform-origin:left; transform:scaleX(calc(var(--p) * 2.2)); }
.mc-screen :where(h1,h2,p,ul,ol,figure){ margin:0; padding:0; color:inherit; }
.mc-screen :where(ul,ol){ list-style:none; }
.mc-screen :where(a){ color:inherit; }
.mc-screen :focus-visible{ outline:3px solid var(--mc-focus); outline-offset:3px; }
.mc-screen b{ font-weight:800; }
.mc-eyebrow{ font-size:.86rem; line-height:1.3; font-weight:700; font-stretch:100%; letter-spacing:.14em; text-transform:uppercase; margin:0 0 18px !important; display:flex; gap:12px; align-items:center; white-space:normal; }
.mc-eyebrow::before{ content:""; flex:0 0 34px; height:4px; background:currentColor; }
.mc-btn{ display:inline-flex; align-items:center; gap:12px; min-height:60px; padding:0 30px; border-radius:999px; font:inherit; font-weight:800; font-size:1.12rem; line-height:1.15; text-decoration:none; border:2.5px solid currentColor; cursor:pointer;
  transition:transform .18s ease, background-color .18s ease, color .18s ease; }
.mc-btn:hover{ transform:translateY(-2px); }
.mc-btn:active{ transform:translateY(0) scale(.98); }
.mc-arr{ display:inline-block; transition:transform .18s ease; }
.mc-btn:hover .mc-arr{ transform:translateX(5px); }
.mc-screen a.mc-solid{ background:var(--mc-paper); color:var(--mc-ink); border-color:var(--mc-paper); }
.mc-screen a.mc-dark{ background:var(--mc-ink); color:var(--mc-paper); border-color:var(--mc-ink); }
.mc-h2{ font-weight:800; font-stretch:104%; font-size:clamp(2.3rem, calc(5 * var(--mc-vw) * var(--mc-k,1)), 5.4rem); line-height:.94; letter-spacing:-.03em; text-wrap:balance; margin-bottom:24px !important; }

/* ---------- 1 · the promise ---------- */
.mc-hero{ background:var(--mc-ink); min-height:max(calc(100 * var(--mc-vh) - var(--mc-head)), 560px); padding-top:36px; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:calc(4 * var(--mc-vw)); align-items:center; }
.mc-h1{ font-weight:800; font-stretch:var(--mc-st,100%); font-size:clamp(2.2rem, calc(var(--mc-fd,6.9) * var(--mc-vw)), 7.6rem); line-height:.93; letter-spacing:-.035em; white-space:nowrap; text-wrap:initial; }
.mc-h1 em{ font-style:normal; color:var(--mc-mint); }
.mc-lead{ font-size:clamp(1.05rem, calc(1.45 * var(--mc-vw)), 1.42rem); line-height:1.42; max-width:31em; margin:26px 0 30px !important; color:rgba(244,241,234,.86) !important; }
.mc-lead span{ display:inline; }
.mc-cta{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.mc-cta small{ flex-basis:100%; font-size:.95rem; color:rgba(244,241,234,.7); margin-top:6px; }
.mc-facts{ display:flex; flex-wrap:wrap; gap:10px 34px; margin:34px 0 0 !important; padding:20px 0 0 !important; border-top:1px solid var(--mc-rule); font-size:.98rem; color:rgba(244,241,234,.8) !important; }
.mc-facts b{ color:var(--mc-paper); }
.mc-plan{ position:relative; align-self:center; margin:calc(5 * var(--mc-vw)) 40px 0 !important; transform:perspective(1400px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition:transform .25s ease-out; }
.mc-plan-box{ position:relative; }
.mc-screen svg{ display:block; width:100%; max-width:none; height:auto; }
.mc-plan svg{ filter:drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.mc-yield{ position:absolute; right:.06em; bottom:.04em; font-stretch:62%; font-weight:900; font-size:clamp(4.2rem, calc(10.5 * var(--mc-vw)), 11rem); line-height:.8; letter-spacing:-.03em; color:var(--mc-paper); pointer-events:none; text-shadow:0 6px 0 var(--mc-ink); font-variant-numeric:tabular-nums; }
.mc-yield small{ display:block; font-stretch:100%; font-size:.95rem; line-height:1.2; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin:0 0 10px .3em; }
.mc-plan figcaption{ margin-top:16px; font-size:.9rem; line-height:1.3; color:rgba(244,241,234,.66); }
.mc-pc{ stroke:var(--mc-ink); stroke-width:10; }
.mc-c0{ fill:var(--mc-lilac); } .mc-c1{ fill:var(--mc-amber); } .mc-c2{ fill:var(--mc-coral); } .mc-c3{ fill:var(--mc-mint); } .mc-c4{ fill:var(--mc-paper); }
.mc-labs{ position:absolute; inset:0; pointer-events:none; }
.mc-labs span{ position:absolute; transform:translate(-50%,-50%); font-size:clamp(8px, calc(.75 * var(--mc-vw)), 13px); line-height:1; font-weight:700; color:var(--mc-ink); white-space:nowrap; }
.mc-off{ fill:none; stroke:rgba(244,241,234,.5); stroke-width:6; stroke-dasharray:28 18; }
.mc-bed{ fill:var(--mc-sheet); }

/* ---------- 2 · the three materials ---------- */
.mc-mat{ grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); grid-template-rows:auto 1fr; gap:0 calc(4 * var(--mc-vw)); }
.mc-glass{ background:var(--mc-mint); } .mc-wood{ background:var(--mc-amber); } .mc-bars-s{ background:var(--mc-coral); }
.mc-word{ grid-column:1 / -1; font-stretch:62%; font-weight:900; text-transform:uppercase; font-size:clamp(3.6rem, calc(21 * var(--mc-vw)), 23rem); line-height:.78; letter-spacing:-.02em; white-space:nowrap; text-wrap:initial;
  transform:translateX(calc((.5 - var(--p)) * 9 * var(--mc-vw))); will-change:transform; }
.mc-copy{ align-self:end; max-width:34em; }
.mc-copy > p:first-child{ font-size:clamp(1.12rem, calc(1.6 * var(--mc-vw)), 1.5rem); line-height:1.36; font-weight:500; margin:0 0 20px !important; }
.mc-stat{ display:flex; flex-wrap:wrap; gap:8px 30px; margin:0 0 26px !important; font-size:1rem; line-height:1.4; }
.mc-stat b{ display:block; font-stretch:62%; font-weight:900; font-size:clamp(2.2rem, calc(3.6 * var(--mc-vw)), 3.8rem); line-height:1; }
.mc-ex{ font-size:.9rem; line-height:1.4; margin:14px 0 0 !important; }
.mc-vis{ align-self:end; display:grid; gap:10px; }
.mc-sheets{ grid-template-columns:repeat(2, 1fr); width:100%; max-width:min(560px, calc(62 * var(--mc-vh))); justify-self:end; }
.mc-wood .mc-sheets{ max-width:min(700px, calc(86 * var(--mc-vh))); }
.mc-vis .mc-bed{ fill:var(--mc-ink); }
.mc-glass .mc-c0{ fill:var(--mc-paper); } .mc-glass .mc-c1{ fill:#bff3e8; } .mc-glass .mc-c2{ fill:var(--mc-mint); } .mc-glass .mc-c3{ fill:#3fb9a3; }
.mc-wood .mc-c0{ fill:var(--mc-paper); } .mc-wood .mc-c1{ fill:#ffd98a; } .mc-wood .mc-c2{ fill:var(--mc-amber); } .mc-wood .mc-c3{ fill:#d99412; } .mc-wood .mc-c4{ fill:#fff0cc; }
.mc-bars{ gap:8px; }
.mc-bar{ display:flex; height:clamp(20px, calc(3.2 * var(--mc-vh)), 30px); background:var(--mc-ink); padding:3px; gap:3px; transform-origin:left; }
.mc-bar span{ background:var(--mc-paper); display:grid; place-items:center; font-size:.74rem; line-height:1; font-weight:800; color:var(--mc-ink); min-width:0; overflow:hidden; }
.mc-bar .mc-rest{ background:none; border:2px dashed rgba(244,241,234,.6); color:var(--mc-paper); font-weight:600; white-space:nowrap; }

/* ---------- 3 · from the plan to the shop floor ---------- */
.mc-flow{ background:var(--mc-paper); grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:calc(5 * var(--mc-vw)); align-items:center; }
.mc-steps{ counter-reset:s; display:grid; }
.mc-steps li{ counter-increment:s; display:grid; grid-template-columns:74px 1fr; align-items:baseline; padding:15px 0; border-top:2px solid var(--mc-ink); font-size:clamp(1.02rem, calc(1.3 * var(--mc-vw)), 1.22rem); line-height:1.3; }
.mc-steps li:last-child{ border-bottom:2px solid var(--mc-ink); }
.mc-steps li::before{ content:"0" counter(s); font-stretch:62%; font-weight:900; font-size:2.1em; line-height:.9; }
.mc-price{ background:var(--mc-ink); color:var(--mc-paper); padding:clamp(26px, calc(3 * var(--mc-vw)), 44px); border-radius:6px; position:relative; --mc-focus:var(--mc-lilac); }
.mc-tag{ font-size:.86rem; line-height:1.3; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--mc-mint) !important; margin:0 0 6px !important; }
.mc-num{ font-stretch:62%; font-weight:900; font-size:clamp(6rem, calc(12 * var(--mc-vw) * var(--mc-k,1)), 12.5rem); line-height:.8; letter-spacing:-.02em; }
.mc-num small{ font-stretch:100%; font-size:1.15rem; font-weight:700; letter-spacing:0; margin-left:.5em; color:rgba(244,241,234,.78); }
.mc-num i{ font-style:normal; font-size:.5em; vertical-align:.62em; margin-right:.06em; }
.mc-price ul{ margin:24px 0 26px !important; display:grid; gap:9px; font-size:1.04rem; line-height:1.4; }
.mc-price li{ padding-left:28px; position:relative; }
.mc-price li::before{ content:""; position:absolute; left:0; top:.42em; width:14px; height:8px; border-left:3px solid var(--mc-mint); border-bottom:3px solid var(--mc-mint); transform:rotate(-45deg); }
.mc-fine{ margin:16px 0 0 !important; font-size:.93rem; line-height:1.45; color:rgba(244,241,234,.74) !important; }

/* ---------- 4 · the calculators ---------- */
.mc-calc{ background:var(--mc-indigo); align-content:center; }
.mc-row .mc-big{ font-stretch:62%; font-weight:900; font-size:clamp(7rem, calc(20 * var(--mc-vw)), 21rem); line-height:.74; color:var(--mc-lilac); letter-spacing:-.02em; max-width:none; margin:0; }
.mc-row{ display:grid; grid-template-columns:auto minmax(0,1fr); gap:calc(4 * var(--mc-vw)); align-items:end; }
.mc-calc .mc-h2{ font-size:clamp(2.1rem, calc(4.4 * var(--mc-vw) * var(--mc-k,1)), 4.8rem); }
.mc-row div > p{ font-size:clamp(1.05rem, calc(1.4 * var(--mc-vw)), 1.36rem); line-height:1.4; max-width:34em; margin:0 0 22px !important; color:rgba(244,241,234,.9) !important; }
.mc-find{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.mc-search{ flex:1 1 280px; max-width:440px; min-height:60px; display:flex; align-items:center; gap:12px; padding:0 22px; border-radius:999px; border:2.5px solid rgba(244,241,234,.55); text-decoration:none; font-size:1.06rem; line-height:1.2; font-weight:600; color:rgba(244,241,234,.92) !important; cursor:text; transition:border-color .18s ease, background-color .18s ease; }
.mc-search:hover{ border-color:var(--mc-paper); background:rgba(244,241,234,.08); }
.mc-search svg{ flex:0 0 22px; width:22px; height:22px; }
.mc-areas{ display:flex; flex-wrap:wrap; gap:4px 22px; margin:14px 0 0 !important; font-weight:700; font-size:1.02rem; }
.mc-areas a{ display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:6px; text-decoration-color:rgba(244,241,234,.45); }
.mc-areas a:hover{ color:var(--mc-lilac); text-decoration-color:currentColor; }
.mc-rail{ margin:38px calc(var(--mc-gut) * -1) 0; overflow-x:auto; white-space:nowrap; border-block:2px solid rgba(244,241,234,.25); scrollbar-width:none; }
.mc-rail::-webkit-scrollbar{ display:none; }
.mc-rail-in{ display:inline-block; padding:0 var(--mc-gut); font-weight:700; font-size:clamp(1.1rem, calc(1.7 * var(--mc-vw)), 1.6rem); line-height:1.2; }
.mc-rail a{ display:inline-flex; align-items:center; min-height:60px; text-decoration:none; padding:0 22px; position:relative; }
.mc-rail a + a::before, .mc-rail.mc-run a::before{ content:"·"; position:absolute; left:-.14em; }
.mc-rail a:hover{ color:var(--mc-lilac); }
.mc-rail.mc-run{ overflow:hidden; }
.mc-rail.mc-run .mc-rail-in{ padding:0; animation:mc-rail 60s linear infinite; }
.mc-rail.mc-run .mc-rail-in > span{ display:inline-block; }
.mc-rail.mc-run:hover .mc-rail-in, .mc-rail.mc-run:focus-within .mc-rail-in{ animation-play-state:paused; }
@keyframes mc-rail{ to{ transform:translateX(-50%); } }

/* ---------- 5 · who is behind it ---------- */
.mc-trust{ background:var(--mc-green); grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:calc(5 * var(--mc-vw)); align-items:center; }
.mc-year{ font-stretch:62%; font-weight:900; font-size:clamp(7rem, calc(22 * var(--mc-vw)), 24rem); line-height:.74; letter-spacing:-.02em; color:var(--mc-mint) !important; transform:translateX(calc((.5 - var(--p)) * -6 * var(--mc-vw))); }
.mc-trust ul{ display:grid; font-size:clamp(1.05rem, calc(1.35 * var(--mc-vw)), 1.3rem); line-height:1.45; }
.mc-trust li{ padding:16px 0; border-top:2px solid rgba(244,241,234,.4); }

/* ---------- 6 · the close ---------- */
.mc-end{ background:var(--mc-mint); place-content:center; text-align:center; justify-items:center; }
.mc-end .mc-h2{ font-size:clamp(3.4rem, calc(11 * var(--mc-vw) * var(--mc-k,1)), 12rem); line-height:.84; margin-bottom:34px !important; }
.mc-end p{ font-size:1.2rem; line-height:1.4; margin:22px 0 0 !important; font-weight:500; }

/* ---------- the motto and the long headings, language by language ----------
   --mc-fd / --mc-fm: the motto's size on a wide screen and on a phone, in hundredths of the window's width, so
   the longer of its two lines fills its column; --mc-k: the headings of a language with longer words. */
.home-cut:lang(en){ --mc-fd:6.9; --mc-fm:15; }
.home-cut:lang(es){ --mc-fd:6.9; --mc-fm:15.4; }
.home-cut:lang(de){ --mc-fd:5; --mc-fm:11.8; --mc-st:80%; --mc-k:.86; }
.home-cut:lang(fr){ --mc-fd:6.4; --mc-fm:13.4; --mc-k:.9; }
.home-cut:lang(pt){ --mc-fd:6.2; --mc-fm:13.8; }
.home-cut:lang(it){ --mc-fd:6.6; --mc-fm:14.8; }

/* ---------- narrow screens: the words first, the plan after ---------- */
@media (max-width:900px){
  .mc-screen{ padding:84px var(--mc-gut) 48px; }
  .mc-hero{ grid-template-columns:1fr; padding-top:28px; gap:34px; align-items:start; }
  .mc-h1{ font-size:calc(var(--mc-fm,15) * var(--mc-vw)); white-space:normal; }
  .mc-plan{ max-width:560px; margin:0 !important; }
  .mc-lead span{ display:block; }
  .mc-yield{ font-size:calc(21 * var(--mc-vw)); }
  .mc-yield small{ font-size:.72rem; margin-bottom:6px; }
  .mc-btn{ min-height:56px; padding:0 24px; font-size:1.04rem; }
  .mc-mat{ grid-template-columns:1fr; grid-template-rows:auto; }
  .mc-vis{ margin-top:26px; }
  .mc-sheets, .mc-wood .mc-sheets{ max-width:560px; justify-self:start; }
  .mc-flow, .mc-trust{ grid-template-columns:1fr; gap:34px; }
  .mc-steps li{ grid-template-columns:60px 1fr; }
  .mc-row{ grid-template-columns:1fr; gap:22px; }
  .mc-row .mc-big{ font-size:clamp(5.4rem, calc(30 * var(--mc-vw)), 12rem); }
  .mc-bar span{ font-size:.62rem; }
  .mc-bar span:not(.mc-rest){ letter-spacing:-.03em; }
}
@media (max-width:520px){
  .mc-cta .mc-btn, .mc-find .mc-btn{ width:100%; justify-content:center; }
  .mc-search{ flex-basis:100%; max-width:none; }
  .mc-bar .mc-rest{ font-size:0; }
}

/* ---------- motion ----------
   The opening runs by itself and ends in the resting state. The motto is on screen from the first frame (it is
   the largest thing on it and what the visitor came to read): it only settles into place. What is hidden until
   it scrolls into view is hidden only when home-cut.js is there to show it (.mc-io on <html>). */
@media (prefers-reduced-motion: no-preference){
  .mc-h1{ animation:mc-rise .9s cubic-bezier(.2,.8,.2,1) both; }
  .mc-h1 em{ animation:mc-ink .7s ease .35s both; }
  .mc-lead, .mc-cta, .mc-facts{ animation:mc-fade .7s ease .3s both; }
  .mc-cta{ animation-delay:.42s; } .mc-facts{ animation-delay:.54s; }
  /* r1840 (y097): the list becomes the plan: each piece waits in its row of the list (--lx, --ly, --ls from
     tools/home-cut.cjs) and goes to its place; the sizes and the offcuts come when the pieces are down. Only
     transform and opacity, on the drawing: the h1 stays the largest paint, at the first frame */
  .mc-plan .mc-pc{ animation:mc-list 1.1s cubic-bezier(.3,.7,.2,1) both; animation-delay:calc(.15s + var(--i) * 55ms); transform-box:fill-box; transform-origin:0 0; }
  .mc-labs, .mc-plan .mc-off, .mc-yield{ animation:mc-fade .5s ease 1.8s both; }
  .mc-yield{ animation-delay:.5s; }
  .mc-io .mc-rv{ opacity:0; transform:translateY(34px); }
  .mc-io .mc-in .mc-rv{ opacity:1; transform:none; transition:opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay:calc(var(--d,0) * 90ms); }
  .mc-io .mc-vis .mc-pc{ opacity:0; transform:scale(.9); transform-box:fill-box; transform-origin:center; }
  .mc-io .mc-in .mc-vis .mc-pc{ opacity:1; transform:none; transition:opacity .45s ease, transform .5s cubic-bezier(.2,.9,.25,1.2); transition-delay:calc(var(--i) * 28ms); }
  .mc-io .mc-bar{ transform:scaleX(0); }
  .mc-io .mc-in .mc-bar{ transform:none; transition:transform .8s cubic-bezier(.2,.8,.2,1); transition-delay:calc(var(--i) * 80ms); }
}
@keyframes mc-rise{ from{ transform:translateY(.34em); } }
@keyframes mc-ink{ from{ color:var(--mc-paper); } }
@keyframes mc-fade{ from{ opacity:0; } }
@keyframes mc-list{ 0%, 28%{ transform:translate(calc(var(--lx, 0) * 1px), calc(var(--ly, 0) * 1px)) scale(var(--ls, 1)); } }
@media (prefers-reduced-motion: reduce){
  .mc-word, .mc-year{ transform:none; }
  .mc-btn, .mc-arr, .mc-plan{ transition:none; }
}
/* ?still=1: the resting state, for a screenshot */
.mc-still, .mc-still body{ scroll-behavior:auto !important; }
.mc-still .mc-screen *, .mc-still .mc-screen *::before{ animation:none !important; transition:none !important; }
.mc-still .mc-rv, .mc-still .mc-vis .mc-pc, .mc-still .mc-bar{ transform:none !important; opacity:1 !important; }
.mc-still .mc-labs{ opacity:1 !important; }

/* ---------- «all of SyntaxFlow»: every link the home had, compact, on the site's own paper ---------- */
.mc-all{ background:var(--paper); color:var(--ink); padding:88px 0 64px; }
.mc-all > .wrap > h2{ font-size:var(--t-3); margin:0 0 22px; }
.mc-all h3{ font-size:1.02rem; margin:0 0 6px; font-stretch:106%; }
.mc-all h3 a{ color:var(--ink); text-decoration:none; }
.mc-all h3 a:hover{ text-decoration:underline; }
.mc-all h3 small{ display:block; font-size:.82rem; font-weight:520; font-stretch:100%; letter-spacing:0; color:var(--ink-3); margin-top:2px; }
.mc-all ul{ list-style:none; margin:0; padding:0; }
.mc-all li a, .mc-all-more{ display:block; padding:7px 0; font-size:.95rem; line-height:1.35; color:var(--ink-2); text-decoration:none; }
.mc-all li a:hover, .mc-all-more:hover{ color:var(--ink); text-decoration:underline; }
.mc-all-more{ font-weight:640; color:var(--glass-deep); }
.mc-all-areas{ display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:8px 28px; padding-bottom:22px; border-bottom:1px solid var(--rule); }
.mc-all-rows{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:26px 28px; padding-top:22px; }
.mc-all-rows .mc-all-wide{ grid-column:span 2; }
.mc-all-wide ul{ columns:2; column-gap:28px; }
.mc-all-wide li{ break-inside:avoid; }
@media (max-width:900px){ .mc-all-areas{ grid-template-columns:repeat(2, minmax(0,1fr)); } .mc-all-rows{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:520px){ .mc-all-rows{ grid-template-columns:1fr; } .mc-all-rows .mc-all-wide{ grid-column:auto; } .mc-all-wide ul{ columns:1; } .mc-all li a, .mc-all-more{ padding:11px 0; } }
/* the translated homes keep their own sections under the screens (tools/i18n/home.cjs) */
.mc-below{ background:var(--paper); padding:88px 0 8px; }
.mc-below > .wrap > section:first-child{ padding-top:0; }

/* ---------- on paper: black on white, everything shown, nothing moving ---------- */
@media print{
  .home-cut{ background:#fff; }
  .mc-screen{ min-height:0 !important; padding:14px 0 !important; background:#fff !important; color:#000 !important; display:block; overflow:visible; break-inside:avoid; }
  .mc-screen::before, .mc-big, .mc-year, .mc-rail, .mc-find, .mc-cta .mc-btn:not(.mc-solid){ display:none !important; }
  .mc-screen *{ animation:none !important; transition:none !important; opacity:1 !important; transform:none !important; color:#000 !important; text-shadow:none !important; }
  .mc-word{ font-size:34pt; line-height:1; }
  .mc-h1{ font-size:30pt; white-space:normal; } .mc-h2, .mc-end .mc-h2, .mc-calc .mc-h2{ font-size:20pt; } .mc-num{ font-size:40pt; }
  .mc-btn, .mc-screen a.mc-solid, .mc-screen a.mc-dark{ background:none !important; border:0; min-height:0; padding:0; text-decoration:underline; }
  .mc-price{ background:none; border:1px solid #000; padding:12px; }
  .mc-plan{ max-width:110mm; margin:10px 0 0 !important; } .mc-plan svg{ filter:none; } .mc-yield{ position:static; font-size:24pt; }
  .mc-vis{ max-width:120mm !important; margin-top:10px; }
  .mc-bed{ fill:#fff !important; stroke:#000; stroke-width:8; } .mc-pc{ fill:#ddd !important; stroke:#000; } .mc-off{ stroke:#000; } .mc-labs span{ font-size:6pt; transform:translate(-50%,-50%) !important; }
  .mc-bar{ background:#fff; border:1px solid #000; } .mc-bar span{ border:1px solid #000; background:#eee; }
  .mc-all{ padding:12px 0; }
}

/* r1211: the label of the big yield figure as a solid chip (it read double with the figure's shadow) */
.mc-yield small{ display:table; margin:0 0 8px auto; padding:5px 10px 4px; background:var(--mc-ink); color:var(--mc-paper); text-shadow:none; }

/* r1480 (12-11-2026): the pages by kind of job or by piece of furniture, a row of small pills under the button of each
   optimiser's section (tools/home-cut.cjs jobsRow). They take the section's own ink (currentColor), so they sit on the
   three colours without one of their own. Each link is 44 px tall to the finger and draws a 30 px pill (::before). */
.mc-jobs{ display:flex; flex-wrap:wrap; align-items:center; gap:0 6px; margin:5px 0 -7px !important; font-size:.86rem; line-height:1.2; }
.mc-jobs span{ font-weight:800; margin-right:4px; }
.mc-jobs a{ position:relative; display:inline-flex; align-items:center; min-height:44px; padding:0 12px; color:inherit; text-decoration:none; font-weight:620; white-space:nowrap; }
.mc-jobs a::before{ content:""; position:absolute; inset:7px 0; border:1.5px solid currentColor; border-radius:999px; }
.mc-jobs a:hover::before, .mc-jobs a:focus-visible::before{ background:rgba(11,15,14,.1); }
@media (min-width:901px){ .mc-jobs{ width:max-content; max-width:calc(42.7 * var(--mc-vw)); } }   /* the column, past the copy's 34em */
@media print{ .mc-jobs{ display:none !important; } }
