/* The type and size tokens of Site B (design audit 20 Nov 2026, RC1): every size has a floor AND a ceiling, so nothing grows
   past its ceiling on a 2560 or 3840 screen. Slopes are set for the owner's own screen (2560 x 1271) and the audit's 1920 and 3840.
   Phone 390 / 1568 / 1920 / 2560+ : title 48 / 75 / 92 / 112; section 34 / 47 / 58 / 68; lead 19 / 19 / 22 / 28; text 17 / 17 / 18 / 22. */
html[data-site="b"] {
  --fs-hero:  clamp(60px, 6.4vw, 160px);  /* home name only */
  --fs-h1:    clamp(48px, 4.8vw, 112px);
  --fs-h2:    clamp(34px, 3vw, 68px);
  --fs-h3:    clamp(24px, 1.4vw, 36px);
  --fs-lead:  clamp(19px, 1.15vw, 28px);
  --fs-body:  clamp(17px, 0.95vw, 22px);
  --fs-small: clamp(15px, 0.75vw, 18px);
  --fs-nav:   clamp(15px, 0.8vw, 19px);
  --fs-btn:   clamp(15px, 0.78vw, 18px);
  --btn-h:    clamp(50px, 2.6vw, 62px);
  --fs-title: clamp(34px, 2.3vw, 58px);   /* the title of an account, checkout or sign-in screen */
  --fs-field: calc(var(--fs-body) + 5px); /* the words typed on an underline field (Cormorant) */
  --frame:    min(100% - 2 * clamp(16px, 4vw, 96px), 1760px);
}

/* Polish of 20 Nov 2026 (owner: "the account section is so plain and very zoomed in ... make it professional every field everything").
   Loaded after b.css on every page of front B.
   1. The account, sign-in and checkout screens are drawn at their true size (no page zoom on wide screens): a calm type scale,
      one paper sheet up to 1180 px wide, centred on the garden.
   2. One field system everywhere (the editor's: a small-caps label, the words on one underline that warms to plum on focus),
      one button size, clear focus and error states, hints at 4.5:1 or more.
   3. The account is a quiet dashboard: a head with the tabs as an index, chapters with an eyebrow and a Cormorant title over one
      rose-gold hairline, tidy lists and tables with status chips, a name search on long lists, an empty state with one line.
   Arabic: Amiri and IBM Plex Sans Arabic, no letter-spacing, no capitals. */

body.b {
  --lx-eye: #7E4F4A;                    /* small capitals: 5.6:1 on the paper */
  --lx-line: #8C5D57;                   /* a field's underline: 4.5:1 on the paper */
  --lx-hair: rgba(168, 112, 92, 0.42);  /* rose-gold hairlines (dividers only) */
  --lx-paper: #F5E8D4;                  /* the photographed paper's own tone */
  --lx-ink: var(--plum);
  --lx-tint: rgba(255, 251, 245, 0.55); /* a field or a card a step lighter than the paper */
}

/* ---------- 1. True size on wide screens (the editor keeps its approved zoom) ---------- */
@media (min-width: 2000px) and (min-height: 1100px) { body.b:is(.page-account, .page-checkout) main { zoom: 1; --z: 1; } }
@media (min-width: 3000px) and (min-height: 1600px) { body.b:is(.page-account, .page-checkout) main { zoom: 1.35; --z: 1.35; } }

/* ---------- 2. Fields and buttons: one system (account, sign in, checkout) ---------- */
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .field { display: grid; gap: 6px; margin: 0 0 28px; align-content: start; }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .field > label, html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .field > .label {
  font: 500 var(--fs-small)/1.3 var(--f-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lx-eye); }
html[lang="ar"] body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .field > :is(label, .label) { font-family: "IBM Plex Sans Arabic", var(--f-text); letter-spacing: normal; text-transform: none; font-size: var(--fs-small); }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) :is(.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea, .input) {
  width: 100%; min-height: 48px; padding: 6px 0 8px; margin: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--lx-line); border-radius: 0; box-shadow: none; outline: none;
  font-family: "Cormorant Garamond", "Amiri", serif; font-size: var(--fs-field); font-weight: 500; line-height: 1.3; color: var(--lx-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
/* addresses, codes, numbers, dates and links read best in the text face */
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):is([type="email"], [type="password"], [type="url"], [type="number"], [type="search"], [type="date"], [type="time"], [dir="ltr"], [readonly]) {
  font-family: var(--f-text); font-size: var(--fs-body); font-weight: 400; color: var(--ink); }
html[lang="ar"] body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .field :is(input:not([dir="ltr"]):not([type="email"]):not([type="password"]):not([type="number"]):not([type="date"]):not([type="time"]):not([type="url"]), textarea, select),
html body.b :is(.acc-sheet, .auth-form, .co-main) .field [lang="ar"] { font-family: "Amiri", "Cormorant Garamond", serif; font-size: var(--fs-field); font-weight: 400; line-height: 1.6; }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .field textarea { min-height: 96px; padding-top: 8px; resize: vertical; line-height: 1.45; }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) :is(input, textarea)::placeholder { color: #7A6166; opacity: 1; font-style: italic; font-weight: 400; }
html[lang="ar"] body.b :is(.acc-sheet, .auth-form, .co-main) :is(input, textarea)::placeholder { font-style: normal; }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) :is(.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, .input):is(:focus, :focus-visible) {
  outline: none; border-bottom-color: var(--plum); box-shadow: inset 0 -1px 0 var(--plum); background-color: var(--lx-tint); }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) :is(.field [aria-invalid="true"], .input[aria-invalid="true"]) { border-bottom-color: var(--bad); box-shadow: inset 0 -1px 0 var(--bad); }
html body.b :is(.acc-sheet, .auth-form, .co-main) .field select {
  -webkit-appearance: none; appearance: none; padding-inline-end: 30px; cursor: pointer; text-overflow: ellipsis;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%237E4F4A' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center / 14px 9px; }
html[dir="rtl"] body.b :is(.acc-sheet, .auth-form, .co-main) .field select { background-position: left 4px center; }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .hint { margin: 4px 0 0; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: var(--fs-body); line-height: 1.4; color: var(--ink-soft); }
html[lang="ar"] body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .hint { font-family: "Amiri", serif; font-style: normal; line-height: 1.7; }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .error-text { display: flex; gap: 10px; align-items: baseline; margin: 0 0 18px; font-size: var(--fs-small); font-weight: 500; color: var(--bad); }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .error-text::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bad); color: var(--ivory); font-size: var(--fs-small); line-height: 1; translate: 0 3px; }
html body.b :is(.acc-sheet, .auth-form, .co-main) .ok-text { margin: 0 0 18px; font-size: var(--fs-small); color: var(--ok); }
html body.b :is(.acc-sheet, .auth-form, .co-main) .check { display: flex; gap: 14px; align-items: center; min-height: 48px; font-size: var(--fs-body); }
html body.b :is(.acc-sheet, .auth-form, .co-main) .check input { width: 20px; height: 20px; accent-color: var(--plum); }

/* buttons: one size on these screens (the flat plum of every Site B button, 48 px high, 15 px capitals) */
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done, .co-whop, .co-wait) .btn:not(.btn-quiet) {
  min-height: var(--btn-h); padding: 0 clamp(26px, 1.8vw, 44px); gap: 10px; font-size: var(--fs-btn); letter-spacing: 0.12em; white-space: nowrap; transition: background-color var(--t-fast); }
html[lang="ar"] body.b :is(.acc-sheet, .auth-form, .co-main, .co-done, .co-whop, .co-wait) .btn:not(.btn-quiet) { font-size: var(--fs-body); letter-spacing: normal; }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done, .co-whop, .co-wait) .btn:not(.btn-quiet):focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done, .co-whop, .co-wait) .btn-quiet {
  min-height: 44px; font-size: var(--fs-small); font-weight: 500; color: var(--plum); text-decoration-color: var(--lx-line); text-underline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .btn-quiet:hover { text-decoration-color: currentColor; } }
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) .btn-quiet:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }

/* ---------- 3. The account ---------- */
body.b .acc { padding: clamp(16px, 2.6vw, 48px) clamp(8px, 2vw, 32px) clamp(48px, 6vw, 96px); }
body.b .acc-sheet {
  --sheet-k: 0.44; --edge: calc(var(--paper-slice) * 1px * var(--sheet-k));
  position: relative; max-width: clamp(1040px, 54vw, 1480px); margin-inline: auto; color: var(--ink); font-size: var(--fs-body); line-height: 1.55;
  border: var(--edge) solid transparent; border-image: var(--b-paper) var(--paper-slice) fill / var(--edge) / 0 stretch round;
  padding: clamp(14px, 2.6vw, 44px) clamp(10px, 3vw, 56px) clamp(28px, 3.6vw, 56px);
  filter: drop-shadow(0 0.1em 0.18em rgba(74, 40, 30, 0.2)) drop-shadow(0 0.7em 1.1em rgba(74, 40, 30, 0.22));
  --focus: var(--plum);
}
@media (max-width: 760px) { body.b .acc-sheet { --sheet-k: 0.3; padding: 8px 6px 28px; font-size: var(--fs-body); } }
body.b .acc-sheet p { max-width: none; }
html body.b.b .acc-sheet :is(h1, h2, h3, p, a, span, button) { text-shadow: none; }

/* the head: who is signed in, sign out, and the tabs as a slim index */
html body.b.b .acc-sheet .acc-head { padding: 0; margin: 0 0 clamp(28px, 3vw, 44px); background: none; }
html body.b.b .acc-sheet .acc-head::before { display: none; }
body.b .acc-head-row { display: flex; justify-content: space-between; align-items: center; gap: 4px 24px; flex-wrap: wrap; }
html body.b.b .acc-sheet .acc-who { display: flex; align-items: baseline; gap: 4px 18px; flex-wrap: wrap; margin: 0; color: var(--ink-soft); }
body.b .acc-eye { font: 500 var(--fs-small)/1.3 var(--f-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lx-eye); }
html[lang="ar"] body.b .acc-eye { font-family: "IBM Plex Sans Arabic", var(--f-text); letter-spacing: normal; text-transform: none; font-weight: 600; }
body.b .acc-id { font-size: var(--fs-small); color: var(--ink-soft); }
body.b .acc-dot { margin-inline: 8px; color: var(--lx-line); }
html body.b.b .acc-sheet .acc-out { margin: 0; min-height: 44px; font-size: var(--fs-small); font-weight: 500; color: var(--plum); text-shadow: none; }
html body.b.b .acc-sheet .acc-tabs { display: flex; gap: 0 36px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 10px 0 0; border-bottom: 1px solid var(--lx-hair); }
html body.b.b .acc-sheet .acc-tabs a, html body.b.b .acc-sheet .acc-tabs a:not([aria-current="page"]) {
  display: inline-flex; align-items: center; min-height: 52px; min-width: 0; padding: 0; margin-bottom: -1px; flex: none;
  background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; box-shadow: none;
  font: 500 var(--fs-body)/1.2 var(--f-text); letter-spacing: 0.01em; color: var(--ink-soft); text-decoration: none; transition: color var(--t-fast), border-color var(--t-fast); }
html body.b.b .acc-sheet .acc-tabs a[aria-current="page"] { background: none; color: var(--plum); border-bottom-color: var(--plum); }
@media (hover: hover) and (pointer: fine) { html body.b.b .acc-sheet .acc-tabs a:hover { color: var(--plum); } }
html body.b.b .acc-sheet .acc-tabs a:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
html[lang="ar"] body.b.b .acc-sheet .acc-tabs a { font-family: "IBM Plex Sans Arabic", var(--f-text); letter-spacing: normal; }

/* page titles */
body.b .acc-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin: 0 0 clamp(24px, 2.6vw, 36px); }
html body.b .acc-sheet .acc-h1 { margin: 0; font-family: "Cormorant Garamond", var(--f-display); font-weight: 500; font-size: var(--fs-title); line-height: 1.08; letter-spacing: -0.01em; color: var(--plum); text-wrap: balance; }
html[lang="ar"] body.b .acc-sheet .acc-h1 { font-family: "Amiri", serif; font-weight: 700; font-size: calc(var(--fs-title) * 0.88); line-height: 1.45; letter-spacing: normal; }
body.b .acc-lede { margin: 8px 0 0; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: var(--fs-lead); line-height: 1.4; color: var(--ink-soft); }
html[lang="ar"] body.b .acc-lede { font-family: "Amiri", serif; font-style: normal; font-size: var(--fs-lead); line-height: 1.7; }
body.b .acc-back { margin: 0 0 18px; font-size: var(--fs-small); }
body.b .acc-back a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--plum); font-weight: 500; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { body.b .acc-back a:hover { text-decoration: underline; text-underline-offset: 5px; } }
body.b .acc-back-arrow { font-size: var(--fs-body); color: var(--lx-eye); }

