/* VELVET & ROSE — gallery.css
   "A gallery, not a palace." The design system from the Design Revision Outline.
   Loaded last, after atelier.css. Page wall colours stay in atelier.css, section 2.

   1. Surfaces        the wall, the panels (one colour per job) and the velvet band
   2. Type            sizes, chapter labels, the serif + script title pairing
   3. Space           room between sections
   4. Wax seal        the only badge outside the Home hero
   5. Retired pieces  tape, stamps, stickers, hanging signs, boxed labels
   6. Collections     numeral cards and names
   7. Photographs     one grade, one thin ivory mat
   8. Motion          slow fades, nothing spins or tilts

   Nothing in this file styles the Home hero (section.hero). */

/* 1. SURFACES ------------------------------------------------------------------ */
:root {
  --panel-paper:  #f6efe4;   /* cream paper: words (intro, quotes, the form, lists) */
  --panel-ivory:  #fbf7f0;   /* ivory: editorial (features, design boards) */
  --panel-blush:  #ecdcd6;   /* blush: the design elements */
  --panel-sand:   #e8d8c6;   /* sand: money (collections, pricing) */
  --panel-canvas: #d9cdb8;   /* raw canvas: fabrication only */
  --panel-mauve:  #c9b1b2;   /* dusty mauve: place (the map, the studio) */
  --panel-house:  #4b1427;   /* house burgundy: the lineage */
  --panel-fabric: #2b1622;   /* deep aubergine: wherever fabric is shown */

  --gap: clamp(1.5rem, 4vw, 4rem);            /* wall showing between two panels */
  --section: clamp(5rem, 11vw, 11.5rem);      /* room inside a section, top and bottom */
  --mat: clamp(4px, 0.42vw, 7px);             /* the ivory mat around photographs */
  --script-ratio: 1.22;                       /* script line : serif line, on every title */
  --fade: 1s;
}

/* Panels: cut-out sheets on the wall. */
main > :is(.sf-paper, .sf-ivory, .sf-blush, .sf-sand, .sf-canvas, .sf-mauve, .sf-house, .sf-fabric),
.is-cutout {
  margin: var(--gap) var(--inset);
  border-radius: var(--r-panel);
  overflow: clip;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.1) inset, 0 40px 80px -48px rgb(24 4 12 / 0.55), 0 2px 5px rgb(24 4 12 / 0.1);
}
/* Light panels read in velvet ink. */
:is(.sf-paper, .sf-ivory, .sf-blush, .sf-sand, .sf-canvas, .sf-mauve) {
  --color-text: var(--ink);
  --color-muted: #5a464c;
  --color-line: rgb(38 10 20 / 0.16);
  --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);
  color: var(--ink);
}
main > .sf-paper  { --color-bg: var(--panel-paper);  background: var(--panel-paper) url("images/texture/paper-cream.webp") 0 0 / 472px auto; }
main > .sf-ivory  { --color-bg: var(--panel-ivory);  background: var(--panel-ivory); }
main > .sf-blush  { --color-bg: var(--panel-blush);  background: var(--panel-blush); }
main > .sf-sand   { --color-bg: var(--panel-sand);   background: var(--panel-sand); }
main > .sf-canvas { --color-bg: var(--panel-canvas); background: var(--panel-canvas) url("images/texture/canvas-weave.webp") 0 0 / 240px auto; }
main > .sf-mauve  { --color-bg: var(--panel-mauve);  background: var(--panel-mauve); --color-muted: #4a363d; --color-line: rgb(38 10 20 / 0.22); --color-primary: #6f1235; --color-accent-text: #5e0d2b; }
main > .sf-house  { --color-bg: var(--panel-house);  background: var(--panel-house); }
main > .sf-fabric { --color-bg: var(--panel-fabric); background: var(--panel-fabric); }
main > :is(.sf-house, .sf-fabric) { box-shadow: 0 1px 0 rgb(255 255 255 / 0.05) inset, 0 40px 80px -48px rgb(8 1 4 / 0.8), 0 0 0 1px rgb(236 201 197 / 0.06); }

/* The wall: the section sits straight on the page's limewash. */
main > .sf-wall { background: none; box-shadow: none; }

/* Velvet: a full-width band of the real fabric. Used only where the brief names it. */
main > .sf-velvet {
  margin: var(--gap) 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgb(40 4 12 / 0.3), rgb(40 4 12 / 0.12) 45%, rgb(40 4 12 / 0.34)), url("images/texture/velvet-drape-crimson.webp") center / cover, var(--crimson);
  box-shadow: 0 1px 0 rgb(236 201 197 / 0.1) inset, 0 -1px 0 rgb(236 201 197 / 0.08) inset, 0 30px 60px -34px rgb(8 1 4 / 0.75);
}
main > .page-hero.sf-velvet { margin-top: 0; }
main > .sf-velvet:last-child { margin-bottom: 0; }
/* The first section after a page header never needs the full gap above it. */
main > .page-hero + :is(.sf-paper, .sf-ivory, .sf-blush, .sf-sand, .sf-canvas, .sf-mauve, .sf-house, .sf-fabric, .sf-velvet) { margin-top: 0; }

/* 2. TYPE ---------------------------------------------------------------------- */
body { font-size: 1.0625rem; line-height: 1.7; }                 /* 17px */
@media (max-width: 759.98px) { body { font-size: 1rem; line-height: 1.65; } }   /* 16px */
:root { --text-base: 1.0625rem; --text-sm: 0.9375rem; --text-xs: 0.8125rem; }
@media (max-width: 759.98px) { :root { --text-base: 1rem; } }

