/*
  Le Custode — paper and crayon (3 November 2026).

  The site's theme, on every page and in every language. It started on 29
  October as "the lighter feel" (white ground, broken white bands, a grey
  footer, a lighter display face). On 3 November Tein chose the golven
  mock-up (design-audit/golven/krijt.html) for the whole site: two paper
  tints taken from a printed book page, and that page's three colours,
  green, blue and yellow.

  - The colours run at full strength only where a crayon would put them: a
    line under the headline, a few marks on the homepage, a low sun. The
    hills and seams are the same three mixed far into the paper.
  - Blue takes the accent's place (rules, focus, links, the small labels),
    yellow the accent on ink. Ink is still the only dark.
  - The shapes are SVG files drawn by site/tools/paper.py; run it again after
    changing a colour here.

  Only tokens and a few additions; every component keeps its own rules.
*/

/* Canela, Commercial Type: licensed by Tein (web licence, Light and Regular).
   The display face on every page, the order form included. Prata stays the
   wordmark. There is no licensed italic, so emphasis stays upright rather
   than have the browser slant the roman. */
@font-face {
  font-family: 'Canela';
  src: url(/assets/fonts/canela/canela-light.woff2) format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Canela';
  src: url(/assets/fonts/canela/canela-regular.woff2) format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
/* Georgia for the display type since 3 November 2026, at Tein's request: the
   golven mock-up showed it where Canela had not loaded, and that was the one
   he wanted. It is on every Mac, iPhone and Windows machine and costs no
   download; Android has no Georgia and gets Newsreader. The Canela faces stay
   declared above, unused, in case it comes back. */
:root { --display: Georgia, 'Newsreader', serif; }
/* custode.css gives the big headline its own Newsreader stack on wide
   screens; one face for every heading now. */
.display-1 { font-family: var(--display); }
.display-1 em, .display-2 em, .display-3 em, .display-4 em, h1 em, h2 em { font-style: normal; }
h1, h2, h3, .display-1, .display-2, .display-3, .display-4 { font-synthesis: none; letter-spacing: -.01em; }
:root {
  /* Broken white since 4 November 2026: #F1EBCD, the colour Tein sent. */
  --paper:      #F1EBCD;
  --paper-warm: #F1EBCD;
  --paper-tint: #E9E2C2;
  --paper-deep: #E1D9B6;
  /* A step darker than custode.css, for the footer: 4.91:1 there, 5.53 on
     the paper. */
  --muted:      #625C50;
  --rule:       rgba(27, 25, 23, .1);
  /* Blue, as the accent where it decorates and where it is read. Read, it is
     a shade deeper on the warmer paper: 5.46:1 on the paper, 5.02 on the
     tint, 4.85 on the footer. */
  --terracotta:      #4563A4;
  --terracotta-text: #3F5C9A;
  /* The accent on ink: yellow, 11.6:1. */
  --sand:       #F2D053;
  --foot:       #E6DEBD;
  --seam:       26px;
}

/* The bar: the paper, as the page under it. */
:root .nav,
:root .order-nav { background: rgba(241, 235, 205, .96); }

/* The emblem's openings are painted, not cut; they follow the ground. */
:root .lockup svg g { fill: #F1EBCD; }
:root .footer .lockup svg g { fill: #E6DEBD; }

/* Bands that sat on the same paper as the page take the tint, so the two
   papers alternate down the page. */
:root .section--band,
:root .section--tint { background: var(--paper-tint); }
:root .footer { background: var(--foot); }

/* Display type one step lighter, as a light serif reads on paper. */
:root .display-1,
:root .display-2,
:root .display-3,
:root .display-4 { font-weight: 300; }

/* ---------- seams: where one ground meets the other ----------

   One row of saddle stitches along the edge of a coloured ground, as if it
   were sewn onto the paper (Tein, 9 November 2026). Light thread on ink and
   on pictures, dark thread on the light grounds, where light thread would
   not show. The row fits in 18px, inside the 20px of the process band. */
main > :is(.section--tint, .section--band, .section--ink, .section--green) { position: relative; }
main > :is(.section--tint, .section--band, .section--ink, .section--green)::before,
main > :is(.section--tint, .section--band, .section--ink, .section--green)::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0;
  height: 10px;
  background: url(/assets/img/paper/stitch-ink.svg?v=c15e9f3c51) center / 14px 10px repeat-x;
  pointer-events: none;
}
main > :is(.section--tint, .section--band, .section--ink, .section--green)::before { top: 8px; }
main > :is(.section--tint, .section--band, .section--ink, .section--green)::after { bottom: 8px; }
/* Too many (Tein, 10 November 2026): a tinted ground already shows where it
   starts and stops, so it gets no row. Then the dark and green grounds and
   the hero lost theirs too: no stitches anywhere. */
main > :is(.section--tint, .section--band, .section--ink, .section--green)::before,
main > :is(.section--tint, .section--band, .section--ink, .section--green)::after { content: none; }
main > .section--ink::before,
main > .section--ink::after { background-image: url(/assets/img/paper/stitch-light.svg?v=5c7e6a6383); }
main > .section:has(+ .section--ink) { padding-bottom: calc(clamp(36px, 4vw, 56px) + var(--seam)); }
/* Light green, a band that was ink on the process page (Tein, 4 November
   2026). Ink on it, the blue for emphasis. */
.section--green { background: #D2E2B0; color: var(--ink); }
main > .section:has(+ .section--green) { padding-bottom: calc(clamp(36px, 4vw, 56px) + var(--seam)); }
/* The homepage hero ends on its own row, and a band that ends the page runs
   straight into the colofon under it. */
main > .hero + :is(.section--tint, .section--band)::before,
main > :is(.section--tint, .section--band, .section--ink, .section--green):last-child::after { content: none; }

/* Our story builds its page from its own sections (story.css): the same
   stitches, in light thread on its pictures and dark under its tinted text. */
.st-hero::after,
.st-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.st-hero::after { content: none; }
.st-band::after { content: none; }
.st-mission-text { position: relative; }
.st-mission-text::after {
  content: none;
}
.st-mission-text + .st-quote { border-top: 0; }

/* The pages that are mostly type get one short blue crayon stroke under
   their title: the hand, once, at the top as the signature is at the end. */
main > .section:first-child h1:is(.display-1, .display-2)::after {
  content: ""; display: block; width: clamp(64px, 6vw, 92px); aspect-ratio: 120 / 16;
  margin-top: clamp(14px, 1.4vw, 20px);
  background: url(/assets/img/paper/dash.svg?v=68c50e1a10) left center / 100% 100% no-repeat;
}

/* ---------- the homepage hero: paper, with hills along the bottom ----------

   It was a photograph of a lit wall with the sizes hung on it. Now the sizes
   hang on the paper, over three low hills. */
.hero { --hills: var(--seam); background: var(--paper); align-items: stretch; }
.hero__bg { display: none; }
/* The atelier at work behind the paper: the film holds still in its frame, and
   the paper lies over it. Thick enough under the words and the notes round the
   piece for 4.5:1 over a black frame (76% is the least that gives it), thin
   only in the gap between them, where nothing has to be read. Under the words and
   in the gap a little thinner again on 9 November 2026 (Tein), the notes stay at
   76%, the floor. */
@media (min-width: 901px) {
  .hero__bg--film { display: block; }
  .hero__bg--film video { animation: none; transform: none; }
  .hero__veil {
    position: absolute; inset: 0;
    background: linear-gradient(to right,
      color-mix(in srgb, var(--paper) 84%, transparent) 0%,
      color-mix(in srgb, var(--paper) 80%, transparent) 42%,
      color-mix(in srgb, var(--paper) 52%, transparent) 52%,
      color-mix(in srgb, var(--paper) 52%, transparent) 60%,
      color-mix(in srgb, var(--paper) 76%, transparent) 66%,
      color-mix(in srgb, var(--paper) 76%, transparent) 100%);
  }
}
/* Under 1100px the notes sit below the piece, reaching into the gap. */
@media (min-width: 901px) and (max-width: 1099px) {
  .hero__veil {
    background: linear-gradient(to right,
      color-mix(in srgb, var(--paper) 84%, transparent) 0%,
      color-mix(in srgb, var(--paper) 80%, transparent) 42%,
      color-mix(in srgb, var(--paper) 76%, transparent) 50%,
      color-mix(in srgb, var(--paper) 76%, transparent) 100%);
  }
}
.hero::after { content: none; }
.hero__inner {
  z-index: 1; color: var(--ink);
  padding-top: clamp(28px, 5vh, 64px);
  padding-bottom: clamp(44px, 6vh, 76px);
}
@media (min-width: 701px) and (max-height: 820px) {
  .hero__inner { padding-top: 28px; padding-bottom: 40px; }
}
/* Side by side, the words and the sizes sit in the middle of the paper, not
   pinned to the hills with an empty sky above them. Stacked (under 900px)
   they keep custode.css's full width. */
@media (min-width: 901px) { .hero__inner { align-items: center; } }
.hero .eyebrow--ink { color: var(--ink); }
.hero .btn--paper { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hero .btn--paper:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: var(--paper); }
.hero__copy .display-1 { color: var(--ink); }
.hero__copy p, .hero__copy .hero__price { color: var(--body); }
/* One line of blue crayon under "One artwork", in every language. */
.hero h1 em {
  background: url(/assets/img/paper/underline.svg?v=611d791ca7) left 100% / 100% .3em no-repeat;
  padding-bottom: .14em;
  /* The line break before the second sentence lives inside the em, so the em
     starts as an empty piece at the end of the first line. Each line carries
     its own background, or the line under the second starts late. */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero .sizes { color: var(--ink); }
/* A lamp over the piece in the middle: the paper a shade lighter behind it,
   falling off to the sides. It stays put while the row scrolls under it. */
.hero .sizes__track { background: radial-gradient(closest-side at 50% 50%, rgba(255, 254, 248, .8), rgba(255, 254, 248, .5) 30%, rgba(255, 254, 248, .18) 62%, rgba(255, 254, 248, .04) 84%, rgba(255, 254, 248, 0)); }
/* The hairline a gallery draws round the piece it means, in ink on the paper:
   the light one from custode.css was for the dark wall and did not show. */
.hero .sizes__link:hover, .hero .sizes__link:focus-visible,
.hero .sizes:has(.sizes__label:hover) .sizes__slide[aria-current="true"] .sizes__link { outline-color: var(--rule-strong); }
.hero .sizes__arrow { color: var(--ink); border-color: var(--rule-control); }
.hero .sizes__arrow:hover { border-color: var(--ink); background: rgba(27, 25, 23, .05); }
.hero .sizes__arrow:disabled:hover { border-color: var(--rule-control); background: none; }
.hero .sizes__flag { color: var(--terracotta-text); }
.hero .sizes__meta { color: var(--body); }
.hero .sizes__cta { border-bottom-color: var(--rule-strong); }
.hero a.sizes__label:hover .sizes__cta,
.hero a.sizes__label:focus-visible .sizes__cta,
.hero .sizes:has(.sizes__slide[aria-current="true"] .sizes__link:hover) .sizes__cta { border-bottom-color: var(--terracotta); color: var(--ink); }

/* ---------- the homepage hero: the words, and one framed piece ----------

   The words on the left and one large collage on the right, behind a mat in
   an oak frame (Tein, 4 November 2026), filling the screen under the nav.
   The sizes hang on the paper under them, over the hills. */
.hero { flex-direction: column; min-height: 0; padding-bottom: var(--hills); }
.hero > .hero__inner {
  min-height: clamp(520px, calc(100svh - 76px - var(--bars, 0px)), 980px);
  padding-top: clamp(28px, 5vh, 64px); padding-bottom: clamp(28px, 5vh, 64px);
  gap: clamp(40px, 4vw, 72px);
}
.hero__art { flex: 1 1 0; min-width: 0; margin: 0; display: flex; justify-content: flex-end; }
/* Side by side, the words give the piece the room: the headline is sized to
   a narrower column (the headline takes three lines of it). */
/* The words and the piece stand in from the edges by about the page margin
   again (Tein, 9 November 2026), and the wider the screen the further. */
@media (min-width: 1100px) {
  .hero > .hero__inner { padding-inline: clamp(96px, 9vw, 200px); }
}
@media (min-width: 901px) {
  .hero > .hero__inner .hero__copy { flex: 0 1 clamp(400px, 36vw, 600px); }
  .hero > .hero__inner .display-1 { font-size: clamp(38px, 4.3vw, 72px); }
}
/* A framed piece on a wall throws a shadow, warm because the wall is. The
   picture keeps to the screen's height so the frame is whole on the first
   screen. */
.hero__art img, .hero__art video {
  display: block; width: auto; height: auto; max-width: 100%;
  max-height: calc(100svh - 76px - var(--bars, 0px) - 2 * clamp(28px, 5vh, 64px));
  box-shadow:
    0 1px 2px rgba(58, 44, 22, .25),
    4px 14px 18px rgba(58, 44, 22, .18),
    10px 40px 60px -6px rgba(58, 44, 22, .18);
}

/* Four notes round the piece, in the margin as somebody would write them on
   a print: an italic line and a crayon arrow to the work. Above the frame
   and below it on a wide screen; under it, two by two, without arrows, on
   a narrow one. */
.hero__frame { position: relative; display: inline-block; max-width: 100%; }
.hero__notes { margin: 0; }
.hero__note {
  margin: 0; max-width: none;
  font: italic 400 15px/1.35 var(--display); letter-spacing: 0; color: var(--body);
}
@media (min-width: 1100px) {
  .hero__art { padding-block: 58px; }
  .hero__art img, .hero__art video { max-height: calc(100svh - 76px - var(--bars, 0px) - 2 * clamp(28px, 5vh, 64px) - 116px); }
  /* Each note keeps to its half of the frame and wraps to a second line
     where the words are long (German, French). */
  .hero__note { position: absolute; display: flex; align-items: center; gap: 6px; max-width: 46%; }
  .hero__note::after, .hero__note--2::before, .hero__note--4::before {
    content: ""; flex: none; width: 44px; height: 31px;
    background: url(/assets/img/paper/arrow.svg?v=b6af607d78) center / contain no-repeat;
  }
  /* Above the frame: the arrows point down into it. */
  .hero__note--1 { bottom: calc(100% + 10px); left: 3%; }
  .hero__note--1::after { transform: translateY(12px); }
  .hero__note--2 { bottom: calc(100% + 10px); right: 3%; justify-content: flex-end; text-align: right; }
  .hero__note--2::after { content: none; }
  .hero__note--2::before { transform: translateY(12px) scaleX(-1); }
  /* Below it: the arrows point up. */
  .hero__note--3 { top: calc(100% + 14px); left: 3%; }
  .hero__note--3::after { transform: translateY(-12px) scaleY(-1); }
  .hero__note--4 { top: calc(100% + 14px); right: 3%; justify-content: flex-end; text-align: right; }
  .hero__note--4::after { content: none; }
  .hero__note--4::before { transform: translateY(-12px) scale(-1, -1); }
}
@media (max-width: 1099px) {
  .hero__frame { display: block; }
  .hero__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-top: 22px; }
  .hero__note { font-size: 14px; }
}

/* Under 900px custode.css takes the copy column apart: the headline and the
   sentence, then the piece, then the button. */
@media (max-width: 900px) {
  .hero > .hero__inner { min-height: 0; padding-bottom: 8px; }
  .hero__art { order: 3; justify-content: center; }
  .hero__art img, .hero__art video { max-height: none; width: 100%; }
}

/* ---------- crayon on the homepage, sparingly ---------- */
.hero ~ #materials .split__media::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  background: center / contain no-repeat;
}
.hero ~ #materials .split__media::after {
  top: 22px; right: 22px; width: clamp(80px, 8vw, 120px); aspect-ratio: 120 / 70;
  background-image: url(/assets/img/paper/loop.svg?v=b75532ae40);
}


/* ---------- scribbles, through the site ----------

   Crayon scribbles in place of the loose painted dots, at Tein's request on
   9 November 2026 (site/tools/scribbles.py). Scribbles over the homepage's
   close, a few over the hills at the foot of every page, and at the top of
   every page and here and there down it. The birds beside the headline went
   when the film came in behind it, the same day. */
main > .section:first-child:not(.closing) {
  background-image: url(/assets/img/paper/scribbles-a.svg?v=5ab2a42f05);
  background-repeat: no-repeat;
  background-position: right max(var(--gutter), calc((100% - var(--measure)) / 2)) top clamp(14px, 2.4vw, 36px);
  background-size: clamp(170px, 23vw, 340px) auto;
}
main > #questions {
  background-image: url(/assets/img/paper/scribbles-b.svg?v=2a5f71e193);
  background-repeat: no-repeat;
  background-position: right max(var(--gutter), calc((100% - var(--measure)) / 2)) top clamp(30px, 4vw, 60px);
  background-size: clamp(120px, 13vw, 200px) auto;
}
/* Every tinted band further down a page carries a few, low on the left. */
main > .section--tint:not(:first-child):not(#questions) {
  background-image: url(/assets/img/paper/scribbles-c.svg?v=4d6be34117);
  background-repeat: no-repeat;
  background-position: left max(var(--gutter), calc((100% - var(--measure)) / 2 - 40px)) bottom clamp(16px, 2vw, 30px);
  background-size: clamp(150px, 16vw, 240px) auto;
}
/* The close of the homepage: a line of scribbles above the heading. */
main > .closing {
  background-image: url(/assets/img/paper/scribbles-wide.svg?v=8c5736edb4);
  background-repeat: no-repeat;
  background-position: center top clamp(6px, 1vw, 14px);
  background-size: clamp(180px, 18vw, 260px) auto;
}
/* In the flow, under the shortest column, so it can never cross a link.
   Stacked, the footer has no room to spare for it. */
