/* VELVET & ROSE — home.css
   The Home page sections under the hero. Loaded after scrapbook.css, on index.html only.
   The hero, the header, the closing and the footer are not styled here.

   Each section is one clean paper sheet with its title inside; no ornaments around it.

   1. Sections and cards   .hm-sec, .hm-intro, .hm-cards, .hm-card
   2. About                one sheet: the statement, then I why us, II the lineage, III how we design
   3. The Gallery          the turning gallery wall and its gold placards (home.js)
   4. Services             one sheet: the title and quiz ribbon, the swatch book, Custom Fabrication
   5. Collections          the plain heading, the hang tags and the steps to your proposal
   6. Find us              Where we work (studio, map and areas), then Follow along with the phone
   7. Small screens */

/* 1. SECTIONS AND CARDS ----------------------------------------------------------- */
main > .sb.hm-sec, main > .sb.hm-gallery { clip-path: inset(0 0 -200rem 0); }
main > .sb.hm-find { clip-path: inset(0); }
main > .sb.hm-sec { padding-block: clamp(4rem, 7vw, 7rem) clamp(4.5rem, 8vw, 7.5rem); }
.hm-intro { align-items: center; }
.hm-intro > .hm-intro__photo { width: min(100%, 24rem); justify-self: center; }
.hm-intro > .hm-intro__solo { justify-self: center; width: min(100%, 46rem); }