/* Labels: Courier Prime, never under 12px. */
.label:not(.hero *, .site-header *) { font-size: 0.78rem; letter-spacing: 0.14em; }

/* Chapter labels: a typed number, a fine magenta rule, the name. No pills, no boxes. */
.chapter { display: flex; align-items: center; gap: 0.85rem; margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem); max-width: none; }
.chapter .chapter__no,
.theme-dark .chapter__no,
body:is([data-page="home"], [data-page="services"], [data-page="portfolio"], [data-page="venues"], [data-page="careers"]) main > :is(.theme-dark, .page-hero, .hero) .chapter__no {
  display: inline; min-width: 0; height: auto; padding: 0; border-radius: 0; background: none;
  font-family: var(--font-type); font-style: normal; font-size: 0.8125rem; letter-spacing: 0.14em; line-height: 1;
  color: var(--color-primary);
}
.chapter .chapter__line { display: block; flex: 0 0 clamp(1.75rem, 3.2vw, 3rem); height: 1px; background: var(--color-primary); opacity: 0.7; transform: none; }
.chapter .chapter__line::after { content: none; }
.chapter > .label, .chapter > span:not(.chapter__no):not(.chapter__line) {
  display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0;
  font-family: var(--font-type); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text);
}

/* Titles: one serif line, one script line, the same ratio everywhere. */
:is(h1, h2).display:not(.hero *) em, .page-hero h1 em, .closing h2 em, .closing .display em, .philo-card h3 em, h3.display em {
  display: block;
  font-size: calc(var(--script-ratio) * 1em);
  line-height: 0.86;
  margin-top: 0.06em;
  padding-inline: 0 0.12em;
  text-transform: none;
}
.page-hero h1, .proj-hero h1 { line-height: 0.94; }
:is(h1, h2).display:not(.hero *) { line-height: 1; }

/* Section titles sit in the centre, with the chapter label above. */
.wrap > .chapter:has(+ :is(.board__head, h2.display)) { justify-content: center; }
.wrap > .board__head,
.wrap > .board__head.spot-head {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center;
  gap: clamp(1.1rem, 2vw, 1.75rem); margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.wrap > .board__head > :last-child { justify-self: center; }
.wrap > .board__head :is(h2, .display) { max-width: 18ch; margin-inline: auto; }
.wrap > .board__head > p, .wrap > .board__head > .board__aside, .wrap > .board__head > .spot-head__side {
  max-width: 44rem; padding-left: 0; border-left: 0; text-align: center; justify-items: center;
}
.wrap > .board__head :is(p.muted, .board__aside > p.muted, .spot-head__side > p) { max-width: 58ch; margin-inline: auto; padding-left: 0; border-left: 0; }
.wrap > .chapter + h2.display { text-align: center; margin-inline: auto; }

/* 3. SPACE --------------------------------------------------------------------- */
.section--snug { padding-block: clamp(4rem, 8vw, 8rem); }
main > .closing { margin: var(--gap) 0 0; }
.footer--card { padding-top: var(--gap); }

/* 4. WAX SEAL -------------------------------------------------------------------
   <span class="seal"></span> is the magenta seal; add seal--burgundy for the deep one.
   Put a typed line beside it with <span class="sealed__txt">. */
.seal {
  display: inline-block; flex: none; width: 3.5rem; aspect-ratio: 1;
  background: url("images/brand/seal-magenta.svg") center / contain no-repeat;
  filter: drop-shadow(0 3px 4px rgb(30 4 14 / 0.35));
}
.seal--burgundy { background-image: url("images/brand/seal-burgundy.svg"); }
.seal--sm { width: 2.5rem; }
.seal--lg { width: 4.75rem; }
.sealed { display: flex; align-items: center; gap: 0.85rem; margin: 0.25rem 0 1.25rem; }
.sealed__txt { font-family: var(--font-type); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent-text); }
.sealed .seal { width: 2.9rem; }