/* status chips */
html body.b .acc-sheet .inv-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 2px 12px 2px 10px; border-radius: 999px; font: 500 var(--fs-small)/1.6 var(--f-text); letter-spacing: 0.01em; background: rgba(168, 112, 92, 0.16); color: var(--lx-eye); }
html body.b .acc-sheet .inv-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
html body.b .acc-sheet .inv-status.is-live { background: rgba(79, 107, 74, 0.14); color: #2F4A2B; }
html body.b .acc-sheet .inv-status.is-expired { background: rgba(155, 58, 58, 0.1); color: #7A2E2E; }
html[lang="ar"] body.b .acc-sheet .inv-status { font-family: "IBM Plex Sans Arabic", var(--f-text); letter-spacing: normal; }

/* the list of invitations: one row each on a hairline */
body.b .acc-sheet .inv-list { display: grid; gap: 0; border-top: 1px solid var(--lx-hair); }
html body.b .acc-sheet .inv-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto; grid-template-areas: "pic info nums acts"; align-items: center; gap: 16px 40px; padding: 24px 0; margin: 0; background: none; box-shadow: none; border-bottom: 1px solid var(--lx-hair); }
body.b .acc-sheet .inv-pic { grid-area: pic; display: block; }
html body.b .acc-sheet .inv-pic img { width: 84px; height: 150px; object-fit: cover; box-shadow: 0 0 0 1px rgba(196, 138, 114, 0.45), 0 0.6em 1em -0.6em rgba(42, 16, 32, 0.5); }
body.b .acc-sheet .inv-info { grid-area: info; min-width: 0; display: grid; gap: 6px; justify-items: start; }
html body.b .acc-sheet .inv-names { margin: 2px 0 0; font-family: "Cormorant Garamond", var(--f-display); font-weight: 500; font-size: calc(var(--fs-h3) * 1.3); line-height: 1.1; letter-spacing: -0.005em; color: var(--plum); }
html[lang="ar"] body.b .acc-sheet .inv-names { font-family: "Amiri", serif; font-weight: 700; font-size: calc(var(--fs-h3) * 1.1); line-height: 1.5; letter-spacing: normal; }
body.b .acc-sheet .inv-names a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { body.b .acc-sheet .inv-names a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--lx-line); } }
body.b .acc-sheet :is(.inv-meta, .inv-design) { margin: 0; font-size: var(--fs-small); color: var(--ink-soft); }
body.b .acc-sheet .inv-design { color: var(--lx-eye); }
/* figures: a small word over a Cormorant number */
body.b .acc-sheet :is(.inv-nums, .acc-stats) { grid-area: nums; display: flex; gap: 32px; margin: 0; }
body.b .acc-sheet :is(.inv-nums, .acc-stats) > div { display: grid; gap: 2px; justify-items: start; min-width: 64px; }
body.b .acc-sheet :is(.inv-nums, .acc-stats) dt { font-size: var(--fs-small); color: var(--ink-soft); white-space: nowrap; }
body.b .acc-sheet :is(.inv-nums, .acc-stats) dd { margin: 0; order: -1; font-family: "Cormorant Garamond", serif; font-size: calc(var(--fs-body) * 1.9); font-weight: 500; line-height: 1; color: var(--plum); font-variant-numeric: lining-nums tabular-nums; }
body.b .acc-sheet .inv-nums--draft { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: var(--fs-lead); color: var(--ink-soft); }
html[lang="ar"] body.b .acc-sheet .inv-nums--draft { font-family: "Amiri", serif; font-style: normal; }
body.b .acc-sheet .inv-acts { grid-area: acts; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin: 0; }
body.b .acc-sheet .inv-acts .btn { min-width: 200px; }
@media (max-width: 1100px) {
  html body.b .acc-sheet .inv-row { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "pic info acts" "pic nums acts"; }
  body.b .acc-sheet .inv-nums { justify-self: start; }
}
@media (max-width: 760px) {
  html body.b .acc-sheet .inv-row { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "pic info" "nums nums" "acts acts"; gap: 14px 16px; padding: 20px 0; align-items: start; }
  html body.b .acc-sheet .inv-pic img { width: 64px; height: 114px; }
  html body.b .acc-sheet .inv-names { font-size: calc(var(--fs-h3) * 1.1); }
  body.b .acc-sheet .inv-nums { gap: 24px; }
  body.b .acc-sheet .inv-acts { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
  body.b .acc-sheet .inv-acts .btn { flex: 1 1 100%; }
}

/* empty states */
body.b .acc-empty-state { display: grid; justify-items: center; gap: 6px; text-align: center; padding: clamp(40px, 6vw, 80px) 16px; border-top: 1px solid var(--lx-hair); border-bottom: 1px solid var(--lx-hair); }
body.b .acc-empty-title { margin: 0; font-family: "Cormorant Garamond", serif; font-size: calc(var(--fs-h3) * 1.2); line-height: 1.2; color: var(--plum); }
html[lang="ar"] body.b .acc-empty-title { font-family: "Amiri", serif; font-weight: 700; font-size: calc(var(--fs-h3) * 1.05); line-height: 1.6; }
body.b .acc-empty-line { margin: 0 0 14px; max-width: 42ch; color: var(--ink-soft); }
body.b .acc-empty-state p:last-child { margin: 0; }
body.b .acc-sheet .acc-empty { margin: 8px 0 0; padding: 18px 0; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: var(--fs-lead); color: var(--ink-soft); border-top: 1px solid var(--lx-hair); }
html[lang="ar"] body.b .acc-sheet .acc-empty { font-family: "Amiri", serif; font-style: normal; }

/* one invitation: the head with its figures, the share card, the chapter index, the chapters */
body.b .acc-one-head { align-items: flex-end; }
body.b .acc-eyeline { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 10px; }
body.b .acc-design { font-size: var(--fs-small); color: var(--lx-eye); }
html body.b .acc-sheet .acc-meta { margin: 8px 0 0; font-size: var(--fs-body); color: var(--ink-soft); }
body.b .acc-sheet .acc-stats { padding-bottom: 4px; }
body.b .acc-sheet .acc-stats dd { font-size: calc(var(--fs-body) * 2.2); }

html body.b .acc-sheet .acc-share { max-width: none; margin: 0; padding: clamp(20px, 2.4vw, 32px) clamp(18px, 2.6vw, 36px); background: var(--lx-tint); box-shadow: 0 0 0 1px rgba(168, 112, 92, 0.24); }
html body.b .acc-sheet .acc-share-h { margin: 0 0 14px; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: calc(var(--fs-h3) * 1.05); line-height: 1.2; color: var(--plum); letter-spacing: 0; }
html[lang="ar"] body.b .acc-sheet .acc-share-h { font-family: "Amiri", serif; font-weight: 700; font-size: var(--fs-h3); line-height: 1.5; }
body.b .acc-share-row { display: flex; align-items: flex-end; gap: 16px 24px; }
html body.b .acc-sheet .acc-share-row .field { flex: 1 1 auto; margin: 0; min-width: 0; }
body.b .acc-share-line { margin: 0 0 16px; color: var(--ink-soft); }
body.b .acc-share-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; margin: 12px 0 0; }
@media (max-width: 760px) {
  body.b .acc-share-row { flex-direction: column; align-items: stretch; }
  body.b .acc-share-row .btn { width: 100%; }
}

body.b .acc-sheet .acc-jump { position: sticky; top: 0; z-index: 5; display: flex; gap: 0 32px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: clamp(32px, 3.4vw, 48px) 0 0; background: var(--lx-paper); border-bottom: 1px solid var(--lx-hair); }
html body.b .acc-sheet .acc-jump a { display: inline-flex; align-items: baseline; gap: 8px; flex: none; min-height: 52px; min-width: 0; padding: 15px 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; font: 500 var(--fs-small)/1.2 var(--f-text); color: var(--ink-soft); text-decoration: none; transition: color var(--t-fast), border-color var(--t-fast); }
@media (hover: hover) and (pointer: fine) { html body.b .acc-sheet .acc-jump a:hover { color: var(--plum); border-bottom-color: var(--lx-hair); } }
body.b .acc-jump-no { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; font-size: var(--fs-lead); line-height: 1; color: var(--lx-eye); }
html[lang="ar"] body.b .acc-jump-no { font-family: "Amiri", serif; font-style: normal; font-weight: 700; }
html[lang="ar"] body.b .acc-sheet .acc-jump a { font-family: "IBM Plex Sans Arabic", var(--f-text); }

body.b .acc-sheet .acc-part { margin: clamp(48px, 5vw, 72px) 0 0; scroll-margin-top: 72px; }
body.b .acc-ch-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; padding: 0 0 18px; margin: 0 0 28px; border-bottom: 1px solid var(--lx-hair); }
body.b .acc-ch-eye { margin: 0 0 8px; font: 500 var(--fs-small)/1.3 var(--f-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lx-eye); }
html[lang="ar"] body.b .acc-ch-eye { font-family: "IBM Plex Sans Arabic", var(--f-text); letter-spacing: normal; text-transform: none; }
html body.b .acc-sheet .acc-ch-name { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: calc(var(--fs-h3) * 1.15); line-height: 1.08; letter-spacing: -0.005em; color: var(--plum); }
html[lang="ar"] body.b .acc-sheet .acc-ch-name { font-family: "Amiri", serif; font-weight: 700; font-size: var(--fs-h3); line-height: 1.45; letter-spacing: normal; }
html body.b .acc-sheet .acc-used { margin: 0; font-size: var(--fs-small); color: var(--ink-soft); }
body.b .acc-ch-note, body.b .acc-sheet .acc-plan-line { margin: 0 0 24px; max-width: 60ch; color: var(--ink-soft); }
html body.b .acc-sheet .acc-sub { margin: 36px 0 12px; font: 500 var(--fs-small)/1.3 var(--f-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lx-eye); }
html[lang="ar"] body.b .acc-sheet .acc-sub { font-family: "IBM Plex Sans Arabic", var(--f-text); letter-spacing: normal; text-transform: none; }
body.b .acc-sheet .acc-csv { white-space: nowrap; }

/* forms inside the account: on the paper itself, two columns */
html body.b .acc-sheet .acc-card { max-width: none; padding: 0; margin: 0; background: none; box-shadow: none; }
body.b .acc-sheet .acc-guests-form { margin-bottom: 36px; }
html body.b .acc-sheet .acc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; align-items: end; }
html body.b .acc-sheet .acc-replies { border: 0; padding: 0; margin: 4px 0 8px; min-inline-size: 0; }
html body.b .acc-sheet .acc-replies legend { float: left; width: 100%; padding: 0 0 8px; margin: 8px 0 8px; border-bottom: 1px solid var(--lx-hair); }
html body.b .acc-sheet .acc-replies legend + * { clear: both; }
html body.b .acc-sheet .acc-replies .check { margin: 4px 0 20px; }
body.b .acc-form-go { margin: 8px 0 0; }
@media (max-width: 760px) { html body.b .acc-sheet .acc-two { grid-template-columns: 1fr; } body.b .acc-form-go .btn { width: 100%; } }