.hm-cards {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--sb-edge), 74rem); margin: clamp(4rem, 7vw, 6rem) auto 0;
  display: grid; gap: clamp(4rem, 6vw, 5.5rem);
}
/* With no frame above, the sheet starts at the top of its section. */
.hm-sec > .hm-cards:first-child, .hm-sec > .hm-find__cards:first-child { margin-top: 0; }
/* Every paper piece on Home is ivory and cream (paper-ivory.webp), not the pink-tinted paper. */
:root { --paper: #fbf8ef; }
main :is(.paper, .gframe:not(.gframe--photo) > .gframe__b, .gframe__tag), main :is(.gframe--oval, .gframe--oval-tall, .gframe--arch):not(.gframe--photo) > .gframe__b::before { background-image: url("images/scrap/paper-ivory.webp"); }
.hm-card {
  position: relative; min-width: 0;
  padding: clamp(3rem, 4.8vw, 4.5rem) clamp(1.35rem, 4.6vw, 4.5rem) clamp(2.5rem, 4.2vw, 3.9rem);
  border-radius: 10px;
  background: #fbf8ef url("images/scrap/paper-ivory.webp") 50% 0 / 900px auto repeat;   /* ivory, so the cards stand off the pink limewash */
  color: var(--ink);
  box-shadow: 0 0 0 1px rgb(60 24 30 / 0.07), 0 1px 0 rgb(255 255 255 / 0.7) inset,
              0 34px 44px -30px rgb(52 18 28 / 0.55), 0 4px 10px rgb(52 18 28 / 0.12);
}
.hm-card--slim { padding-block: clamp(2.6rem, 3.6vw, 3.3rem) clamp(1.9rem, 3vw, 2.6rem); }
/* The one seal, centred on the card's top edge. */
.hm-card > .hm-wax { top: -1.9rem; left: 50%; right: auto; translate: -50% 0; rotate: -4deg; width: clamp(3.6rem, 4.6vw, 4.6rem); }
.hm-card > .hm-wax.wax--sprig { rotate: 6deg; }
.hm-card .chapter { margin: 0 0 clamp(0.9rem, 1.6vw, 1.3rem); }
.hm-card .chapter__line { background: rgb(38 10 20 / 0.22); }
.hm-card .label { color: var(--ochre-deep); }
.hm-card__title.display {
  margin: 0; max-width: 20ch; color: var(--ink); text-wrap: balance;
  font-size: clamp(2.05rem, 1.3rem + 2.1vw, 3.2rem); line-height: 1;
}
.hm-card__title.display em { color: var(--ochre); }
.hm-card__lede { margin: clamp(0.9rem, 1.5vw, 1.2rem) 0 0; max-width: 60ch; font-size: 1.02rem; line-height: 1.65; color: #4f3a41; }
.hm-card__go { margin: clamp(1.8rem, 3vw, 2.4rem) 0 0; max-width: none; }
.hm-card .link { color: var(--ink); }
.hm-card :is(h3, h4) { font-family: var(--font-display); font-weight: 400; color: var(--ink); letter-spacing: 0; }

/* 2. ABOUT ------------------------------------------------------------------------ *
   One sheet: the statement and an arched photo, then three rows (I, II, III), each a short teaser.
   Each row is set apart by its numeral colour (--acc) and a hairline, not by ornament. */
.hm-ab { padding-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.hm-ab__top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; }
.hm-ab__title.display { max-width: 14ch; font-size: clamp(2.4rem, 1.5rem + 2.7vw, 4rem); }
.hm-ab__photo { margin: 0; justify-self: end; width: min(100%, 19rem); }
.hm-ab__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 3px 3px; box-shadow: 0 0 0 6px #fbf8ef, 0 0 0 7px rgb(38 10 20 / 0.14), 0 26px 34px -26px rgb(52 18 28 / 0.6); }
.hm-ab__visual { justify-self: end; width: min(100%, 19.5rem); display: grid; gap: 0.75rem; }
.hm-ab__visual .hm-ab__photo { width: 100%; justify-self: stretch; }
.hm-ab__subs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; align-items: start; margin-top: -0.35rem; }
.hm-ab__sub { margin: 0; padding: 4px 4px 10px; background: #fdfaf3; border-radius: 2.5px; box-shadow: 0 0 0 1px rgb(38 10 20 / 0.12), 0 12px 18px -12px rgb(52 18 28 / 0.5); }
.hm-ab__sub:nth-child(1) { transform: rotate(-2.4deg); }
.hm-ab__sub:nth-child(2) { transform: translateY(0.25rem) rotate(1.4deg); }
.hm-ab__sub:nth-child(3) { transform: rotate(-1.6deg); }
.hm-ab__sub img { display: block; width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; border-radius: 1px; }
.hm-ab__rows { list-style: none; margin: clamp(2.6rem, 4.5vw, 3.75rem) 0 0; padding: 0; counter-reset: none; }
.hm-ab__row { --acc: var(--burgundy); display: grid; grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-top: 1px solid rgb(38 10 20 / 0.16); }
.hm-ab__row--line { --acc: #b08259; }
.hm-ab__row--acts { --acc: var(--burgundy); }
/* I, II and III in one panel: the numerals are tabs down the left, one part shows at a time.
   All three parts share one grid cell, so the sheet keeps the height of the tallest. */
.hm-ab__tabbed { display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr); gap: 1.5rem clamp(1.75rem, 4vw, 4rem); margin-top: clamp(2.6rem, 4.5vw, 3.75rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid rgb(38 10 20 / 0.16); }
.hm-ab__tablist { display: grid; align-content: start; gap: 0.35rem; border-left: 1px solid rgb(38 10 20 / 0.14); }
.hm-ab__tab {
  --acc: var(--burgundy);
  position: relative; display: grid; gap: 0.3rem; justify-items: start; padding: 0.85rem 0.75rem 0.85rem 1.25rem; margin-left: -1px;
  border: 0; border-left: 3px solid transparent; background: transparent; cursor: pointer; text-align: left;
  font-family: var(--font-type); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(38 10 20 / 0.55);
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.hm-ab__tab--line { --acc: #b08259; }
.hm-ab__tab--acts { --acc: var(--burgundy); }
.hm-ab__tab span { font-family: var(--font-display); font-style: italic; font-size: clamp(2rem, 1.5rem + 1.3vw, 2.8rem); line-height: 0.9; letter-spacing: 0; text-transform: none; color: var(--acc); opacity: 0.45; transition: opacity 0.35s var(--ease); }
.hm-ab__tab:hover { color: var(--ink); }
.hm-ab__tab:hover span { opacity: 0.8; }
.hm-ab__tab[aria-selected="true"] { color: var(--ink); border-left-color: var(--acc); background: linear-gradient(90deg, rgb(255 255 255 / 0.65), rgb(255 255 255 / 0)); }
.hm-ab__tab[aria-selected="true"] span { opacity: 1; }
.hm-ab__tab:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }
.hm-ab__panels { display: grid; min-width: 0; }
.hm-ab__row.hm-ab__panel { grid-area: 1 / 1; display: block; padding: 0.4rem 0 0; border-top: 0; min-width: 0; }
.hm-ab__panel:not(.is-on) { visibility: hidden; opacity: 0; translate: 0 6px; pointer-events: none; }
.hm-ab__panel { transition: opacity 0.45s var(--ease), translate 0.45s var(--ease), visibility 0s; }
.hm-ab__panel:not(.is-on) { transition: opacity 0.2s var(--ease), translate 0.2s var(--ease), visibility 0s linear 0.2s; }
@media (max-width: 899.98px) {
  .hm-ab__tabbed { grid-template-columns: minmax(0, 1fr); }
  .hm-ab__tablist { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; border-left: 0; border-bottom: 1px solid rgb(38 10 20 / 0.14); }
  .hm-ab__tab { justify-items: center; text-align: center; padding: 0.6rem 0.3rem 0.75rem; margin: 0 0 -1px; border-left: 0; border-bottom: 3px solid transparent; font-size: 0.6rem; letter-spacing: 0.12em; }
  .hm-ab__tab[aria-selected="true"] { border-bottom-color: var(--acc); background: linear-gradient(0deg, rgb(255 255 255 / 0.65), rgb(255 255 255 / 0)); }
}
@media (prefers-reduced-motion: reduce) { .hm-ab__panel, .hm-ab__panel:not(.is-on) { transition: none; translate: none; } }
.hm-ab__no { margin: 0; display: grid; align-content: start; gap: 0.35rem; font-family: var(--font-type); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre-deep); max-width: none; }
.hm-ab__no span { font-family: var(--font-display); font-style: italic; font-size: clamp(2.4rem, 1.8rem + 1.6vw, 3.4rem); line-height: 0.9; letter-spacing: 0; text-transform: none; color: var(--acc, var(--ochre)); }
.hm-ab__h { margin: 0; font-size: clamp(1.55rem, 1.15rem + 1.1vw, 2.15rem); line-height: 1.05; text-wrap: balance; }
.hm-ab__h em { font-style: italic; color: var(--ochre); }
.hm-ab__p { margin: 0.8rem 0 0; max-width: 58ch; font-size: 1rem; line-height: 1.65; color: #4f3a41; }
.hm-ab__go { margin: 1.3rem 0 0; max-width: none; }
.hm-ab__four { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem clamp(1rem, 2.2vw, 2rem); }
.hm-ab__four li { display: grid; gap: 0.4rem; align-content: start; padding-top: 0.8rem; border-top: 2px solid var(--acc); font-size: 0.92rem; line-height: 1.5; color: #4f3a41; }
.hm-ab__four b { font-family: var(--font-type); font-weight: 400; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.hm-ab__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.3rem; }
.hm-ab__figs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem clamp(1.4rem, 3vw, 2.6rem); }
.hm-ab__figs li { display: flex; align-items: baseline; gap: 0.45rem; font-family: var(--font-type); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #4f3a41; }
.hm-ab__figs b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.1rem); letter-spacing: 0; color: var(--acc); }
.hm-ab__sister { display: inline-flex; align-items: center; gap: 0.75rem; }
.hm-ab__sister img { width: 2.6rem; height: auto; }
.hm-ab__acts { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.hm-ab__acts li { display: grid; gap: 0.3rem; padding: 1rem 1.1rem 1.05rem; border-top: 4px solid var(--act); border-radius: 2px; background: rgb(255 255 255 / 0.45); box-shadow: 0 0 0 1px rgb(38 10 20 / 0.08); }
.hm-act--rose { --act: var(--burgundy); }
.hm-act--nude { --act: #c9a27c; }
.hm-act--claret { --act: var(--burgundy); }
.hm-ab__acts span { font-family: var(--font-type); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre-deep); }
.hm-ab__acts b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 1rem + 0.4vw, 1.35rem); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.hm-ab__acts i { font-family: var(--font-body); font-size: 0.9rem; color: #6b4a52; }

/* 3. THE GALLERY ------------------------------------------------------------------ *
   A gallery room: raised gold lettering on the marble, the pieces hung in one row with a
   museum wall label under each, and a velvet rope partition standing on the floor in front. */
main > .sb.hm-gallery { padding-block: clamp(3.75rem, 6.5vw, 6rem) 0; }
.hm-gallery__in { position: relative; z-index: 2; width: min(100% - 2 * var(--sb-edge), 80rem); margin-inline: auto; }
.hm-gallery__head { display: grid; justify-items: center; gap: clamp(0.7rem, 1.3vw, 1.1rem); text-align: center; }
/* The title: polished gold letters mounted on the marble. The words are repeated in data-text:
   the heading itself is the depth of each letter and its shadow on the stone, and the two copies
   on top of it are the lit edge and the polished face. */
.hm-gallery__title {
  position: relative; margin: 0; max-width: none;
  font-family: var(--font-display); font-weight: 400; font-style: normal;
  font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.6rem); line-height: 1; letter-spacing: 0.2em; text-transform: uppercase;
  padding-left: 0.2em;                                       /* balances the letter-spacing after the last letter */
  color: #84591a;
  text-shadow:
    0.008em 0.012em 0 #7b5216, 0.016em 0.024em 0 #6f4912, 0.024em 0.036em 0 #623f0e,
    0.030em 0.050em 0.012em rgb(46 28 6 / 0.6),
    0.055em 0.10em 0.05em rgb(60 38 10 / 0.42),
    0.10em 0.20em 0.18em rgb(60 38 10 / 0.26),
    0.15em 0.36em 0.45em rgb(60 38 10 / 0.15);
}
.hm-gallery__title::before, .hm-gallery__title::after {
  content: attr(data-text); position: absolute; inset: 0; padding-left: inherit; pointer-events: none; text-shadow: none;
}
.hm-gallery__title::before { color: #fff3cf; translate: -0.022em -0.03em; }      /* the lit top-left edge */
.hm-gallery__title::after {                                                       /* the polished face */
  translate: -0.011em -0.016em; color: #c99d48;
  background:
    repeating-linear-gradient(92deg, rgb(255 255 255 / 0.06) 0 1px, transparent 1px 3px, rgb(70 44 0 / 0.06) 3px 4px),
    linear-gradient(176deg, #f7e3a6 0%, #e6c476 18%, #cfa24c 38%, #b07f2c 50%, #a17023 53%, #c99b45 62%, #e9cc85 80%, #c9a04e 92%, #efd797 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hm-gallery__sub {
  display: flex; align-items: center; gap: 1rem; margin: 0; max-width: none;
  font-family: var(--font-type); font-size: 0.78rem; letter-spacing: 0.34em; text-transform: uppercase; color: #7c5618;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.75);               /* reads as cut into the stone */
}
.hm-gallery__sub::before, .hm-gallery__sub::after { content: ''; width: clamp(2.5rem, 6vw, 5rem); height: 1px; background: linear-gradient(90deg, transparent, #b58b3c); box-shadow: 0 1px 0 rgb(255 255 255 / 0.7); }
.hm-gallery__sub::after { background: linear-gradient(90deg, #b58b3c, transparent); }

/* The turning wall. home.js gives each piece its place, data-pos -2 to 2 (0 is the centre).
   Every frame is the same size. The sizes below also set the rope: it is drawn to the same measure,
   so the posts always stand in the gaps between the frames. */
.hm-stage {
  --fw: min(22.5vw, 26rem, max(15.5rem, (100vh - 25.75rem) * 0.75));
  --fw: min(22.5vw, 26rem, max(15.5rem, (100svh - 25.75rem) * 0.75));   /* width of every frame; it gives way on short screens so the frames and the rope fit one view */
  --fh: calc(var(--fw) / 0.75);                             /* and its height (all frames share one shape) */
  --gap: clamp(2rem, 4.2vw, 4.5rem);                        /* the wall showing between two frames */
  --x1: calc(var(--fw) + var(--gap));                       /* the side frames, and the distance between two posts */
  --x2: calc(var(--x1) * 2);                                /* the 4th and 5th, further along the wall */
  --lgap: 1.5rem;                                           /* frame to label */
  --lh: 7.5rem;                                             /* the height kept for a label */
  --lift: 2.6rem;                                           /* how far the posts rise above the foot of the labels */
  --rw: calc(var(--x1) * 3.433);                            /* the rope picture: four posts, three spans of x1 */
  --rh: calc(var(--rw) / 5.9874);
  --rope-top: calc(var(--fh) + var(--lgap) + var(--lh) - var(--lift));
  --floor: 1.1rem;                                          /* floor showing under the post bases */
  position: relative; display: flow-root; margin-top: clamp(2.25rem, 4vw, 3.5rem);
}
.hm-stage::before {                                           /* the light on the centre piece */
  content: ''; position: absolute; left: 50%; top: -6%; width: calc(var(--fw) * 2.1); height: calc(var(--fh) * 1.35); translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, rgb(255 246 222 / 0.85), rgb(255 240 210 / 0.35) 55%, transparent);
}
.hm-wall {
  --room: 1.75rem;                                           /* headroom, so a frame is never cut off as it steps forward */
  position: relative; z-index: 1; list-style: none; box-sizing: border-box; margin: calc(-1 * var(--room)) calc(50% - 50vw) 0; padding: var(--room) 0 0; overflow-x: clip; counter-reset: piece;
  height: calc(var(--room) + var(--rope-top) + var(--rh) + var(--floor));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3.5%, #000 96.5%, transparent);
}
.hm-piece {
  position: absolute; top: var(--room); left: 50%; width: var(--fw); margin-left: calc(var(--fw) / -2); counter-increment: piece;
  transform-origin: 50% 40%; z-index: 1;
  transition: transform 1s cubic-bezier(0.62, 0.02, 0.24, 1), scale 0.6s var(--ease), opacity 0.9s var(--ease), filter 0.6s var(--ease);
}
.hm-piece .hm-f > .gframe__b { --ar: 0.75; }                 /* one shape for every frame */
.hm-piece[data-pos="0"]  { z-index: 3; transform: none; }
.hm-piece[data-pos="1"]  { z-index: 2; transform: translateX(var(--x1)); filter: saturate(0.92) brightness(0.97); }
.hm-piece[data-pos="-1"] { z-index: 2; transform: translateX(calc(-1 * var(--x1))); filter: saturate(0.92) brightness(0.97); }
.hm-piece[data-pos="2"]  { transform: translateX(var(--x2)); opacity: 0.5; filter: saturate(0.6) brightness(0.94); }
.hm-piece[data-pos="-2"] { transform: translateX(calc(-1 * var(--x2))); opacity: 0.5; filter: saturate(0.6) brightness(0.94); }
.hm-piece.is-jump { transition: none; opacity: 0; }
.hm-piece[data-pos="3"], .hm-piece[data-pos="-3"] { opacity: 0; pointer-events: none; }
.hm-piece:not(.is-center) .hm-piece__link { cursor: pointer; }
.hm-piece__link { display: grid; justify-items: center; text-decoration: none; color: var(--ink); }
.hm-piece .hm-f { width: 100%; filter: drop-shadow(0 14px 14px rgb(60 36 10 / 0.2)); transition: filter 0.7s var(--ease), translate 0.6s var(--ease); }
.hm-piece.is-center .hm-f { filter: drop-shadow(0 22px 22px rgb(60 36 10 / 0.3)); }
/* Hovering a frame brings it a step closer (and home.js rests the wall while you look). */
@media (hover: hover) and (pointer: fine) {
  .hm-piece:is([data-pos="0"], [data-pos="1"], [data-pos="-1"]):hover { z-index: 4; scale: 1.035; filter: none; }
  .hm-piece:is([data-pos="0"], [data-pos="1"], [data-pos="-1"]):hover .hm-f { filter: drop-shadow(0 30px 28px rgb(60 36 10 / 0.34)) drop-shadow(0 0 26px rgb(255 240 200 / 0.55)); }
  .hm-piece:is([data-pos="0"], [data-pos="1"], [data-pos="-1"]):hover .hm-plate { opacity: 1; box-shadow: 0 0 0 1px #b58b3c, 2px 3px 0 -1px #e3dac6, 0 14px 18px -10px rgb(52 30 10 / 0.45), 0 1px 2px rgb(52 30 10 / 0.22); }
  .hm-piece:is([data-pos="0"], [data-pos="1"], [data-pos="-1"]):hover .hm-plate__name { color: var(--burgundy); }
}
.hm-piece__link:focus-visible { outline: 0; }
.hm-piece__link:focus-visible .hm-plate { outline: 2px solid var(--ochre); outline-offset: 3px; }
/* The upright frames (the same gold as the Portfolio page) */
.hm-f--baroque-p > .gframe__b { --frame: url("images/scrap/frame-baroque-p.webp"); --ar: 0.738; --ft: 17.82; --fr: 14.69; --fb: 18.24; --fl: 14.48; --slice: 13.15% 14.69% 13.46% 14.48%; }
.hm-f--classic-p > .gframe__b { --frame: url("images/scrap/frame-classic-p.webp"); --ar: 0.662; --ft: 19.28; --fr: 18.26; --fb: 19.4;  --fl: 17.67; --slice: 12.77% 18.26% 12.85% 17.67%; }
.hm-f--slim-p > .gframe__b    { --frame: url("images/scrap/frame-slim-p.webp");    --ar: 0.788; --ft: 10.89; --fr: 10.9;  --fb: 10.89; --fl: 11.11; --slice: 8.58% 10.9% 8.58% 11.11%; }
.hm-f--rococo-p > .gframe__b  { --frame: url("images/scrap/frame-rococo-p.webp");  --ar: 0.794; --ft: 21.4;  --fr: 19.1;  --fb: 21.61; --fl: 19.83; --slice: 17% 19.1% 17.17% 19.83%; }
.hm-f > .gframe__b > img { transition: scale 1.4s var(--ease); }
.hm-piece:hover .hm-f > .gframe__b > img { scale: 1.025; }

/* The wall label: a matte off-white card with a fine gold edge, set like a museum label
   (title, kind, a rule, the line, the palette) with its catalogue number in the corner. */
.hm-plate {
  position: relative; justify-self: center; display: block; width: min(100% - 1.25rem, 16.5rem); min-height: var(--lh); margin: var(--lgap) 0 0;
  border-radius: 1px; background: #fbf9f3 linear-gradient(180deg, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0) 38%);
  box-shadow: 0 0 0 1px rgb(181 139 60 / 0.6), 2px 3px 0 -1px #e3dac6, 0 9px 14px -9px rgb(52 30 10 / 0.42), 0 1px 2px rgb(52 30 10 / 0.2);
  transition: opacity 0.8s var(--ease), box-shadow 0.5s var(--ease);
}
.hm-piece:not(.is-center) .hm-plate { opacity: 0.86; }
.hm-plate__card {
  position: relative; display: grid; align-content: start; gap: 0.1rem; padding: 0.8rem 1rem 0.8rem; text-align: left; color: #1f1416;
}
.hm-plate__card::after {                                      /* the catalogue number: 01 to 05, in the order the pieces are written */
  content: counter(piece, decimal-leading-zero); position: absolute; top: 0.85rem; right: 1rem;
  font-family: var(--font-type); font-size: 0.75rem; line-height: 1; letter-spacing: 0.12em; color: #8f6d2c;
}
.hm-plate__name { padding-right: 2.2rem; font-family: var(--font-display); font-weight: 400; font-style: normal; font-size: 1.1rem; line-height: 1.15; letter-spacing: 0.01em; color: #1f1416; transition: color 0.4s var(--ease); }
.hm-plate__kind { font-family: var(--font-body); font-style: italic; font-size: 0.78rem; line-height: 1.35; color: #6b5459; }
.hm-plate__line { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid rgb(31 20 22 / 0.16); font-family: var(--font-body); font-size: 0.8125rem; line-height: 1.4; color: #2a1c1f; }
.hm-plate__meta { font-family: var(--font-body); font-size: 0.75rem; line-height: 1.4; letter-spacing: 0.02em; color: #6b5459; }

/* The arrows sit to the left and right of the three frames. */
.hm-stage__nav { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: calc(var(--floor) + var(--rh) * 0.2); display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hm-stage__nav > * { pointer-events: auto; }
.hm-stage__arrow {
  --d: min(50vw - 5rem, var(--x1) + var(--fw) / 2 + var(--gap) / 2);   /* clear of the Journal tab */
  position: absolute; z-index: 7; top: calc(var(--fh) / 2); translate: -50% -50%;
  display: grid; place-items: center; width: 2.75rem; aspect-ratio: 1; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgb(181 139 60 / 0.9); background: rgb(255 253 247 / 0.78); color: #5b3d12;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 3px rgb(255 253 247 / 0.5), inset 0 0 0 4px rgb(181 139 60 / 0.28), 0 8px 14px -8px rgb(60 36 10 / 0.45);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), translate 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hm-stage__nav .hm-stage__arrow { top: auto; bottom: calc(var(--rope-top) + var(--rh) + var(--floor) - var(--fh) / 2); translate: -50% 50%; }
.hm-stage__arrow svg { display: block; width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transition: translate 0.35s var(--ease); }
[data-gallery-prev] { left: calc(50% - var(--d)); }
[data-gallery-next] { left: calc(50% + var(--d)); }
.hm-stage__arrow:hover { background: #fffdf7; color: var(--burgundy); border-color: #a77a2c; box-shadow: inset 0 0 0 3px #fffdf7, inset 0 0 0 4px rgb(181 139 60 / 0.5), 0 12px 18px -10px rgb(60 36 10 / 0.5); }
[data-gallery-prev]:hover svg { translate: -2px 0; } [data-gallery-next]:hover svg { translate: 2px 0; }
.hm-stage__arrow:active { scale: 0.96; }
.hm-stage__arrow:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
/* The markers: one small gold diamond for each piece, on the floor under the rope. */
.hm-stage__dots { position: relative; list-style: none; display: flex; align-items: center; gap: 0.1rem; margin: 0; padding: 0; translate: 0 calc(var(--rh) * 0.03); }
.hm-stage__dots button { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: none; cursor: pointer; }
.hm-stage__dots button::before { content: ''; width: 0.36rem; height: 0.36rem; rotate: 45deg; background: rgb(143 109 44 / 0.4); box-shadow: 0 1px 0 rgb(255 255 255 / 0.6); transition: background-color 0.4s var(--ease), scale 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.hm-stage__dots button[aria-current]::before { background: #a77a2c; scale: 1.35; box-shadow: 0 0 0 2.5px rgb(251 246 234 / 0.9), 0 0 0 3.5px rgb(167 122 44 / 0.75); }
.hm-stage__dots button:hover::before, .hm-stage__dots button.is-peek:not([aria-current])::before { background: #a77a2c; }
.hm-stage__dots button:focus-visible { outline: 2px solid var(--ochre); outline-offset: 1px; }
/* Before home.js runs (or without it), the pieces sit in a plain row. */
.hm-stage:not(.is-ready) .hm-wall { margin: 0; padding-top: 0; -webkit-mask-image: none; mask-image: none; height: auto; display: flex; gap: 2rem; overflow-x: auto; padding-bottom: calc(var(--rh) + var(--floor)); }
.hm-stage:not(.is-ready) .hm-piece { position: relative; top: auto; left: auto; margin: 0; flex: none; }
.hm-stage:not(.is-ready) .hm-stage__nav { display: none; }

/* The floor the posts stand on: a skirting board along the foot of the wall, then a gallery
   wood floor (oak planks laid in perspective, running away from the wall toward the viewer). */
.hm-floor {
  position: absolute; z-index: 0; left: calc(50% - 50vw); width: 100vw; bottom: 0; height: calc(var(--floor) + var(--rh) * 0.2); pointer-events: none;
  background: #b48a5c; perspective: 22rem; perspective-origin: 50% -60%; clip-path: inset(-1.2rem 0 0 0);
}
.hm-floor::after {                                            /* the planks, tipped back into the room */
  content: ''; position: absolute; left: -40%; right: -40%; top: 0; height: 900%;
  background:
    linear-gradient(180deg, rgb(48 28 10 / 0.42) 0, rgb(48 28 10 / 0.12) 4%, rgb(255 244 225 / 0.1) 12%, rgb(48 28 10 / 0) 22%),
    url('images/scrap/gallery-floor-wood.webp') 50% 0 / 30rem auto repeat;
  transform-origin: 50% 0; transform: rotateX(74deg);
}
@media (max-width: 899px) { .hm-floor::after { background-image: linear-gradient(180deg, rgb(48 28 10 / 0.42) 0, rgb(48 28 10 / 0.12) 4%, rgb(255 244 225 / 0.1) 12%, rgb(48 28 10 / 0) 22%), url('images/scrap/gallery-floor-wood-sm.webp'); background-size: auto, 18rem auto; } }
.hm-floor::before {                                           /* the skirting board */
  content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 0.7rem;
  background: linear-gradient(180deg, #fffdf8 0, #f4eee1 45%, #e6dcc8 100%);
  box-shadow: 0 -1px 0 rgb(150 118 70 / 0.35), inset 0 1px 0 #fff, inset 0 -1px 0 rgb(110 82 44 / 0.4), 0 -7px 10px -8px rgb(60 40 10 / 0.3);
}

/* The velvet rope partition, standing in front of the wall. One picture (four posts, three spans);
   the portfolio sign hangs from the middle span. */
.hm-rope { position: absolute; z-index: 6; left: calc(50% - 50vw); width: 100vw; top: var(--rope-top); height: var(--rh); overflow-x: clip; pointer-events: none; }
.hm-rope__art { position: absolute; left: 50%; top: 0; width: var(--rw); max-width: none; height: var(--rh); translate: -50% 0; user-select: none; }
.hm-rope__hang {
  position: absolute; z-index: 1; left: 50%; top: 47.4%; translate: -50% 0; display: grid; justify-items: center; pointer-events: auto;
  transform-origin: 50% 0; animation: hm-sway 7s ease-in-out infinite;
}
.hm-rope__ring {                                              /* the brass ring round the rope */
  display: block; width: 0.72rem; height: calc(var(--rh) * 0.085); min-height: 0.85rem; border-radius: 0.36rem;
  border: 2px solid #c79a43; border-left-color: #f0d48c; border-right-color: #8d6119; box-shadow: 0 2px 3px rgb(52 30 10 / 0.35);
}
.hm-rope__chain { display: block; width: 74%; height: clamp(0.6rem, 1.3vw, 0.95rem); margin: -1px 0 -2px; overflow: visible; filter: drop-shadow(0 1px 1px rgb(52 30 10 / 0.35)); }
.hm-rope__sign {
  display: block; padding: 3px; border-radius: 2px; text-decoration: none;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.08) 0 1px, transparent 1px 3px, rgb(80 50 0 / 0.06) 3px 4px),
    linear-gradient(128deg, #f3dea4 0%, #d6b062 20%, #b8893a 42%, #e8cd86 60%, #c39a4a 80%, #edd59a 100%);
  box-shadow: inset 0 0 0 1px rgb(255 242 205 / 0.6), 0 12px 16px -10px rgb(52 30 10 / 0.55), 0 2px 3px rgb(52 30 10 / 0.25);
  transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hm-rope__card {
  display: block; padding: 0.55rem 1.05rem; white-space: nowrap; background: #fbf9f3; color: var(--burgundy);
  box-shadow: inset 0 0 0 1px rgb(150 110 40 / 0.35);
  font-family: var(--font-type); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hm-rope__card .arr { display: inline-block; transition: translate 0.4s var(--ease); }
.hm-rope__hang:hover { animation-play-state: paused; }
.hm-rope__sign:hover { translate: 0 2px; box-shadow: inset 0 0 0 1px rgb(255 242 205 / 0.6), 0 16px 20px -10px rgb(52 30 10 / 0.6), 0 2px 3px rgb(52 30 10 / 0.25); }
.hm-rope__sign:hover .arr { translate: 4px 0; }
.hm-rope__sign:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
@keyframes hm-sway { 0%, 100% { rotate: -0.9deg; } 50% { rotate: 0.9deg; } }

/* 4. SERVICES --------------------------------------------------------------------- *
   One sheet: the title and the quiz ribbon, the swatch book (unchanged), then Custom Fabrication in one row. */
.hm-book { container-type: inline-size; padding-inline: clamp(1rem, 3vw, 2.75rem); }
.hm-book .index.index--swatch { margin: 0; }
.hm-svc__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.25rem clamp(2rem, 5vw, 5rem); align-items: end; padding: 0 clamp(0.35rem, 1.75vw, 1.75rem) clamp(1.75rem, 3vw, 2.4rem); margin-bottom: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid rgb(38 10 20 / 0.16); }
.hm-svc__title .hm-card__title.display { font-size: clamp(2.3rem, 1.5rem + 2.5vw, 3.8rem); max-width: 13ch; }
.hm-svc__act .hm-card__lede { margin: 0; max-width: 40ch; }
.hm-svc__btns { margin: 1rem 0 0; max-width: none; }
.hm-svc__rib { margin: 1.4rem 0 0; max-width: none; }
.hm-svc__fab { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.9fr); gap: 2rem clamp(2rem, 4.5vw, 4rem); align-items: center; margin-top: clamp(2.4rem, 4vw, 3.2rem); padding: clamp(2.2rem, 3.6vw, 3rem) clamp(0.35rem, 1.75vw, 1.75rem) 0; border-top: 1px solid rgb(38 10 20 / 0.16); }
.hm-svc__fab .hm-ab__no span { color: #8a6a3e; }
.hm-svc__fabtext .hm-ab__h { margin-top: 0.9rem; }
.hm-trip.triptych { margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.9rem, 1.8vw, 1.5rem); }
.hm-trip.triptych img { aspect-ratio: 4 / 3.4; border-radius: 2px; box-shadow: 0 0 0 4px #fbf7ee, 0 0 0 5px rgb(60 30 20 / 0.12), 0 12px 16px -12px rgb(52 18 28 / 0.35); }
.hm-trip.triptych p { margin-top: 0.85rem; font-size: 0.86rem; line-height: 1.5; color: #3c2a31; }

/* The quiz ribbon: a small claret ribbon with a seal at its head and a swallowtail end.
   The same ribbon opens the collection quiz in the Collections heading. */
.hm-rib {
  --rib: var(--burgundy);
  position: relative; display: inline-grid; grid-template-columns: auto auto auto; align-items: center; gap: 0.85rem;
  padding: 0.45rem 2.1rem 0.45rem 0.45rem; max-width: 100%; cursor: pointer; text-align: left; font: inherit; color: #fbf1ec; border: 0;
  background: var(--rib); border-radius: 999px 0 0 999px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.95rem) 50%, 100% 100%, 0 100%);
  filter: drop-shadow(0 10px 14px rgb(52 18 28 / 0.28));
  transition: translate 0.45s var(--ease), background-color 0.35s var(--ease);
}
.hm-rib::after { content: ''; position: absolute; inset: 3px 1.15rem 3px 3px; border: 1px dashed rgb(241 211 208 / 0.45); border-right: 0; border-radius: 999px 0 0 999px; pointer-events: none; }
.hm-rib:hover { translate: 0 -2px; background: var(--ink); }
.hm-rib:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; }
.hm-rib__seal { display: grid; place-content: center; justify-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--pink); color: var(--rib); font-family: var(--font-type); font-size: 0.42rem; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: inset 0 0 0 2px var(--pink), inset 0 0 0 3px rgb(90 13 28 / 0.35); transition: rotate 0.6s var(--ease); }
.hm-rib:hover .hm-rib__seal { rotate: -10deg; }
.hm-rib__seal b { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.3rem; line-height: 0.9; letter-spacing: 0; }
.hm-rib__txt { display: grid; gap: 0.2rem; white-space: nowrap; font-family: var(--font-display); font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem); line-height: 1.05; }
.hm-rib__txt small { font-family: var(--font-type); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink); }
.hm-rib__txt em { font-style: italic; color: var(--pink); }
.hm-rib__go { padding-left: 0.85rem; border-left: 1px solid rgb(241 211 208 / 0.3); font-family: var(--font-type); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.hm-rib__go .arr { display: inline-block; transition: translate 0.45s var(--ease); }
.hm-rib:hover .hm-rib__go .arr { translate: 4px 0; }
.hm-coll__btns + .hm-svc__rib { margin-top: 1.25rem; }

/* 5. COLLECTIONS ------------------------------------------------------------------ *
   The heading is plain, with the next steps beside it.
   Each collection is a hang tag: an ivory face on a dark burgundy collar, hung from a twine string.
   The name is in the script; everything else is in the serif. */
.hm-coll__head {
  position: relative; z-index: 2; width: min(100% - 2 * var(--sb-edge), 74rem); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid rgb(38 10 20 / 0.16);
}
.hm-coll__title .chapter { margin: 0 0 1rem; }
.hm-coll__title h2.display { margin: 0; max-width: 19ch; color: var(--ink); font-size: clamp(2.4rem, 1.5rem + 2.8vw, 4.1rem); line-height: 0.98; text-wrap: balance; }
.hm-coll__title h2.display em { color: var(--ochre); }
.hm-coll__lede { margin: 0; max-width: 46ch; font-size: 1.02rem; line-height: 1.65; color: #4f3a41; }
.hm-coll__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin: 1.4rem 0 0; max-width: none; }
.hm-coll__btns .link { color: var(--ink); }
/* The intro and the four tags sit together on one ivory sheet. */
.hm-coll__wrap { margin-top: 0; }
.hm-coll__sheet { padding-top: clamp(2.8rem, 4.4vw, 4rem); }
.hm-coll__sheet > .hm-coll__head, .hm-coll__sheet > .hm-tags { width: 100%; }
.hm-coll__sheet > .hm-tags { margin-top: clamp(2rem, 3.6vw, 3rem); max-width: 100%; }
.hm-coll__wrap + .hm-cards { margin-top: clamp(3rem, 5vw, 4.5rem); }
/* The sheet wears the same burgundy collar as the tags: burgundy paper edge, then a hairline inside. */
.hm-coll__sheet {
  --collar: var(--burgundy);
  border: 0.65rem solid transparent; border-radius: 14px;
  background:
    url("images/scrap/paper-ivory.webp") 50% 0 / 900px auto repeat padding-box,
    linear-gradient(#fbf8ef, #fbf8ef) padding-box,
    linear-gradient(rgb(255 255 255 / 0.05), rgb(0 0 0 / 0.12)) border-box,
    linear-gradient(var(--collar), var(--collar)) border-box;
  box-shadow: inset 0 0 0 1px rgb(76 15 34 / 0.14), inset 0 0 0 6px #fbf8ef, inset 0 0 0 7px rgb(76 15 34 / 0.22),
              0 0 0 1px rgb(40 6 16 / 0.3), 0 34px 44px -30px rgb(52 18 28 / 0.55), 0 4px 10px rgb(52 18 28 / 0.12);
}

/* The steps to your proposal: one wide hang tag on the sheet. A burgundy collar around an ivory face,
   and on the right a burgundy ribbon end with a swallowtail cut and a brass eyelet. */
.hm-prop--tag { position: relative; margin: clamp(2.75rem, 4.4vw, 3.75rem) 0 0; filter: drop-shadow(0 22px 22px rgb(52 18 28 / 0.22)) drop-shadow(0 3px 4px rgb(52 18 28 / 0.14)); }
.hm-prop__collar {
  --end: clamp(3rem, 4.4vw, 4.2rem); --cut: 1.15rem;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--end);
  padding: 0.65rem 0 0.65rem 0.65rem; border-radius: 12px 0 0 12px;
  background: linear-gradient(rgb(255 255 255 / 0.04), rgb(0 0 0 / 0.1)), var(--burgundy) url("images/scrap/paper.webp") center / 600px auto;
  background-blend-mode: normal, multiply;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 50%, 100% 100%, 0 100%);
}
.hm-prop__face {
  position: relative; min-width: 0; border-radius: 9px 3px 3px 9px;
  padding: clamp(1.7rem, 2.8vw, 2.5rem) clamp(1.35rem, 3.6vw, 3.2rem) clamp(1.5rem, 2.4vw, 2.1rem);
  background: #fbf6ec url("images/scrap/paper-ivory.webp") center / 500px auto; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgb(76 15 34 / 0.12), inset 0 0 0 5px #fbf6ec, inset 0 0 0 6px rgb(76 15 34 / 0.22);
}
.hm-prop--tag .hm-prop__foot { margin-top: clamp(1.5rem, 2.6vw, 2.1rem); padding-top: clamp(1.1rem, 1.8vw, 1.5rem); }
.hm-prop__end { position: relative; display: grid; place-items: center; padding-right: var(--cut); }
.hm-prop__end::before { content: ''; position: absolute; inset: 4px calc(var(--cut) + 4px) 4px 6px; border: 1px dashed rgb(241 211 208 / 0.4); border-left: 0; }
.hm-prop__eyelet {
  position: relative; width: 1.15rem; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #24050d 0 38%, #b8893a 42% 60%, #f3dea4 66%, #8e6420 82%, transparent 86%);
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.3);
}
@media (max-width: 599.98px) {
  .hm-prop__collar { --end: 2.4rem; --cut: 0.8rem; padding: 0.5rem 0 0.5rem 0.5rem; }
  .hm-prop__face { padding: 1.5rem 1.1rem 1.4rem; }
  .hm-prop__eyelet { width: 0.95rem; }
}
.hm-tags {
  position: relative; z-index: 2; list-style: none; border: 0;
  width: min(100% - 2 * var(--sb-edge), 74rem); margin: clamp(2.5rem, 4.5vw, 4rem) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2.4vw, 2.25rem); align-items: stretch;
}
.hm-tag { position: relative; display: grid; padding-top: 4.6rem; min-width: 0; transition: translate 0.7s var(--ease); }
.hm-tag:nth-child(odd) { rotate: -0.7deg; }
.hm-tag:nth-child(even) { rotate: 0.6deg; }
.hm-tag { transform-origin: 50% 0; }
.hm-tags.is-hot .hm-tag.is-on { translate: 0 -6px; }
/* The twine: two strands from above, looped through the hole. */
.hm-tag__string {
  position: absolute; z-index: 3; top: 0; left: 50%; width: 3.4rem; height: 6.15rem; translate: -50% 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 98'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M18 0 C20 30 22 60 27 92' stroke='%23a8916b' stroke-width='2.4'/%3E%3Cpath d='M36 0 C34 30 32 60 27 92' stroke='%23c7b38c' stroke-width='2.4'/%3E%3Cpath d='M18 0 C20 30 22 60 27 92' stroke='%23e6d8b8' stroke-width='0.8' stroke-dasharray='2 3'/%3E%3Cpath d='M36 0 C34 30 32 60 27 92' stroke='%23f0e4c8' stroke-width='0.8' stroke-dasharray='2 3'/%3E%3Cellipse cx='27' cy='92' rx='5.5' ry='3.2' stroke='%23a8916b' stroke-width='2.2'/%3E%3C/g%3E%3C/svg%3E") center top / 100% 100% no-repeat;
  filter: drop-shadow(0 2px 1.5px rgb(52 30 20 / 0.35));
}
.hm-tag__back {
  position: relative; display: grid; grid-template-rows: 1fr auto;
  padding: 0.65rem 0.65rem 0; border-radius: 12px 12px 6px 6px;
  background: linear-gradient(rgb(255 255 255 / 0.04), rgb(0 0 0 / 0.1)), var(--burgundy) url("images/scrap/paper.webp") center / 600px auto;
  background-blend-mode: normal, multiply;
  box-shadow: 0 0 0 1px rgb(40 6 16 / 0.3), 0 30px 34px -24px rgb(52 18 28 / 0.6), 0 4px 8px rgb(52 18 28 / 0.14);
}
.hm-tag__face {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2.9rem clamp(1rem, 1.8vw, 1.6rem) 1.6rem; border-radius: 9px 9px 3px 3px;
  background: #fbf6ec url("images/scrap/paper-ivory.webp") center / 500px auto;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgb(76 15 34 / 0.12), inset 0 0 0 5px #fbf6ec, inset 0 0 0 6px rgb(76 15 34 / 0.22);
}
/* The punched hole and its brass eyelet, showing the burgundy collar through it */
.hm-tag__hole {
  position: absolute; top: 0.95rem; left: 50%; width: 1.05rem; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, #3a0a18 0 38%, #b8893a 42% 60%, #f3dea4 66%, #8e6420 82%, transparent 86%);
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.25);
}
.hm-tag__no { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.6rem); line-height: 1; max-width: none; color: var(--ochre); }
.hm-tag__pips { display: flex; gap: 0.32rem; margin: 0.6rem 0 0; max-width: none; }
.hm-tag__pips i { width: 0.5rem; height: 0.5rem; rotate: 45deg; border: 1px solid var(--ochre); }
.hm-tag__pips i.on { background: var(--ochre); }
.hm-tag__most { margin: 0.7rem 0 -0.5rem; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre); max-width: none; }
.hm-tag__name.hm-tag__name { margin: 0.75rem 0 0; font-family: var(--font-script); font-weight: 400; font-style: normal; font-size: clamp(2.5rem, 1.8rem + 1.8vw, 3.4rem); line-height: 1; letter-spacing: 0; color: var(--ochre); }
.hm-tag__desc { margin: 0.7rem 0 0; font-family: var(--font-body); font-size: 0.92rem; line-height: 1.55; color: #4f3a41; max-width: 26ch; }
.hm-tag__price, .hm-tag__avg { display: grid; justify-items: center; gap: 0.2rem; max-width: none; width: 100%; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.45; color: #6b4a52; }
.hm-tag__price { margin: auto 0 0; padding-top: 1.3rem; }
.hm-tag__price::before { content: ''; width: 60%; height: 1px; margin-bottom: 1.1rem; background: linear-gradient(90deg, transparent, rgb(140 26 66 / 0.45), transparent); }
.hm-tag__price b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.5rem + 1.3vw, 2.7rem); letter-spacing: 0; line-height: 1.05; text-transform: none; color: var(--ink); }
.hm-tag__avg { margin: 0.9rem 0 0; }
.hm-tag__avg b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.hm-tag__go {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 3.1rem;
  font-family: var(--font-type); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.hm-tag__go.hm-tag__go { color: #f6eadb; }
.hm-tag__go:hover { color: #fff; }
.hm-tag__go .arr { color: #e2c27f; }
.hm-tag__wax { top: 2.2rem; right: -1.1rem; width: 3.6rem; rotate: 10deg; }

/* The steps to your proposal: four rings joined by a dotted line. */
.hm-prop__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 2.15fr); gap: 2rem clamp(2rem, 4.5vw, 4.5rem); align-items: start; }
.hm-prop__head .hm-card__title { max-width: 11ch; font-size: clamp(2.1rem, 1.3rem + 2.2vw, 3.3rem); }
.hm-prop__steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem clamp(1rem, 2vw, 1.75rem); }
.hm-prop__steps li { counter-increment: step; position: relative; }
.hm-prop__steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.4rem; aspect-ratio: 1; margin-bottom: 1.1rem;
  border: 1px solid var(--ochre); border-radius: 50%; background: #f9f4ea;
  font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--ochre); position: relative; z-index: 1;
}
.hm-prop__steps li:not(:last-child)::after {
  content: ''; position: absolute; top: 1.2rem; left: 2.9rem; right: calc(-1 * clamp(1rem, 2vw, 1.75rem) + 0.5rem);
  border-top: 1px dashed var(--ochre); opacity: 0.65;
}
.hm-prop__steps h4 { margin: 0; font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem); line-height: 1.1; text-wrap: balance; }
.hm-prop__steps p { margin: 0.55rem 0 0; font-size: 0.92rem; line-height: 1.55; color: #4f3a41; max-width: none; }
.hm-prop__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(2rem, 3.4vw, 2.8rem); padding-top: clamp(1.4rem, 2.2vw, 1.8rem); border-top: 1px solid rgb(38 10 20 / 0.16); }
.hm-prop__note { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); color: var(--ink); max-width: none; }
.hm-prop__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin: 0; max-width: none; }

/* 6. FIND US ---------------------------------------------------------------------- */
.hm-find__cards { margin-top: clamp(3.5rem, 6vw, 5rem); }
/* Follow along, with the phone */
.hm-social { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: center; }
.hm-social__text { display: grid; gap: clamp(1.25rem, 2.4vw, 1.9rem); align-content: center; }
.hm-social .socials__copy { display: grid; gap: 0; }
.hm-social .socials__lede { max-width: 48ch; }
.hm-social__phone { container-type: inline-size; display: grid; justify-items: center; }
/* Visit: the studio, the map and the areas, on one card */
.hm-visit__head { padding-bottom: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: clamp(1.8rem, 3vw, 2.4rem); border-bottom: 1px solid rgb(38 10 20 / 0.16); }
.hm-visit__head .hm-card__title.display { max-width: 22ch; }
.hm-visit__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: stretch; }
.hm-visit .studio-card.hm-visit__studio { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; animation: none; rotate: none; }
.hm-visit .studio-card.hm-visit__studio::before, .hm-visit .studio-card.hm-visit__studio::after { display: none; }
.hm-visit .studio-card__name { text-align: left; font-size: clamp(1.45rem, 1.15rem + 0.8vw, 1.9rem); }
/* The map, cut like a postage stamp: a perforated ivory edge, a strip of tape and a studio postmark. */
.hm-visit__map.sb-map { position: relative; display: grid; padding: 12px; rotate: 1.2deg; background: none; box-shadow: none; filter: drop-shadow(0 18px 18px rgb(52 18 28 / 0.22)) drop-shadow(0 2px 3px rgb(52 18 28 / 0.14)); transition: rotate 0.6s var(--ease); }
.hm-visit__map.sb-map::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: #fbf8ef url("images/scrap/paper-ivory.webp") 50% 0 / 600px auto;
  -webkit-mask: radial-gradient(circle 5px, #0000 96%, #000) -8px -8px / 16px 16px round, linear-gradient(#000 0 0) content-box;
  mask: radial-gradient(circle 5px, #0000 96%, #000) -8px -8px / 16px 16px round, linear-gradient(#000 0 0) content-box;
  padding: 10px;
}
.hm-visit__map.sb-map:hover { rotate: 0deg; }
.hm-visit__map .sb-map__in { position: relative; z-index: 1; aspect-ratio: auto; min-height: 21rem; height: 100%; border-radius: 0; box-shadow: 0 0 0 1px rgb(76 15 34 / 0.35), 0 0 0 4px #fbf8ef, 0 0 0 5px rgb(76 15 34 / 0.18); }
.hm-map__tape { position: absolute; z-index: 3; top: -1.3rem; left: 12%; width: clamp(6rem, 9vw, 8rem); height: auto; rotate: -4deg; pointer-events: none; opacity: 0.92; }
.hm-map__mark { position: absolute; z-index: 3; left: -2.4rem; bottom: -2.2rem; width: clamp(9rem, 13vw, 11.5rem); height: auto; rotate: -9deg; color: #7a1a36; opacity: 0.78; mix-blend-mode: multiply; pointer-events: none; }
.hm-visit__areas { margin-top: clamp(2rem, 3.4vw, 2.8rem); }
.hm-visit__areas .sb-areas { margin: 0; padding: 0; }

/* 7. SMALL SCREENS ---------------------------------------------------------------- */
/* Narrower screens: the labels wrap onto more lines, so they are given more height. */
@media (max-width: 1279.98px) {
  .hm-stage { --lh: 8.6rem; --floor: 2.2rem; }
  .hm-stage__nav { align-items: flex-end; padding-bottom: 0.2rem; }   /* the markers sit on the floor, clear of the sign */
  .hm-stage__dots { translate: none; }
}
@media (max-width: 1099.98px) {
  .hm-stage { --fw: min(25vw, max(11rem, (100svh - 22rem) * 0.75)); --gap: 4vw; --lift: 0.6rem; --lh: 9rem; --floor: 2.3rem; }
  .hm-stage__arrow { width: 2.5rem; }
  .hm-plate { width: 100%; }
  .hm-plate__card { padding: 0.7rem 0.75rem; }
  .hm-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100% - 2 * var(--sb-edge), 44rem); row-gap: 1.5rem; }
  .hm-prop__grid { grid-template-columns: minmax(0, 1fr); }
  .hm-prop__head .hm-card__title { max-width: 16ch; }
}
@media (max-width: 999.98px) {
  .hm-svc__head, .hm-svc__fab { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hm-ab__four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-coll__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 899.98px) {
  .hm-ab__top { grid-template-columns: minmax(0, 1fr); }
  .hm-ab__photo { justify-self: start; width: min(70%, 16rem); order: -1; }
  .hm-ab__visual { justify-self: start; width: min(88%, 19rem); order: -1; }
  .hm-ab__visual .hm-ab__photo { width: 100%; order: 0; }
  .hm-ab__row { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
  .hm-ab__no { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 0.75rem; }
  .hm-ab__acts { grid-template-columns: minmax(0, 1fr); }
  .hm-ab__acts li { grid-template-columns: 4rem minmax(0, 1fr); align-items: baseline; column-gap: 0.75rem; padding: 0.8rem 1rem; border-top: 0; border-left: 4px solid var(--act); }
  .hm-ab__acts i { grid-column: 2; }
  main > .sb.hm-sec { padding-block: clamp(3.25rem, 9vw, 4.5rem) clamp(3.75rem, 10vw, 5rem); }
  .hm-cards { margin-top: 3.5rem; gap: 3.75rem; }
  .hm-card { padding: 3rem clamp(1.15rem, 5vw, 2rem) 2.4rem; }
  .hm-social, .hm-visit__top { grid-template-columns: minmax(0, 1fr); }
  .hm-social__phone { width: min(88%, 22rem); justify-self: center; }
  .hm-visit__map .sb-map__in { min-height: 0; aspect-ratio: 1.1; }
  .hm-map__mark { left: -0.6rem; bottom: -1.6rem; width: 8.5rem; }
  .hm-visit__map.sb-map { rotate: 0.6deg; }
  .hm-intro > .hm-intro__photo { width: min(72%, 19rem); }
  .hm-intro > .hm-intro__solo { width: 100%; }
  .hm-prop__steps { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .hm-prop__steps li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 1rem; }
  .hm-prop__steps li::before { margin: 0; grid-row: 1 / 3; }
  .hm-prop__steps li:not(:last-child)::after { top: 2.6rem; bottom: -1.2rem; left: 1.2rem; right: auto; border-top: 0; border-left: 1px dashed var(--ochre); }
  .hm-prop__steps h4 { align-self: center; }
}
@media (max-width: 599.98px) {
  .hm-ab__four { grid-template-columns: minmax(0, 1fr); }
  .hm-rib { grid-template-columns: auto minmax(0, 1fr); padding-right: 1.9rem; }
  .hm-rib__go { display: none; }
  .hm-rib__txt { white-space: normal; }
  .hm-tags { grid-template-columns: minmax(0, 1fr); width: min(100% - 2 * var(--sb-edge), 21rem); }
  .hm-prop__foot { align-items: flex-start; }
  .hm-stage { --fw: 60vw; --gap: 2.25rem; --lift: 1.6rem; --lh: 8.9rem; --floor: 2.5rem; }
  .hm-stage__arrow { --d: calc(50vw - 1.75rem); width: 2.5rem; }
  .hm-plate { width: min(100% - 1.5rem, 13rem); }
  .hm-plate__name { font-size: 1rem; }
  .hm-rope__card { padding: 0.5rem 0.8rem; letter-spacing: 0.14em; }
  .hm-trip.triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
  .hm-trip.triptych img { aspect-ratio: 1; box-shadow: 0 0 0 3px #fbf7ee, 0 0 0 4px rgb(60 30 20 / 0.12); }
  .hm-trip.triptych p { margin-top: 0.6rem; font-size: 0; line-height: 1.3; }
  .hm-trip.triptych p b { font-size: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-piece, .hm-piece .hm-f, .hm-f > .gframe__b > img, .hm-tag, .hm-rib, .hm-rib__seal { transition: none; }
  .hm-rope__hang { animation: none; }
  .hm-stage__arrow, .hm-stage__arrow svg, .hm-plate__card, .hm-stage__dots button::before { transition: none; }
}
/* Collections sheet: the tags keep their narrower widths on smaller screens. */
@media (max-width: 1099.98px) { .hm-coll__sheet > .hm-tags { width: min(100%, 44rem); } }
@media (max-width: 599.98px) { .hm-coll__sheet > .hm-tags { width: min(100%, 21rem); } .hm-coll__sheet { padding-inline: 1.15rem; } }

/* Workshop: "Made in our workshop" is set in the large italic in place of the number. */
.hm-ab__no--word { margin-bottom: 0.5rem; }
.hm-ab__no--word span { font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.7rem); line-height: 1; }

/* ---- November 25: seals, section names, and Collections on the marble ------------------------
   Each paper sheet wears one wax seal (images/scrap/seal-rose.webp) at real scale, centred on its
   top edge, half on the paper and half on the wall. Under it, the section name is set like the
   hero: tall serif capitals beside the script. */
.hm-card > .hm-wax {
  top: 0; left: 50%; right: auto; translate: -50% -50%; rotate: -4deg;
  width: clamp(5.25rem, 4rem + 3.2vw, 7.25rem);
  filter: drop-shadow(0 6px 6px rgb(40 6 16 / 0.42)) drop-shadow(0 1px 1px rgb(40 6 16 / 0.3));
}
.hm-card:has(> .hm-wax) { padding-top: clamp(4.6rem, 3.6rem + 3vw, 6.4rem); }
.hm-name {
  grid-column: 1 / -1; justify-self: center; width: 100%; max-width: none;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 0.18em;
  margin: 0 0 clamp(2.2rem, 3.6vw, 3.2rem); text-align: center; color: var(--ink);
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.9rem);
  line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase;
}
.hm-name__script {
  font-family: var(--font-script); text-transform: none; letter-spacing: 0; font-size: 1.28em; line-height: 0.7;
  color: var(--ochre); padding: 0 0.06em; white-space: nowrap;
}
.hm-name__cap { white-space: nowrap; }

/* Collections: no sheet; the name, the intro and the tags sit on the marble. */
.hm-coll__sheet,
.hm-coll__sheet.hm-card {
  border: 0; border-radius: 0; background: none; box-shadow: none;
  padding-inline: 0; padding-bottom: 0;
}
.hm-coll__sheet > .hm-name { margin-bottom: clamp(2.4rem, 4vw, 3.4rem); }
@media (max-width: 599.98px) { .hm-coll__sheet { padding-inline: 0; } }

/* Section numbers: each sits at the top left of its cut-out, above the name. */
.hm-card > .chapter.hm-mark,
.hm-coll__label .chapter.hm-mark {
  grid-column: 1 / -1; justify-self: start; align-self: start; width: auto; max-width: none;
  margin: 0 0 clamp(1.1rem, 2vw, 1.6rem); text-align: left;
}
.hm-card:has(> .hm-wax) > .chapter.hm-mark { margin-top: calc(-1 * clamp(2rem, 1.6rem + 1.4vw, 3rem)); }

/* Collections: the name, title, introduction, button and quiz ribbon on one hang tag,
   cut like the proposal tag. */
.hm-prop--tag.hm-coll__label { margin: 0 0 clamp(2.75rem, 4.4vw, 3.75rem); }
.hm-coll__label .hm-prop__face { padding-top: clamp(1.6rem, 2.6vw, 2.3rem); }
.hm-coll__label .hm-name { margin-bottom: clamp(1.6rem, 2.8vw, 2.4rem); }
.hm-coll__label .hm-coll__head { margin: 0; padding: 0; border: 0; }

/* Follow along: the name sits closer to the phone and the text. */
.hm-social > .hm-name { margin-bottom: clamp(0.6rem, 1.2vw, 1rem); }
.hm-social { row-gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.hm-coll__label .hm-coll__head { width: 100%; max-width: none; align-items: center; }