/* 5. RETIRED PIECES ------------------------------------------------------------ */
/* Quiz launchers: a flat card with a seal. No tape, no stamp, no tilt, no pinked edge. */
.quizcut, .quizcut.quizcut--center, .quizcut.quizcut--mini {
  rotate: none; transform: none; animation: none;
  -webkit-mask: none; mask: none; clip-path: none; filter: none;
  border-radius: var(--r-card);
  background: var(--panel-ivory); color: var(--ink);
  box-shadow: 0 0 0 1px rgb(38 10 20 / 0.1), 0 26px 50px -34px rgb(24 4 12 / 0.5);
  padding: clamp(1.5rem, 2.4vw, 2.1rem) clamp(1.5rem, 2.6vw, 2.4rem);
  text-align: left;
}
.quizcut::before, .quizcut::after { content: none; }
.quizcut:hover, .quizcut:focus-within { rotate: none; transform: none; }
.quizcut__seal { position: absolute; top: -1.1rem; right: 1.4rem; width: 3.4rem; }
.quizcut__kicker { font-family: var(--font-type); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep); opacity: 1; padding-right: 3.5rem; }
.quizcut__title { font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.quizcut__title em { font-family: var(--font-script); font-style: normal; color: var(--ochre); }
.quizcut__sub { color: #5a464c; font-size: 0.9375rem; }
.quizcut__go button {
  font-family: var(--font-type); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 999px; background: var(--ink); color: var(--ivory); border: 0; padding: 0.75rem 1.35rem; min-height: 2.9rem;
}
.quizcut__go button:hover { background: var(--ochre-deep); }

/* The services index: "No. 01" sewn labels in place of "Vol." */
.index.index--swatch li:nth-child(n) .index__no { font-family: var(--font-type); font-style: normal; font-size: 1.05rem; letter-spacing: 0.06em; }
.index.index--swatch li:nth-child(n) .index__no small {
  font-family: var(--font-type); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; margin-right: 0.35em; color: inherit; opacity: 0.8;
}

/* Service sections: album links are a plain row; labels lose their dashed boxes. */
.svc__albums { margin: 2rem 0 0.25rem; }
.svc__albums + .svc__cta { margin-top: 0.25rem; }

/* The studio card: printed on ivory with a seal, in place of the hanging sign. */
.where .studio-card.studio-card--print {
  position: relative; animation: none; transform: none; rotate: none;
  background: var(--panel-ivory); color: var(--ink);
  border: 0; border-radius: var(--r-card);
  box-shadow: 0 0 0 1px rgb(38 10 20 / 0.08), 0 26px 50px -34px rgb(24 4 12 / 0.45);
}
.where .studio-card--print::before, .where .studio-card--print::after { content: none; }
.where .studio-card__seal { position: absolute; top: -1.2rem; right: 1.5rem; width: 3.4rem; }
.where .studio-card--print .studio-card__name { font-family: var(--font-display); }
.where .studio-card--print .studio-card__name small, .where .studio-card--print dt { font-family: var(--font-type); color: var(--ochre-deep); }

/* 6. COLLECTIONS --------------------------------------------------------------- */
/* Cards: a tall ivory sheet, the numeral large, the name in clean serif beneath. */
.coll .tier, .coll .tier:first-child, .coll .tier--signature, .coll .tier--opulent, .coll .tier--couture {
  background: var(--panel-ivory); background-image: none; color: var(--ink);
  box-shadow: 0 0 0 1px rgb(38 10 20 / 0.08), 0 30px 54px -38px rgb(24 4 12 / 0.5);
  padding: clamp(1.75rem, 2.4vw, 2.4rem) clamp(1.4rem, 2vw, 2rem) clamp(1.6rem, 2.2vw, 2.1rem) !important;
  transform: none; rotate: none;
}
.coll .tier__no { font-family: var(--font-display); font-style: normal; font-weight: 400; font-size: clamp(4rem, 5.4vw, 6.25rem); line-height: 0.8; color: var(--ochre); letter-spacing: -0.02em; }
.coll .tier h3 { font-family: var(--font-display); font-style: normal; font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 0.9vw, 2.15rem); line-height: 1.05; letter-spacing: 0; color: var(--ink); text-transform: none; }
.coll .tier__pips { display: none; }
.tier__seal { position: absolute; top: 1.1rem; right: 1.1rem; display: grid; justify-items: center; gap: 0.35rem; }
.tier__seal .seal { width: 3.1rem; }
.tier__seal .sealed__txt { font-size: 0.75rem; letter-spacing: 0.1em; max-width: 5.5rem; text-align: center; line-height: 1.25; }

/* Pricing: each collection opens with its numeral, then the name in serif. */
body[data-page="pricing"] .collection__no { font-family: var(--font-display); font-style: normal; font-weight: 400; font-size: clamp(4.5rem, 7vw, 8rem); line-height: 0.78; color: var(--color-primary); letter-spacing: -0.02em; margin-bottom: 0.2em; }
body[data-page="pricing"] .collection__body h2 { font-family: var(--font-display); font-weight: 400; font-style: normal; text-transform: none; }

/* 7. PHOTOGRAPHS ---------------------------------------------------------------
   One grade for every photograph outside the Home hero: soft, warm, lifted shadows,
   quieter reds. One thin ivory mat. Portfolio frames keep their own frames. */
main > :not(.hero) :is(.ph, figure, .spot__slide, .gal, .folio, .partner, .post, .svc, .collection__media, .manifesto__fig, .proj-next__thumb, .jhead, .blog, .film) img:not([src*="brand/"]):not([src$=".svg"]),
main > .proj-hero img, main > .page-hero img:not([src*="brand/"]) {
  filter: brightness(1.035) contrast(0.93) saturate(0.86) sepia(0.07);
}
main > :not(.hero) .ph:not(.frame *):not(.folio *) {
  border: var(--mat) solid var(--panel-ivory);
  box-shadow: 0 0 0 1px rgb(38 10 20 / 0.1), 0 22px 44px -30px rgb(24 4 12 / 0.5);
  background-color: var(--panel-ivory);
}
main > :not(.hero) .ph:not(.frame *):not(.folio *) img { border-radius: calc(var(--r-photo) - var(--mat)); }

/* 8. MOTION -------------------------------------------------------------------- */
.js .reveal { transition: opacity var(--fade) ease; transition-delay: var(--d, 0ms); }
.js .reveal-img { transition: clip-path 1.2s var(--ease); }
/* Petals belong to the Portfolio and its albums only. */
body:not([data-page="portfolio"]) :is(.petals, .rpetal) { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-img { transition: none; opacity: 1; clip-path: none; }
}

/* 9. SECTION NOTES (system pass) -------------------------------------------------
   Small corrections so each existing section sits properly on its new surface. */
/* Home, Our work: on ivory, so the stage light and dark backdrop go. */
.spot-sec.sf-ivory { background-image: none; }
.spot-sec.sf-ivory .spot-sec__beam { display: none; }
/* Home, collections: on sand, so the blurred photograph behind the cards goes. */
.coll.sf-sand .coll__bg { display: none; }
.coll.sf-sand .tiers.is-hot .tier:not(.is-on) { opacity: 1; }
.coll.sf-sand .tier.is-on { translate: none; background-color: var(--panel-ivory); }
/* Our work tabs on a light surface. */
main > :not(.theme-dark) .spotx__tabs button { color: var(--color-muted); }
main > :not(.theme-dark) .spotx__tabs button i { color: var(--ochre-deep); opacity: 1; }
main > :not(.theme-dark) .spotx__tabs button:is(:hover, .is-on) { color: var(--ink); }
main > :not(.theme-dark) .spotx__tabs button.is-on b { color: var(--ochre-deep); }
main > :not(.theme-dark) .spotx__tabs button::after { background: var(--ochre); }
/* About, point of view: now on the blush wall, so the text reads in ink. */
.pov:not(.theme-dark) .pov__text .prose p { color: var(--color-muted); }
/* Album story: on cream paper. */
.proj-story.sf-paper .proj-story__text p { color: var(--color-muted); }
.proj-story.sf-paper .proj-story__text p:first-child::first-letter { color: var(--ochre); }
/* Careers, how we hire: on the dark wall. */
.theme-dark .hire__item, .theme-dark .hire__item:last-child { border-color: var(--color-line); }
.theme-dark .hire__item p { color: var(--color-muted); }
/* Journal: the construction flags sit level. */
.film__flag, .film__tape, .film__wip b { rotate: none; }
/* Services: the magenta spine becomes one hairline on the wall, and the
   contents list loses its boxed card (fabric chips replace it at Checkpoint C). */
@media (min-width: 1100px) {
  .svc-layout::before { background: none; box-shadow: inset -1px 0 0 rgb(248 243 234 / 0.16); }
  .svc-layout::after { content: none; }
  .svc-nav .svc-nav__label { background: none; box-shadow: none; padding: 0; margin: 0 0 auto; border: 0; color: var(--ivory); }
  .svc-nav .svc-nav__label::before { content: none; }
  .svc-nav .svc-nav__title { color: var(--gold); border-bottom-color: rgb(248 243 234 / 0.2); font-family: var(--font-type); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.14em; }
  .svc-nav .svc-nav__label a { color: rgb(248 243 234 / 0.74); }
  .svc-nav .svc-nav__label a span { color: var(--gold); }
  .svc-nav .svc-nav__label a:hover, .svc-nav .svc-nav__label a.is-current { color: var(--ivory); }
  .svc-nav .svc-nav__label a.is-current span { color: var(--gold); }
  .svc-nav .svc-nav__label a::before { background: var(--gold); }
  .svc-nav .svc-nav__label li:last-child { border-top-color: rgb(248 243 234 / 0.2); }
}
@media (max-width: 1099.98px) { .svc-nav { background: var(--panel-fabric); box-shadow: inset 0 -1px 0 rgb(248 243 234 / 0.16); } }
/* Small screens: the service column never grows wider than the page. */
@media (max-width: 1099.98px) { .svc-layout { grid-template-columns: minmax(0, 1fr); } .svc-layout > * { min-width: 0; } }

/* Labels never drop below 12px (Home hero excluded). */
body :is(.footer__legal a, .footer__base p, .nextup__text small, .nextup__or,
  .closing__more .label, .closing__faq .label, .closing__all .btn, .btn .arr, .studio-card__name small,
  .phone__hint, .map__coord span, .chips .chip, .chip i, .board__sub, .board__sub em, .app__name,
  .vdir__name small, .vdir__name i, .vdir__meta em, .vdir__meta a, .vdir__area small,
  .svc__reel-head span, .svc__all, .svc__all span, .spotx__go, .spotx__go span, .spotx__card .label, .spotx__tabs button i,
  .pspot__credit, .process__no small, .logos__name small, .logos__name b, .jhead__nav a, .jhead__ears span,
  .inq-how__time i, .inq-field__label, .inq-field label, .film__wip small, .film__wip b, .film__tape, .film__band span,
  .bmini__text small, .bcard__cat i, .bcard__read, .here__next, .here__next :is(span, i), .stats span, th small,
  .pspot__facts dt, .job__facts dt, .inq-how__steps small, .jhead__nav small, .faq-nav a span, .philo-card__els span, .jtag small):not(.hero *) { font-size: max(0.75rem, 12px); }
/* Venues: the "not listed" card is dark, so its script line is blush. */
.notlisted .notlisted__title em { color: var(--gold); }
.philo-card__els span { letter-spacing: 0.04em; }

/* Small screens: long labels wrap rather than run off the panel. */
@media (max-width: 759.98px) {
  .chapter { flex-wrap: wrap; row-gap: 0.4rem; }
  .chapter > .label, .chapter > span:not(.chapter__no):not(.chapter__line) { white-space: normal; min-width: 0; flex: 0 1 auto; line-height: 1.5; }
  .sealed { align-items: flex-start; }
  .sealed .link, .sealed__txt, .svc__cta .link, .svc__links .link { white-space: normal; text-align: left; line-height: 1.5; }
  .philo-card__els { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem 0.75rem; }
}

/* 10. HOME HERO GUARD -----------------------------------------------------------
   The Home hero and the header that sits on it keep the type scale they were
   designed with. Nothing above may change them. */
section.hero, .site-header, .page-drapes {
  font-size: 1rem; line-height: 1.65;
  --text-xs: clamp(0.75rem, 0.73rem + 0.08vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --section: clamp(4rem, 8vw, 8rem);
}

/* 11. FINAL COPY SECTIONS ---------------------------------------------------------
   Sections added or rebuilt for the final copy. Each one sits on the surface named
   in its markup (sf-*). Labels stay at 12px or more. */

/* Swatch book: each discipline in its own fabric (Home and Services). */
.index--swatch li:nth-child(8n + 3) { --sw: url("images/swatch/cheesecloth-nude.jpg"); --cloth: #d4b297; }
.index--swatch li:nth-child(8n + 4) { --sw: url("images/swatch/toile-blush.jpg"); --cloth: #e7bdb4; }
.index--swatch li:nth-child(8n + 6) { --sw: url("images/texture/silk-ivory.jpg"); --cloth: #ece3d6; }
.index--swatch li:nth-child(8n + 7) { --sw: url("images/swatch/damask-cream.jpg"); --cloth: #e0d2c8; }
.index--swatch li:nth-child(8n + 8) { --sw: url("images/texture/canvas-weave.webp"); --cloth: #d9cdb8; }
.index--swatch li:nth-child(8n + 8) a { background-size: 240px auto !important; background-repeat: repeat !important; }
.index.index--swatch li:nth-child(n) .index__fab {
  grid-column: 3; grid-row: 1 / span 2; align-self: center; justify-self: end; margin-left: 1rem;
  padding: 0.35rem 0.7rem; background: var(--paper-l); color: #5b3a44; box-shadow: 0 1px 2px rgb(38 10 20 / 0.22);
  font-family: var(--font-type); font-size: max(0.75rem, 12px); letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; white-space: nowrap;
}
@media (max-width: 759.98px) { .index.index--swatch li:nth-child(n) .index__fab { display: none; } }

/* Home 01, The Studio: four strengths and a row of figures. */
.manifesto__prose { margin-top: clamp(1.25rem, 2.4vw, 2rem); max-width: 56ch; }
.manifesto__prose p { font-size: var(--text-lg); line-height: 1.6; color: var(--color-muted); }
.manifesto__prose p + p { margin-top: 1rem; }
.strengths { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0; margin-top: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--color-line); }
.strengths li { padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1rem, 2vw, 1.75rem) 0 0; }
.strengths li + li { padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid var(--color-line); }
.strengths__no { display: block; font-family: var(--font-type); font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--color-primary); }
.strengths h3 { margin-top: 0.85rem; font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); line-height: 1.1; }
.strengths p { margin-top: 0.6rem; color: var(--color-muted); max-width: 30ch; }
@media (max-width: 899.98px) { .strengths li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--color-line); } .strengths li { padding-bottom: 1.25rem; } }
.stats.stats--row { margin-top: clamp(2.5rem, 5vw, 4rem); }
.stats.stats--row b { font-size: var(--text-2xl); }

/* The Lineage: house burgundy, a photograph beside the story. */
.lineage__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 960px) { .lineage__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.lineage__fig { margin: 0; }
.lineage__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r-card, 6px) var(--r-card, 6px); }
.lineage__fig figcaption { margin-top: 0.9rem; font-family: var(--font-type); font-size: max(0.75rem, 12px); letter-spacing: 0.08em; color: rgb(248 243 234 / 0.66); }
.lineage__text .chapter { justify-content: flex-start; }
.lineage__text h2 { max-width: 16ch; }
.lineage__lede { margin-top: clamp(1.25rem, 2.4vw, 2rem); font-size: var(--text-lg); line-height: 1.6; color: rgb(248 243 234 / 0.82); max-width: 54ch; }
.lineage__parts { list-style: none; padding: 0; margin-top: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.4rem; max-width: 56ch; }
.lineage__part { font-family: var(--font-type); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.lineage__parts p:not(.lineage__part) { color: rgb(248 243 234 / 0.82); line-height: 1.65; }
.lineage__parts--last { margin-top: 1.75rem; }
.lineage__figs { list-style: none; padding: 1.5rem 0 0; margin-top: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-wrap: wrap; gap: 1.5rem clamp(2rem, 5vw, 4rem); border-top: 1px solid rgb(236 201 197 / 0.22); }
.lineage__figs b { display: block; font-family: var(--font-display); font-weight: 300; font-size: var(--text-3xl); line-height: 1; color: var(--gold); }
.lineage__figs span { display: block; margin-top: 0.45rem; font-family: var(--font-type); font-size: max(0.75rem, 12px); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(248 243 234 / 0.7); }
.lineage__go { margin-top: clamp(1.75rem, 3vw, 2.5rem); display: flex; align-items: center; gap: 1.25rem; }
.lineage__mark { width: auto; height: 3.25rem; opacity: 0.9; }

/* How we design: seven elements in three acts, each with its swatch. */
.acts { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
@media (min-width: 960px) { .acts:not(.acts--stack) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.act { padding: clamp(1.5rem, 2.6vw, 2.25rem); background: rgb(255 255 255 / 0.34); border: 1px solid var(--color-line); border-radius: var(--r-card, 6px); }
.act__no { font-family: var(--font-type); font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-primary); }
.act__name { margin-top: 0.35rem; font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); line-height: 1.1; }
.act__els { margin-top: 1.25rem; display: grid; gap: 1.1rem; }
.act__els > div { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 0.9rem; align-items: start; }
.act__els > div::before { content: ""; grid-row: 1 / span 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sw) center / cover; box-shadow: 0 0 0 3px var(--panel-ivory), 0 0 0 4px var(--color-line), 0 3px 8px -2px rgb(38 10 20 / 0.3); }
.act__els dt { font-family: var(--font-type); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); padding-top: 0.15rem; }
.act__els dd { margin: 0.25rem 0 0; color: var(--color-muted); line-height: 1.55; }
.acts__go { margin-top: clamp(2rem, 4vw, 3rem); display: flex; justify-content: center; }
.acts--stack .act { background: rgb(255 255 255 / 0.4); }