/* the name search */
body.b .acc-find { max-width: 420px; margin: 0 0 12px; }
html body.b .acc-sheet .acc-find input { width: 100%; min-height: 48px; padding: 6px 0 8px 30px; border: 0; border-bottom: 1px solid var(--lx-line); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='7.5' cy='7.5' r='5.5' fill='none' stroke='%237E4F4A' stroke-width='1.4'/%3E%3Cpath d='M11.6 11.6L16 16' stroke='%237E4F4A' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 2px center / 18px 18px; font: 400 var(--fs-body)/1.3 var(--f-text); color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
html[dir="rtl"] body.b .acc-sheet .acc-find input { padding: 6px 30px 8px 0; background-position: right 2px center; }
html body.b .acc-sheet .acc-find input:focus { border-bottom-color: var(--plum); box-shadow: inset 0 -1px 0 var(--plum); background-color: var(--lx-tint); }
body.b .acc-nomatch { margin: 14px 0 0; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: var(--fs-lead); color: var(--ink-soft); }

/* tables: small-caps heads, hairline rows, the names in Cormorant, numbers aligned */
html body.b .acc-sheet .tbl { width: 100%; border-collapse: collapse; margin: 0 0 8px; background: none; font-size: var(--fs-small); }
html body.b .acc-sheet .tbl :is(th, td) { padding: 14px 16px; text-align: start; vertical-align: middle; border-bottom: 1px solid var(--lx-hair); }
html body.b .acc-sheet .tbl :is(th, td):first-child { padding-inline-start: 0; }
html body.b .acc-sheet .tbl :is(th, td):last-child { padding-inline-end: 0; }
html body.b .acc-sheet .tbl thead th { padding-block: 0 10px; background: none; font: 500 var(--fs-small)/1.3 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lx-eye); border-bottom: 1px solid var(--lx-line); white-space: nowrap; }
html[lang="ar"] body.b .acc-sheet .tbl thead th { font-family: "IBM Plex Sans Arabic", var(--f-text); letter-spacing: normal; text-transform: none; }
html body.b .acc-sheet .tbl tbody tr, html body.b .acc-sheet .tbl tbody tr:nth-child(even) { background: none; }
@media (hover: hover) and (pointer: fine) { html body.b .acc-sheet .tbl.rows tbody tr:hover { background: rgba(255, 251, 245, 0.45); } }
html body.b .acc-sheet .tbl tbody th { font-weight: 500; }
html body.b .acc-sheet .tbl .cell-name { font-family: "Cormorant Garamond", serif; font-size: var(--fs-field); font-weight: 500; color: var(--plum); }
html[lang="ar"] body.b .acc-sheet .tbl .cell-name { font-family: "Amiri", serif; font-weight: 700; font-size: var(--fs-lead); }
html body.b .acc-sheet .tbl .cell-n { font-variant-numeric: tabular-nums lining-nums; }
html body.b .acc-sheet .tbl .cell-msg { max-width: 34ch; color: var(--ink-soft); }
html body.b .acc-sheet .tbl .cell-acts { white-space: nowrap; text-align: end; }
html body.b .acc-sheet .tbl .cell-acts > * + * { margin-inline-start: 20px; }
html body.b .acc-sheet .tbl .acc-act { min-height: 40px; font-size: var(--fs-small); }
html body.b .acc-sheet .tbl .acc-act.is-quiet, html body.b .acc-sheet .tbl [data-del-rsvp] { color: var(--ink-soft); }
html body.b .acc-sheet .tbl a { color: var(--plum); }
/* answer chips */
html body.b .acc-sheet .ans { display: inline-flex; align-items: center; gap: 7px; padding: 1px 12px 1px 10px; border-radius: 999px; font: 500 var(--fs-small)/1.6 var(--f-text); }
html body.b .acc-sheet .ans::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
html body.b .acc-sheet .ans.is-yes { background: rgba(79, 107, 74, 0.14); color: #2F4A2B; }
html body.b .acc-sheet .ans.is-no { background: rgba(155, 58, 58, 0.1); color: #7A2E2E; }
/* the totals: a compact summary */
html body.b .acc-sheet .tbl.totals { max-width: 620px; }
html body.b .acc-sheet .tbl.totals td { font-family: "Cormorant Garamond", serif; font-size: calc(var(--fs-h3) * 1.05); font-weight: 500; color: var(--plum); font-variant-numeric: lining-nums tabular-nums; }
html body.b .acc-sheet .tbl.totals tbody th { font-size: var(--fs-small); color: var(--ink); }
body.b .acc-sheet .acc-evwhen { font-size: var(--fs-small); color: var(--ink-soft); font-weight: 400; }
html body.b .acc-sheet .tbl.pays th a { font-variant-numeric: tabular-nums; font-weight: 500; }

/* phones: each row is a small block on a hairline, its words labelled */
@media (max-width: 760px) {
  html body.b .acc-sheet .tbl.rows tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 16px 0; margin: 0; background: none !important; border-bottom: 1px solid var(--lx-hair); }
  html body.b .acc-sheet .tbl.rows :is(th, td) { padding: 0; border: 0; }
  html body.b .acc-sheet .tbl.rows .cell-name { grid-column: 1 / -1; font-size: var(--fs-h3); margin: 0; }
  html body.b .acc-sheet .tbl.rows td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 var(--fs-small)/1.3 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lx-eye); }
  html[lang="ar"] body.b .acc-sheet .tbl.rows td[data-label]::before { letter-spacing: normal; text-transform: none; }
  html body.b .acc-sheet .tbl.rows .cell-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 22px; text-align: start; margin: 2px 0 0; }
  html body.b .acc-sheet .tbl.rows .cell-acts > * + * { margin-inline-start: 0; }
  html body.b .acc-sheet .tbl.rows .cell-acts .btn { flex: 0 1 auto; }
  html body.b .acc-sheet .tbl.totals :is(th, td) { padding: 12px 8px; }
  html body.b .acc-sheet .tbl.totals td { font-size: var(--fs-h3); }
  body.b .acc-sheet :is(.inv-nums, .acc-stats) dd { font-size: calc(var(--fs-h3) * 1.2); }
  body.b .acc-sheet .acc-stats { gap: 24px; }
}

/* photos for the day */
html body.b .acc-sheet .acc-phlist { gap: 0; max-width: none; border-top: 1px solid var(--lx-hair); }
html body.b .acc-sheet .acc-ph-item { padding: 20px 0; background: none; border-bottom: 1px solid var(--lx-hair); }
html body.b .acc-sheet .acc-ph legend { margin: 0 0 12px; font-size: var(--fs-body); color: var(--plum); }
html body.b .acc-sheet .acc-ph legend strong { font-family: "Cormorant Garamond", serif; font-size: var(--fs-h3); font-weight: 500; margin-inline-end: 8px; }
html[lang="ar"] body.b .acc-sheet .acc-ph legend strong { font-family: "Amiri", serif; font-weight: 700; font-size: var(--fs-field); }
html body.b .acc-sheet .acc-ph .choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--lx-line); border-radius: 999px; background: transparent; font: 500 var(--fs-small)/1.2 var(--f-text); color: var(--plum); box-shadow: none; }
html body.b .acc-sheet .acc-ph .choice input:checked + span { background: var(--plum); border-color: var(--plum); color: var(--ivory); }
html body.b .acc-sheet .acc-ph .choice input:focus-visible + span { outline: 2px solid var(--plum); outline-offset: 3px; }
html body.b .acc-sheet .acc-ph .ed-ph-thumb { width: 96px; height: 96px; border: 0; box-shadow: 0 0 0 1px rgba(196, 138, 114, 0.45); }

/* receipt */
body.b .acc-receipt .receipt { max-width: 640px; }
body.b .acc-receipt .receipt-lines { margin-top: 28px; border-top: 1px solid var(--lx-line); }
html body.b .acc-sheet .receipt .co-line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: var(--fs-body); border-bottom: 1px solid var(--lx-hair); }
html body.b .acc-sheet .receipt .co-line > span { color: var(--ink-soft); }
html body.b .acc-sheet .receipt .co-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; font-family: "Cormorant Garamond", serif; font-size: calc(var(--fs-body) * 1.9); font-weight: 500; color: var(--plum); border-bottom: 1px solid var(--lx-line); }
html body.b .acc-sheet .receipt .co-total > span { font-size: var(--fs-h3); }
html[lang="ar"] body.b .acc-sheet .receipt .co-total { font-family: "Amiri", serif; line-height: 1.5; }
body.b .receipt-acts { margin: 20px 0 0; }

/* ---------- 4. Sign in, sign up, the code and the reset ---------- */
html body.b .auth { min-height: calc(100svh - var(--b-bar-h)); align-content: center; padding: clamp(24px, 4svh, 64px) 12px; }
html body.b .auth-panel { width: min(560px, 100%); padding: 0; align-content: center; }
html body.b .auth-form { max-width: none; width: 100%; padding: clamp(24px, 3vw, 44px) clamp(20px, 3vw, 48px) clamp(24px, 3vw, 40px); font-size: var(--fs-body); }
html body.b .auth-form h1 { margin: 0; font-family: "Cormorant Garamond", var(--f-display); font-weight: 500; font-size: var(--fs-title); line-height: 1.05; letter-spacing: -0.01em; color: var(--plum); text-shadow: none; }
html[lang="ar"] body.b .auth-form h1 { font-family: "Amiri", serif; font-weight: 700; font-size: calc(var(--fs-title) * 0.88); line-height: 1.45; letter-spacing: normal; }
body.b .auth-lede { margin: 10px 0 28px; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: var(--fs-lead); line-height: 1.4; color: var(--ink-soft); max-width: 36ch; }
html[lang="ar"] body.b .auth-lede { font-family: "Amiri", serif; font-style: normal; font-size: var(--fs-lead); line-height: 1.7; }
html body.b .auth-form [data-code-line] { margin: 6px 0 22px; color: var(--ink-soft); }
html body.b .auth-form [data-code-title] + [data-code-email], html body.b .auth-form [data-code-title] + .field { margin-top: 24px; }
html body.b .auth-form .btn-wide { width: 100%; min-height: 52px; margin-top: 4px; }
html body.b .auth-kept { margin: 0 0 24px; padding: 12px 16px; background: var(--lx-tint); box-shadow: 0 0 0 1px rgba(168, 112, 92, 0.24); font-size: var(--fs-small); }
html body.b .auth-alt { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 16px 0 0; font-size: var(--fs-small); }
html body.b .auth-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--lx-hair); font-size: var(--fs-small); color: var(--ink-soft); }
html body.b .auth-form .code-input { font-family: var(--f-text) !important; font-size: calc(var(--fs-h3) * 1.2) !important; letter-spacing: 0.4em; text-align: center; }
html body.b .auth-dev { margin: 16px 0 0; font-size: var(--fs-small); color: var(--ink-soft); }

