/* =========================================================
   Components: reusable pieces shared by every page.
   Section-specific placement (rotations, pinning) lives with
   each section, not here.
   ========================================================= */

/* ---------- type ---------- */
.eyebrow { font-size: var(--fs-eyebrow); font-weight: var(--fw-label); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
.eyebrow--gold { color: var(--gold-d); }
.on-dark .eyebrow--gold { color: var(--gold-l); }

.script { font-family: var(--script); color: var(--gold-l); font-size: var(--fs-script); line-height: 1; }
.script--sm { font-size: 30px; letter-spacing: 0; text-transform: none; }
.script--on-light { color: var(--gold-d); }

.display { font-family: var(--serif); font-weight: var(--fw-display); font-size: var(--fs-display); line-height: .9; letter-spacing: -.015em; }
.display-sm { font-family: var(--serif); font-weight: var(--fw-display); font-size: var(--fs-display-s); line-height: .95; }
.display em, .display-sm em { font-style: italic; color: var(--gold-d); }
.on-dark .display em, .on-dark .display-sm em { color: var(--gold-l); }

.heading { font-family: var(--serif); font-weight: var(--fw-display); font-size: var(--fs-heading); line-height: 1; }
.title { font-family: var(--serif); font-weight: var(--fw-display); font-size: var(--fs-title); line-height: 1.1; }
.quote { font-family: var(--serif); font-weight: var(--fw-quote); font-size: var(--fs-quote); line-height: 1.12; }

.lead { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 580px; }
.small { font-size: var(--fs-small); color: var(--muted); }
.num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-d); }

/* masked line for "rise into view" reveals */
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line > span { display: inline-block; }

/* ---------- icons ---------- */
.i-arrow { width: 30px; height: 15px; flex: none; }
.i-ico { width: 16px; height: 16px; vertical-align: -3px; }

/* ---------- pill button ----------
   Gold wipes up from an arch on hover. Variants set the resting look. */
.pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px; padding: 14px 30px; border-radius: var(--radius-pill);
  font-size: var(--fs-eyebrow); font-weight: var(--fw-label); letter-spacing: var(--tracking-label); text-transform: uppercase;
  transition: color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-grad);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.pill:hover::before { transform: translateY(0); border-radius: 0; }
.pill:hover { color: var(--ink); border-color: transparent; }
.pill svg:not(.i-arrow) { width: 18px; height: 18px; }
.pill--sm { min-height: 42px; padding: 10px 22px; }

