/* VELVET & ROSE — statement.css
   The inner pages. Loaded last, after scrapbook.css. Nothing here styles the Home page.

   Each page opens with its statement: one gold frame on a limewash or marble wall
   (title, subheading, introduction and the first links), a photograph with a wax seal,
   and the four ornaments. The same wall then runs down the whole page, and every
   section after it is one paper card with one seal, ornaments tucked behind two corners.

   1. The wall        <body class="st" data-wall="lime"> or data-wall="marble"
   2. The statement   section.st-intro
   3. The cards       section.st-sec, its .wrap is the card
   4. Page notes      the few sections that need a word of their own
   5. Portfolio       gold frames hung straight on the marble
   6. Small screens */

/* 1. THE WALL ------------------------------------------------------------------ */
body.st { --wall-text: var(--ink); color-scheme: light; --wash: #efe6dc; }
body.st main {
  background-color: #d4b6ac;
  background-image: url("images/scrap/wall-limewash.webp");
  background-repeat: repeat-y; background-size: max(100%, 1180px) auto; background-position: 50% 0;
}
body.st[data-wall="marble"] main { background-color: #f3efe7; background-image: url("images/scrap/wall-marble-a.webp"); }
@media (max-width: 899.98px) {
  body.st main { background-image: url("images/scrap/wall-limewash-m.webp"); background-size: 100% auto; }
  body.st[data-wall="marble"] main { background-image: url("images/scrap/wall-marble-a-m.webp"); }
}
/* The closing drape keeps its own gap above it. */
body.st main > .closing { margin-top: clamp(1.5rem, 3vw, 2.75rem); }

/* Light type on everything that hangs on the wall. */
body.st :is(.st-intro, .st-sec) {
  --color-text: var(--ink);
  --color-muted: #4f3a41;
  --color-line: rgb(38 10 20 / 0.18);
  --color-primary: var(--ochre);
  --color-accent-text: var(--ochre-deep);
  --btn-bg: var(--burgundy); --btn-fg: var(--ivory); --btn-hover: var(--ink);
  --focus: var(--ochre);
  --paper: #f9f4ea;
  --sb-edge: clamp(1rem, 5vw, 5rem);
  color: var(--ink);
}

/* 2. THE STATEMENT ------------------------------------------------------------- */
body.st main > .st-intro, body.st .blog-home > .st-intro {
  z-index: auto; background: none; box-shadow: none; margin: 0;
  padding-block: calc(var(--header-h) + clamp(2.75rem, 5.5vw, 5rem)) clamp(3.25rem, 6vw, 5.75rem);
}
.st-intro .st-frame { --c: 1 / 8; z-index: 2; }
.st-intro .st-photo { --c: 9 / 13; width: min(100%, 25rem); justify-self: center; z-index: 1; }
.st-intro .st-photo.pphoto--tall { rotate: 1.6deg; }
.st-intro .st-photo.pphoto--arch { rotate: -1.2deg; }
.st-intro--solo .st-frame { --c: 2 / 12; }
.st-frame > .gframe__b { --pad: clamp(1.1rem, 4.4cqw, 2.6rem); }
.st-frame__in { display: grid; justify-items: start; gap: clamp(0.85rem, 1.4vw, 1.25rem); text-align: left; }
.st-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.4rem; }
.st-meta > * { margin: 0; }
.st-meta .label { color: var(--ink); }
.st-meta .label--accent { color: var(--ochre-deep); }
.st-meta .label + .label::before { content: ''; display: inline-block; width: 1.6rem; height: 1px; margin-right: 1rem; vertical-align: middle; background: currentColor; opacity: 0.4; }
.st-frame h1.display {
  margin: 0; max-width: 15ch; color: var(--ink);
  font-size: clamp(2.5rem, 1.35rem + 3.3vw, 4.7rem); line-height: 0.98; text-wrap: balance;
}
.st-frame h1.display em { color: var(--ochre); }
.st-sub { margin: 0; max-width: 40ch; font-size: clamp(1.15rem, 1rem + 0.45vw, 1.4rem); line-height: 1.45; color: var(--ink); }
/* The introduction itself is set in the typewriter face, a step down from the subheading. */
.st-lede { margin: 0; max-width: 52ch; font-family: var(--font-type); font-size: clamp(0.92rem, 0.88rem + 0.15vw, 1rem); line-height: 1.7; color: #3c2a31; }
.st-lede + .st-lede { margin-top: -0.3rem; }
.st-go { display: flex; flex-wrap: wrap; gap: 0.55rem 1.75rem; width: 100%; margin-top: 0.3rem; padding-top: 0.95rem; border-top: 1px solid rgb(38 10 20 / 0.16); }
.st-go a, .st-go.jhead__nav a {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.25rem;
  font-family: var(--font-type); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0;
}
.st-go a:hover { color: var(--ochre-deep); }
.st-go .arr { color: var(--ochre); }
.st-frame .folio__filter { justify-content: flex-start; margin: 0.4rem 0 0; }
.st-frame .chip { min-height: 2.4rem; padding: 0.4rem 1rem; font-family: var(--font-type); font-weight: 400; color: var(--ink); border-color: rgb(38 10 20 / 0.3); }
.st-frame .chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.st-frame .proj-hero__coll { color: var(--ochre-deep); margin: 0; }
.st-frame .proj-hero__back { text-decoration: none; }
.st-intro .ghost, .st-intro .page-hero__ghost { display: none; }

/* Services: The Design and The Experience, two cut-outs under the frame. */
.st-intro .st-opt { margin: 0; padding: clamp(1.6rem, 2.6vw, 2.4rem) clamp(1.4rem, 2.5vw, 2.3rem); background-color: var(--paper); color: var(--ink); border-radius: 9px; }
.st-intro .st-opt.duo__card--design { --c: 1 / 7; rotate: -0.6deg; }
.st-intro .st-opt.duo__card--exp { --c: 7 / 13; rotate: 0.7deg; margin-top: 1.5rem; }
.st-intro .st-opt h2 { margin: 0.35rem 0 0.6rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.7rem); line-height: 1; color: var(--ink); }
.st-intro .st-opt h2 em { font-family: var(--font-script); font-style: normal; font-size: 1.3em; color: var(--ochre); }
.st-intro .st-opt .label { color: var(--ochre-deep); }
.st-intro .st-opt .prose p { color: #3c2a31; max-width: 52ch; }
.st-intro .st-opt .btn-row { margin-top: 1rem; gap: 0.5rem 1.6rem; }
.st-intro .st-opt .link { color: var(--ink); }
.st-intro .st-opt::before, .st-intro .st-opt::after { content: none; }

/* Venues: where we work, a long cut-out under the frame. */
.st-intro .st-areas { --c: 1 / -1; padding: clamp(1.4rem, 2.2vw, 2rem) clamp(1.4rem, 2.6vw, 2.4rem); rotate: -0.3deg; }
.st-areas .areas { margin: 0; }
.st-areas .areas b { color: var(--ink); }
.st-areas .areas span { color: #4f3a41; }

/* 3. THE CARDS ----------------------------------------------------------------- */
body.st .st-sec {
  --card-w: min(100% - 2 * var(--sb-edge), 76rem);
  --card-l: calc((100% - var(--card-w)) / 2);
  position: relative; isolation: isolate; overflow-x: clip;
  margin: 0 !important; border-radius: 0 !important;
  padding-block: clamp(2.25rem, 3.8vw, 3.75rem) !important;
  background: none !important; box-shadow: none !important;
  text-align: left;
}
body.st .st-sec::before, body.st .st-sec::after { content: none !important; }
body.st .st-sec > .wrap {
  position: relative; z-index: 2;
  width: var(--card-w); max-width: none; margin-inline: auto;
  padding: clamp(3rem, 5vw, 4.75rem) clamp(1.35rem, 5vw, 5rem) clamp(2.5rem, 4.6vw, 4.5rem);
  border-radius: 10px;
  background: #f9f4ea url("images/scrap/paper.webp") 50% 0 / 900px auto repeat;
  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);
}
/* The one seal, centred on the card's top edge. */
.st-sec .st-wax { top: -1.9rem; left: 50%; right: auto; translate: -50% 0; rotate: -4deg; width: clamp(3.6rem, 4.6vw, 4.6rem); }
.st-sec:nth-of-type(even) .st-wax { background-image: url("images/scrap/seal-sprig.webp"); rotate: 6deg; }
/* The ornaments behind the corners stay beside the card on very wide screens. */
.st-sec > .st-orn { --side: 0; }

/* Type inside a card: script and serif in the headings, serif and typewriter in the text. */
.st-sec .chapter { margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.st-sec .chapter__no { background: none; color: var(--ochre-deep); border-color: rgb(38 10 20 / 0.28); }
.st-sec .chapter__line { background: rgb(38 10 20 / 0.2); }
.st-sec h2.display:not(.theme-dark *) { color: var(--ink); }
.st-sec h2.display em { color: var(--ochre); }
.st-sec :is(h3, h4):not(.theme-dark *) { color: var(--ink); }

/* Many pieces were drawn for dark walls and name a light colour of their own; on the card they take ink. */
body.st .st-sec :is(div, article, button, nav, aside, header, footer, figure, form, fieldset, section, cite, ul, ol, dl, a, p, li, dd, dt, h2, h3, h4, h5, figcaption, blockquote, td, th, small, b, strong, span, label, legend, summary, i):not(.label):not(.btn):not(.btn *):not(.st-wax):not(.chip):not(.chip *):not(.theme-dark, .theme-dark *):not(.theme-maroon, .theme-maroon *):not(.st-keep, .st-keep *) { color: inherit; }
body.st .st-sec :is(.label, .label *):not(.theme-dark *) { color: var(--ochre-deep); }
body.st .st-sec :is(h2, h3, h4) em:not(.theme-dark *) { color: var(--ochre); }
.st-sec :is(.muted, .lede):not(.theme-dark *) { color: #4f3a41; }
.st-sec .link:not(.theme-dark *) { color: var(--ink); }

/* 4. PAGE NOTES ---------------------------------------------------------------- */
/* About: one "Who we are" card in three parts. */
.who__part + .who__part { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgb(38 10 20 / 0.14); }
.who__k { margin-bottom: 0.9rem; }
.who .reasons { margin: 0; padding: 0; border: 0; background: none; }
.who__crafts.pov__grid { align-items: center; }
.who__lineage.lineage { padding: 0; background: none; color: var(--ink); }
.who__lineage .lineage__fig img { border-radius: 4px; }
.who__lineage figcaption { color: #4f3a41; }
.who__lineage .lineage__part { color: var(--ochre-deep); }
.who__lineage .lineage__figs b { color: var(--ochre); }
.who__lineage .lineage__figs span { color: var(--ink); }

/* Sections that were set on dark walls before: their pieces turn light with the card. */
.st-sec :is(.svc, .proc, .partner, .spot, .film__card, .inq-how__step, .portal-strip__in) { color: var(--ink); }
.st-sec .film__band { position: relative; z-index: 2; }
.st-sec .portal-strip__in { display: flex; }

/* Pages that ended on a wall before the closing. */
body.st[data-page="privacy"] main > .st-sec:last-child { padding-bottom: clamp(4rem, 8vw, 7rem) !important; }

/* 5. PORTFOLIO: GOLD FRAMES ON THE MARBLE --------------------------------------- */
body.st .folio.st-wallonly {
  --color-bg: transparent; --color-text: var(--ink); --color-muted: #4f3a41; --color-line: rgb(38 10 20 / 0.18); --focus: var(--ochre);
  background: none; padding-block: clamp(1rem, 2vw, 2rem) clamp(4rem, 8vw, 7rem);
}
body.st .folio .folio__lede { border-bottom-color: rgb(38 10 20 / 0.18); }
body.st .folio .folio__lede > .label { color: var(--ink); text-shadow: none; }
body.st .folio .folio__lede > .label--accent { color: var(--ochre-deep); }
body.st .frm__link { color: var(--ink); }
body.st .frm__art { background: none; box-shadow: none; border-radius: 0; filter: drop-shadow(0 1.3rem 1.1rem rgb(52 18 28 / 0.32)) drop-shadow(0 3px 3px rgb(52 18 28 / 0.25)); }
body.st .frm__link:is(:hover, :focus-visible) .frm__art { box-shadow: none; filter: drop-shadow(0 1.9rem 1.5rem rgb(52 18 28 / 0.38)) drop-shadow(0 3px 3px rgb(52 18 28 / 0.25)); }
/* Each frame: the artwork, how wide the gold is on each side (top and bottom in hundredths
   of the frame's height, left and right of its width) and where to cut it. */
body.st .frm { --k: 0.82; }
body.st .frm--f1, body.st .frm--f6 { --gf: url("images/scrap/frame-baroque-p.webp"); --gs: 13.15% 14.69% 13.46% 14.48%; --t: 13.47; --r: 14.69; --b: 13.79; --l: 14.48; }
body.st .frm--f3 { --gf: url("images/scrap/frame-rococo-p.webp"); --gs: 17% 19.1% 17.17% 19.83%; --t: 16.18; --r: 19.1; --b: 16.34; --l: 19.83; --k: 0.7; }
body.st .frm--f4 { --gf: url("images/scrap/frame-slim-p.webp"); --gs: 8.58% 10.9% 8.58% 11.11%; --t: 8.23; --r: 10.9; --b: 8.23; --l: 11.11; --k: 1; }
body.st .frm--f5 { --gf: url("images/scrap/frame-classic-p.webp"); --gs: 12.77% 18.26% 12.85% 17.67%; --t: 14.14; --r: 18.26; --b: 14.23; --l: 17.67; --k: 0.74; }
body.st .frm--f2 { --gf: url("images/scrap/frame-classic.webp"); --gs: 17.67% 12.77% 18.26% 12.85%; --t: 16.5; --r: 12.77; --b: 17.05; --l: 12.85; --k: 0.74; }
body.st .frm--f7 { --gf: url("images/scrap/frame-rococo.webp"); --gs: 19.83% 17% 19.1% 17.17%; --t: 22.24; --r: 17; --b: 21.42; --l: 17.17; --k: 0.66; }
body.st .frm--f8 { --gf: url("images/scrap/frame-slim.webp"); --gs: 11.11% 8.58% 10.9% 8.58%; --t: 8.55; --r: 8.58; --b: 8.38; --l: 8.58; --k: 1; }
body.st .frm__mat {
  inset: calc(var(--t) * var(--k) * 0.55%) calc(var(--r) * var(--k) * 0.55%) calc(var(--b) * var(--k) * 0.55%) calc(var(--l) * var(--k) * 0.55%);
  box-shadow: none;
  background: #f6efe2 url("images/scrap/paper.webp") center / cover;
}
body.st .frm__bevel {
  z-index: 3; box-shadow: none;
  border-style: solid; border-color: transparent; border-width: 0;
  border-image: var(--gf) var(--gs) / calc(var(--t) * var(--k) * 1%) calc(var(--r) * var(--k) * 1%) calc(var(--b) * var(--k) * 1%) calc(var(--l) * var(--k) * 1%) / 0 stretch;
}
/* The photograph sits in the opening with a slip of ivory mat showing inside the gold. */
body.st .frm__open {
  top: calc(var(--t) * var(--k) * 1.16%) !important; right: calc(var(--r) * var(--k) * 1.16%) !important;
  bottom: calc(var(--b) * var(--k) * 1.16%) !important; left: calc(var(--l) * var(--k) * 1.16%) !important;
  box-shadow: 0 0 0 1px rgb(150 120 90 / 0.35), inset 0 0 0 1px rgb(30 8 14 / 0.2);
}
body.st .frm__plate b { color: var(--ink); text-shadow: none; background-image: linear-gradient(var(--ochre), var(--ochre)); }
body.st .frm__link:is(:hover, :focus-visible, .is-lit) .frm__plate b { color: var(--ochre-deep); }
body.st .frm__plate small { color: #5a464c; }

/* 6. SMALL SCREENS ------------------------------------------------------------- */
@media (max-width: 899.98px) {
  body.st main > .st-intro, body.st .blog-home > .st-intro { padding-block: calc(var(--header-h) + 2.25rem) 3rem; }
  .st-intro .st-photo { width: min(78%, 20rem); justify-self: end; margin-top: -0.25rem; }
  .st-intro .st-opt.duo__card--exp { margin-top: 0; }
  .st-intro .st-opt, .st-intro .st-areas { width: 100%; justify-self: stretch; }
  .st-frame h1.display { font-size: clamp(2.2rem, 1.2rem + 5vw, 3.2rem); }
  body.st .st-sec { padding-block: 2.4rem !important; }
  body.st .st-sec > .wrap { padding: 3rem clamp(1.15rem, 5vw, 2rem) 2.4rem; }
}
@media (max-width: 899.98px) {
  .st-intro__wall > .cut:nth-child(n) { justify-self: center; }
  .st-intro .st-photo { justify-self: end !important; }
}

/* Portfolio frames hang a little larger on the marble than they did on the velvet. */
@media (min-width: 760px) {
  body.st .folio .frm--wide { --fw: 60%; } body.st .folio .frm--square { --fw: 46%; } body.st .folio .frm--tall { --fw: 37%; }
}
body.st .st-sec .svc__all { color: var(--ochre-deep); }
body.st .st-sec :is(.quizcut__go button, .quizcut__go button *) { color: var(--ivory); }
body.st .st-sec .legal__clause { background: rgb(38 10 20 / 0.045); border: 0; border-left: 2px solid var(--ochre); border-radius: 4px; }
body.st .st-sec .reason.is-on .reason__name em, body.st .st-sec .reason:hover .reason__name em { color: var(--ochre); }
body.st .st-sec .reason.is-on { border-top-color: var(--ochre); }
body.st main { overflow-x: clip; }

/* 7. GALLERY PAGE: THE TITLE AND THE MUSEUM LABELS ---------------------------------
   The page opens like Home's Gallery: polished gold letters mounted on the marble and one
   line cut into the stone. Each album then hangs with a museum wall label on the marble
   beside the lower corner of its frame (under the frame on smaller screens). */
body.st main > .pg-gal { padding: calc(var(--header-h) + clamp(3.5rem, 7vw, 6.5rem)) var(--gutter) clamp(2.5rem, 5vw, 4.5rem); background: none; }
.pg-gal__head { display: grid; justify-items: center; gap: clamp(0.8rem, 1.4vw, 1.2rem); text-align: center; }
.pg-gal__title {
  position: relative; margin: 0; max-width: none;
  font-family: var(--font-display); font-weight: 400; font-style: normal;
  font-size: clamp(2.8rem, 1.4rem + 5vw, 6.6rem); line-height: 1; letter-spacing: 0.2em; text-transform: uppercase;
  padding-left: 0.2em; 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);
}
.pg-gal__title::before, .pg-gal__title::after { content: attr(data-text); position: absolute; inset: 0; padding-left: inherit; pointer-events: none; text-shadow: none; }
.pg-gal__title::before { color: #fff3cf; translate: -0.022em -0.03em; }
.pg-gal__title::after {
  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;
}
.pg-gal__sub {
  display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0; max-width: none;
  font-family: var(--font-type); font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: #7c5618;
  text-shadow: 0 1px 0 rgb(255 255 255 / 0.75);
}
.pg-gal__sub::before, .pg-gal__sub::after { content: ''; flex: none; width: clamp(2rem, 6vw, 5rem); height: 1px; background: linear-gradient(90deg, transparent, #b58b3c); box-shadow: 0 1px 0 rgb(255 255 255 / 0.7); }
.pg-gal__sub::after { background: linear-gradient(90deg, #b58b3c, transparent); }
@media (max-width: 599.98px) { .pg-gal__sub { font-size: 0.68rem; letter-spacing: 0.2em; gap: 0.6rem; } .pg-gal__sub::before, .pg-gal__sub::after { width: 1.4rem; } }

/* The bar above the wall: the count, the filters, and how to open an album. */
body.st .folio .folio__lede { align-items: center; }
body.st .folio .folio__lede .folio__filter { margin: 0; justify-content: center; }

/* The museum label: a matte off-white card with a fine gold edge (as on Home). */
.frm__link { position: relative; display: block; }
.frm__label { display: block; width: min(100%, 17rem); margin: 1.4rem 0 0; }
.frm--hr .frm__label { margin-left: auto; }
.frm__label-card {
  position: relative; display: grid; gap: 0.12rem; padding: 0.85rem 1.05rem 0.8rem; text-align: left; color: #1f1416;
  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);
}
.frm__label-no { position: absolute; top: 0.9rem; right: 1rem; font-family: var(--font-type); font-size: 0.75rem; line-height: 1; letter-spacing: 0.12em; color: #8f6d2c; }
.frm__label-name { padding-right: 2.2rem; font-family: var(--font-display); font-weight: 400; font-style: normal; font-size: 1.15rem; line-height: 1.15; color: #1f1416; transition: color 0.4s var(--ease); }
.frm__label-kind { font-family: var(--font-body); font-style: italic; font-size: 0.8rem; line-height: 1.35; color: #6b5459; }
.frm__label-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.45; color: #2a1c1f; }
.frm__label-dl { display: grid; gap: 0.15rem; margin-top: 0.45rem; }
.frm__label-dl > span { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 0.5rem; font-family: var(--font-body); font-size: 0.75rem; line-height: 1.4; color: #6b5459; }
.frm__label-dl b { font-family: var(--font-type); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5a464c; }
.frm__label-go { margin-top: 0.6rem; font-family: var(--font-type); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep); }
.frm__link:is(:hover, :focus-visible) .frm__label-name { color: var(--ochre-deep); }
/* Wide screens: the label hangs on the marble beside the frame, level with its lower edge,
   on the open side (right of a frame hung left, left of a frame hung right). */
@media (min-width: 1100px) {
  .frm__label { position: absolute; bottom: 0; margin: 0; width: 16rem; }
  .frm--hl .frm__label { left: calc(100% + clamp(1.75rem, 2.6vw, 2.75rem)); }
  .frm--hr .frm__label { right: calc(100% + clamp(1.75rem, 2.6vw, 2.75rem)); margin: 0; }
}
@media (max-width: 599.98px) {
  .pg-gal__title { font-size: clamp(2rem, 10.5vw, 2.9rem); letter-spacing: 0.12em; padding-left: 0.12em; white-space: nowrap; }
  .pg-gal__sub { font-size: 0.62rem; letter-spacing: 0.16em; white-space: nowrap; }
  .pg-gal__sub::before, .pg-gal__sub::after { width: 1rem; }
  /* Phones keep the label short: title, kind, one line, and the way in. */
  .frm__label-dl { display: none; }
  .frm__label { width: min(100%, 15.5rem); margin-top: 1rem; }
}

/* 8. SERVICES: THE SWATCH-BOOK -----------------------------------------------------
   8a. The catalogue opens like Home: "The Swatch-book" (capitals and script), one line under
       it, the introduction, then the two occasions as small tags. */
.svc-book__head { display: grid; justify-items: center; text-align: center; margin-bottom: clamp(2.4rem, 4vw, 3.4rem); }
.svc-book__head .hm-name {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 0.18em;
  width: 100%; max-width: none; margin: 0 0 clamp(1rem, 1.8vw, 1.4rem); text-align: center; color: var(--ink);
  font-family: var(--font-display); font-weight: 400; font-style: normal; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.9rem);
  line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase;
}
.svc-book__head .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; }
.svc-book__head .hm-name__cap { white-space: nowrap; }
.svc-book__tagline.display { margin: 0; max-width: none; color: var(--ink); font-size: clamp(1.45rem, 1.05rem + 1.2vw, 2.2rem); line-height: 1.1; white-space: nowrap; }
.svc-book__tagline.display em { color: var(--ochre); }
.svc-book__lede { margin: clamp(0.8rem, 1.4vw, 1.1rem) 0 0; max-width: 60ch; font-size: 1.02rem; line-height: 1.65; color: #4f3a41; }
@media (max-width: 479.98px) { .svc-book__tagline.display { white-space: normal; } }

/* The occasions: two small hang tags, side by side. */
.occ-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.9rem, 1.8vw, 1.4rem); width: min(100%, 50rem); margin-top: clamp(1.6rem, 2.8vw, 2.2rem); text-align: left; }
.occ-tag {
  position: relative; padding: 1rem 1.2rem 1rem 2.6rem; color: var(--ink);
  background: #fbf8f2; border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(74 10 19 / 0.22), 0 8px 14px -10px rgb(52 14 26 / 0.4);
  clip-path: polygon(1.1rem 0, 100% 0, 100% 100%, 1.1rem 100%, 0 calc(100% - 1.1rem), 0 1.1rem);
}
.occ-tag::before { content: ''; position: absolute; left: 0.85rem; top: 50%; width: 0.5rem; height: 0.5rem; margin-top: -0.25rem; border-radius: 50%; background: var(--paper, #f3ede4); box-shadow: inset 0 0 0 1px rgb(74 10 19 / 0.45), 0 0 0 2px #fbf8f2, 0 0 0 3px rgb(181 139 60 / 0.55); }
.occ-tag h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.22rem; line-height: 1.15; color: var(--ink); }
.occ-tag > p { margin: 0.3rem 0 0; max-width: none; font-size: 0.84rem; line-height: 1.5; color: #5b484d; }
.occ-tag .occ-tag__most { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.8rem; margin-top: 0.6rem; padding-top: 0.55rem; border-top: 1px solid rgb(38 10 20 / 0.12); }
.occ-tag__most .label { flex-basis: 100%; font-size: 0.62rem; color: var(--ochre-deep); }
.occ-tag__most a { font-size: 0.84rem; color: var(--ink); text-decoration: underline; text-decoration-color: rgb(74 10 19 / 0.35); text-underline-offset: 3px; }
.occ-tag__most a:hover { color: var(--ochre-deep); text-decoration-color: currentColor; }
.occ-tags__note { margin: 1rem 0 0; max-width: none; font-size: 0.86rem; color: #5b484d; }
@media (max-width: 639.98px) { .occ-tags { grid-template-columns: minmax(0, 1fr); } }

/* 8b. The contents column: the Velvet & Rose Swatch-book as a stack of cloth.
   The current service is the full swatch on top; every other fabric shows as a sliver of its
   pinked edge, with a small paper tag for its number and name. Fabrics follow the catalogue
   (velvet first). Wide screens only; smaller screens keep the scrolling contents bar. */
.svc-nav__book { display: none; }
@media (min-width: 1100px) {
  body.st .svc-nav.svc-nav--stack .svc-nav__label { display: block; margin: 0 0 auto; padding: 0; background: none; box-shadow: none; border: 0; }
  body.st .svc-nav--stack .svc-nav__book { display: grid; justify-items: center; gap: 0.15rem; margin: 0 0 1.3rem; max-width: none; text-align: center; color: var(--ink); }
  .svc-nav__book-cap { font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.24em; text-transform: uppercase; }
  .svc-nav__book-script { font-family: var(--font-script); font-size: 3.3rem; line-height: 0.85; color: var(--ochre); }
  body.st .svc-nav--stack ol { display: grid; gap: 0; margin: 0; }
  body.st .svc-nav--stack li { position: relative; }
  body.st .svc-nav--stack li:not(:last-child) {
    --pink: 10px; display: flex; align-items: flex-end; height: 2.7rem; margin-top: -0.5rem; padding: 0 0.55rem 0.72rem;
    filter: drop-shadow(0 3px 2px rgb(38 10 20 / 0.3)) drop-shadow(0 1px 0 rgb(38 10 20 / 0.12));
    transition: height 0.6s var(--ease);
  }
  body.st .svc-nav--stack li:first-child { margin-top: 0; }
  /* the cloth */
  body.st .svc-nav--stack li:not(:last-child)::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background-color: var(--cloth);
    background-image: linear-gradient(180deg, rgb(0 0 0 / 0.18), rgb(0 0 0 / 0) 35%, rgb(255 255 255 / 0.05) 80%, rgb(0 0 0 / 0.12)), var(--sw);
    background-size: cover; background-position: 50% var(--sy, 50%);
    -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / var(--pink) 100% repeat-x;
    mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / var(--pink) 100% repeat-x;
  }
  body.st .svc-nav--stack li:nth-child(1) { z-index: 9; --sw: url("images/swatch/velvet-burgundy.jpg"); --cloth: #3f040f; }
  body.st .svc-nav--stack li:nth-child(2) { z-index: 8; --sw: url("images/swatch/lace-white.jpg"); --cloth: #efe6da; --sy: 40%; }
  body.st .svc-nav--stack li:nth-child(3) { z-index: 7; --sw: url("images/swatch/cheesecloth-nude.jpg"); --cloth: #d4b297; --sy: 35%; }
  body.st .svc-nav--stack li:nth-child(4) { z-index: 6; --sw: url("images/swatch/floral-peony.jpg"); --cloth: #d1a29b; }
  body.st .svc-nav--stack li:nth-child(5) { z-index: 5; --sw: url("images/swatch/satin-magenta.jpg"); --cloth: #880d35; }
  body.st .svc-nav--stack li:nth-child(6) { z-index: 4; --sw: url("images/swatch/damask-cream.jpg"); --cloth: #e0d2c8; --sy: 45%; }
  body.st .svc-nav--stack li:nth-child(7) { z-index: 3; --sw: url("images/swatch/lace-mauve.jpg"); --cloth: #a2817a; }
  body.st .svc-nav--stack li:nth-child(8) { z-index: 2; --sw: url("images/swatch/linen-stripe.jpg"); --cloth: #cbaf98; }
  /* the paper tag; its link covers the whole strip */
  body.st .svc-nav.svc-nav--stack .svc-nav__label li:not(:last-child) a {
    position: static; z-index: auto; display: inline-flex; align-items: baseline; gap: 0.45rem; max-width: 100%;
    min-height: 0; padding: 0.2rem 0.5rem 0.22rem; overflow: hidden;
    font-family: var(--font-display); font-size: 0.86rem; font-style: normal; font-weight: 400; line-height: 1.15; letter-spacing: 0.01em; white-space: nowrap;
    color: var(--ink); background: #fbf8f2; box-shadow: 0 0 0 1px rgb(38 10 20 / 0.14), 0 1px 2px rgb(38 10 20 / 0.25);
  }
  body.st .svc-nav.svc-nav--stack .svc-nav__label li:not(:last-child) a::before { content: ''; position: absolute; inset: 0; z-index: 0; width: auto; height: auto; margin: 0; rotate: none; opacity: 1; background: none; }
  body.st .svc-nav.svc-nav--stack .svc-nav__label li:not(:last-child) a > span { position: relative; min-width: 0; font-family: var(--font-type); font-style: normal; font-size: 0.62rem; letter-spacing: 0.1em; color: var(--ochre-deep); }
  body.st .svc-nav--stack li:not(:last-child) a { text-overflow: ellipsis; }
  body.st .svc-nav--stack li:not(:last-child):hover { z-index: 10; }
  body.st .svc-nav--stack li:not(:last-child):hover::before { filter: brightness(1.06); }
  /* the current swatch: the full piece of cloth, and its tag shows the full name */
  body.st .svc-nav--stack li:not(:last-child):has(> a.is-current) { height: 8.4rem; }
  body.st .svc-nav.svc-nav--stack .svc-nav__label li:not(:last-child) a.is-current { padding: 0.4rem 0.6rem 0.45rem; font-size: 1rem; white-space: normal; color: var(--ink); box-shadow: 0 0 0 1px rgb(74 10 19 / 0.35), 0 2px 4px rgb(38 10 20 / 0.3); }
  body.st .svc-nav.svc-nav--stack .svc-nav__label li:not(:last-child) a:hover { color: var(--ochre-deep); }
  body.st .svc-nav--stack li:last-child { margin-top: 1.1rem; padding-top: 0.8rem; border-top: 1px solid rgb(38 10 20 / 0.16); }
  body.st .svc-nav.svc-nav--stack .svc-nav__label li:last-child a { color: var(--ink); }
  body.st .svc-nav.svc-nav--stack .svc-nav__label li:last-child a span { color: var(--ochre-deep); }
}

/* 9. THE CLOSING, A LITTLE SHORTER ----------------------------------------------------
   Same velvet and the same parts, set tighter: less height above and below, a smaller
   title, and closer rows. */
main > .closing.closing { padding-block: clamp(2.4rem, 4.4vw, 4rem); }
main > .closing .closing__grid { gap: clamp(1.75rem, 3.5vw, 3.5rem); }
main > .closing .cta__title { font-size: clamp(2rem, 1.3rem + 2.5vw, 3.5rem); margin: 0.7rem 0 1.1rem; line-height: 0.98; }
main > .closing .cta__title em { line-height: 1; }
main > .closing .cta__copy { margin: 0 0 1.25rem; }
main > .closing .closing__faq { margin-top: clamp(0.9rem, 1.6vw, 1.35rem); }
main > .closing .closing__faq .acc__btn { padding: 0.55rem 0; min-height: 2.6rem; }
main > .closing .closing__all { margin-top: 0.9rem; }

/* 10. SERVICES: ONE INTRO CUTOUT, THE SPINE, DESIGNER'S NOTES ------------------------
   10a. The statement: one paper cutout on a clean wall (no frame or ornaments). The seal
        sits centred on its top edge, as on the cards below. */
.st-intro--one .st-one {
  grid-column: 1 / -1; position: relative; justify-self: center;
  width: min(100%, 76rem);
  padding: clamp(3rem, 5vw, 4.5rem) clamp(1.35rem, 5vw, 5rem) clamp(2.5rem, 4.4vw, 4rem);
  border-radius: 10px; color: var(--ink);
  background: #f9f4ea url("images/scrap/paper.webp") 50% 0 / 900px auto repeat;
  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);
}
.st-one .st-wax { top: -1.9rem; left: 50%; right: auto; translate: -50% 0; rotate: -4deg; width: clamp(3.6rem, 4.6vw, 4.6rem); }
.st-one__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(1.75rem, 4vw, 4rem); align-items: center; }
.st-one__head { display: grid; justify-items: start; gap: clamp(0.85rem, 1.4vw, 1.25rem); }
.st-one__head h1.display { margin: 0; max-width: 13ch; font-size: clamp(2.6rem, 1.4rem + 3.6vw, 5rem); line-height: 0.95; color: var(--ink); }
.st-one__head h1.display em { color: var(--ochre); }
.st-one__head .st-sub { margin: 0; max-width: 30ch; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); color: #3c2a31; }
.st-one__photo { margin: 0; justify-self: end; width: min(100%, 22rem); padding: 0.6rem 0.6rem 2rem; background: #fdfbf6; rotate: 1.4deg; box-shadow: 0 0 0 1px rgb(60 24 30 / 0.08), 0 18px 24px -16px rgb(52 18 28 / 0.45); }
.st-one__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.st-one__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(2.25rem, 4vw, 3.25rem); border-top: 1px solid rgb(38 10 20 / 0.16); }
.st-one__opt { padding: clamp(1.6rem, 2.6vw, 2.2rem) clamp(0rem, 2.5vw, 2.5rem) 0 0; }
.st-one__opt + .st-one__opt { padding: clamp(1.6rem, 2.6vw, 2.2rem) 0 0 clamp(1.5rem, 2.5vw, 2.5rem); border-left: 1px solid rgb(38 10 20 / 0.16); }
.st-one__opt .label { margin: 0; color: var(--ochre-deep); }
.st-one__opt h2 { margin: 0.35rem 0 0.6rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.7rem); line-height: 1; color: var(--ink); }
.st-one__opt h2 em { font-family: var(--font-script); font-style: normal; font-size: 1.3em; color: var(--ochre); }
.st-one__opt > p:not(.label) { margin: 0; max-width: 52ch; color: #3c2a31; }
.st-one__opt .btn-row { margin-top: 1rem; gap: 0.5rem 1.6rem; }
.st-one__opt .link { color: var(--ink); }
@media (max-width: 759.98px) {
  .st-one__top, .st-one__duo { grid-template-columns: minmax(0, 1fr); }
  .st-one__photo { justify-self: center; width: min(82%, 18rem); }
  .st-one__opt, .st-one__opt + .st-one__opt { padding: 1.5rem 0 0; border-left: 0; }
  .st-one__opt + .st-one__opt { margin-top: 1.5rem; border-top: 1px solid rgb(38 10 20 / 0.16); }
}

/* 10b. Each service's swatch runs as a tall strip beside its whole introduction. */
@media (min-width: 760px) {
  .svc .svc__head .svc__no {
    grid-row: 1 / span 4; align-self: stretch; aspect-ratio: auto; min-height: 9rem; margin-top: 0.3rem;
    place-items: start center; padding-top: 1.45em;
  }
  .svc .svc__head .svc__no::before { inset: auto 14%; top: 0.85em; height: 1.85em; }
}

/* 10c. The spine: a cloth-bound border down the left of the swatch book, behind the stack. */
@media (min-width: 1100px) {
  body.st .svc-sec .svc-layout::before {
    content: ''; position: absolute; z-index: 0; top: 0; bottom: 0; left: 0;
    width: calc(clamp(1.35rem, 5vw, 5rem) + 15.5rem + 1.6rem);
    border-radius: 10px 0 0 10px; pointer-events: none;
    background:
      url("images/swatch/velvet-burgundy.jpg") 0 0 / 600px auto repeat-y,
      #3f040f;
    -webkit-mask: linear-gradient(90deg, #000 0 1.1rem, transparent 1.1rem);
    mask: linear-gradient(90deg, #000 0 1.1rem, transparent 1.1rem);
    box-shadow: none;
  }
  body.st .svc-sec .svc-layout::after {
    content: ''; position: absolute; z-index: 0; top: 0; bottom: 0; left: 1.1rem; opacity: 1;
    width: calc(clamp(1.35rem, 5vw, 5rem) + 15.5rem + 0.5rem);
    pointer-events: none; -webkit-mask: none; mask: none;
    background:
      repeating-linear-gradient(180deg, rgb(74 10 19 / 0.45) 0 6px, transparent 6px 12px) 0.55rem 0 / 1px 100% no-repeat,
      linear-gradient(90deg, rgb(63 4 15 / 0.16), rgb(63 4 15 / 0) 1.4rem),
      rgb(236 201 197 / 0.28);
    box-shadow: inset -1px 0 0 rgb(181 139 60 / 0.55), 1px 0 0 rgb(255 255 255 / 0.6);
  }
  body.st .svc-sec .svc-layout > .svc-list { position: relative; z-index: 1; }
}

/* 10d. Designer's notes: titles in a hand-written cursive, a pen line to the photograph,
        and each photograph as a white polaroid cutout. */
body.st .svc .svc__note-head {
  font-family: 'La Belle Aurore', var(--font-script); font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: clamp(1.55rem, 1.25rem + 0.8vw, 2rem); line-height: 1.15; color: var(--ink);
}
body.st .svc .svc__note-head span { font-family: var(--font-display); font-size: 0.5em; letter-spacing: 0.06em; color: var(--ochre); }
body.st .svc .svc__note-line {
  top: 0.95em; height: 16px; margin-top: -8px; background: var(--ochre); box-shadow: none; opacity: 0.85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 30 5, 52 12, 80 8 S 130 4, 160 9 S 190 7, 198 8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 30 5, 52 12, 80 8 S 130 4, 160 9 S 190 7, 198 8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
/* the arrowhead at the photograph's end, drawn in the same pen */
body.st .svc .svc__note-line i {
  width: 14px; height: 16px; margin-top: -8px; border-radius: 0; box-shadow: none; background: var(--ochre);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M12 2.5 C 8 5, 5 7, 2 8.4 C 5 9.6, 8.5 11.5, 11.5 14' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M12 2.5 C 8 5, 5 7, 2 8.4 C 5 9.6, 8.5 11.5, 11.5 14' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.st .svc .svc__note.is-right .svc__note-line i { left: -2px; }
body.st .svc .svc__note.is-left .svc__note-line i { right: -2px; scale: -1 1; }
body.st .svc.is-flow .svc__note .svc__note-line i { right: -2px; left: auto; scale: -1 1; }
/* the polaroids */
body.st .svc .svc__pic { background: #fdfbf6; box-shadow: 0 0 0 1px rgb(60 24 30 / 0.08), 0 16px 22px -14px rgb(52 18 28 / 0.5), 0 2px 4px rgb(52 18 28 / 0.08); }
body.st .svc .svc__pic img { inset: 0.55rem 0.55rem 2rem; width: calc(100% - 1.1rem); height: calc(100% - 2.55rem); }
body.st .svc .svc__pic:nth-child(4n+1) { rotate: -1.2deg; }
body.st .svc .svc__pic:nth-child(4n+3) { rotate: 1deg; }
body.st .svc .svc__pic::after { color: var(--ink); text-shadow: none; bottom: 0.45rem; }
body.st .svc .svc__pic img, .st-one__photo img { border-radius: 0; }

/* 11. SERVICES: SWATCH ON THE RIGHT, BURGUNDY SPINE, HOME FABRICS, WORKSHOP NOTE ------
   11a. Each service's swatch strip sits to the right of its introduction. */
@media (min-width: 760px) {
  .svc .svc__head { grid-template-columns: minmax(0, 1fr) auto; }
  .svc .svc__head > :not(.svc__no) { grid-column: 1; }
  .svc .svc__head .svc__no { grid-column: 2; grid-row: 1 / span 4; }
}
@media (max-width: 759.98px) { .svc .svc__head .svc__no { justify-self: end; } }

/* 11b. The spine is dark burgundy velvet the full width of the left column; the
        Swatch-book title and the fabric stack sit on a white paper label on top of it. */
@media (min-width: 1100px) {
  body.st .svc-sec .svc-layout::before {
    width: calc(clamp(1.35rem, 5vw, 5rem) + 15.5rem + 1.6rem);
    background:
      linear-gradient(90deg, rgb(20 0 6 / 0.35), rgb(20 0 6 / 0) 1.6rem, rgb(20 0 6 / 0) calc(100% - 1.2rem), rgb(20 0 6 / 0.4)),
      linear-gradient(rgb(38 2 12 / 0.55), rgb(38 2 12 / 0.55)),
      url("images/swatch/velvet-burgundy.jpg") 0 0 / 600px auto repeat,
      #2a030c;
    -webkit-mask: none; mask: none;
    box-shadow: inset -1px 0 0 rgb(181 139 60 / 0.6);
  }
  body.st .svc-sec .svc-layout::after {
    left: 0.85rem; width: 1px; opacity: 1; box-shadow: none;
    background: repeating-linear-gradient(180deg, rgb(236 201 197 / 0.55) 0 6px, transparent 6px 12px);
  }
  body.st .svc-nav.svc-nav--stack { padding-right: 0; }
  body.st .svc-nav.svc-nav--stack .svc-nav__label {
    margin: 0 0 auto; padding: 1.4rem 1rem 0.6rem;
    background: #fdfbf6 url("images/scrap/paper.webp") 50% 0 / 700px auto repeat;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgb(60 24 30 / 0.1), 0 18px 26px -14px rgb(0 0 0 / 0.6), 0 2px 4px rgb(0 0 0 / 0.25);
  }
  body.st .svc-nav.svc-nav--stack li:last-child { margin-top: 0.8rem; padding-top: 0.5rem; }
}

/* 11c. The fabrics match the Home swatch book: Floral toile is the blush toile print and
        Custom Fabrication is the raw canvas weave, in the stack and on each service's strip. */
#tablescape { --sw: url("images/swatch/cheesecloth-nude.jpg"); --cloth: #d4b297; }
#florist { --sw: url("images/swatch/toile-blush.jpg"); --cloth: #e7bdb4; }
#venue-styling { --sw: url("images/texture/silk-ivory.jpg"); --cloth: #ece3d6; }
#guest-experience { --sw: url("images/swatch/damask-cream.jpg"); --cloth: #e0d2c8; }
#fabrication { --sw: url("images/texture/canvas-weave.webp"); --cloth: #d9cdb8; }
#fabrication .svc__head .svc__no { background-size: auto, 240px auto; background-repeat: no-repeat, repeat; }
@media (min-width: 1100px) {
  body.st .svc-nav--stack li:nth-child(3) { --sw: url("images/swatch/cheesecloth-nude.jpg"); --cloth: #d4b297; }
  body.st .svc-nav--stack li:nth-child(4) { --sw: url("images/swatch/toile-blush.jpg"); --cloth: #e7bdb4; }
  body.st .svc-nav--stack li:nth-child(6) { --sw: url("images/texture/silk-ivory.jpg"); --cloth: #ece3d6; }
  body.st .svc-nav--stack li:nth-child(7) { --sw: url("images/swatch/damask-cream.jpg"); --cloth: #e0d2c8; }
  body.st .svc-nav--stack li:nth-child(8) { --sw: url("images/texture/canvas-weave.webp"); --cloth: #d9cdb8; }
  body.st .svc-nav--stack li:nth-child(8)::before { background-size: auto, 240px auto; background-repeat: no-repeat, repeat; }
}

/* 11d. From the workshop: a small subsection closing service 8. */
.svc-workshop { margin-top: clamp(2.5rem, 4.5vw, 3.5rem); padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 3vw, 2.4rem); border-radius: 4px; background: rgb(255 255 255 / 0.5); box-shadow: 0 0 0 1px rgb(38 10 20 / 0.12); text-align: center; }
.svc-workshop__kicker { margin: 0; color: var(--ochre-deep); }
.svc-workshop__title { margin: 0.5rem 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.05; color: var(--ink); }
.svc-workshop__title em { font-family: var(--font-script); font-style: normal; font-size: 1.3em; color: var(--ochre); }
.svc-workshop__lede { margin: 0.6rem auto 0; max-width: 52ch; font-size: 0.95rem; color: #4f3a41; }
.svc-workshop__trip.triptych { margin: clamp(1.4rem, 2.6vw, 2rem) 0 0; gap: clamp(0.8rem, 1.6vw, 1.25rem); text-align: left; }
@media (min-width: 600px) { .svc-workshop__trip.triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-workshop__trip figure { padding: 0.45rem 0.45rem 1.4rem; background: #fdfbf6; box-shadow: 0 0 0 1px rgb(60 24 30 / 0.08), 0 12px 16px -12px rgb(52 18 28 / 0.45); }
.svc-workshop__trip li:nth-child(1) figure { rotate: -1deg; }
.svc-workshop__trip li:nth-child(3) figure { rotate: 1deg; }
.svc-workshop__trip img { display: block; aspect-ratio: 4 / 3.6; border-radius: 0; }
.svc-workshop__trip p { margin-top: 0.7rem; font-size: 0.86rem; line-height: 1.5; color: #3c2a31; }
.svc-workshop__specs { display: grid; gap: 0.5rem; margin: clamp(1.3rem, 2.4vw, 1.8rem) auto 0; max-width: 40rem; }
.svc-workshop__specs > div { display: grid; gap: 0.15rem; }
.svc-workshop__specs dt { font-family: var(--font-type); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep); }
.svc-workshop__specs dd { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--ink); }
.svc-workshop__note { margin: 0.9rem auto 0; max-width: 52ch; font-size: 0.86rem; color: #5b484d; }
.svc-workshop .btn-row { justify-content: center; margin-top: 1.1rem; gap: 0.5rem 1.6rem; }
.svc-workshop .link { color: var(--ink); }
.svc-workshop__lede a { white-space: nowrap; }
body.st .svc-sec .svc-layout > .svc-list { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
@media (max-width: 599.98px) {
  .svc-workshop__trip.triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .svc-workshop__trip figure { padding: 0.25rem 0.25rem 0.8rem; }
  .svc-workshop__trip p { font-size: 0.72rem; line-height: 1.4; }
  .svc-workshop__trip p b { font-size: 0.66rem; }
}

/* 9. GALLERY WALL, TIGHTER (November 25): the frames a little smaller and hung closer, as on a
   salon wall; the museum labels a touch smaller and set closer to each frame's lower corner. */
@media (min-width: 760px) {
  body.st .folio .frm--wide { --fw: 52%; } body.st .folio .frm--square { --fw: 40%; } body.st .folio .frm--tall { --fw: 32%; }
}
@media (min-width: 1100px) {
  body.st .folio .folio__grid { gap: clamp(2.25rem, 3vw, 3rem); }
  .frm__label { width: 14.5rem; bottom: -0.9rem; }
  .frm--hl .frm__label { left: calc(100% + clamp(0.6rem, 1vw, 1rem)); }
  .frm--hr .frm__label { right: calc(100% + clamp(0.6rem, 1vw, 1rem)); }
  .frm__label-card { padding: 0.75rem 0.9rem 0.7rem; }
  .frm__label-name { font-size: 1.05rem; }
  .frm__label-line { font-size: 0.78rem; }
  .frm__label-dl > span { grid-template-columns: 4.8rem minmax(0, 1fr); font-size: 0.72rem; }
  .frm__label-dl b { font-size: 0.64rem; }
}
/* The bar above the wall in the same gold as the frames and the title. */
body.st .folio .folio__lede { border-bottom-color: rgb(181 139 60 / 0.45); }
body.st .folio .folio__lede > .label, body.st .folio .folio__lede > .label--accent { color: #8a6220; text-shadow: 0 1px 0 rgb(255 255 255 / 0.7); }
body.st .folio .folio__filter .chip { color: #8a6220; border-color: rgb(181 139 60 / 0.7); background: rgb(255 250 238 / 0.55); }
body.st .folio .folio__filter .chip:is(:hover, :focus-visible) { color: #6f4c14; border-color: #b58b3c; }
body.st .folio .folio__filter .chip[aria-pressed='true'] {
  color: #fffaf0; border-color: #a77c2e;
  background: linear-gradient(176deg, #e6c476 0%, #cfa24c 38%, #b07f2c 55%, #c99b45 80%, #dcb867 100%);
  text-shadow: 0 1px 0 rgb(80 50 6 / 0.45);
}
/* Less room under the title. */
body.st main > .pg-gal { padding-bottom: clamp(1rem, 2vw, 1.75rem); }

/* 10. GALLERY WALL, ROUND AND ARCHED FRAMES (November 25 (b))
   Frames 9 (tall oval), 10 (wide oval) and 11 (arch) are whole gold frames, not stretched:
   --ot/--or/--ob/--ol are the gold opening in percent, --rad its shape. */
body.st .frm--f9  { --of: url("images/scrap/frame-oval-tall.webp"); --ot: 13.91; --or: 15.91; --ob: 13.27; --ol: 16.03; --rad: 50%; --rad2: 50%; }
body.st .frm--f10 { --of: url("images/scrap/frame-oval.webp"); --ot: 14.95; --or: 11.92; --ob: 16.36; --ol: 11.75; --rad: 50%; --rad2: 50%; }
body.st .frm--f11 { --of: url("images/scrap/frame-arch.webp"); --ot: 15.64; --or: 11.17; --ob: 7; --ol: 11.17; --rad: 50% 50% 2px 2px / 33% 33% 2px 2px; --rad2: 50% 50% 0 0 / 30% 30% 0 0; }
body.st :is(.frm--f9, .frm--f10, .frm--f11) .frm__bevel { border: 0; border-image: none; background: var(--of) center / 100% 100% no-repeat; }
body.st :is(.frm--f9, .frm--f10, .frm--f11) .frm__mat {
  inset: calc((var(--ot) - 1.5) * 1%) calc((var(--or) - 1.5) * 1%) calc((var(--ob) - 1.5) * 1%) calc((var(--ol) - 1.5) * 1%);
  border-radius: var(--rad);
}
body.st :is(.frm--f9, .frm--f10, .frm--f11) .frm__open {
  top: calc((var(--ot) + 2.6) * 1%) !important; right: calc((var(--or) + 2.6) * 1%) !important;
  bottom: calc((var(--ob) + 2.6) * 1%) !important; left: calc((var(--ol) + 2.6) * 1%) !important;
  border-radius: var(--rad2); -webkit-mask: none; mask: none;
}
body.st .frm--f11 .frm__open { bottom: calc((var(--ob) + 2) * 1%) !important; }

/* The wall, desktop: frames a quarter smaller, hung in a staggered salon rhythm so two or three
   show at once, with open marble between them. */
@media (min-width: 760px) {
  body.st .folio .frm--wide { --fw: 39%; } body.st .folio .frm--square { --fw: 30%; } body.st .folio .frm--tall { --fw: 24%; }
}
@media (min-width: 1100px) {
  body.st .folio .folio__grid { gap: 0; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
  body.st .folio .frm + .frm { margin-top: 2.5rem; }
  body.st .folio .frm:nth-child(8n+1) { --x: 0.05; } body.st .folio .frm:nth-child(8n+2) { --x: 0.93; }
  body.st .folio .frm:nth-child(8n+3) { --x: 0.16; } body.st .folio .frm:nth-child(8n+4) { --x: 1; }
  body.st .folio .frm:nth-child(8n+5) { --x: 0.02; } body.st .folio .frm:nth-child(8n+6) { --x: 0.84; }
  body.st .folio .frm:nth-child(8n+7) { --x: 0.12; } body.st .folio .frm:nth-child(8n+8) { --x: 0.97; }
}
@media (min-width: 1280px) { body.st .folio .frm + .frm { margin-top: clamp(-6rem, -4.6vw, -3rem); } }
/* A wide frame is shorter than its label is tall, so it hangs with a little more room around it. */
@media (min-width: 1100px) {
  body.st .folio .frm + .frm--wide { margin-top: 3rem; }
  body.st .folio .frm--wide + .frm--wide { margin-top: 6.5rem; }
  body.st .folio .frm--wide + .frm:not(.frm--wide) { margin-top: 0.5rem; }
}

/* 12. SERVICES: NOVEMBER 25 (e) ------------------------------------------------------
   12a. A little more air above the Swatch-book title. */
.svc-book__head { padding-top: clamp(1.75rem, 3.5vw, 3.25rem); }
/* 12b. "Our process" is no longer listed in the swatch book (kept hidden so the stack's
        last-child rules stay put). */
.svc-nav .svc-nav__label li[hidden] { display: none !important; }
/* 12c. Each service title in the same hand as the designer's notes. */
body.st .svc .svc__head h2 {
  font-family: 'La Belle Aurore', var(--font-script); font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.7rem); line-height: 1.2; color: var(--ink);
  padding-top: 0.1em; margin-bottom: -0.1em;
}
/* 12d. The pen lines to each photograph: clean, straight and black, with a drawn arrowhead. */
body.st .svc .svc__note-line {
  height: 1px; margin-top: 0; top: 0.95em; background: #1f1416; opacity: 0.9; box-shadow: none;
  -webkit-mask: none; mask: none;
}
body.st .svc .svc__note-line i {
  width: 9px; height: 12px; margin-top: -6px; background: #1f1416;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 12'%3E%3Cpath d='M8 1 L1.5 6 L8 11' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 12'%3E%3Cpath d='M8 1 L1.5 6 L8 11' fill='none' stroke='%23000' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* 12e. The section's mini menu as a burgundy ribbon across the page, notched at both ends. */
body.st .svc .svc__reel-head {
  position: relative; align-items: center; gap: 0.4rem 1.5rem;
  margin: 0 calc(-1 * clamp(0.5rem, 1.2vw, 1.1rem));
  padding: 0.8rem clamp(1.9rem, 3.2vw, 2.8rem);
  border: 0; color: #f8f0e6;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0) 45%, rgb(0 0 0 / 0.16)),
    linear-gradient(rgb(110 18 48 / 0.55), rgb(110 18 48 / 0.55)),
    url("images/swatch/velvet-burgundy.jpg") 0 40% / 520px auto repeat,
    #6b1530;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.9rem) 50%, 100% 100%, 0 100%, 0.9rem 50%);
  filter: drop-shadow(0 6px 6px rgb(38 10 20 / 0.22));
}
body.st .svc .svc__reel-head::before {
  content: ''; position: absolute; inset: 4px 1.4rem; pointer-events: none;
  border-top: 1px dashed rgb(222 190 140 / 0.55); border-bottom: 1px dashed rgb(222 190 140 / 0.55);
}
body.st .svc .svc__reel-head > * { position: relative; color: #f8f0e6 !important; }
body.st .svc .svc__reel-head .svc__all span { color: #dcb673 !important; }
body.st .svc .svc__reel-head .svc__all:hover { color: #fff !important; }

/* ===== Gallery frames: steady painting (fix for frames vanishing on scroll / hover) =====
   Safari drops large filtered layers when many of them animate at once. So:
   - no will-change layer per frame (the drift still works);
   - the frame's drop shadow stays the same on hover (only the lift animates);
   - the photo dimming is a simple overlay instead of a second filter on the photo;
   - each frame is kept on its own stable layer while it is on screen. */
body.st .frm { will-change: auto; }
body.st .frm__art { transition: translate 0.85s var(--ease); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
body.st .frm__link:is(:hover, :focus-visible) .frm__art { filter: drop-shadow(0 1.3rem 1.1rem rgb(52 18 28 / 0.32)) drop-shadow(0 3px 3px rgb(52 18 28 / 0.25)); }
body.st .frm__open img { filter: none; transition: opacity 0.9s var(--ease), scale 2.4s var(--ease); }
body.st .frm__open::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgb(20 6 10 / 0.06); transition: opacity 0.9s var(--ease); pointer-events: none; border-radius: inherit; }
body.st .frm__link:is(:hover, :focus-visible, .is-lit) .frm__open::before { opacity: 0; }

/* ===== Services: Full-width Swatch-book + editorial topcard ===== */
body.st .svc-full {
  --card-w: 100%;
  padding-block: clamp(1.5rem, 2.8vw, 2.5rem) !important;
}
body.st .svc-full > .wrap {
  width: 100%;
  max-width: none;
  border-radius: 0;
  padding: clamp(3.2rem, 5.2vw, 5.2rem) clamp(1.35rem, 5vw, 5.5rem) clamp(2.8rem, 4.6vw, 4.75rem);
  border-top: 1px solid rgb(74 10 19 / 0.14);
  border-bottom: 1px solid rgb(74 10 19 / 0.14);
  box-shadow:
    0 1px 0 rgb(255 255 255 / 0.72) inset,
    0 24px 40px -28px rgb(52 18 28 / 0.42);
}
body.st .svc-full .index--books,
body.st .svc-full .svc-list,
body.st .svc-full .svc-workshop {
  max-width: 96rem;
  margin-inline: auto;
}
body.st .svc-topcard {
  position: relative;
  max-width: 72rem;
  margin: 0 auto clamp(2.2rem, 3.8vw, 3.2rem);
  padding: clamp(1.8rem, 3.2vw, 2.9rem) clamp(1.4rem, 3.5vw, 3.4rem) clamp(1.7rem, 2.8vw, 2.5rem);
  text-align: center;
  border-top: 3px double rgb(74 10 19 / 0.38);
  border-bottom: 3px double rgb(74 10 19 / 0.38);
  background: linear-gradient(180deg, rgb(255 252 246 / 0.65), rgb(249 242 232 / 0.35));
}
body.st .svc-topcard::before,
body.st .svc-topcard::after {
  content: '';
  position: absolute;
  left: clamp(0.6rem, 2vw, 1.5rem);
  right: clamp(0.6rem, 2vw, 1.5rem);
  height: 1px;
  background: rgb(74 10 19 / 0.14);
  pointer-events: none;
}
body.st .svc-topcard::before { top: 0.45rem; }
body.st .svc-topcard::after { bottom: 0.45rem; }
body.st .svc-topcard__strip {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  max-width: none;
  white-space: nowrap;
  gap: 0.35rem 0.65rem;
  margin: 0 0 1.15rem;
  padding: 0.38rem 1.25rem;
  border: 1px solid rgb(74 10 19 / 0.24);
  border-radius: 999px;
  font: 500 0.68rem/1.2 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy) !important;
  background: rgb(255 252 246 / 0.78);
}
body.st .svc-topcard .svc-book__name {
  justify-content: center;
  margin: 0 auto 0.55rem;
}
body.st .svc-topcard .svc-book__tagline {
  margin: 0 auto 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.15;
  color: var(--ink) !important;
}
body.st .svc-topcard .svc-book__tagline em {
  color: var(--ochre) !important;
}
body.st .svc-topcard .svc-book__lede {
  max-width: 48ch;
  margin: 0 auto 1.65rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: #4f3a41 !important;
}
body.st .svc-topcard .occ-tags {
  text-align: left;
  margin-top: 0;
}
body.st .svc-topcard .occ-tag h3 { color: var(--ink) !important; }
body.st .svc-topcard .occ-tag p { color: #4f3a41 !important; }
body.st .svc-topcard .occ-tag__most a { color: var(--burgundy) !important; }
@media (max-width: 720px) {
  body.st .svc-full > .wrap {
    padding: 2.6rem 1.05rem 2.4rem;
  }
  body.st .svc-topcard {
    padding: 1.45rem 0.95rem 1.35rem;
  }
  body.st .svc-topcard__strip {
    flex-wrap: wrap;
    white-space: normal;
    font-size: 0.6rem;
    letter-spacing: 0.13em;
    padding: 0.32rem 0.75rem;
  }
}