/* ---------- 5. Checkout: the bill, the waiting screen, the done screen ---------- */
html body.b .co { padding-block: clamp(16px, 3vw, 48px) clamp(48px, 6vw, 96px); }
html body.b:not(.b-page) .co-grid { max-width: 1240px; margin-inline: auto; gap: clamp(24px, 4vw, 72px); }
@media (min-width: 981px) { html body.b:not(.b-page) .co-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); } }
html body.b .co-main { font-size: var(--fs-body); }
html body.b .co-title { margin: 0 0 clamp(20px, 2.4vw, 32px); font-family: "Cormorant Garamond", var(--f-display); font-weight: 500; font-size: var(--fs-title); line-height: 1.05; color: var(--plum); text-shadow: none; }
html[lang="ar"] body.b .co-title { font-family: "Amiri", serif; font-weight: 700; font-size: calc(var(--fs-title) * 0.88); line-height: 1.45; letter-spacing: normal; }
html body.b .co-h { margin: 0 0 18px; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(26px, 2vw, 32px); line-height: 1.15; color: var(--plum); padding-bottom: 14px; border-bottom: 1px solid var(--lx-hair); }
html[lang="ar"] body.b .co-h { font-family: "Amiri", serif; font-weight: 700; font-size: clamp(24px, 1.8vw, 28px); line-height: 1.5; }
html body.b .co-facts { gap: 0; }
html body.b .co-facts > div { grid-template-columns: 10em 1fr; padding: 10px 0; border-bottom: 1px solid var(--lx-hair); }
html body.b .co-facts dt { font: 500 var(--fs-small)/1.3 var(--f-text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lx-eye); }
html[lang="ar"] body.b .co-facts dt { font-family: "IBM Plex Sans Arabic", var(--f-text); letter-spacing: normal; text-transform: none; }
html body.b .co-facts dd { font-size: var(--fs-body); }
html body.b .co-facts .co-names { font-size: clamp(30px, 2.4vw, 38px); line-height: 1.3; }
html body.b .co-edit { margin: 12px 0 0; }
html body.b .co-why { font-size: var(--fs-small); font-weight: 500; color: var(--lx-eye); }
html body.b .co-plans { margin-top: 32px; gap: 12px; }
html body.b .co-legend { font: 500 var(--fs-small)/1.3 var(--f-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lx-eye); margin-bottom: 12px; }
html[lang="ar"] body.b .co-legend { font-family: "IBM Plex Sans Arabic", var(--f-text); letter-spacing: normal; text-transform: none; }
html body.b .plan-pick-box { padding: 16px 18px; gap: 6px; background: var(--lx-tint); border: 1px solid rgba(140, 93, 87, 0.5); border-radius: 2px; box-shadow: none; transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast); }
@media (hover: hover) and (pointer: fine) { html body.b .plan-pick:hover .plan-pick-box { border-color: var(--plum); } }
html body.b .plan-pick input:checked + .plan-pick-box { background: rgba(255, 251, 245, 0.85); border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
html body.b .plan-pick input:focus-visible + .plan-pick-box { outline: 2px solid var(--plum); outline-offset: 3px; }
html body.b :is(.plan-pick-name, .plan-pick-price) { font-family: "Cormorant Garamond", serif; font-size: var(--fs-h3); line-height: 1.15; color: var(--plum); }
html[lang="ar"] body.b :is(.plan-pick-name, .plan-pick-price) { font-family: "Amiri", serif; font-size: var(--fs-field); line-height: 1.5; }
html body.b .plan-pick-price { color: var(--rose-lo); }
html body.b .plan-pick-line { font-size: var(--fs-small); line-height: 1.45; color: var(--ink-soft); }
html body.b .co-sum { margin-top: 24px; border-top: 1px solid var(--lx-line); }
html body.b .co-main .co-line { font-size: var(--fs-body); padding-block: 10px; border-bottom: 1px solid var(--lx-hair); }
html body.b .co-main .co-total { padding-top: 14px; font-family: "Cormorant Garamond", serif; font-size: calc(var(--fs-h3) * 1.5); color: var(--plum); }
html body.b .co-main .co-total > span { font-size: var(--fs-h3); }
html[lang="ar"] body.b .co-main .co-total { font-family: "Amiri", serif; }
html body.b .co-main .co-pay { min-height: 56px; margin-top: 16px; font-size: var(--fs-small); }
html body.b .co-confirm { font-size: clamp(22px, 1.7vw, 26px); }
html body.b .co-code-box { gap: 16px; align-items: flex-end; }
html body.b .co-code-box .btn { min-height: 48px; }
html body.b .co-test { font-size: var(--fs-small); }
html body.b .co-done .lead, html body.b .co-wait .lead { font-size: var(--fs-body); }
html body.b .co-done-acts { gap: 12px; }
@media (max-width: 760px) {
  html body.b .co-facts > div { grid-template-columns: 1fr; }
  html body.b .co-main .co-total { font-size: calc(var(--fs-body) * 1.9); }
}

/* ===================== Scale system (design audit 20 Nov 2026, part 6, steps 1 to 7 and 11 to 20) =====================
   Every size below comes from the tokens at the top of this file and stops at a ceiling. Loaded after b.css, home.css and entrance.css,
   so it wins over their old floor-only sizes (max(Npx, k svh)) without touching the approved looks. */

/* step 1: titles, lines, sheet text, menu */
html[data-site="b"] .b-h1, html[data-site="b"] .b-tpl-words .b-h1, html[data-site="b"] .b-table-head .b-h1, html[data-site="b"] .b-help .b-first .b-h1 { font-size: var(--fs-h1); line-height: 1; }
html[data-site="b"][lang="ar"] :is(.b-h1, .b-tpl-words .b-h1, .b-table-head .b-h1) { font-size: calc(var(--fs-h1) * 0.88); line-height: 1.3; }
html[data-site="b"] .b-band .b-h1 { line-height: 1.12; }
html[data-site="b"] .b-h2 { font-size: var(--fs-h2); }
html[data-site="b"] .b-h3 { font-size: var(--fs-h3); }
html[data-site="b"] :is(.b-line, .b-tpl-words .b-line, .b-table-head .b-tierline) { font-size: var(--fs-lead); }
html[data-site="b"] .b-sheet { font-size: var(--fs-body); }
html[data-site="b"] .b-cont-in { max-width: min(100%, 66ch + 2 * clamp(14px, 2.4vw, 44px) + 70px); }
html[data-site="b"] .b-sheet :is(p, li, dd) { max-width: 66ch; }
html[data-site="b"] .b-statement { font-size: var(--fs-lead); }
html[data-site="b"] .b-facts dt { font-size: var(--fs-h3); }
html[data-site="b"] .b-small { font-size: var(--fs-small); }
html[data-site="b"] .b-mail-big { font-size: var(--fs-lead); }
html[data-site="b"] .b-nav { font-size: var(--fs-nav); gap: clamp(22px, 2.2vw, 44px); }
html[data-site="b"][lang="ar"] .b-nav { font-size: calc(var(--fs-nav) + 2px); }
html[data-site="b"] .b-tile-tier, html[data-site="b"] body.b .b-tile-tier { font-size: var(--fs-small); color: #FBF1EC; font-weight: 500; opacity: 1; }
html[data-site="b"] body.b .b-tpl-words .b-tpl-tier { font-size: var(--fs-lead); color: var(--plum); }
html[data-site="b"] .b-tpl[data-tone="dark"] .b-tpl-words .b-tpl-tier { color: var(--ivory); }
html[data-site="b"] .b-place-name { font-size: var(--fs-h3); }
html[data-site="b"] .b-place-price { font-size: var(--fs-h2); }
html[data-site="b"] :is(.b-place-designs, .b-place-feats, .b-table-note, .b-cur, .b-cur select) { font-size: var(--fs-body); }
html[data-site="b"] .b-filter { font-size: var(--fs-h3); }
html[data-site="b"] .b-band-go { font-size: var(--fs-small); }
html[data-site="b"] .b-soon-mark { font-size: var(--fs-small); }
html[data-site="b"] .b-link { font-size: var(--fs-body); }
html[data-site="b"] .hm-band-word { font-size: var(--fs-h2); }
html[data-site="b"] .hm-band-line { font-size: var(--fs-body); font-weight: 500; }
/* step 14 (H4): a plum shade on the text side of each occasion band, mirrored in Arabic */
html[data-site="b"] .hm-band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to right, rgba(42, 16, 32, 0.62), rgba(42, 16, 32, 0) 46%); }
html[data-site="b"][dir="rtl"] .hm-band::after { background: linear-gradient(to left, rgba(42, 16, 32, 0.62), rgba(42, 16, 32, 0) 46%); }
html[data-site="b"] .hm-strip-words h2 { font-size: var(--fs-h2); }
html[data-site="b"] .hm-strip-words p { font-size: var(--fs-lead); }
html[data-site="b"] .b-wall-all a { font-size: var(--fs-h3); }
/* Arabic page titles follow the same tokens (site.css gave Arabic h1 its own 120 px) */
html[data-site="b"][lang="ar"] body.b h1:not(.b-h1):not(.hm-lake-name) { font-size: calc(var(--fs-h1) * 0.7); }

/* step 7 (H2): the home name and its one button */
html[data-site="b"] .hm-lake-name { font-size: var(--fs-hero); }
html[data-site="b"] .hm-lake-line { font-size: clamp(26px, 2.3vw, 52px); }
html[data-site="b"] .hm-lake-cta, html[data-site="b"][lang="ar"] .hm-lake-cta { min-height: var(--btn-h); padding: 0 clamp(28px, 2vw, 48px); font-size: var(--fs-btn); }
html[data-site="b"][lang="ar"] .hm-lake-cta { font-size: calc(var(--fs-btn) + 2px); }

/* step 11: one button rule (the flat square plum button; only its size follows the tokens). Arabic: no spacing, no capitals. */
html[data-site="b"] body.b :is(.b-btn, .btn, button.btn):not(.btn-quiet), html[data-site="b"] .b-place .b-btn {
  min-height: var(--btn-h); padding: 0 clamp(26px, 1.8vw, 44px); font-size: var(--fs-btn); letter-spacing: 0.1em; white-space: nowrap; }
html[data-site="b"][lang="ar"] body.b :is(.b-btn, .btn, button.btn, .ed-close):not(.btn-quiet) { letter-spacing: normal; text-transform: none; font-size: calc(var(--fs-btn) + 2px); }
html[data-site="b"] body.b .btn-quiet { font-size: var(--fs-body); }
html[data-site="b"] .b-crop span { font-size: var(--fs-small); }

/* step 2 (RC3): one short footer for every page, on the lit plum paper, as tall as its words */
html[data-site="b"] .b-close { position: relative; isolation: isolate; display: block; min-height: 0; overflow: hidden; background: #3a1230; color: var(--ivory); }
html[data-site="b"] .b-close::before { display: none; }
html[data-site="b"] :is(.b-close-photo, .b-close-ext, .b-close-shade) { display: none !important; }
html[data-site="b"] .b-close-paper, html[data-site="b"] .b-close-paper img { position: absolute; inset: 0; width: 100%; height: 100%; }
html[data-site="b"] .b-close-paper { z-index: -1; }
html[data-site="b"] .b-close-paper img { object-fit: cover; object-position: 0% 0%; display: block; }
html[data-site="b"] .b-close-in { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: clamp(10px, 1vw, 20px); padding: clamp(36px, 3.4vw, 72px) clamp(16px, 4vw, 96px) clamp(28px, 2.6vw, 56px); }
html[data-site="b"] .b-close-logo { width: clamp(220px, 20vw, 480px); height: auto; margin-bottom: clamp(4px, 0.6vw, 12px); mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); mask-composite: intersect; }
html[data-site="b"] .b-close-line { margin: 0; max-width: 30em; font-family: var(--f-display); font-weight: 500; font-size: var(--fs-lead); line-height: 1.35; letter-spacing: 0; text-wrap: balance; color: var(--ivory); text-shadow: none; }
html[data-site="b"][lang="ar"] .b-close-line { line-height: 1.6; font-weight: 700; }
html[data-site="b"] .b-close-line .b-priceline-x, html[data-site="b"] .b-close-line bdi { white-space: nowrap; }
html[data-site="b"] .b-close-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(20px, 2.2vw, 48px); margin-top: clamp(4px, 0.4vw, 8px); }
html[data-site="b"] .b-close-links a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-text); font-size: var(--fs-body); font-weight: 500; color: var(--rose-hi); text-decoration: none; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { html[data-site="b"] .b-close-links a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 6px; } }
html[data-site="b"] .b-close-small { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 clamp(16px, 1.4vw, 28px); margin: 0; font-size: var(--fs-small); line-height: 1.5; color: rgba(251, 241, 236, 0.85); }
html[data-site="b"] .b-close-small span { flex-basis: auto; }
html[data-site="b"] .b-close-small a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; color: rgba(251, 241, 236, 0.9); }
html[data-site="b"] :is(.b-close-links a, .b-close-small a):focus-visible { outline: 2px solid var(--rose-hi); outline-offset: 2px; }
@media (orientation: portrait), (max-width: 900px) {
  html[data-site="b"] .b-close-in { padding-top: 40px; }
  html[data-site="b"] .b-close-logo { width: min(260px, 70vw); }
}

/* step 3: no page zoom on the form pages (editor, checkout, account, sign in): the tokens size them */
@media (min-width: 2000px) and (min-height: 1100px) { html body.b:not(.b-page) main { zoom: 1; --z: 1; } }
@media (min-width: 3000px) and (min-height: 1600px) { html body.b:not(.b-page) main { zoom: 1; --z: 1; } }
/* the editor, sized by the tokens (its approved look kept: chapters, underline fields, pills, live card) */
html body.b.page-editor .ed-form { font-size: var(--fs-body); }
html body.b .ed-form .ed-title { font-size: clamp(44px, 2.9vw, 72px); }
html body.b .ed-form .ed-lede { font-size: var(--fs-lead); }
html body.b :is(.ed-form .ed-sub, .ed-ch-eye, .ed-form .ed-plan-k) { font-size: var(--fs-small); }
html body.b .ed-ch-name { font-size: clamp(34px, 2.2vw, 56px); }
html[lang="ar"] body.b .ed-ch-name { font-size: clamp(30px, 1.9vw, 48px); }
html body.b .ed-prog-t { font-size: var(--fs-small); }
html body.b .ed-prog-no { font-size: calc(var(--fs-small) + 4px); }
html body.b .ed-form .field.field > label, html body.b .ed-form .field.field > .label, html body.b .ed-form .ed-row-label { font-size: var(--fs-small); }
html body.b .ed-form .ed-row-label span:first-child { font-size: calc(var(--fs-body) + 4px); }
html body.b .ed-form .field :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea), html body.b .ed-form .ed-when-box .ed-written { font-size: calc(var(--fs-body) + 6px); }
html body.b .ed-form .field :is(input[type="url"], input[type="number"]) { font-size: var(--fs-body); }
html[lang="ar"] body.b .ed-form .field :is(input:not([dir="ltr"]), textarea, select), html body.b .ed-form .field :is(input, textarea)[lang="ar"] { font-size: calc(var(--fs-body) + 4px); }
html body.b .ed-form :is(.hint, .field .hint) { font-size: var(--fs-body); }
html body.b .ed-form .ed-pills .choice span { font-size: calc(var(--fs-small) + 1px); min-height: calc(var(--btn-h) - 4px); }
html body.b .ed-form .check.ed-tick { font-size: var(--fs-body); }
html body.b .ed-form .ed-plan-v { font-size: calc(var(--fs-body) + 8px); }
html body.b .ed-form .ed-actions .ed-save { font-size: var(--fs-body); }
html body.b .ed-form .ed-ev-title { font-size: calc(var(--fs-body) + 6px); }
@media (min-width: 861px) {
  html body.b .editor .ed-pv-row button.btn:not(.btn-quiet), html body.b .editor .ed-pv-row button.btn:not(.btn-quiet):is(:hover, :active) { font-size: var(--fs-small); min-height: 44px; }
  html body.b .editor:not(.is-guest) .ed-note { font-size: var(--fs-small); }
}

/* step 4 (I2): Help at the same scale as the other pages */
html[data-site="b"] .b-help .b-sheet, html[data-site="b"] .b-faq, html[data-site="b"] .b-prices .b-faq { max-width: min(100%, 60ch + 2 * clamp(14px, 2.4vw, 44px) + 70px); }
html[data-site="b"] .qa-item summary, html[data-site="b"] .b-prices .qa-item summary { font-size: var(--fs-lead); }
html[data-site="b"] .qa-item p, html[data-site="b"] .b-prices .qa-item p { font-size: var(--fs-body); }
html[data-site="b"] .b-search { max-width: min(100%, 36em); }
html[data-site="b"] .b-search input { min-height: var(--btn-h); font-size: var(--fs-body); }