.pill--line { border: 1px solid currentColor; }                                  /* any background */
.pill--dark { background: var(--ink); color: var(--cream); }                     /* primary on cream */
.pill--gold { background: var(--gold-grad); color: var(--ink); }                 /* primary on ink */
.pill--gold::before { background: var(--cream); }
.pill--line-light { border: 1px solid var(--line-dark-2); color: var(--cream); } /* secondary on ink */
.pill--glass {                                                                   /* over photos: dark glass keeps cream text 4.5:1 on bright images */
  border: 1px solid rgba(250, 244, 232, .45); color: var(--cream); background: rgba(20, 16, 11, .6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* ---------- text link ---------- */
.link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-eyebrow); font-weight: var(--fw-label); letter-spacing: var(--tracking-label); text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.link .i-arrow { transition: transform .4s var(--ease); }
.link:hover .i-arrow { transform: translateX(6px); }
.link--plain { border: 0; padding: 4px 0; gap: 8px; font-size: var(--fs-small); letter-spacing: .1em; text-transform: none; }

/* ---------- chip (filter toggle) ---------- */
.chip {
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 9px 18px; font-size: var(--fs-small);
  transition: background-color var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* concern filter: a labelled chip group above a .rows list */
.concerns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.concerns__label { width: 100%; text-align: center; font-size: 12px; font-weight: var(--fw-label); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.on-dark .concerns__label { color: var(--text-dark-2); }
.on-dark .chip { border-color: var(--line-dark-2); }
.on-dark .chip:hover { border-color: var(--cream); }
.on-dark .chip.is-active, .on-dark .chip[aria-pressed="true"] { background: var(--gold-l); color: var(--ink); border-color: var(--gold-l); }

/* ---------- badge (price / label on cream) ---------- */
.badge {
  display: inline-block; background: var(--paper); border-radius: var(--radius-pill); padding: 7px 18px;
  font-size: 11px; font-weight: var(--fw-label); letter-spacing: .18em; text-transform: uppercase;
}

/* ---------- tags (sub-brand list, on ink) ---------- */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
/* a soft gold halo: light spills out from the border and a little back inside the pill */
.tags li {
  border: 1px solid rgba(231, 201, 126, .7); border-radius: var(--radius-pill); padding: 6px 14px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 0 6px rgba(231, 201, 126, .45), 0 0 18px rgba(192, 142, 47, .3), inset 0 0 8px rgba(231, 201, 126, .2);
}

/* ---------- ticks (gold-dash list) ---------- */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid rgba(20, 16, 11, .1); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 16px; height: 1px; background: var(--gold); }

/* ---------- price row (treatment menu) ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row {
  position: relative; display: grid; grid-template-columns: 64px 1fr auto; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: opacity .45s var(--ease);
}
.row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.row:hover::after { transform: scaleX(1); }
.row h4, .row__t { font-family: var(--serif); font-size: var(--fs-title); line-height: 1.1; margin-bottom: 6px; transition: transform var(--dur-2) var(--ease); }
.row:hover h4, .row:hover .row__t { transform: translateX(8px); }
.row p { font-size: var(--fs-small); color: var(--muted); max-width: 640px; }
.row__n { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-d); }
.row__p { align-self: center; justify-self: end; min-width: 150px; }

/* ---------- price tag: black, the starting price in gold serif (bloom_price_tag()) ---------- */
.price-tag { display: inline-grid; justify-items: start; gap: 5px; padding: 12px 18px 13px; border-radius: 14px; background: var(--ink); color: var(--cream); line-height: 1; }
.price-tag__label { font-size: 10px; font-weight: var(--fw-label); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-l); }
.price-tag__num { font-family: var(--serif); font-weight: var(--fw-display); font-size: 28px; color: var(--gold-l); font-variant-numeric: lining-nums; white-space: nowrap; }
.price-tag__note { font-size: 12px; color: var(--text-dark-2); white-space: nowrap; }
/* plaque: fixed flush under an arch photo, full width, square corners */
.price-tag--plaque { display: grid; width: 100%; border-radius: 0; padding: 14px 18px 16px; }
[data-concerns].is-hidden { display: none; }  /* filtered out: hidden rather than faded, so no low-contrast text */

/* ---------- arch frame (signature shape) ---------- */
.arch-frame { position: relative; aspect-ratio: 3 / 4.3; overflow: hidden; border-radius: var(--radius-arch); }
.arch-frame--line { border: 1px solid var(--line-gold); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- cards ---------- */
.card { position: absolute; inset: 0; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.card--static { position: relative; aspect-ratio: 3 / 4.2; }
.card--photo img { width: 100%; height: 100%; object-fit: cover; }
.card__brand { font-family: var(--serif); font-size: 18px; letter-spacing: .42em; margin: 8px -.42em 0 0; }
.card__title { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.5vw, 36px); line-height: 1; color: var(--gold-l); margin: 14px 0 auto; }
.card__foot { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }

.card--blueprint {
  background: var(--ink); color: var(--cream); padding: 26px 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(231, 201, 126, .35), 0 40px 70px -30px rgba(20, 16, 11, .6);
}
.card--blueprint img { width: 62px; height: auto; }
.card--blueprint ul { list-style: none; margin: 0; padding: 0; width: 100%; text-align: left; }
.card--blueprint li { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; padding: 7px 0; border-bottom: 1px solid rgba(250, 244, 232, .16); display: flex; justify-content: space-between; }
.card--blueprint li::after { content: ""; width: 40%; border-bottom: 1px dotted rgba(231, 201, 126, .5); margin-bottom: 3px; }

.card--member {
  background: var(--gold-grad); color: var(--ink); padding: 26px 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
}
.card--member img { width: 84px; height: auto; filter: brightness(.35) sepia(1) saturate(2.2) hue-rotate(-12deg); }
.card--member .card__brand { font-size: 13px; letter-spacing: .34em; margin-right: -.34em; font-family: var(--sans); font-weight: var(--fw-label); }
.card--member .card__title { color: var(--ink); margin: 0; font-size: clamp(34px, 3vw, 46px); }

@media (max-width: 899px) {
  .row { grid-template-columns: 34px 1fr; gap: 6px 14px; padding: 22px 0; }
  .row__p { grid-column: 2; justify-self: start; margin-top: 8px; }
}