/* Home 03, Portfolio feature: an album hung with its wall label. */
.feature { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 960px) { .feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.feature__media { position: relative; padding-bottom: clamp(3rem, 8vw, 7rem); }
.feature__main { margin: 0; }
.feature__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature__inset { position: absolute; right: clamp(-1rem, -2vw, -2rem); bottom: 0; width: 44%; margin: 0; }
.feature__inset img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 959.98px) { .feature__inset { right: 0.75rem; width: 46%; } }
.feature__text { padding-top: clamp(0rem, 2vw, 2rem); }
.feature__title { margin-top: 0.75rem; font-size: var(--text-3xl); line-height: 1.02; }
.feature__line { margin-top: 0.75rem; font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); color: var(--color-accent-text); }
.feature__acts { list-style: none; padding: 0; margin-top: 1.75rem; display: grid; gap: 1rem; }
.feature__acts li { display: grid; gap: 0.25rem; padding-top: 1rem; border-top: 1px solid var(--color-line); }
.feature__acts b { font-family: var(--font-type); font-weight: 400; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); }
.feature__acts span { color: var(--color-muted); line-height: 1.55; }
.feature__go { margin-top: 2rem; }
.wall-label { margin-top: 2rem; padding: 1.25rem 1.4rem; background: #fffdf8; border: 1px solid var(--color-line); box-shadow: 0 10px 24px -18px rgb(38 10 20 / 0.45); max-width: 26rem; }
.wall-label > .label { margin-bottom: 0.75rem; color: var(--color-primary); }
.wall-label dl { display: grid; gap: 0.45rem; margin: 0; }
.wall-label dl > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; }
.wall-label dt { font-family: var(--font-type); font-size: max(0.75rem, 12px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.wall-label dd { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--ink); }
.also { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.75rem; border-top: 1px solid var(--color-line); display: grid; gap: 1.25rem; justify-items: start; }
.also__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); width: 100%; }
.also__list a { display: grid; gap: 0.6rem; color: inherit; text-decoration: none; }
.also__list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity var(--t-fast, 0.2s); }
.also__list a:hover img { opacity: 0.86; }
.also__list span { font-family: var(--font-display); font-size: var(--text-lg); }
@media (max-width: 599.98px) { .also__list { grid-template-columns: minmax(0, 1fr); } .also__list img { aspect-ratio: 16 / 9; } }

