/* VELVET & ROSE — pricing.css
   Pricing & Collections, set like the Collections section on Home. Loaded after statement.css
   and home.css, on pricing.html only. The closing and the footer are not styled here.

   Every section is one hang tag on the marble wall (the .hm-prop--tag from home.css): a burgundy
   collar, an ivory face, and on the right a ribbon end with a swallowtail cut and a brass eyelet.

   1. Sections         .pr-sec, .pr-wrap, .pr-label
   2. Opening          .pr-open: name, title, introduction, links and the quiz ribbon
   3. The path         01: the four steps (home.css .hm-prop__steps)
   4. The comparison   02: each collection's column is a burgundy tag, each starting price a price tag
   5. Notes            .pr-every (a woven care label) and .pr-multi (multi-part and multi-day)
   6. The collections  I to IV: one burgundy label each, the photographs and details on its ivory face
   7. Small screens */

/* 1. SECTIONS ------------------------------------------------------------------------ */
body[data-page="pricing"] .pr-sec {
  --color-text: var(--ink); --color-muted: #4f3a41; --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);
  --sb-edge: clamp(1rem, 5vw, 5rem);
  --collar: var(--burgundy);
  position: relative; margin: 0; border: 0; background: none; box-shadow: none; color: var(--ink);
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
}
body[data-page="pricing"] .pr-sec::before, body[data-page="pricing"] .pr-sec::after { content: none; }
body[data-page="pricing"] .pr-sec > .pr-wrap {
  width: min(100% - 2 * var(--sb-edge), 76rem); max-width: none; margin-inline: auto; padding: 0;
  background: none; box-shadow: none;
}
body[data-page="pricing"] .pr-label.hm-prop--tag { margin: 0; }
body[data-page="pricing"] main > .pr-sec:last-of-type { padding-bottom: clamp(2.5rem, 4.5vw, 4rem); }
.pr-label .hm-prop__face { padding-top: clamp(1.8rem, 3vw, 2.6rem); }
.pr-label .chapter.hm-mark { margin: 0 0 clamp(1.1rem, 2vw, 1.6rem); }
.pr-label .chapter__no { color: var(--ochre-deep); }
.pr-label .chapter__line { background: rgb(38 10 20 / 0.22); }
.pr-label .label { color: var(--ochre-deep); }
.pr-label :is(h2, h3, h4) { color: var(--ink); }
.pr-label :is(h1, h2, h3) em { color: var(--ochre); }
.pr-label .link { color: var(--ink); }

/* 2. OPENING ------------------------------------------------------------------------- */
body[data-page="pricing"] main > .pr-open { padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.5rem)); }
.pr-kicker { margin: 0 0 clamp(1.1rem, 2vw, 1.6rem); font-family: var(--font-type); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; max-width: none; }
.pr-kicker span { margin-inline: 0.4em; opacity: 0.6; }
.pr-open .hm-name { margin-bottom: clamp(1.6rem, 2.8vw, 2.4rem); }
.pr-label .hm-coll__head { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; align-items: center; }
.pr-open .hm-coll__title h1.display {
  margin: 0; max-width: 15ch; color: var(--ink); font-size: clamp(2.4rem, 1.5rem + 2.8vw, 4.1rem); line-height: 0.98; text-wrap: balance;
}
.pr-open .hm-coll__btns .arr { display: inline-block; }

/* 3. THE PATH ------------------------------------------------------------------------ */
.pr-label .hm-prop__steps h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 1.05rem + 0.5vw, 1.5rem); line-height: 1.1; letter-spacing: 0; text-wrap: balance; }
.pr-label .hm-prop__head .hm-card__title.display { margin: 0; font-size: clamp(2.1rem, 1.3rem + 2.2vw, 3.3rem); line-height: 1; }