/* step 5 (D2): the designs grid. 2 across on a phone, 4 at 1920, 6 at 3840; every tile is the card's own 9:16 */
html[data-site="b"] .b-fwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(260px, 17vw, 420px), 1fr)); gap: clamp(12px, 1.2vw, 28px); max-width: 2600px; margin-inline: auto; padding: 0 clamp(16px, 4vw, 96px); background: none; border: 0; justify-content: center; }
html[data-site="b"] .b-wall-page .b-fwall { margin-inline: auto; }
html[data-site="b"] .b-fwall .b-tile, html[data-site="b"] .b-fwall .b-tile.is-half, html[data-site="b"] .b-fwall .b-tile.is-wide { grid-column: auto; width: auto; height: auto; aspect-ratio: 9 / 16; flex: none; --fg: max(14px, 6cqw); }
html[data-site="b"] .b-fwall .b-tile:is(.is-half, .is-wide) :is(.b-tile-film, .b-tile-end) { object-position: 50% 50%; }
html[data-site="b"] .b-fwall .b-tile:is(.is-half, .is-wide) .b-tile-names .b-tile-stage.card { top: 50%; }
html[data-site="b"] .b-tile-label { font-size: clamp(20px, 9cqw, 40px); bottom: max(14px, 3.4cqh); }
html[data-site="b"] .b-tile-go::after { min-height: 0; height: 22%; }
html[data-site="b"] .b-tile-tier { font-size: clamp(14px, 5.6cqw, 18px); }
@media (max-width: 900px) {
  html[data-site="b"] .b-fwall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px; }
  html[data-site="b"] .b-tile-label { font-size: clamp(17px, 10cqw, 28px); gap: 0.25em; flex-wrap: wrap; }
  html[data-site="b"] .b-tile-tier { flex-basis: 100%; margin-inline-start: 0; font-size: 14px; }
  html[data-site="b"] .b-tile-label svg { display: none; }
}
html[data-site="b"] .b-wall-all { margin-top: clamp(24px, 2.4vw, 48px); }

/* step 6 (D1): the designs page's first screen shows designs: a short head, one row of filters, the grid starts high */
html[data-site="b"] .b-designs .b-wall-page { min-height: 0; padding: calc(var(--b-bar-h) + clamp(16px, 2.4svh, 40px)) 0 clamp(48px, 6vw, 112px); }
html[data-site="b"] .b-designs .b-wall-head { margin: 0 auto clamp(20px, 2.4vw, 40px); padding: 0 16px; max-width: 1400px; }
html[data-site="b"] .b-designs .b-wall-head .b-h1 { font-size: var(--fs-h2); }
html[data-site="b"] .b-designs .b-wall-head .b-line { margin-top: 0.3em; }
html[data-site="b"] .b-designs .b-filters { margin-top: clamp(12px, 1.4vw, 24px); gap: 8px 10px; }
html[data-site="b"] .b-designs .b-filter, html[data-site="b"] body.b .b-designs .b-filter--tier {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 clamp(16px, 1vw, 24px); border: 1px solid rgba(58, 23, 44, 0.45); border-radius: 999px;
  background: rgba(var(--b-mist), 0.82); font-family: var(--f-text); font-size: var(--fs-small); font-weight: 500; color: var(--plum); text-shadow: none; box-shadow: none; letter-spacing: 0.01em; }
html[data-site="b"] .b-designs .b-filter[aria-pressed="true"], html[data-site="b"] body.b .b-designs .b-filter--tier[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--ivory); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { html[data-site="b"] .b-designs .b-filter:hover { border-color: var(--plum); } }
html[data-site="b"] .b-designs .b-tier-filter { margin-top: 8px; gap: 8px 10px; }
html[data-site="b"] .b-wall-sec + .b-wall-sec { margin-top: clamp(40px, 4vw, 96px); }
html[data-site="b"] .b-wall-sec-h { display: flex; justify-content: center; align-items: baseline; gap: 0.5em; max-width: 2600px; margin: 0 auto clamp(14px, 1.4vw, 28px); padding: clamp(14px, 1.4vw, 28px) 16px; font-size: var(--fs-h3);
  background: #3a1230 url("/fronts/b/img/home/paper-mid-2400.webp") center / cover; color: var(--ivory); }
/* the plan the buyer chose on the prices page */
html[data-site="b"] .b-plan-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 20px; margin: clamp(12px, 1.4vw, 24px) auto 0; padding: 10px 22px; max-width: max-content;
  background: rgba(var(--b-mist), 0.9); border-radius: 2px; font-size: var(--fs-body); color: var(--plum); box-shadow: 0 0 0 1px rgba(168, 112, 92, 0.3); }
html[data-site="b"] .b-plan-note strong { font-weight: 600; }
html[data-site="b"] .b-plan-note a { color: var(--plum); font-weight: 500; text-underline-offset: 5px; }
@media (max-width: 900px) { html[data-site="b"] .b-plan-note { margin-inline: 12px; } }

/* step 12 (RC4): the title screens of the information pages are a band, not a whole screen */
html[data-site="b"] :is(.b-how, .b-help, .b-about, .b-contact, .b-legal, .b-404) .b-first { min-height: clamp(360px, 46svh, 620px); }
html[data-site="b"] :is(.b-how, .b-help, .b-about, .b-legal, .b-404) .b-first .b-words { padding-top: calc(var(--b-bar-h) + clamp(24px, 6svh, 96px)); padding-bottom: clamp(32px, 4svh, 64px); }
html[data-site="b"] .b-contact .b-first { min-height: clamp(520px, 70svh, 900px); }
html[data-site="b"] .b-occasion .b-first { min-height: clamp(420px, 56svh, 760px); }
html[data-site="b"] .b-cont { padding-block: clamp(40px, 5vw, 112px) clamp(56px, 6vw, 140px); }
html[data-site="b"] .b-help .b-first .b-photo img { transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html[data-site="b"] :is(.b-words, .b-wall-head, .b-table-head, .b-band-words) > * { animation: none; }
}

/* prices: the title and the cards on the tokens; buttons on the one rule */
html[data-site="b"] .b-table { padding-top: calc(var(--b-bar-h) + clamp(16px, 3svh, 48px)); }
html[data-site="b"] .b-places { max-width: min(100%, 1500px); gap: clamp(20px, 2vw, 44px); }
html[data-site="b"] .b-table-head .b-tierline { padding: 0.4em 1em; }

/* step 20: footer links 44 px; the occasion bands' words */
html[data-site="b"] .b-band-words .b-line { font-weight: 500; }

/* E4: a chapter reached from the pinned index lands clear of it */
html body.b .ed-form .ed-group.ed-ch { scroll-margin-top: 96px; }
/* without the zoom, the editor's paper and the live phone fit the window under the bar (the bar is about 100 px on these pages) */
@media (min-width: 861px) {
  html body.b.page-editor .ed-form { height: calc(100svh - 112px - var(--above, 0px)); }
  html body.b.page-editor .ed-preview { height: calc(100svh - 104px); top: 0; }
}
/* a short page keeps its footer at the foot of the window */
html[data-site="b"] body.b { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
html[data-site="b"] body.b > main { flex: 1 0 auto; }
/* checkout with nothing to pay: the one card in the middle */
html body.b:not(.b-page) .co-grid:has([data-empty]:not([hidden])) { grid-template-columns: minmax(0, 720px); justify-content: center; }
/* T2: the design page offers the guest's own view of the sample invitation, beside "Watch the opening" */
html[data-site="b"] .b-tpl-words .b-quiet { display: flex; flex-wrap: wrap; gap: 0 28px; }
html[data-site="b"] .b-asguest { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--rose); }
/* a name or a message in the other script keeps the column's own edge */
html[dir="ltr"] body.b .acc-sheet .tbl [dir="auto"] { text-align: left; }
html[dir="rtl"] body.b .acc-sheet .tbl [dir="auto"] { text-align: right; }
html body.b .acc-sheet .acc-find { margin-top: 32px; }
html body.b .acc-sheet .acc-sub + .acc-find { margin-top: 0; }

/* C1, C2: checkout shows its three steps, the plans as full-width rows, the bill and the card as one centred pair */
@media (min-width: 981px) { html body.b:not(.b-page) .co-grid { max-width: 1320px; grid-template-columns: minmax(0, 860px) minmax(240px, 360px); justify-content: center; } }
@media (max-width: 980px) { html body.b:not(.b-page) .co-grid { grid-template-columns: minmax(0, 1fr); } }
html body.b .co-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 20px; padding: 0; font-size: var(--fs-small); color: var(--ink-soft); }
html body.b .co-steps li { display: inline-flex; align-items: center; gap: 10px; }
html body.b .co-step-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--lx-line); font-size: 14px; font-weight: 500; color: var(--lx-eye); font-variant-numeric: lining-nums; }
html body.b .co-steps li[aria-current="step"] { color: var(--plum); font-weight: 500; }
html body.b .co-steps li[aria-current="step"] .co-step-no { background: var(--plum); color: var(--ivory); box-shadow: none; }
html body.b .co-steps li.is-done .co-step-no { background: rgba(79, 107, 74, 0.16); color: #2F4A2B; box-shadow: none; }
html body.b .co-plans { grid-template-columns: 1fr; gap: 10px; }
html body.b .plan-pick-box { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "line price"; align-items: center; column-gap: 24px; row-gap: 2px; padding: 14px 20px; }
html body.b .plan-pick-top { display: contents; }
html body.b .plan-pick-name { grid-area: name; }
html body.b .plan-pick-price { grid-area: price; text-align: end; }
html body.b .plan-pick-line { grid-area: line; }
html body.b .plan-pick:has(input:disabled) .plan-pick-box { opacity: 0.62; cursor: default; }
@media (max-width: 760px) { html body.b .plan-pick-top { display: contents; } html body.b .plan-pick-box { padding: 12px 16px; } }
html body.b .acc-sheet .tbl .cell-acts .btn-quiet { padding-inline: 0; min-width: 0; }
@media (max-width: 760px) { html body.b .acc-sheet .tbl.rows .cell-acts { gap: 0 20px; } }
/* re-check after the audit run: the design page's words block on the tokens (its crops and links were 41 to 52 px at 3840) */
html[data-site="b"] .b-tpl-words { font-size: var(--fs-body); }
html[data-site="b"] .b-crop img { width: clamp(96px, 5.2vw, 150px); }
html[data-site="b"][lang="ar"] .b-designs :is(.b-filter, .b-filter--tier) { letter-spacing: normal; }
/* taps of 44 px or more */
html[data-site="b"] :is(.b-mail-big a, .b-mail a) { display: inline-flex; align-items: center; min-height: 44px; }
html body.b .acc-sheet .tbl.pays th a { display: inline-flex; align-items: center; min-height: 44px; }
html body.b .acc-sheet .inv-acts .btn-quiet { min-width: 44px; justify-content: center; }
html body.b .acc-sheet .inv-names a { display: inline-block; min-height: 44px; }

/* checker round 1 */
/* an empty field reads as a field: a faint lighter step of the paper behind the words */
html body.b :is(.acc-sheet, .auth-form, .co-main, .co-done) :is(.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea, .input) { background-color: rgba(255, 251, 245, 0.42); padding-inline: 10px; }
html body.b :is(.acc-sheet, .auth-form, .co-main) .field select { padding-inline-end: 30px; }
html body.b .acc-sheet .acc-find input { background-color: transparent; }
/* the home's six films: one row of six on a wide screen, three across between, two on a phone */
@media (min-width: 1500px) { html[data-site="b"] .hm-watch .b-fwall { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 901px) and (max-width: 1499px) { html[data-site="b"] .hm-watch .b-fwall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the two filter rows on Designs say what they filter */
html[data-site="b"] .b-designs :is(.b-filters, .b-tier-filter)::before { content: attr(aria-label); align-self: center; margin-inline-end: 6px; font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lx-eye); text-shadow: 0 0 0.5em rgba(var(--b-mist), 1); }
html[data-site="b"][lang="ar"] .b-designs :is(.b-filters, .b-tier-filter)::before { letter-spacing: normal; text-transform: none; }
/* the receipt sits in the middle of its sheet; amounts line up on the end */
html body.b .acc-receipt .receipt { margin-inline: auto; }
html body.b .acc-sheet .tbl.pays td:nth-child(4), html body.b .acc-sheet .tbl.pays th:nth-child(4) { text-align: end; }
html body.b .plan-pick-line { color: var(--ink); }
html body.b .co-steps { font-size: var(--fs-body); }
/* a narrow tile puts its price under the name, never beside it */
@container (max-width: 440px) {
  html[data-site="b"] .b-tile-label { flex-wrap: wrap; row-gap: 2px; }
  html[data-site="b"] .b-tile-tier { flex-basis: 100%; margin-inline-start: 0; }
}

/* ===================== lane 1: account, sign in, checkout (from here on, lane 1 only) ===================== */
html body.b .acc-sheet :is(.inv-names a, .receipt-acts .btn-quiet) { min-width: 44px; }
html body.b :is(.auth-lede, .acc-lede, .acc-empty-line, .acc-ch-note) { text-wrap: pretty; }

/* ===================== lane 2: designs, prices, home, occasions ===================== */
/* Design audit 20 Nov 2026, lane 2 (home below the entrance, Designs, each design, Occasions, Prices). Sizes come from the tokens only.
   Section rhythm: 72 px on a phone, about 112 at 1920, 160 at 3840. Words and grids sit in the one frame (--frame). */
html[data-site="b"] body.b { --l2-sec: clamp(64px, 5.8vw, 160px); --l2-gap: clamp(28px, 3.2vw, 112px); --l2-paper: #F3E6D9; --l2-ivory: #FBF4EE; --l2-frame: min(100% - 2 * clamp(16px, 4vw, 96px), 2240px); }
html[data-site="b"] .hm-h2 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.01em; color: var(--plum); text-wrap: balance; }
html[data-site="b"][lang="ar"] .hm-h2 { font-weight: 700; font-size: calc(var(--fs-h2) * 0.86); line-height: 1.35; letter-spacing: normal; }

/* ---- home: the five occasions in one row (H5, part 4) ---- */
html[data-site="b"] .hm-occasions { padding: var(--l2-sec) 0; background: var(--l2-paper); }
html[data-site="b"] .hm-occ-h { width: var(--l2-frame); margin: 0 auto clamp(20px, 2vw, 44px); }
html[data-site="b"] .hm-occ-row { width: var(--l2-frame); margin-inline: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1vw, 24px); }
html[data-site="b"] .hm-occ-row .hm-band { position: relative; overflow: hidden; isolation: isolate; color: var(--ivory); text-decoration: none; }
html[data-site="b"] .hm-occ-row :is(.hm-band-photo, .hm-band-photo img) { position: absolute; inset: 0; width: 100%; height: 100%; }
html[data-site="b"] .hm-occ-row .hm-band-photo { z-index: -2; }
html[data-site="b"] .hm-occ-row .hm-band-photo img { object-fit: cover; display: block; }
html[data-site="b"] .hm-occ-row .hm-band-words { display: grid; }
html[data-site="b"] .hm-occ-row .hm-band-word { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em; }
html[data-site="b"][lang="ar"] .hm-occ-row .hm-band-word { font-weight: 700; letter-spacing: normal; }
html[data-site="b"] .hm-occ-row .hm-band:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
html[data-site="b"] .hm-occ-row .hm-band { height: auto; min-height: 0; aspect-ratio: 3 / 4; display: block; border: 0; --bg: clamp(16px, 1.3vw, 32px); }
html[data-site="b"] .hm-occ-row .hm-band-photo img { object-position: 50% 60%; transition: transform 0.6s ease-out; }
@media (hover: hover) and (pointer: fine) { html[data-site="b"] .hm-occ-row .hm-band:hover .hm-band-photo img { transform: scale(1.03); } }
html[data-site="b"] .hm-occ-row .hm-band::after, html[data-site="b"][dir="rtl"] .hm-occ-row .hm-band::after { content: ""; background: linear-gradient(to top, rgba(42, 16, 32, 0.78), rgba(42, 16, 32, 0.42) 34%, rgba(42, 16, 32, 0) 62%); }
html[data-site="b"] .hm-occ-row .hm-band-words, html[data-site="b"][dir="rtl"] .hm-occ-row .hm-band-words { position: absolute; inset: auto var(--bg) var(--bg); top: auto; translate: none; max-width: none; margin: 0; padding: 0; gap: 6px; text-shadow: 0 1px 2px rgba(42, 16, 32, 0.5); }
html[data-site="b"] .hm-occ-row .hm-band-words::before { display: none; }
html[data-site="b"] .hm-occ-row .hm-band-word { margin: 0; font-size: calc(var(--fs-h3) * 1.2); line-height: 1.05; color: var(--ivory); }
html[data-site="b"][lang="ar"] .hm-occ-row .hm-band-word { line-height: 1.35; }
html[data-site="b"] .hm-occ-row .hm-band-line { font-size: var(--fs-small); line-height: 1.45; font-weight: 500; max-width: 34ch; color: var(--ivory); }
html[data-site="b"] .hm-occ-row .hm-band:hover .hm-band-word { transform: none; }
@media (max-width: 900px) {
  html[data-site="b"] .hm-occ-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: calc(100% - 24px); }
  html[data-site="b"] .hm-occ-row .hm-band { --bg: 14px; }
  html[data-site="b"] .hm-occ-row .hm-band:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  html[data-site="b"] .hm-occ-row .hm-band-word { font-size: 26px; }
  html[data-site="b"] .hm-occ-row .hm-band-line { font-size: 15px; }
  html[data-site="b"] .hm-occ-h { width: calc(100% - 32px); }
}
@media (max-width: 520px) { html[data-site="b"] .hm-occ-row .hm-band:not(:last-child) .hm-band-line { display: none; } }