/* Made in our workshop: sketch, workshop, room. */
.triptych { list-style: none; padding: 0; display: grid; gap: clamp(1.25rem, 2.6vw, 2.25rem); }
@media (min-width: 760px) { .triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.triptych figure { margin: 0; }
.triptych img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.triptych p { margin-top: 0.9rem; color: var(--color-muted); line-height: 1.55; }
.triptych p b { display: block; margin-bottom: 0.25rem; font-family: var(--font-type); font-weight: 400; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.workshop .wrap > .triptych + .acts__go, .workshop .btn-row { margin-top: clamp(2rem, 4vw, 3rem); justify-content: center; }
.made__cols { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .made__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.made__cols h3 { font-family: var(--font-type); font-weight: 400; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-line); }
.made__cols p { margin-top: 0.85rem; color: var(--color-muted); line-height: 1.6; }
.fab-specs { margin: clamp(2rem, 4vw, 3rem) auto 0; display: grid; gap: 0.6rem; max-width: 44rem; text-align: center; }
.fab-specs > div { display: grid; gap: 0.2rem; }
.fab-specs dt { font-family: var(--font-type); font-size: max(0.75rem, 12px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); }
.fab-specs dd { margin: 0; font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); }
.fab-note { margin: 1.25rem auto 0; max-width: 52ch; text-align: center; color: var(--color-muted); }

/* Vintage or Modern quiz band. */
.quiz-sec .quizcut { margin-inline: auto; }

/* Collections: a single compare link under the four cards. */
.coll .tiers__compare { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.coll .tier__no { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.9rem); white-space: nowrap; }

/* From inquiry to installation: four steps on the dark wall. */
.proposal--bare { background: none; box-shadow: none; padding: 0; border: 0; }
.proposal--bare::before, .proposal--bare::after { content: none; }
.proposal--bare .proposal__steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: st; }
@media (min-width: 900px) { .proposal--bare .proposal__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.proposal--bare .proposal__steps li { counter-increment: st; padding: 1.5rem clamp(1rem, 2vw, 1.75rem) 1.5rem 0; border-top: 1px solid var(--color-line); min-width: 0; }
@media (min-width: 900px) { .proposal--bare .proposal__steps li + li { padding-left: clamp(1rem, 2vw, 1.75rem); border-left: 1px solid var(--color-line); } }
.proposal--bare .proposal__steps li::before { content: "0" counter(st); display: block; margin-bottom: 0.75rem; font-family: var(--font-type); font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--gold); position: static; width: auto; height: auto; border: 0; background: none; }
.proposal--bare .proposal__steps h4 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); line-height: 1.15; }
.proposal--bare .proposal__steps p { margin-top: 0.5rem; color: var(--color-muted); line-height: 1.55; max-width: 30ch; }
.proposal--bare .proposal__note { margin-top: clamp(2rem, 4vw, 3rem); display: flex; justify-content: center; background: none; padding: 0; border: 0; }