@media (min-width: 701px) {
  .footer__about + .footer__col::after {
    content: ""; display: block; width: 130px; aspect-ratio: 220 / 90; margin-top: 10px;
    background: url(/assets/img/paper/scribbles-c.svg?v=4d6be34117) left center / contain no-repeat;
  }
}

/* ---------- painted dots in the house style ----------

   Four matte dots, blue, green, yellow and red, after the ones Tein picked
   out of the reference (4 November 2026; site/tools/flock.py). The marker
   that comes up beside a menu item is one; each step of the process carries
   one beside its number, on the process page and in the homepage band. */
:root .menu-sheet__main a::after {
  width: 15px; height: 15px; margin-top: -7.5px; border-radius: 0;
  background: url(/assets/img/paper/dot-blue.svg?v=763db62aac) center / contain no-repeat;
}
:root .menu-sheet__main li:nth-child(4n+2) a::after { background-image: url(/assets/img/paper/dot-green.svg?v=1847d1b088); }
:root .menu-sheet__main li:nth-child(4n+3) a::after { background-image: url(/assets/img/paper/dot-yellow.svg?v=c07e0a854f); }
:root .menu-sheet__main li:nth-child(4n+4) a::after { background-image: url(/assets/img/paper/dot-red.svg?v=9c4b63fc34); }
:root .menu-sheet__main a[aria-current="page"]::after { transform: scale(1); }