/* ---- home: how it works beside what a guest sees (the phone in the garden plays the first design's film) ---- */
html[data-site="b"] .hm-how { padding: var(--l2-sec) 0; background: var(--l2-ivory); border-top: var(--hm-line, 3px) solid var(--hm-line-colour, #2A1020); }
html[data-site="b"] .hm-how-in { width: var(--l2-frame); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--l2-gap); align-items: center; }
html[data-site="b"] .hm-steps { list-style: none; counter-reset: hm-step; display: grid; gap: clamp(18px, 1.7vw, 36px); margin: clamp(24px, 2.4vw, 48px) 0; padding: 0; }
html[data-site="b"] .hm-step { counter-increment: hm-step; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(16px, 1.2vw, 28px); align-items: start; }
html[data-site="b"] .hm-step::before { content: counter(hm-step); grid-row: span 2; display: grid; place-items: center; width: clamp(40px, 2.4vw, 56px); aspect-ratio: 1; border-radius: 50%;
  background: var(--plum); color: #F5D4CA; font-family: var(--f-display); font-size: var(--fs-lead); font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; box-shadow: inset 0 0 0 2px rgba(196, 138, 114, 0.7); }
html[data-site="b"] .hm-step-t { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.15; color: var(--plum); }
html[data-site="b"][lang="ar"] .hm-step-t { font-weight: 700; line-height: 1.45; }
html[data-site="b"] .hm-step p { margin: 4px 0 0; max-width: 46ch; font-size: var(--fs-body); line-height: 1.55; color: var(--ink); }
html[data-site="b"][lang="ar"] .hm-step p { line-height: 1.7; }
html[data-site="b"] :is(.hm-how-go, .b-tpl-more-go) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(20px, 2vw, 40px); margin: 0; }
html[data-site="b"] :is(.hm-how-go, .b-tpl-more-go, .hm-menu-go) .b-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--plum); font-weight: 500; text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 6px; text-shadow: none; }
html[data-site="b"] .hm-guest { margin: 0; display: grid; gap: clamp(12px, 1.2vw, 24px); }
html[data-site="b"] .hm-guest-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e9dccd; }
html[data-site="b"] .hm-guest-stage { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; aspect-ratio: 16 / 9; translate: -50% 0; }
html[data-site="b"] .hm-guest-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
html[data-site="b"] .hm-guest-screen.b-fwall { position: absolute; left: 40.9%; top: 15.7%; width: 18.75%; height: 70.7%; display: block; max-width: none; margin: 0; padding: 0; gap: 0; border: 0; border-radius: 11% / 5.2%; overflow: hidden; background: #160810; }
html[data-site="b"] .hm-guest-screen.b-fwall .b-tile { width: 100%; height: 100%; aspect-ratio: auto; }
html[data-site="b"] .hm-guest-screen :is(.b-tile-label, .b-tile-go::after) { display: none; }
html[data-site="b"] .hm-guest-screen .b-tile-go::after { display: none; }
html[data-site="b"] .hm-guest-cap { max-width: 60ch; font-size: var(--fs-body); line-height: 1.55; color: var(--ink); }
html[data-site="b"] .hm-guest-cap strong { display: block; margin-bottom: 4px; font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; color: var(--plum); }
html[data-site="b"] .hm-guest-cap .b-link { display: inline-flex; align-items: center; min-height: 44px; margin-inline-start: 6px; color: var(--plum); font-weight: 500; font-size: var(--fs-body); text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 6px; text-shadow: none; }
@media (max-width: 900px) {
  html[data-site="b"] .hm-how-in { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); }
  html[data-site="b"] .hm-guest { order: -1; }
  html[data-site="b"] .hm-guest-photo { aspect-ratio: 4 / 5; margin-inline: -16px; }
  html[data-site="b"] .hm-steps { margin: 20px 0 28px; }
}

/* ---- home and a design page: prices set like a menu, and short answers ---- */
html[data-site="b"] .hm-menu { padding: var(--l2-sec) 0; background: var(--l2-paper); border-top: var(--hm-line, 3px) solid var(--hm-line-colour, #2A1020); }
html[data-site="b"] .hm-menu-in { width: var(--l2-frame); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--l2-gap); align-items: start; }
html[data-site="b"] .hm-menu-list { list-style: none; display: grid; gap: clamp(18px, 1.6vw, 32px); margin: clamp(20px, 2vw, 40px) 0 0; padding: 0; }
html[data-site="b"] .hm-menu-row { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; align-items: baseline; column-gap: 12px; padding-bottom: clamp(14px, 1.2vw, 24px); box-shadow: inset 0 -1px 0 rgba(168, 112, 92, 0.32); }
html[data-site="b"] .hm-menu-name { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.15; color: var(--plum); }
html[data-site="b"] .hm-menu-price { font-family: var(--f-display); font-weight: 500; font-size: calc(var(--fs-h3) * 1.2); line-height: 1; color: var(--rose-lo); font-variant-numeric: lining-nums tabular-nums; }
html[data-site="b"] .hm-menu-row.is-soon :is(.hm-menu-name, .hm-menu-price) { color: var(--ink-soft); }
html[data-site="b"] .hm-menu-row.is-soon .hm-menu-price { font-family: var(--f-text); font-size: var(--fs-body); }
html[data-site="b"] .hm-menu-line { grid-column: 1 / -1; margin-top: 4px; max-width: 44ch; font-size: var(--fs-body); line-height: 1.5; color: var(--ink); }
html[data-site="b"] .hm-menu-note { margin: clamp(18px, 1.6vw, 32px) 0 0; font-size: var(--fs-body); line-height: 1.5; color: var(--ink); }
html[data-site="b"] .hm-menu-go { margin: 8px 0 0; }
html[data-site="b"] :is(.hm-menu-faq, .b-tpl-more-get) .qa { margin-top: clamp(12px, 1.2vw, 24px); box-shadow: inset 0 1px 0 rgba(168, 112, 92, 0.32); }
html[data-site="b"] :is(.hm-menu-faq, .b-tpl-more-get) .qa-item { box-shadow: inset 0 -1px 0 rgba(168, 112, 92, 0.32); }
html[data-site="b"] :is(.hm-menu-faq, .b-tpl-more-get) .qa-item summary { padding-block: clamp(14px, 1vw, 22px); font-size: var(--fs-lead); }
html[data-site="b"] :is(.hm-menu-faq, .b-tpl-more-get) .qa-item p { padding-bottom: clamp(14px, 1vw, 22px); font-size: var(--fs-body); line-height: 1.55; color: var(--ink); }
html[data-site="b"][lang="ar"] :is(.hm-menu-faq, .b-tpl-more-get) .qa-item p { line-height: 1.7; }
@media (max-width: 900px) { html[data-site="b"] .hm-menu-in { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); } }

/* ---- Designs (D1 to D6): 2 across on a phone, 3 on a small laptop, 4 from 1200, 5 from 1600 (1920), 7 from 3000 (3840). A short last
   row is centred, never a lone tile pinned to one side (D3), whatever the filter leaves. The heading carries its price. ---- */