/* Footer: tagline and the sister-house line. */
.footer__tag { margin-top: 0.75rem; font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-muted); }
.footer__tag em { font-family: var(--font-script, var(--font-display)); font-style: normal; color: var(--ochre-deep); font-size: 1.25em; }
.footer__sister-text { max-width: 46ch; font-size: var(--text-sm); line-height: 1.5; color: var(--color-muted); text-align: left; }
.footer__sister-text b { font-weight: 400; color: var(--ochre-deep); white-space: nowrap; }
.footer__sister a:hover .footer__sister-text b { text-decoration: underline; text-underline-offset: 0.25em; }

/* Services: occasions, service notes, the workshop feature. */
.occ { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
@media (min-width: 860px) { .occ { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.occ__card { padding: clamp(1.5rem, 3vw, 2.5rem); background: #fffdf8; border: 1px solid var(--color-line); border-radius: var(--r-card, 6px); }
.occ__card h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); line-height: 1.1; }
.occ__card > p { margin-top: 0.75rem; color: var(--color-muted); line-height: 1.6; }
.occ__most { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--color-line); display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: baseline; }
.occ__most .label { flex-basis: 100%; color: var(--color-primary); }
.occ__most a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--color-line); text-underline-offset: 0.25em; }
.occ__most a:hover { text-decoration-color: var(--ochre); }
.occ__note { margin-top: clamp(1.5rem, 3vw, 2.25rem); text-align: center; color: var(--color-muted); }
.svc__fab { margin-bottom: 0.5rem; color: var(--gold); }
.svc__foot { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: baseline; }
.svc__built, .svc__suits { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; align-items: baseline; color: rgb(248 243 234 / 0.8); line-height: 1.55; margin: 0; }
.svc__built .label, .svc__suits .label { color: var(--gold); min-width: 12rem; }
.svc__suits { margin-bottom: 0.75rem; }
.svc__note-text .svc__quiz { display: inline; margin-left: 0.35rem; padding: 0; background: none; border: 0; font: inherit; color: var(--gold); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.svc__note-sub { text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--font-type); }