/* ---------- buttons: no black fill ----------

   The buttons were filled with ink. Since 4 November 2026 (Tein) they are
   ink words in a thin ink outline on the paper, filled only when pointed
   at. The rings tried round them the same day are gone again at his
   request. */
:root :is(.btn--primary, .btn--paper, .hero .btn--paper) {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
:root :is(.btn--primary, .btn--paper, .hero .btn--paper):hover {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

/* ---------- under every page: the colofon ----------

   The atelier's hand, the city and a double line, as the last page of a good
   book closes (Tein, 9 November 2026). Decoration, so it lives here and not
   in the words the site translates; the city is the one in the lockup. */
.dusk {
  position: relative; display: grid; justify-items: center;
  padding: clamp(40px, 5vw, 72px) 0 calc(clamp(36px, 4.4vw, 60px) + 6px);
  background:
    linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 4px) / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat;
}
.dusk::before {
  content: ""; display: block; width: clamp(180px, 17vw, 240px); aspect-ratio: 290 / 78;
  background: url(/assets/img/paper/signature.svg?v=b61aec008c) center / contain no-repeat;
}
.dusk::after {
  content: "AMSTERDAM"; margin-top: 18px; padding-left: .42em;
  font: 500 10px/1 var(--text); letter-spacing: .42em; color: var(--ink);
}
main:has(> :is(.section--tint, .section--band):last-child) + .dusk { background-color: var(--paper-tint); }
/* The order form has no footer and a bar fixed to the bottom of the screen:
   no colofon there. */
.dusk:not(:has(+ .footer)) { display: none; }

/* ---------- the order form, in the same paper ----------

   The bar at the bottom was white and the wall the artwork hangs on was the
   one dark surface (29 October 2026). On the paper both read as the site
   before it: the bar takes the paper, and the wall becomes a lit plaster
   wall in the paper's own tones, as the sizes hang on the paper on the
   homepage. order.css loads after this file, so these carry :root. */
:root #funnel .order__bar { background: rgba(241, 235, 205, .96); }
/* The room photograph is a stock image from Unsplash (photo-1694721025063-08eff99ba558,
   free licence), cropped to 1400 x 1826 with a little wall added at the top so the
   largest size clears the sofa. Not our work: replace it with our own. */
:root .order-preview { background: var(--paper-deep) url(/assets/img/room/wall-1400.webp?v=ad60ff3a21) center / 100% 100% no-repeat; }
:root .order-preview__panel {
  /* As on the homepage: where the panel meets the wall, the body of the
     shadow just below, the faint spread further down. 1 cm is var(--cm). */
  --shadow-rest:
    0 1px 1px rgba(58, 44, 22, .22),
    calc(.3 * var(--cm)) calc(1.4 * var(--cm)) calc(1.6 * var(--cm)) rgba(58, 44, 22, .2),
    calc(.8 * var(--cm)) calc(4.5 * var(--cm)) calc(7 * var(--cm)) calc(-.5 * var(--cm)) rgba(58, 44, 22, .2);
  --shadow-lift:
    0 2px 3px rgba(58, 44, 22, .16),
    calc(.6 * var(--cm)) calc(3 * var(--cm)) calc(4 * var(--cm)) rgba(58, 44, 22, .18),
    calc(1.4 * var(--cm)) calc(8 * var(--cm)) calc(12 * var(--cm)) calc(-.5 * var(--cm)) rgba(58, 44, 22, .18);
}
/* ---------- the homepage: the question above the process ---------- */
/* Centred like the steps under it (Tein, 9 November 2026): the block read as
   messy with a left-hand question above a centred process. */
.drawers { max-width: 960px; margin: 0 auto; text-align: center; }
.drawers h2 { margin: 0 0 clamp(14px, 1.6vw, 20px); text-wrap: balance; }
.drawers .lede { margin: 0 auto; max-width: 34em; color: var(--body); text-wrap: balance; }
.drawers__line {
  margin: clamp(16px, 1.8vw, 24px) 0 0;
  font-family: var(--display); font-weight: 300; color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; text-wrap: balance;
}

/* The picture of each size is the composition alone, and the price includes a
   frame and a mat, so both are drawn round it here, in centimetres. The size
   is the outside of the frame, which is why this is border-box. */
.wall__frame {
  box-sizing: border-box; height: calc(var(--h) * var(--cm)); object-fit: cover;
  padding: calc(4 * var(--cm)); background: var(--paper-warm);
  border: calc(2.5 * var(--cm)) solid #B98B5B;
}

/* The measurements beside the panel were light on the dark wall. */
:root .order-preview__dim { color: var(--body); }
:root .order-preview__dim::before, :root .order-preview__dim::after { background: var(--rule-strong); }
:root .order-preview__dim--w { border-inline-color: var(--rule-strong); }
:root .order-preview__dim--h { border-top-color: var(--rule-strong); border-bottom-color: var(--rule-strong); }

/* The sizes are a section of their own, on their own ground, and the heading
   sits lower in it (Tein, 10 November 2026). */
#sizes { padding-top: clamp(72px, 9vw, 136px); }
#sizes .section-head { margin-bottom: clamp(36px, 4.5vw, 64px); }

/* The recommended size is lifted off the wall (Tein, 10 November 2026): on a
   card of lighter paper with a thin rule, its flag a solid label. Keyed on the
   flag itself, so whichever size the catalogue marks gets it, in every language.
   The card is only paper behind the column; the frames stay at true scale. */
.wall { padding-block: 22px; margin-block: -22px; }
.wall__size:has(.wall__flag:not(:empty)) { position: relative; z-index: 0; }
.wall__size:has(.wall__flag:not(:empty))::before {
  content: ""; position: absolute; z-index: -1;
  inset: -18px calc(-5 * var(--cm)) -18px calc(-5 * var(--cm));
  background: var(--paper); border: 1px solid var(--rule-strong);
  box-shadow: 0 calc(2 * var(--cm)) calc(8 * var(--cm)) rgba(58, 44, 22, .16);
}
.wall__size:has(.wall__flag:not(:empty)) .wall__flag {
  background: var(--terracotta-text); color: var(--paper);
  padding: 5px 11px 4px; margin-top: 8px; letter-spacing: 1.4px;
}
.wall__size:has(.wall__flag:not(:empty)) .wall__stage { border-bottom-color: var(--ink); }

/* The process band has the room the other sections have (10 November 2026). */
#how.section--band { padding-block: clamp(32px, 3.6vw, 52px); }

/* Three promises above the footer on every page (Tein, 10 November 2026):
   free shipping, secure checkout, the two-year guarantee. Line symbols in a
   ring, like the steps on the homepage. */
.promises { background: var(--paper-tint); padding: clamp(36px, 4.4vw, 60px) var(--gutter); }
main:has(> :is(.section--tint, .section--band, .section--ink, .section--green):last-child) + .promises { background: var(--paper); }
.promises:not(:has(~ .footer)) { display: none; }
.promises__list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1080px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px);
}
.promises__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: start; }
.promises__icon {
  grid-row: span 2; box-sizing: content-box; width: 24px; height: 24px; padding: 11px;
  border: 1px solid var(--rule-strong); border-radius: 50%;
  fill: none; stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; stroke-linecap: round;
}
.promises__title { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.25; margin: 2px 0 6px; color: var(--ink); }
.promises__text { font-size: 14px; line-height: 1.6; color: var(--body); margin: 0; max-width: 34ch; }
@media (max-width: 860px) { .promises__list { grid-template-columns: minmax(0, 1fr); } }