html[data-site="b"] .b-fwall:not(.hm-guest-screen) { display: flex; flex-wrap: wrap; justify-content: center; --cols: 2; --fw-gap: 10px; gap: var(--fw-gap); }
html[data-site="b"] .b-fwall:not(.hm-guest-screen) > .b-tile { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--fw-gap)) / var(--cols)); min-width: 0; }
@media (min-width: 901px) { html[data-site="b"] .b-fwall:not(.hm-guest-screen) { --cols: 3; --fw-gap: clamp(12px, 1.2vw, 28px); } }
@media (min-width: 1200px) { html[data-site="b"] :is(.b-designs, .b-occasion) .b-fwall { --cols: 4; } }
@media (min-width: 1600px) { html[data-site="b"] :is(.b-designs, .b-occasion) .b-fwall { --cols: 5; } }
@media (min-width: 3000px) { html[data-site="b"] :is(.b-designs, .b-occasion) .b-fwall { --cols: 7; max-width: 2900px; } }
@media (min-width: 1500px) { html[data-site="b"] .hm-watch .b-fwall { --cols: 6; } }
html[data-site="b"] .b-wall-sec-h { align-items: baseline; flex-wrap: wrap; gap: 0.2em 0.7em; max-width: 2900px; font-size: var(--fs-h3); }
html[data-site="b"] .b-wall-sec-price { font-family: var(--f-text); font-size: var(--fs-body); font-weight: 500; color: #F5D4CA; }
html[data-site="b"] .b-designs :is(.b-filters, .b-tier-filter)::before { letter-spacing: 0.01em; text-transform: none; font-size: var(--fs-small); color: var(--plum); }

/* ---- One design (T1, T2): under the first screen, three stills, what you get with the plans and prices, three answers ---- */
html[data-site="b"] .b-tpl-more { position: relative; padding: var(--l2-sec) 0; background: var(--l2-paper); border-top: 3px solid #2A1020; }
html[data-site="b"] .b-tpl-more-in { width: var(--l2-frame); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--l2-gap); align-items: start; }
html[data-site="b"] .b-stills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1120px; gap: clamp(10px, 1vw, 24px); margin-top: clamp(20px, 2vw, 40px); }
html[data-site="b"] .b-still { position: relative; margin: 0; aspect-ratio: 9 / 16; overflow: hidden; background: #3A172C; container-type: size; box-shadow: 0 0 0 1px rgba(196, 138, 114, 0.45); }
html[data-site="b"] .b-still > img, html[data-site="b"] .b-still .b-tile-end { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 1; }
html[data-site="b"] .b-still.b-tile { height: auto; grid-column: auto; }
html[data-site="b"] .b-still .b-tile-go::after { display: none; }
html[data-site="b"] .b-tpl-more-get { display: grid; gap: clamp(16px, 1.4vw, 28px); align-content: start; }
html[data-site="b"] .b-incl { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; font-size: var(--fs-body); line-height: 1.45; color: var(--ink); }
html[data-site="b"] .b-incl li { position: relative; padding-inline-start: 1.5em; }
html[data-site="b"] .b-incl li::before { content: ""; position: absolute; inset-inline-start: 0.25em; top: 0.55em; width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--rose-lo); }
html[data-site="b"] .b-tpl-plans { margin: 0; }
html[data-site="b"] .b-tpl-plans .hm-menu-row { padding-bottom: 12px; }
html[data-site="b"] .b-tpl-more-q { margin: clamp(8px, 1vw, 20px) 0 0; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.2; color: var(--plum); }
html[data-site="b"] .b-tpl-more-get .qa { margin-top: 0; }
@media (max-width: 900px) {
  html[data-site="b"] .b-tpl-more-in { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); }
  html[data-site="b"] .b-stills { gap: 8px; }
}

/* ---- Occasions (O1, O2): a short head, the five in one row; an occasion page opens on a band, not a whole screen ---- */
html[data-site="b"] .b-occ-index { position: relative; isolation: isolate; clip-path: inset(0); padding: calc(var(--b-bar-h) + clamp(24px, 4svh, 72px)) 0 var(--l2-sec); }
html[data-site="b"] .b-occ-index .b-wall-head { margin: 0 auto clamp(24px, 2.6vw, 56px); padding: 0 16px; max-width: 1400px; }
html[data-site="b"] .b-occ-index .hm-band { color: var(--ivory); text-decoration: none; }
html[data-site="b"] .b-occ-index .b-band-go { justify-self: start; margin-top: 6px; padding-bottom: 0.2em; font-size: var(--fs-small); font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--ivory); box-shadow: inset 0 -1px 0 var(--rose-hi); }
html[data-site="b"] .b-occ-index .hm-band-words { display: grid; }
html[data-site="b"][lang="ar"] .b-occ-index :is(.b-band-go, .hm-band-word, .hm-band-line) { letter-spacing: normal; }
html[data-site="b"] .b-occasion .b-first { min-height: clamp(360px, 46svh, 620px); }
html[data-site="b"] .b-occasion .b-first .b-words { padding-top: calc(var(--b-bar-h) + clamp(24px, 5svh, 80px)); padding-bottom: clamp(28px, 4svh, 64px); }

/* ---- Prices (P1 to P3): the tier line without its white patch, the cards read top to bottom, the button says where it goes ---- */
html[data-site="b"] .b-table-head .b-tierline { background: none; padding: 0; margin-top: 0.6em; max-width: 46em; font-size: var(--fs-body); color: var(--plum); text-shadow: 0 0 0.35em rgba(var(--b-mist), 1), 0 0 0.9em rgba(var(--b-mist), 0.95), 0 0 1.6em rgba(var(--b-mist), 0.8); }
html[data-site="b"] .b-place { text-align: start; }
html[data-site="b"] .b-place-feats { justify-items: start; }
html[data-site="b"] .b-place-feats li { position: relative; padding-inline-start: 1.4em; text-align: start; }
html[data-site="b"] .b-place-feats li::before { content: ""; position: absolute; inset-inline-start: 0.2em; top: 0.6em; width: 0.4em; height: 0.4em; border-radius: 50%; background: var(--rose-lo); }
html[data-site="b"] .b-place .b-act { margin-top: clamp(20px, 1.6vw, 32px); }
html[data-site="b"] .b-place .b-act .b-btn { width: 100%; justify-content: center; }
html[data-site="b"] .b-place.is-soon .b-place-price { font-size: var(--fs-h3); margin-top: 0.5em; color: var(--ink-soft); }

/* ===================== lane 3: help, legal, guest, rest (design lane 3, 20 Nov 2026; this block is lane 3 only) =====================
   How it works, Help, About, Contact, Terms, Privacy, the 404 (src/fronts/b/info.js), the footer's content and the guest page's scale.
   The paper sheet becomes a document: the reading column and a side column (the page's index, a way to reach us). Sizes are the tokens. */
html[data-site="b"] .b-cont.is-doc .b-cont-in { max-width: min(100%, calc(var(--fs-body) * 54 + 190px)); }
html[data-site="b"] .b-cont.is-wide .b-cont-in { max-width: min(100%, calc(var(--fs-body) * 70 + 190px)); }
html[data-site="b"] .b-cont.is-doc .b-sheet :is(p, li, dd) { max-width: 66ch; }
html[data-site="b"] .b-doc { display: grid; gap: clamp(28px, 2.6vw, 64px); }
html[data-site="b"] .b-doc-side { display: grid; gap: clamp(24px, 2vw, 44px); align-content: start; }
html[data-site="b"] .b-doc-label { margin: 0 0 6px; font: 500 var(--fs-small)/1.45 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--lx-eye, #7a4a42); }
html[data-site="b"] .b-doc-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
html[data-site="b"] .b-sheet .b-doc-links li { max-width: none; }
html[data-site="b"] .b-doc-links a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 4px; font-family: var(--f-text); font-size: var(--fs-body); line-height: 1.35; color: var(--plum); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color 0.2s; }
html[data-site="b"] .b-doc-links.is-small a { font-size: var(--fs-small); }
html[data-site="b"] .b-doc-links a:is(:hover, :focus-visible) { text-decoration-color: var(--rose-lo, #a8705c); }
html[data-site="b"] :is(.b-doc-links a, .b-doc-mail a, .b-nf-go a):focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
html[data-site="b"] .b-doc-links.is-row { display: flex; flex-wrap: wrap; gap: 0 clamp(20px, 1.8vw, 36px); margin-top: 0.4em; }
html[data-site="b"] .b-doc-card { padding: clamp(18px, 1.4vw, 30px) clamp(18px, 1.6vw, 32px); background: rgba(168, 112, 92, 0.09); }
html[data-site="b"] .b-doc-note { margin: 0 0 4px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink); }
html[data-site="b"] .b-doc-mail { margin: 0 0 4px; }
html[data-site="b"] .b-doc-mail a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-weight: 500; font-size: var(--fs-h3); line-height: 1.15; color: var(--plum); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--lx-line, rgba(168, 112, 92, 0.5)); text-decoration-thickness: 1px; text-underline-offset: 6px; }
html[data-site="b"] .b-doc-lead, html[data-site="b"] .b-cont.is-doc .b-sheet .b-doc-lead { margin: 0 0 1em; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; }
html[data-site="b"] .b-doc-sec + .b-doc-sec { margin-top: clamp(56px, 5.4vw, 128px); }
html[data-site="b"] .b-cont.is-doc .b-h2 { margin-top: 0; }
html[data-site="b"] .b-doc-h { margin-top: 0; }
html[data-site="b"] .b-doc-more { margin: 0.6em 0 0; }
html[data-site="b"] :is(.b-doc, .b-ready) .b-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(24px, 2vw, 44px); }
@media (min-width: 1000px) {
  /* the side column on the start edge, the reading column beside it; the side stays in view while the page scrolls */
  html[data-site="b"] .b-doc { grid-template-columns: minmax(13em, 16em) minmax(0, 1fr); align-items: start; column-gap: clamp(40px, 3.6vw, 96px); }
  html[data-site="b"] .b-doc-side { grid-column: 1; grid-row: 1; position: sticky; top: clamp(104px, 6.2vw, 150px); }
  html[data-site="b"] .b-doc-main { grid-column: 2; grid-row: 1; }
  html[data-site="b"] .b-about .b-doc { grid-template-columns: minmax(0, 1fr) minmax(15em, 19em); }
  html[data-site="b"] .b-about .b-doc-side { grid-column: 2; }
  html[data-site="b"] .b-about .b-doc-main { grid-column: 1; }
}
@media (max-width: 999px) {
  /* a phone: the index first (a row of short links), then the page, then the way to reach us */
  html[data-site="b"] .b-doc-side { display: contents; }
  html[data-site="b"] .b-doc-index { order: -1; }
  html[data-site="b"] .b-doc-main { order: 0; }
  html[data-site="b"] .b-doc-card { order: 1; }
  html[data-site="b"] :is(.b-help, .b-legal) .b-doc-index .b-doc-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
  html[data-site="b"] .b-about .b-doc-index { order: 0; }
}

/* Help: the questions keep the sheet's tokens; a question reached from another page opens there (help.js) and lands under the bar */
html[data-site="b"] .b-help .b-sheet { max-width: none; }
html[data-site="b"] .b-help .qa-group + .qa-group { margin-top: clamp(28px, 2.4vw, 52px); }
html[data-site="b"] .b-help .qa-group > .b-h3 { margin-top: 0; }
html[data-site="b"] :is(.qa-item, .qa-group, .b-legal-sec) { scroll-margin-top: clamp(112px, 7vw, 170px); }
html[data-site="b"] :is(.qa-item, .b-legal-sec) p a { color: var(--plum); }

/* Terms and Privacy: one section per heading, the date once, on the sheet */
html[data-site="b"] .b-legal-sec + .b-legal-sec { margin-top: clamp(20px, 1.6vw, 36px); }
html[data-site="b"] .b-legal-sec .b-h3 { margin: 0 0 0.3em; }
html[data-site="b"] .b-legal-sec p { margin: 0; }
html[data-site="b"] .b-doc-date { margin: 0 0 clamp(18px, 1.4vw, 32px); color: var(--ink); }