/* Pricing: what every collection includes. */
.every__list { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--color-line); }
@media (min-width: 900px) { .every__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .every__list li + li { border-left: 1px solid var(--color-line); padding-left: clamp(1rem, 2vw, 1.75rem); } }
.every__list li { padding: 1.5rem clamp(1rem, 2vw, 1.75rem) 0 0; }
@media (max-width: 899.98px) { .every__list li { padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-line); } }
.every__list h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); line-height: 1.15; }
.every__list p { margin-top: 0.5rem; color: var(--color-muted); line-height: 1.55; }
.collection__no { white-space: nowrap; }

/* About: the reasons title. */
.reasons__title { margin: 0.5rem 0 1.25rem; font-size: var(--text-3xl); }

/* Journal: the six series. */
.jseries__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0; border-top: 1px solid var(--color-line); }
.jseries__list li { display: grid; gap: 0.3rem; padding: 1.25rem 1.25rem 1.25rem 0; border-bottom: 1px solid var(--color-line); }
.jseries__no { font-family: var(--font-type); font-size: max(0.75rem, 12px); letter-spacing: 0.14em; color: var(--color-primary); }
.jseries__list b { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); line-height: 1.15; }
.jseries__list li > span:last-child { color: var(--color-muted); line-height: 1.5; }