/* 4. THE COMPARISON ------------------------------------------------------------------ */
.pr-glance__head { margin-bottom: clamp(1.8rem, 3.2vw, 2.6rem) !important; align-items: end !important; }
.pr-glance__head h2.display { margin: 0; max-width: 16ch; font-size: clamp(2.3rem, 1.5rem + 2.5vw, 3.8rem); line-height: 1; text-wrap: balance; }
.pr-glance.glance-wrap { margin-inline: 0; padding-inline: 0; padding-bottom: 0.25rem; }
body[data-page="pricing"] .pr-glance .glance { border-collapse: separate; border-spacing: 0.55rem 0; min-width: 46rem; font-size: 0.92rem; }
body[data-page="pricing"] .pr-glance .glance :is(th, td) { background: none; box-shadow: none; padding: 0.85rem 0.9rem; border-bottom: 1px solid rgb(38 10 20 / 0.12); vertical-align: middle; }
body[data-page="pricing"] .pr-glance .glance tbody th { padding-left: 0; font-family: var(--font-type); font-weight: 400; font-size: 0.66rem; letter-spacing: 0.14em; line-height: 1.5; color: var(--ochre-deep); width: 13%; }
/* Each collection's column is one long tag: burgundy sides, an ivory middle. */
body[data-page="pricing"] .pr-glance .glance tr > :is(td, th):not(:first-child) {
  background: #fbf6ec; border-inline: 0.4rem solid var(--collar); border-bottom-color: rgb(76 15 34 / 0.14);
}
body[data-page="pricing"] .pr-glance .glance tbody tr:last-child > td { border-bottom: 0.4rem solid var(--collar); border-radius: 0 0 8px 8px; }
body[data-page="pricing"] .pr-glance .glance thead td { border: 0; }
/* The head of each column: the collar, a punched brass eyelet, the number and the name. */
body[data-page="pricing"] .pr-glance .glance thead th {
  padding: 0; border: 0; border-radius: 10px 10px 0 0; background: var(--collar) url("images/scrap/paper.webp") center / 600px auto; background-blend-mode: multiply;
}
.pr-th {
  position: relative; display: grid; justify-items: center; gap: 0.15rem; margin: 0.4rem 0.4rem 0; padding: 2.1rem 0.6rem 0.9rem;
  border-radius: 7px 7px 0 0; text-align: center;
  background: #fbf6ec url("images/scrap/paper-ivory.webp") center / 500px auto;
  box-shadow: inset 0 0 0 1px rgb(76 15 34 / 0.12), inset 0 0 0 4px #fbf6ec, inset 0 0 0 5px rgb(76 15 34 / 0.22);
}
.pr-th::before {
  content: ''; position: absolute; top: 0.7rem; left: 50%; width: 0.95rem; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, #3a0a18 0 38%, #b8893a 42% 60%, #f3dea4 66%, #8e6420 82%, transparent 86%);
}
body[data-page="pricing"] .pr-th small { margin: 0; font-family: var(--font-type); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ochre-deep); }
body[data-page="pricing"] .pr-th a { font-family: var(--font-script); font-weight: 400; font-size: clamp(2rem, 1.6rem + 0.9vw, 2.6rem); line-height: 1.05; color: var(--ochre); text-decoration: none; }
body[data-page="pricing"] .pr-th a:hover { color: var(--ochre-deep); }
/* The starting price, on a price tag: notched end, punched hole. */
body[data-page="pricing"] .pr-glance .glance .price td { padding-block: 1.1rem; }
.pr-ptag {
  position: relative; display: inline-flex; align-items: center; padding: 0.4rem 0.95rem 0.4rem 1.55rem;
  font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 0.6vw, 1.6rem); line-height: 1; color: #fbf1ec; white-space: nowrap;
  background: var(--collar); border-radius: 0 4px 4px 0;
  clip-path: polygon(0.75rem 0, 100% 0, 100% 100%, 0.75rem 100%, 0 50%);
}
.pr-ptag::before { content: ''; position: absolute; left: 0.62rem; top: 50%; width: 0.38rem; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; background: #fbf6ec; box-shadow: 0 0 0 1px #b8893a; }
.pr-ptag::after { content: ''; position: absolute; inset: 3px 3px 3px 1.15rem; border: 1px dashed rgb(241 211 208 / 0.4); border-left: 0; border-radius: 0 2px 2px 0; pointer-events: none; }
/* Signature, the most selected, wears a blush column. */
body[data-page="pricing"] .pr-glance .glance tr > :nth-child(3):is(td) { background: #fbefe9; }

/* 5. NOTES --------------------------------------------------------------------------- */
.pr-every { margin-top: clamp(1.6rem, 2.8vw, 2.2rem); }
.pr-every__lead { margin: 0 0 1.1rem; max-width: none; font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); color: var(--ink); }
.pr-every__lead em { font-style: italic; color: var(--ochre); }
.pr-every__lead span { display: block; margin-top: 0.3rem; font-family: var(--font-body); font-size: 0.92rem; color: #4f3a41; }
/* In every collection: a woven label, burgundy with a blush stitch, folded at both ends. */
.pr-every__label {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem clamp(1.25rem, 2.6vw, 2.25rem);
  padding: 1.1rem clamp(1.4rem, 2.6vw, 2.2rem); color: #fbf1ec;
  background: linear-gradient(rgb(255 255 255 / 0.04), rgb(0 0 0 / 0.12)), var(--collar) url("images/scrap/paper.webp") center / 600px auto; background-blend-mode: normal, multiply;
  clip-path: polygon(0.7rem 0, calc(100% - 0.7rem) 0, 100% 50%, calc(100% - 0.7rem) 100%, 0.7rem 100%, 0 50%);
}
.pr-every__label::after { content: ''; position: absolute; inset: 5px 1.05rem; border-block: 1px dashed rgb(241 211 208 / 0.45); pointer-events: none; }
.pr-every__kicker { margin: 0; padding-right: clamp(1.25rem, 2.6vw, 2.25rem); border-right: 1px solid rgb(241 211 208 / 0.28); font-family: var(--font-script); font-size: clamp(1.9rem, 1.5rem + 0.9vw, 2.5rem); line-height: 1; color: var(--pink); white-space: nowrap; max-width: none; }
.pr-every__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem clamp(1rem, 2vw, 1.75rem); }
.pr-every__list li { display: grid; gap: 0.2rem; }
.pr-every__list b { font-family: var(--font-type); font-weight: 400; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fbf1ec; }
.pr-every__list span { font-size: 0.84rem; line-height: 1.45; color: #f0d9d6; }

/* Multi-part and multi-day: a short note, with four examples as small hang tags. */
.pr-multi {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.5rem clamp(2rem, 4vw, 3.5rem); align-items: center;
  margin-top: clamp(2rem, 3.6vw, 2.8rem); padding-top: clamp(1.6rem, 2.8vw, 2.2rem); border-top: 1px solid rgb(38 10 20 / 0.16);
}
.pr-multi__head .label { margin: 0 0 0.6rem; font-family: var(--font-type); font-size: 0.66rem; letter-spacing: 0.16em; }
.pr-multi__head h3.display { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1; }
.pr-multi__head p:not(.label):not(.pr-multi__go) { margin: 0.7rem 0 0; max-width: 46ch; font-size: 0.95rem; line-height: 1.6; color: #4f3a41; }
.pr-multi__go { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 1rem 0 0; max-width: none; }
.pr-multi__ex { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.pr-multi__ex li {
  position: relative; display: grid; gap: 0.25rem; padding: 0.75rem 0.9rem 0.8rem 2.1rem;
  font-family: var(--font-display); font-size: 1.02rem; line-height: 1.25; color: var(--ink);
  background: #fbf6ec; border: 1px solid rgb(76 15 34 / 0.28); border-left: 0; border-radius: 0 6px 6px 0;
  clip-path: polygon(0.8rem 0, 100% 0, 100% 100%, 0.8rem 100%, 0 calc(100% - 0.8rem), 0 0.8rem);
  box-shadow: inset 0.3rem 0 0 var(--collar);
}
.pr-multi__ex li::before { content: ''; position: absolute; left: 0.85rem; top: 1.05rem; width: 0.42rem; aspect-ratio: 1; border-radius: 50%; background: #efe6d6; box-shadow: 0 0 0 1px #b8893a; }
.pr-multi__ex small { font-family: var(--font-type); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep); }

/* 6. THE COLLECTIONS ----------------------------------------------------------------- */
body[data-page="pricing"] .pr-coll { border-top: 0; }
body[data-page="pricing"] .pr-tier .hm-prop__face.collection__grid {
  width: auto; margin: 0; display: grid; gap: clamp(2rem, 4.5vw, 4.5rem);
  padding: clamp(1.8rem, 3.4vw, 3.2rem) clamp(1.35rem, 3.6vw, 3.4rem) clamp(1.8rem, 3.2vw, 2.8rem);
}
@media (min-width: 900px) {
  body[data-page="pricing"] .pr-tier .hm-prop__face.collection__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
}
/* The photographs: white prints mounted on the face. */
.pr-tier .collection__media .ph { border: 0.4rem solid #fff; box-shadow: 0 0 0 1px rgb(76 15 34 / 0.12), 0 10px 18px -12px rgb(52 18 28 / 0.45); background: #efe6d6; }
/* The number, the pips and the name, as on the Home tags. */
body[data-page="pricing"] .pr-tier .collection__no {
  margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.6rem);
  line-height: 1; letter-spacing: 0; color: var(--ochre);
}
.pr-tier .pr-pips { margin: 0.6rem 0 0; }
body[data-page="pricing"] .pr-tier .collection__body h2 {
  margin: 0.4rem 0 0.2rem; font-family: var(--font-script); font-weight: 400; font-style: normal;
  font-size: clamp(3.4rem, 2.4rem + 2.6vw, 5.2rem); line-height: 1.05; letter-spacing: 0; color: var(--ochre);
}
body[data-page="pricing"] .pr-tier .collection__desc { margin: 0.6rem 0 0; color: #4f3a41; font-size: 1.05rem; }
/* Most selected, and the Atelier link: a small burgundy flag. */
.pr-flag {
  display: inline-flex; align-items: center; margin: 0.9rem 0 0.2rem; padding: 0.4rem 1.4rem 0.4rem 0.8rem; max-width: none;
  font-family: var(--font-type); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fbf1ec;
  background: var(--collar); clip-path: polygon(0 0, 100% 0, calc(100% - 0.6rem) 50%, 100% 100%, 0 100%);
}
body[data-page="pricing"] .pr-flag .link { color: #fbf1ec; border: 0; background: none; font: inherit; letter-spacing: inherit; }
body[data-page="pricing"] .pr-flag .link .arr { color: #e2c27f; }
/* The price block: a hang tag of its own, notched at the left with a punched hole. */
body[data-page="pricing"] .pr-tier .collection__price.pr-price {
  position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.75rem clamp(1.4rem, 3vw, 2.4rem); width: fit-content; max-width: 100%;
  margin: 1.6rem 0 1.4rem; padding: 1.05rem 1.6rem 1.05rem 2.6rem; border: 0;
  background: var(--collar) url("images/scrap/paper.webp") center / 600px auto; background-blend-mode: multiply; color: #fbf1ec;
  clip-path: polygon(1.1rem 0, 100% 0, 100% 100%, 1.1rem 100%, 0 50%);
  border-radius: 0 6px 6px 0;
}
.pr-price::before { content: ''; position: absolute; left: 0.9rem; top: 50%; width: 0.6rem; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; background: #fbf6ec; box-shadow: 0 0 0 2px #b8893a; }
.pr-price::after { content: ''; position: absolute; inset: 5px 5px 5px 1.85rem; border: 1px dashed rgb(241 211 208 / 0.42); border-left: 0; border-radius: 0 3px 3px 0; pointer-events: none; }
body[data-page="pricing"] .pr-price div { display: grid; gap: 0.35rem; align-content: start; }
body[data-page="pricing"] .pr-price .label { font-family: var(--font-type); font-size: 0.6rem; letter-spacing: 0.14em; color: var(--pink); }
body[data-page="pricing"] .pr-price b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.85rem); line-height: 1.05; color: #fbf1ec; white-space: nowrap; }
body[data-page="pricing"] .pr-price div:first-child b { font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.6rem); }
.pr-tier .acc { border-color: rgb(38 10 20 / 0.14); }
.pr-tier .acc__btn { color: var(--ink); }

/* 7. SMALL SCREENS ------------------------------------------------------------------- */
@media (max-width: 1099.98px) {
  .pr-every__label { grid-template-columns: minmax(0, 1fr); }
  .pr-every__kicker { padding: 0 0 0.6rem; border-right: 0; border-bottom: 1px solid rgb(241 211 208 / 0.28); }
  .pr-every__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-multi { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899.98px) {
  .pr-label .hm-coll__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  body[data-page="pricing"] .pr-tier .collection__media { position: static; }
}
@media (max-width: 599.98px) {
  body[data-page="pricing"] main > .pr-open { padding-top: calc(var(--header-h) + 1.75rem); }
  body[data-page="pricing"] .pr-sec { padding-block: 1.1rem; }
  .pr-every__list, .pr-multi__ex { grid-template-columns: minmax(0, 1fr); }
  .pr-every__label { padding-inline: 1.5rem; }
  body[data-page="pricing"] .pr-tier .collection__price.pr-price { padding-left: 2.3rem; width: 100%; }
  body[data-page="pricing"] .pr-price div:first-child { flex-basis: 100%; }
  body[data-page="pricing"] .pr-price b { white-space: normal; }
  body[data-page="pricing"] .pr-tier .hm-prop__face.collection__grid { padding: 1.4rem 1.05rem 1.4rem; }
}
body[data-page="pricing"] .pr-flag .link { min-height: 0; padding: 0; }
@media (max-width: 599.98px) {
  body[data-page="pricing"] .pr-th a { font-size: 1.75rem; white-space: nowrap; }
  body[data-page="pricing"] .pr-glance .glance tbody th { width: 6.5rem; }
  /* On a phone the woven label and the price tag are tall, so they take a ribbon cut at the foot
     and a notched top corner instead of the side notches. */
  .pr-every__label { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 0.9rem), 0 100%); padding-bottom: 1.9rem; }
  .pr-every__label::after { inset: 5px 5px 1.3rem; border: 1px dashed rgb(241 211 208 / 0.45); }
  body[data-page="pricing"] .pr-tier .collection__price.pr-price { clip-path: polygon(1.3rem 0, 100% 0, 100% 100%, 0 100%, 0 1.3rem); border-radius: 0 6px 6px 6px; padding: 1.4rem 1.2rem 1.1rem 1.5rem; }
  .pr-price::before { left: 0.75rem; top: 0.75rem; translate: 0 0; }
  .pr-price::after { inset: 5px; border-left: 1px dashed rgb(241 211 208 / 0.42); clip-path: polygon(1.1rem 0, 100% 0, 100% 100%, 0 100%, 0 1.1rem); }
}

/* ---- November 25 (b): the square tag, the sewn-in patch, alternating tags and strings ------- */

/* The opening and the steps: one square tag in portrait, hung from a string through a brass
   eyelet at the top. A thick burgundy edge, the text centred, the steps on a burgundy panel. */
.pr-sq { position: relative; width: min(100%, 52rem); margin-inline: auto; padding-top: 5.6rem; filter: drop-shadow(0 26px 26px rgb(52 18 28 / 0.22)) drop-shadow(0 3px 4px rgb(52 18 28 / 0.14)); }
.pr-sq .pr-sq__string { height: 7.4rem; width: 3.6rem; }
.pr-sq__face {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(3.4rem, 5vw, 4.2rem) clamp(1.4rem, 4.4vw, 3.6rem) clamp(1.6rem, 3.4vw, 2.8rem);
  border: 0.85rem solid transparent; border-radius: 16px;
  background:
    url("images/scrap/paper-ivory.webp") 50% 0 / 600px auto repeat padding-box,
    linear-gradient(#fbf6ec, #fbf6ec) padding-box,
    linear-gradient(rgb(255 255 255 / 0.05), rgb(0 0 0 / 0.14)) border-box,
    linear-gradient(var(--collar), var(--collar)) border-box;
  box-shadow: inset 0 0 0 1px rgb(76 15 34 / 0.14), inset 0 0 0 6px #fbf6ec, inset 0 0 0 7px rgb(76 15 34 / 0.24);
  color: var(--ink);
}
.pr-sq__hole {
  position: absolute; top: 1.25rem; left: 50%; width: 1.5rem; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, #3a0a18 0 38%, #b8893a 42% 60%, #f3dea4 66%, #8e6420 82%, transparent 86%);
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.25);
}
.pr-sq .pr-kicker { margin-bottom: 1.2rem; color: var(--ochre-deep); }
.pr-sq .hm-name { margin-bottom: clamp(1.4rem, 2.6vw, 2rem); font-size: clamp(2.3rem, 1.4rem + 3vw, 4.4rem); }
.pr-sq__title.display { margin: 0 auto; max-width: 17ch; color: var(--ink); font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); line-height: 1; text-wrap: balance; }
.pr-sq__title em { color: var(--ochre); }
.pr-sq__lede { margin: 1.2rem auto 0; max-width: 50ch; font-size: 1.02rem; line-height: 1.65; color: #4f3a41; }
.pr-sq__btns { margin: 1.5rem 0 0; max-width: none; }
.pr-sq__rib { margin: 1.1rem 0 0; max-width: 100%; }
/* The steps: a contrasting burgundy panel on the tag. */
.pr-steps {
  position: relative; align-self: stretch; margin-top: clamp(2.2rem, 4vw, 3rem); text-align: left;
  padding: clamp(1.8rem, 3.4vw, 2.6rem) clamp(1.3rem, 3.4vw, 2.6rem) clamp(1.5rem, 2.8vw, 2.2rem);
  border-radius: 8px; color: #fbf1ec;
  background: linear-gradient(rgb(255 255 255 / 0.04), rgb(0 0 0 / 0.16)), var(--collar) url("images/scrap/paper.webp") center / 600px auto; background-blend-mode: normal, multiply;
}
.pr-steps::after { content: ''; position: absolute; inset: 6px; border: 1px dashed rgb(241 211 208 / 0.4); border-radius: 5px; pointer-events: none; }
.pr-steps .chapter.hm-mark { justify-content: center; margin: 0 0 0.9rem; }
.pr-steps .chapter__no, .pr-steps .label { color: var(--pink) !important; }
.pr-steps .chapter__line { background: rgb(241 211 208 / 0.35) !important; }
.pr-steps__title.display { margin: 0 0 clamp(1.5rem, 2.8vw, 2.1rem); text-align: center; color: #fbf1ec; font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1; }
.pr-steps__title em { color: var(--pink) !important; }
.pr-steps__list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(1.4rem, 3vw, 2.4rem); }
.pr-steps__list li { counter-increment: step; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 0.9rem; align-items: start; }
.pr-steps__list li::before {
  content: counter(step); grid-row: 1 / 3; display: grid; place-items: center; width: 2.4rem; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid #e2c27f; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: #f3dea4;
}
.pr-steps__list h3 { margin: 0.3rem 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.45rem); line-height: 1.1; color: #fbf1ec !important; }
.pr-steps__list p { margin: 0.4rem 0 0; font-size: 0.9rem; line-height: 1.55; color: #f0d9d6; max-width: none; }
.pr-steps__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(1.6rem, 2.8vw, 2.2rem); padding-top: 1.3rem; border-top: 1px solid rgb(241 211 208 / 0.25); }
.pr-steps__note { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: #fbf1ec; max-width: none; }
.pr-steps__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.6rem; margin: 0; max-width: none; }
body[data-page="pricing"] .pr-steps .btn { --btn-bg: #fbf1ec; --btn-fg: var(--ink); --btn-hover: var(--pink); background: #fbf1ec; color: var(--ink); }
body[data-page="pricing"] .pr-steps .link { color: #fbf1ec; }

/* 02 The Collections: a full-width sewn-in patch of burgundy velvet, stitched at top and bottom,
   with the content on a clean ivory label stitched inside it. */
body[data-page="pricing"] main > .pr-patch {
  margin-block: clamp(1.75rem, 3vw, 2.75rem); padding-block: clamp(3.4rem, 6vw, 5.5rem);
  background: linear-gradient(rgb(20 2 8 / 0.42), rgb(20 2 8 / 0.5)), #3f040f url("images/swatch/velvet-burgundy.jpg") 0 0 / 600px auto repeat;
  box-shadow: inset 0 10px 14px -8px rgb(0 0 0 / 0.55), inset 0 -10px 14px -8px rgb(0 0 0 / 0.55), 0 1px 0 rgb(255 255 255 / 0.4);
}
body[data-page="pricing"] main > .pr-patch::before,
body[data-page="pricing"] main > .pr-patch::after {
  content: '' !important; position: absolute; left: 0; right: 0; height: 0; pointer-events: none;
  border-top: 2px dashed rgb(241 198 194 / 0.7);
  filter: drop-shadow(0 1px 0 rgb(0 0 0 / 0.5));
}
body[data-page="pricing"] main > .pr-patch::before { top: 0.95rem; }
body[data-page="pricing"] main > .pr-patch::after { bottom: 0.95rem; }
.pr-patch__label {
  position: relative; border-radius: 6px;
  background: #fbf6ec url("images/scrap/paper-ivory.webp") 50% 0 / 600px auto repeat;
  box-shadow: 0 0 0 1px rgb(40 6 16 / 0.35), 0 24px 30px -18px rgb(0 0 0 / 0.6), 0 3px 6px rgb(0 0 0 / 0.25);
}
.pr-patch__label::before { content: ''; position: absolute; inset: 0.55rem; border: 1.5px dashed rgb(76 15 34 / 0.55); border-radius: 3px; pointer-events: none; }
.pr-patch__face { position: relative; padding: clamp(2.2rem, 4vw, 3.4rem) clamp(1.3rem, 4vw, 3.6rem) clamp(2rem, 3.6vw, 3rem); color: var(--ink); }
.pr-patch__face .chapter.hm-mark { margin: 0 0 clamp(1.1rem, 2vw, 1.6rem); }
.pr-patch__face .chapter__no, .pr-patch__face .label { color: var(--ochre-deep); }
.pr-patch__face .chapter__line { background: rgb(38 10 20 / 0.22); }
.pr-patch__face :is(h2, h3) { color: var(--ink); }
.pr-patch__face :is(h2, h3) em { color: var(--ochre); }
.pr-patch__face .link { color: var(--ink); }
.pr-patch__face .hm-coll__head { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; }

/* The comparison tags: thicker burgundy edges, more room between them, text centred. */
body[data-page="pricing"] .pr-glance .glance { border-spacing: clamp(0.8rem, 1.4vw, 1.25rem) 0; min-width: 52rem; }
body[data-page="pricing"] .pr-glance .glance tr > :is(td, th):not(:first-child) { border-inline-width: 0.75rem; text-align: center; }
body[data-page="pricing"] .pr-glance .glance tbody tr:last-child > td { border-bottom-width: 0.75rem; border-radius: 0 0 12px 12px; }
body[data-page="pricing"] .pr-glance .glance thead th { border-radius: 14px 14px 0 0; }
.pr-th { margin: 0.75rem 0.75rem 0; padding: 2.3rem 0.5rem 1rem; }
body[data-page="pricing"] .pr-th small { white-space: nowrap; }
body[data-page="pricing"] .pr-th a { white-space: nowrap; }
body[data-page="pricing"] .pr-glance .glance td { padding-inline: 0.75rem; }

/* I to IV: the tag end alternates sides, and each tag hangs from a string through its eyelet. */
.pr-tier { --end: clamp(3rem, 4.4vw, 4.2rem); --cut: 1.15rem; }
.pr-tier .hm-prop__end { place-items: start center; padding-top: 2.2rem; }
.pr-tier .pr-string.hm-tag__string {
  top: -4.6rem; left: auto; right: calc((var(--end) + var(--cut)) / 2); translate: 50% 0;
  width: 3rem; height: 8.6rem; z-index: 4;
}
.pr-tier--left .hm-prop__collar {
  grid-template-columns: var(--end) minmax(0, 1fr);
  padding: 0.65rem 0.65rem 0.65rem 0; border-radius: 0 12px 12px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--cut) 50%);
}
.pr-tier--left .hm-prop__end { order: -1; padding-right: 0; padding-left: var(--cut); }
.pr-tier--left .hm-prop__end::before { inset: 4px 6px 4px calc(var(--cut) + 4px); border-left: 0; border-right: 0; border-top: 1px dashed rgb(241 211 208 / 0.4); border-bottom: 1px dashed rgb(241 211 208 / 0.4); border-left: 1px dashed rgb(241 211 208 / 0.4); }
.pr-tier--left .hm-prop__face { border-radius: 3px 9px 9px 3px; }
.pr-tier--left .pr-string.hm-tag__string { right: auto; left: calc((var(--end) + var(--cut)) / 2); translate: -50% 0; }
body[data-page="pricing"] .pr-coll { padding-top: clamp(4.4rem, 6vw, 5.4rem); }

@media (max-width: 599.98px) {
  .pr-tier { --end: 2.4rem; --cut: 0.8rem; }
  .pr-sq { padding-top: 4.6rem; }
  .pr-sq .pr-sq__string { height: 6.2rem; }
  .pr-sq__face { border-width: 0.6rem; padding-inline: 1.1rem; }
  .pr-steps__list { grid-template-columns: minmax(0, 1fr); }
  .pr-steps { padding-inline: 1.1rem; }
  body[data-page="pricing"] main > .pr-patch { padding-block: 2.6rem; }
  .pr-patch__face { padding: 2rem 1.05rem 1.8rem; }
}

/* ---- November 25 (c): strings on the comparison tags, eyelets centred, steps in a row ---- */
/* The comparison tags: a thicker burgundy edge across the top too, and a string rising from
   the centre of each eyelet. The wrap gets room above the table so the strings show. */
body[data-page="pricing"] .pr-glance.glance-wrap { padding-top: 3rem; }
body[data-page="pricing"] .pr-glance .glance thead th { border-radius: 16px 16px 0 0; }
.pr-th { margin: 1.15rem 0.75rem 0; padding-top: 2.4rem; border-radius: 8px 8px 0 0; }
.pr-th::before { top: 0.8rem; z-index: 1; }
.pr-th .pr-th__string { top: calc(1.275rem - 4.7rem); width: 2.8rem; height: 5rem; z-index: 2; }

/* I to IV: the eyelet sits at the vertical centre of the tag end, and the string runs out of it
   sideways to the edge of the screen (the body clips it there). */
.pr-tier .hm-prop__end { place-items: center; padding-top: 0; }
.pr-tier .pr-string.hm-tag__string {
  top: 50%; bottom: auto; height: 0.5rem; width: 100vw; translate: 0 -50%;
  left: calc(100% - (var(--end) + var(--cut)) / 2 + 2px); right: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 8'%3E%3Cg fill='none' stroke-linecap='round' stroke-width='2.2'%3E%3Cpath d='M0 4 C5 0.8 5 0.8 10 4 S15 7.2 20 4' stroke='%23a8916b'/%3E%3Cpath d='M0 4 C5 7.2 5 7.2 10 4 S15 0.8 20 4' stroke='%23d6c49c'/%3E%3C/g%3E%3C/svg%3E") 0 50% / 0.9rem 100% repeat-x;
  filter: drop-shadow(0 2px 1.5px rgb(52 30 20 / 0.4));
}
.pr-tier--left .pr-string.hm-tag__string { left: auto; right: calc(100% - (var(--end) + var(--cut)) / 2 + 2px); translate: 0 -50%; }
/* the knot where the string passes through the eyelet */
.pr-tier .pr-string.hm-tag__string::before {
  content: ''; position: absolute; top: 50%; left: -0.45rem; width: 0.9rem; height: 0.9rem; translate: 0 -50%; border-radius: 50%;
  border: 2.2px solid #a8916b; box-sizing: border-box;
}
.pr-tier--left .pr-string.hm-tag__string::before { left: auto; right: -0.45rem; }

/* 01 The path: a wider tag so the four steps sit in one row, each one smaller. */
.pr-sq { width: min(100%, 64rem); }
.pr-steps { padding: clamp(1.5rem, 2.6vw, 2rem) clamp(1.2rem, 2.6vw, 2rem) clamp(1.3rem, 2.2vw, 1.7rem); }
.pr-steps__title.display { margin-bottom: clamp(1.1rem, 2vw, 1.5rem); font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.08; }
.pr-steps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem clamp(1rem, 1.8vw, 1.5rem); }
.pr-steps__list li { grid-template-columns: minmax(0, 1fr); row-gap: 0; text-align: center; justify-items: center; }
.pr-steps__list li::before { grid-row: auto; width: 2rem; font-size: 0.95rem; margin-bottom: 0.55rem; }
.pr-steps__list h3 { margin: 0; font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.2rem); }
.pr-steps__list p { margin-top: 0.35rem; font-size: 0.82rem; line-height: 1.5; }
.pr-steps__foot { margin-top: clamp(1.2rem, 2vw, 1.6rem); padding-top: 1.1rem; }
.pr-steps__note { font-size: 1.1rem; }
@media (max-width: 899.98px) { .pr-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) {
  .pr-steps__list { grid-template-columns: minmax(0, 1fr); }
  .pr-th { margin: 0.8rem 0.55rem 0; }
}
.pr-steps__list li { align-content: start; }
.pr-tier .pr-string.hm-tag__string::before { width: 1.5rem; height: 1.5rem; left: -0.75rem; border-width: 2px; border-color: rgb(168 145 107 / 0.9); }
.pr-tier--left .pr-string.hm-tag__string::before { right: -0.75rem; }
.pr-steps__title.display { margin-bottom: clamp(1.5rem, 2.6vw, 2rem); }

/* ---- November 25 (d): the steps as one low band across the full width of the tag ----------- */
.pr-sq__face { --face-pad: clamp(1.4rem, 4.4vw, 3.6rem); }
.pr-steps { margin-inline: calc(7px - var(--face-pad)); border-radius: 4px; }
@media (min-width: 1000px) {
  .pr-steps {
    display: grid; grid-template-columns: minmax(11rem, 0.82fr) minmax(0, 4fr); grid-template-rows: auto 1fr auto;
    column-gap: clamp(1.4rem, 2.4vw, 2.2rem); align-items: start;
    padding: 1.35rem clamp(1.4rem, 2.4vw, 2rem) 1rem;
  }
  .pr-steps .chapter.hm-mark { grid-column: 1; grid-row: 1; justify-content: flex-start; margin: 0.2rem 0 0.55rem; }
  .pr-steps .chapter.hm-mark .label { white-space: nowrap; }
  .pr-steps__title.display { grid-column: 1; grid-row: 2; margin: 0; text-align: left; font-size: clamp(1.45rem, 1rem + 0.9vw, 1.85rem); line-height: 1.05; }
  .pr-steps__title em { display: block; }
  .pr-steps__list { grid-column: 2; grid-row: 1 / 3; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(0.9rem, 1.6vw, 1.4rem); }
  .pr-steps__list li {
    grid-template-columns: 1.6rem minmax(0, 1fr); column-gap: 0.55rem; text-align: left; justify-items: start;
    padding-left: clamp(0.9rem, 1.4vw, 1.2rem); border-left: 1px solid rgb(241 211 208 / 0.22);
  }
  .pr-steps__list li::before { grid-row: 1 / 3; width: 1.6rem; margin: 0; font-size: 0.8rem; }
  .pr-steps__list h3 { margin-top: 0.15rem; font-size: 1rem; white-space: nowrap; }
  .pr-steps__list p { margin-top: 0.25rem; font-size: 0.76rem; line-height: 1.45; }
  .pr-steps__foot { grid-column: 1 / -1; grid-row: 3; margin-top: 0.9rem; padding-top: 0.75rem; }
  .pr-steps__note { font-size: 0.98rem; }
  body[data-page="pricing"] .pr-steps .btn { min-height: 2.4rem; padding-block: 0.45rem; }
}
@media (max-width: 599.98px) { .pr-sq__face { --face-pad: 1.1rem; } }
@media (min-width: 1000px) {
  body[data-page="pricing"] .pr-steps h2.pr-steps__title.display { font-size: clamp(1.5rem, 1rem + 0.95vw, 1.95rem); line-height: 1.04; margin: 0; }
  body[data-page="pricing"] .pr-steps h2.pr-steps__title.display em { font-size: 1.12em; }
  .pr-steps .chapter.hm-mark .chapter__line { display: none; }
  .pr-steps .chapter.hm-mark { gap: 0.6rem; }
  .pr-steps .chapter.hm-mark .label { white-space: normal; }
}
body[data-page="pricing"] .collection__media--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body[data-page="pricing"] .collection__media--4 > figure:first-of-type { grid-column: 1 / -1; }