/* How it works: four steps on one slip, each under a real wax seal with its number set in type */
html[data-site="b"] .b-how .b-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(32px, 2.6vw, 60px) clamp(24px, 2.2vw, 52px); }
@media (min-width: 700px) { html[data-site="b"] .b-how .b-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { html[data-site="b"] .b-how .b-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html[data-site="b"] .b-how .b-step::marker { content: none; }
html[data-site="b"] .b-how .b-step .b-h3 { margin: 0.45em 0 0.3em; }
html[data-site="b"] .b-how .b-step p { margin: 0; }
html[data-site="b"] .b-how .b-step .b-step-go { margin-top: 0.3em; }
html[data-site="b"] .b-seal { position: relative; display: block; width: clamp(56px, 3.3vw, 76px); }
html[data-site="b"] .b-seal img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0.12em 0.2em rgba(74, 40, 30, 0.32)); }
html[data-site="b"] .b-seal b { position: absolute; left: 0; right: 0; top: 47.5%; translate: 0 -50%; text-align: center; font-family: "Cormorant Garamond", var(--f-display); font-weight: 600; font-size: clamp(22px, 1.3vw, 30px); line-height: 1; color: #FFF6EF; font-variant-numeric: lining-nums; text-shadow: 0 1px 1px rgba(110, 50, 36, 0.55), 0 0 0.35em rgba(110, 50, 36, 0.35); }
html[data-site="b"] :is(.b-how, .b-about, .b-contact) .b-link { font-size: var(--fs-body); }
/* what a guest sees: three real stills of one design, side by side; on a phone each still beside its words */
html[data-site="b"] .b-see-row { display: grid; gap: clamp(20px, 2vw, 48px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-site="b"] .b-see-fig { margin: 0; }
html[data-site="b"] .b-see-pic { position: relative; aspect-ratio: 9 / 16; width: min(100%, clamp(200px, 15vw, 360px)); overflow: hidden; container-type: size; isolation: isolate; background: #E9DCCD;
  box-shadow: 0 0.6em 1.4em -0.8em rgba(74, 40, 30, 0.45); }
html[data-site="b"] .b-see-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
html[data-site="b"] .b-see-pic .b-see-names { opacity: 1; }
html[data-site="b"] .b-see-fig figcaption .b-h3 { margin: 0.7em 0 0.25em; }
html[data-site="b"] .b-see-fig figcaption p { margin: 0; }
@media (max-width: 699px) {
  html[data-site="b"] .b-see-row { grid-template-columns: minmax(0, 1fr); }
  html[data-site="b"] .b-see-fig { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 16px; align-items: center; }
  html[data-site="b"] .b-see-pic { width: 100%; }
  html[data-site="b"] .b-see-fig figcaption .b-h3 { margin-top: 0; }
}
html[data-site="b"] .b-cols { display: grid; gap: 0 clamp(28px, 2.6vw, 64px); }
@media (min-width: 1000px) { html[data-site="b"] .b-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
html[data-site="b"] .b-ready .b-doc-lead bdi { white-space: nowrap; }

/* About: the statement in the display face, a step above the lead; the facts on a tinted card beside it */
html[data-site="b"] .b-about .b-statement { font-size: calc(var(--fs-lead) * 1.18); line-height: 1.35; }
html[data-site="b"][lang="ar"] .b-about .b-statement { line-height: 1.7; }
html[data-site="b"] .b-about .b-facts { gap: clamp(14px, 1.2vw, 26px); }
html[data-site="b"] .b-about .b-facts dt { font-size: calc(var(--fs-h3) * 0.82); line-height: 1.2; }
html[data-site="b"] .b-about .b-facts dd { font-size: var(--fs-small); line-height: 1.55; }
html[data-site="b"] .b-about .b-doc-index { padding: clamp(18px, 1.4vw, 30px) clamp(18px, 1.6vw, 32px); background: rgba(168, 112, 92, 0.09); }

/* Contact: a title band like the other pages; the email is the page's one big line */
html[data-site="b"] .b-contact .b-first { min-height: clamp(360px, 46svh, 620px); }
html[data-site="b"] .b-contact .b-first .b-words { padding-top: calc(var(--b-bar-h) + clamp(24px, 6svh, 96px)); padding-bottom: clamp(32px, 4svh, 64px); }
html[data-site="b"] .b-contact .b-doc-main .b-mail-big { margin: 0 0 0.6em; font-size: var(--fs-h3); text-shadow: none; }
html[data-site="b"] .b-contact .b-doc-main .b-mail-big span { font-family: var(--f-text); font-size: var(--fs-body); font-weight: 400; margin-inline-end: 0.4em; }
html[data-site="b"] .b-contact .b-doc-main .b-mail-big a { font-family: var(--f-display); font-weight: 500; }

/* 404: the one button, then the other ways in; the band fills the window above the footer */
html[data-site="b"] .b-404 .b-first { min-height: clamp(520px, 64svh, 1000px); }
html[data-site="b"] .b-nf-go { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 clamp(18px, 1.6vw, 32px); margin-top: clamp(18px, 2svh, 32px); font-size: var(--fs-body); text-shadow: 0 0 0.5em rgba(var(--b-mist), 1); }
html[data-site="b"] .b-nf-go span { color: var(--ink); }
html[data-site="b"] .b-nf-go a { display: inline-flex; align-items: center; min-height: 44px; color: var(--plum); font-weight: 500; text-underline-offset: 5px; }

/* Arabic: no tracking anywhere in these parts, room for the dots */
html[data-site="b"][lang="ar"] :is(.b-doc-label, .b-doc-links a, .b-doc-note, .b-nf-go, .b-seal b, .b-see-fig figcaption) { letter-spacing: normal; }
html[data-site="b"][lang="ar"] :is(.b-doc-links a, .b-doc-note, .b-legal-sec p, .b-see-fig figcaption p) { line-height: 1.7; }

/* The guest page (the approved invitation, only its scale): the couple's message, the countdown and "Made with Envellia" sit on the
   page's centre line (a paragraph's max-width had pinned them to the left), and on a 4K screen the cards grow 1.5 times, not 1.8,
   with the stage's "Details and reply" button grown the same way, so the page's two main buttons are one size. */
@media (min-width: 960px) { .gi-details .gi-wrap:not(.gi-wrap--day) > .gi-info .gi-msg { margin-inline: auto; } }
.gi-details :is(.gi-nums, .gi-made) { margin-inline: auto; }
@media (min-width: 2000px) and (min-aspect-ratio: 1/1) { .gi-next { min-height: 76px; min-width: 405px; font-size: 24px; } }
@media (min-width: 3000px) and (min-aspect-ratio: 1/1) { .gi-details .gi-wrap { zoom: 1.5; } .gi-next { min-height: 84px; min-width: 450px; font-size: 27px; } }
/* the luxury programme's chapters (two or more events): their words on the paper grow with the cards (they stayed at 1x beside half-screen photographs) */
@media (min-width: 2000px) and (min-aspect-ratio: 1/1) { .gi-details :is(.gi-ch-words, .gi-day-title > h2) { zoom: 1.35; } }
@media (min-width: 3000px) and (min-aspect-ratio: 1/1) { .gi-details :is(.gi-ch-words, .gi-day-title > h2) { zoom: 1.5; } }
/* taps of 44 px or more: a mail link inside a sentence, the short words of the indexes, the footer and the 404 */
html[data-site="b"] :is(.qa-item, .b-legal-sec) p a { padding-block: 10px; }
html[data-site="b"] :is(.b-doc-links a, .b-nf-go a, .b-close-links a, .b-close-small a) { min-width: 44px; justify-content: center; }
/* Arabic on the guest page: no tracking on its headings (the reply card's title had -0.18 px) */
html[lang="ar"] .gi-details :is(h2, h3) { letter-spacing: normal; }

/* ===== Checker fixes, 20 Nov 2026 (chat 11) ===== */
/* L6: buttons never under 16px, small text never under 15px at 1920 */
html[data-site="b"] { --fs-btn: clamp(16px, 0.78vw, 18px); --fs-small: clamp(15px, 0.78vw, 18px); }

/* M1: a wide-screen step for raw 4K (3840 x 2160 at 1:1). Sizes and card widths grow 1.45 times; 2560, 1920 and the phone are untouched. */
@media (min-width: 3000px) {
  html[data-site="b"] {
    --fs-hero:  clamp(60px, 6.4vw, 232px);
    --fs-h1:    clamp(48px, 4.8vw, 162px);
    --fs-h2:    clamp(34px, 3vw, 99px);
    --fs-h3:    clamp(24px, 1.4vw, 52px);
    --fs-lead:  clamp(19px, 1.15vw, 40px);
    --fs-body:  clamp(17px, 0.95vw, 32px);
    --fs-small: clamp(15px, 0.78vw, 26px);
    --fs-nav:   clamp(15px, 0.8vw, 27px);
    --fs-btn:   clamp(16px, 0.78vw, 26px);
    --btn-h:    clamp(50px, 2.6vw, 90px);
    --fs-title: clamp(34px, 2.3vw, 84px);
    --frame:    min(100% - 2 * clamp(16px, 4vw, 96px), 2550px);
  }
  body.b .acc-sheet { max-width: 2150px; }
  html body.b:not(.b-page) .co-grid { max-width: 1800px; }
  html body.b:not(.b-page) .co-grid { grid-template-columns: minmax(0, 1250px) minmax(240px, 520px); }
  html body.b .acc-sheet .tbl.totals { max-width: 900px; }
  body.b .acc-receipt .receipt { max-width: 930px; }
  body.b .acc-find { max-width: 610px; }
  html[data-site="b"] .b-cont-in { max-width: min(100%, 2400px); }
  html[data-site="b"] .b-cont.is-doc .b-cont-in { max-width: min(100%, calc(var(--fs-body) * 54 + 280px)); }
  html[data-site="b"] .b-cont.is-wide .b-cont-in { max-width: min(100%, calc(var(--fs-body) * 70 + 280px)); }
  html[data-site="b"] .b-cont { padding-block: 112px 200px; }
  html[data-site="b"] .b-designs .b-wall-head, html[data-site="b"] .b-occ-index .b-wall-head { max-width: 2000px; }
  html[data-site="b"] .b-places { max-width: min(100%, 2150px); }
  html[data-site="b"] .b-stills { max-width: 1620px; }
}

/* M2: the garden photograph stays behind the whole sheet (it is fixed and one screen tall; a full-page capture showed flat paper below it) */
html[data-site="b"] .b-cont { background-color: transparent; }
html[data-site="b"] .b-cont-photo { height: 100lvh; min-height: 100vh; }

/* M3: every tap on the account's invitation page is 44 x 44 px or more */
html body.b .acc-sheet :is(.acc-act, .inv-acts .btn-quiet, .acc-share-acts .btn-quiet, .cell-acts .btn-quiet) { min-height: 44px; min-width: 44px; justify-content: center; padding-inline: 8px; }
html body.b.b .acc-sheet .acc-tabs a, html body.b.b .acc-sheet .acc-tabs a:not([aria-current="page"]) { min-width: 44px; min-height: 52px; justify-content: center; }

/* L7: designs on the phone: each filter row starts at the start edge, its label above on its own line */
@media (max-width: 900px) {
  html[data-site="b"] .b-designs :is(.b-filters, .b-tier-filter) { justify-content: flex-start; padding-inline: 16px; }
  html[data-site="b"] .b-designs :is(.b-filters, .b-tier-filter)::before { flex: 0 0 100%; margin-inline-end: 0; }
}

/* L8: the bar at the foot of the editor paper is solid, so no title shows through it */
@media (min-width: 861px) {
  body.b.page-editor .ed-form .ed-actions { background: #F5E8D4; }
}

/* L9: the checkout steps fit one row on a phone */
@media (max-width: 760px) {
  html body.b .co-steps { flex-wrap: nowrap; gap: 0 12px; font-size: 14px; overflow-x: auto; scrollbar-width: none; }
  html body.b .co-steps li { flex: none; gap: 6px; white-space: nowrap; }
  html body.b .co-step-no { width: 24px; height: 24px; font-size: 13px; }
}

/* L10: Arabic headings get room under their tails */
html[lang="ar"] body.b :is(h1, h2, .b-h1, .b-h2, .b-wall-head h1) { line-height: 1.5; }
html[lang="ar"] [data-site="b"] .b-wall-head h1, html[lang="ar"][data-site="b"] .b-wall-head h1 { line-height: 1.5; padding-bottom: 0.12em; margin-bottom: 0.2em; }

/* L11: phone checkboxes are 22px with a 44px tap area */
@media (max-width: 760px) {
  html body.b input[type="checkbox"] { width: 22px; height: 22px; }
  html body.b :is(.acc-sheet, .auth-form, .co-main) .check input { width: 22px; height: 22px; }
  html body.b label:has(> input[type="checkbox"]), html body.b .check, html .gi-details label:has(> input[type="checkbox"]) { min-height: 44px; padding-block: 11px; box-sizing: border-box; }
}
@media (max-width: 900px) {
  html[data-site="b"] .b-designs :is(.b-filters, .b-tier-filter)::before { text-align: start; }
  html[data-site="b"] .b-designs .b-tier-filter { margin-top: 18px; }
}
html body.b.b .acc-sheet .tbl.rows .cell-acts .btn-quiet.acc-act { min-width: 44px; flex: 0 0 auto; }
html body.b .acc-sheet .tbl .btn-quiet, html body.b .acc-sheet .tbl [data-del-rsvp] { min-width: 44px; min-height: 44px; }
@media (min-width: 861px) {
  body.b.page-editor .ed-form .ed-actions::before { background: linear-gradient(to bottom, rgba(245, 232, 212, 0), #F5E8D4 55%, #F5E8D4); }
}
html body.b.b .acc-sheet :is(.btn-quiet, [data-del-rsvp]) { min-width: 44px; min-height: 44px; justify-content: center; }
html body.b.b .acc-sheet .tbl .cell-acts .btn-quiet { min-width: 44px; }

/* accepted payments (20 Nov): four chips, marks in their real colours on ivory; the row follows the page direction, the marks stay left-to-right */
html[data-site="b"] .b-pay { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: clamp(4px, 0.5vw, 10px); }
html[data-site="b"] .b-pay-chip { direction: ltr; unicode-bidi: isolate; display: block; width: 44px; height: 28px; flex: none; }
html[data-site="b"] .b-pay-chip rect { fill: #FBF3EA; stroke: rgba(214, 178, 120, 0.85); stroke-width: 1; }
html[data-site="b"] .b-pay-co { margin-top: 12px; gap: 6px; }
html[data-site="b"] .b-pay-co .b-pay-chip { width: 38px; height: 24px; }
@media (max-width: 760px) { html[data-site="b"] .b-pay-chip { width: 40px; height: 26px; } html[data-site="b"] .b-pay-co .b-pay-chip { width: 36px; height: 23px; } }