/* Portfolio: filters, the kind under each name, and a wall label on hover. */
.frm[hidden] { display: none !important; }
.folio__filter { justify-content: center; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.frm__plate small { display: block; margin-top: 0.35rem; font-family: var(--font-type); font-size: max(0.75rem, 12px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); }
.frm__wl { display: none; }
@media (hover: hover) and (min-width: 900px) {
  .frm__wl {
    display: grid; gap: 0.45rem; position: absolute; left: 50%; bottom: 8%; z-index: 3; width: min(18rem, 78%);
    translate: -50% 0.5rem; opacity: 0; pointer-events: none;
    padding: 0.95rem 1.1rem; background: #fffdf8; color: var(--ink); text-align: left;
    box-shadow: 0 14px 30px -16px rgb(20 4 10 / 0.6), 0 0 0 1px rgb(38 10 20 / 0.08);
    transition: opacity 0.45s var(--ease), translate 0.6s var(--ease);
  }
  .frm__link:is(:hover, :focus-visible) .frm__wl { opacity: 1; translate: -50% 0; }
  .frm__wl small { font-family: var(--font-type); font-size: max(0.75rem, 12px); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre); }
  .frm__wl em { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.35; }
  .frm__wl-dl { display: grid; gap: 0.2rem; padding-top: 0.5rem; border-top: 1px solid rgb(38 10 20 / 0.14); }
  .frm__wl-dl span { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0.5rem; font-size: 0.875rem; line-height: 1.35; }
  .frm__wl-dl b { font-family: var(--font-type); font-weight: 400; font-size: max(0.75rem, 12px); letter-spacing: 0.1em; text-transform: uppercase; color: #5a464c; }
}

/* Album page: the story, the elements, the design board, the built note. */
.proj-story__label { margin-bottom: 1rem; }
.proj-story__wall { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.proj-board__in { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.proj-board__head { display: grid; gap: 0.5rem; justify-items: center; text-align: center; }
.proj-board__cap { font-family: var(--font-display); font-style: italic; font-size: var(--text-xl); color: var(--color-accent-text); }
.proj-board__sheet { display: grid; gap: clamp(1rem, 2.4vw, 2rem); align-items: center; padding: clamp(1.25rem, 3vw, 2.5rem); background: #fffdf8; border: 1px solid var(--color-line); box-shadow: 0 18px 40px -28px rgb(38 10 20 / 0.5); }
@media (min-width: 860px) { .proj-board__sheet { grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 5fr); } }
.proj-board__swatch { display: block; aspect-ratio: 4 / 5; background: center / cover; box-shadow: 0 6px 14px -8px rgb(38 10 20 / 0.5); -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / 14px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 14px 51% repeat-x; mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% 0 / 14px 51% repeat-x, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% 100% / 14px 51% repeat-x; }
.proj-board__swatch[hidden] { display: none; }
.proj-board__palette { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.proj-board__palette li { display: flex; align-items: center; gap: 0.8rem; }
.proj-board__palette i { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(38 10 20 / 0.14); }
.proj-board__palette span { font-family: var(--font-type); font-size: max(0.75rem, 12px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.proj-board__sketch { margin: 0; }
.proj-board__sketch img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal__head { justify-content: center; }
.proj-built__in { display: grid; gap: 0.9rem; justify-items: center; text-align: center; }
.proj-built__text { max-width: 52ch; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.4; }
.footer__id { display: grid; align-content: start; gap: 0.25rem; }
.proposal--bare .proposal__steps li, .proposal--bare .proposal__steps li + li { padding-top: 1.5rem; }
@media (max-width: 899.98px) { .proposal--bare .proposal__steps li { padding-left: 0; } }
.proposal--bare .proposal__steps li::after { content: none; }
.steps-sec .proposal--bare .proposal__steps h4 { color: var(--ivory); }
.steps-sec .proposal--bare .proposal__steps p { color: rgb(248 243 234 / 0.78); }
.steps-sec .proposal--bare .proposal__steps li { border-color: rgb(236 201 197 / 0.24); }
.steps-sec .proposal.proposal--bare { display: block; margin-top: 0; color: var(--ivory); --color-line: rgb(236 201 197 / 0.24); }
.proposal--bare .proposal__steps { gap: 0; }
.proposal--bare .proposal__note { border-top: 0; }
/* Journal front page: its sections sit inside .blog-home, so they get their panels here. */
.blog-home > :is(.sf-paper, .sf-ivory) { margin: var(--gap) var(--inset); border-radius: var(--r-panel); overflow: clip; box-shadow: 0 1px 0 rgb(255 255 255 / 0.1) inset, 0 40px 80px -48px rgb(24 4 12 / 0.55), 0 2px 5px rgb(24 4 12 / 0.1); }
.blog-home > .sf-ivory { --color-bg: var(--panel-ivory); background: var(--panel-ivory); }
.blog-home > .sf-paper { --color-bg: var(--panel-paper); background: var(--panel-paper) url("images/texture/paper-cream.webp") 0 0 / 472px auto; }
@media (min-width: 900px) { .jseries__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 2.5rem); } }

/* Inner pages: the closing's velvet drape runs on behind the site footer to the bottom
   of the page. One background, sized to the closing plus the footer (site.js sets
   --drape-size and --drape-top), so the folds continue without a seam. The footer card
   itself is unchanged; only what sits behind it changes. */
body.drape-end main > .closing.sf-velvet:last-child,
body.drape-end > .footer--card {
  background:
    linear-gradient(180deg, rgb(40 4 12 / 0.3), rgb(40 4 12 / 0.12) 22%, rgb(40 4 12 / 0.2) 40%, rgb(40 4 12 / 0.34) 100%),
    url("images/texture/velvet-drape-crimson.webp");
  background-color: var(--crimson);
  background-repeat: no-repeat;
  background-size: var(--drape-size, cover);
}
body.drape-end main > .closing.sf-velvet:last-child { background-position: center 0; box-shadow: 0 1px 0 rgb(236 201 197 / 0.1) inset; }
body.drape-end > .footer--card { background-position: center calc(-1 * var(--drape-top, 0px)); }
/* Home uses the same closing and footer as the inner pages: no gap above the drape, the
   footer card at the inner pages' inset, and both drawn over the Home's side curtains. */
body[data-page="home"] main > .closing.sf-velvet { margin-top: 0; }
body[data-page="home"].drape-end main > .closing.sf-velvet:last-child,
body[data-page="home"].drape-end > .footer--card { position: relative; z-index: 31; }
body[data-page="home"] > .footer--card { --inset: clamp(0.625rem, 1.8vw, 1.75rem); }

/* The next-page button on the drape: a light blush card with dark type. */
.closing.sf-velvet .nextup__main {
  background: #f4e4e0; color: var(--ink);
  border-color: rgb(255 255 255 / 0.55);
  box-shadow: 0 1.2rem 1.6rem -1.2rem rgb(0 0 0 / 0.55);
}
.closing.sf-velvet .nextup__main:hover { background: var(--ivory); border-color: #fff; }
.closing.sf-velvet .nextup__no { color: var(--ochre); border-right-color: oklch(from var(--ink) l c h / 0.22); }
.closing.sf-velvet .nextup__text small { color: #6a3a48; }
.closing.sf-velvet .nextup__text b { color: var(--ink); }
.closing.sf-velvet .nextup__arr { background: var(--ink); color: var(--ivory); }
.closing.sf-velvet .nextup__main:hover .nextup__arr { background: var(--ochre); color: var(--ivory); }
