/* Mega menu + premium CTA on Habitline's navbar (rw-mega.js). Habitline tokens only:
   ink rgb(19,21,21), body rgb(73,77,77), fill #e8e8e8, page #f7f7f7, on-dark grey rgb(184,184,184);
   blocks radius 20 (16 on phone/iPad), items radius 16, 6px gaps; white block shadow 0 8px 20px rgba(19,21,21,.05);
   dark glass = Habitline "04" card + its glass-button hairline; page overlay rgba(19,21,21,.1) + blur(10px) = Habitline's menu "BG";
   Stack Sans Headline 500 for big rows, Google Sans Flex for labels. Light/dark follows html.rw-nav-dark like the navbar.
   Uppercase spaced section labels follow Hamza's hims reference. Motion 160-220ms ease-out, no bounce. */

:root {
  --rwx-ink: rgb(19, 21, 21); --rwx-body: rgb(73, 77, 77); --rwx-fill: #e8e8e8; --rwx-page: #f7f7f7; --rwx-mute: rgb(184, 184, 184);
  --rwx-head: "Stack Sans Headline", "Stack Sans Headline Placeholder", sans-serif;
  --rwx-sans: "Google Sans Flex", "Google Sans Flex Placeholder", sans-serif;
}
.rwx-panel *, .rwx-sub *, .rwx-menucta * { box-sizing: border-box; }

/* ---------- premium CTA: pill + arrow chip ---------- */
.rwx-cta {
  display: inline-flex; align-items: center; gap: 14px; height: 50px; padding: 6px 6px 6px 22px; border-radius: 100px;
  background: var(--rwx-ink); color: #fff; text-decoration: none; white-space: nowrap;
  font: 500 15px/18px var(--rwx-sans);
  transition: background-color 160ms ease-out, color 160ms ease-out, transform 160ms ease-out;
}
.rwx-cta__chip { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--rwx-ink); transition: background-color 160ms ease-out, color 160ms ease-out; }
.rwx-cta__chip svg { width: 18px; height: 18px; transition: transform 160ms ease-out; }
.rwx-cta:hover { background: #2a2d2d; transform: translateY(-1px); }
.rwx-cta:hover .rwx-cta__chip svg { transform: translateX(2px); }
html.rw-nav-dark .rwx-cta { background: #fff; color: var(--rwx-ink); }
html.rw-nav-dark .rwx-cta__chip { background: var(--rwx-ink); color: #fff; }
html.rw-nav-dark .rwx-cta:hover { background: var(--rwx-fill); }
/* the desktop float keeps Habitline's 50px nav height; override the older rw-nav-cta box */
.rw-nav-cta.rwx-cta { height: 50px; padding: 6px 6px 6px 22px; border-radius: 100px; justify-content: flex-start; }

/* phone menu CTA block, pinned into the spacer at the bottom of Habitline's menu panel */
.rwx-menucta { position: fixed; z-index: 12; display: none; align-items: center; gap: 14px; padding-top: 15px; border-top: 1px solid rgba(19, 21, 21, .08); }
.rwx-menucta.is-on { display: flex; }
html.rw-nav-dark .rwx-menucta { border-top-color: rgba(255, 255, 255, .12); }
.rwx-cta--menu { height: 48px; padding-left: 20px; }
.rwx-cta--menu .rwx-cta__chip { width: 36px; height: 36px; }
.rwx-menucta__note { font: 400 14px/18.2px var(--rwx-sans); color: var(--rwx-body); }
html.rw-nav-dark .rwx-menucta__note { color: var(--rwx-mute); }

/* ---------- desktop panel ---------- */
.rwx-overlay { position: fixed; inset: 0; z-index: 8; background: rgba(19, 21, 21, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 200ms ease-out, visibility 0s linear 200ms; }
html.rwx-open .rwx-overlay { opacity: 1; visibility: visible; transition: opacity 200ms ease-out; }
.rwx-panel {
  position: fixed; z-index: 11; padding: 6px; border-radius: 20px; background: #fff; box-shadow: 0 8px 20px rgba(19, 21, 21, .05);
  opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none;
  transition: opacity 180ms ease-out, transform 180ms cubic-bezier(.2, .7, .2, 1), visibility 0s linear 180ms, background-color 200ms ease-out;
}
html.rwx-open .rwx-panel { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity 180ms ease-out, transform 180ms cubic-bezier(.2, .7, .2, 1), background-color 200ms ease-out; }
html.rw-nav-dark .rwx-panel, html.rw-nav-dark .rwx-sub {
  background: linear-gradient(rgba(19, 21, 21, .3), rgba(19, 21, 21, .5));
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 20px rgba(19, 21, 21, .3);
}
.rwx-pane { display: grid; grid-template-columns: 360px 1fr; gap: 6px; }
.rwx-pane[hidden] { display: none; }
.rwx-pane--wide { grid-template-columns: 1fr; }
.rwx-pane__body { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; padding: 18px 18px 18px 24px; }
.rwx-pane--wide .rwx-pane__body { padding: 18px; }

.rwx-eyebrow { margin: 0 0 8px; padding: 0 14px; font: 500 12px/16px var(--rwx-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rwx-body); }
.rwx-group { min-width: 0; }
.rwx-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; color: var(--rwx-ink); text-decoration: none; transition: background-color 160ms ease-out; }
.rwx-row:hover { background: var(--rwx-page); }
.rwx-row__ico { flex: none; display: flex; width: 28px; height: 28px; }
.rwx-row__ico svg { width: 28px; height: 28px; }
.rwx-row__name { font: 500 24px/28.8px var(--rwx-head); }
.rwx-row__meta { margin-left: auto; font: 400 14px/18.2px var(--rwx-sans); color: var(--rwx-body); white-space: nowrap; }
.rwx-row__go { flex: none; display: flex; width: 20px; height: 20px; transition: transform 160ms ease-out; }
.rwx-row__go svg { width: 20px; height: 20px; }
.rwx-row__name + .rwx-row__go { margin-left: auto; }
.rwx-row:hover .rwx-row__go { transform: translateX(3px); }
.rwx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 6px; }
.rwx-grid .rwx-row__name { font-size: 20px; line-height: 24px; }
.rwx-all { display: inline-flex; align-items: center; gap: 8px; margin: 10px 14px 0; color: var(--rwx-ink); font: 500 15px/18px var(--rwx-sans); text-decoration: none; }
.rwx-all svg { width: 18px; height: 18px; transition: transform 160ms ease-out; }
.rwx-all:hover svg { transform: translateX(3px); }

.rwx-feature { position: relative; display: block; min-height: 300px; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: var(--rwx-ink); }
.rwx-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rwx-feature__shade { position: absolute; inset: 0; background: linear-gradient(rgba(19, 21, 21, 0) 35%, rgb(19, 21, 21) 100%); }
.rwx-feature__text { position: absolute; left: 20px; right: 76px; bottom: 20px; display: flex; flex-direction: column; gap: 6px; }
.rwx-feature__title { font: 500 24px/28.8px var(--rwx-head); }
.rwx-feature__sub { font: 400 14px/18.2px var(--rwx-sans); color: var(--rwx-mute); }
.rwx-feature__go { position: absolute; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--rwx-ink); }
.rwx-feature__go svg { width: 20px; height: 20px; transition: transform 160ms ease-out; }
.rwx-feature:hover .rwx-feature__go svg { transform: translateX(2px); }

/* dark look text */
html.rw-nav-dark .rwx-row, html.rw-nav-dark .rwx-all, html.rw-nav-dark .rwx-sub__title { color: #fff; }
html.rw-nav-dark .rwx-row:hover { background: rgba(255, 255, 255, .1); }
html.rw-nav-dark .rwx-eyebrow, html.rw-nav-dark .rwx-row__meta { color: var(--rwx-mute); }

/* the open trigger in Habitline's links block */
html:not(.rw-nav-dark) .framer-ay5sbn-container a[data-rwx-open] { background-color: var(--rwx-fill) !important; }
html:not(.rw-nav-dark) .framer-ay5sbn-container a[data-rwx-open] p { color: var(--rwx-ink) !important; }
html.rw-nav-dark .framer-ay5sbn-container a[data-rwx-open] { background-color: rgba(255, 255, 255, .1) !important; }
html.rw-nav-dark .framer-ay5sbn-container a[data-rwx-open] p { color: #fff !important; }

/* ---------- phone / iPad second screen, laid exactly over Habitline's menu block ---------- */
.rwx-sub {
  position: fixed; z-index: 12; display: none; overflow-y: auto; overscroll-behavior: contain;
  padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 8px 18px rgba(19, 21, 21, .05);
}
.rwx-sub.is-on { display: block; }
.rwx-sub__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rwx-back { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--rwx-fill); color: var(--rwx-ink); cursor: pointer; }
.rwx-back svg { width: 18px; height: 18px; }
html.rw-nav-dark .rwx-back { background: rgba(255, 255, 255, .1); color: #fff; }
.rwx-sub__title { font: 500 20px/24px var(--rwx-head); color: var(--rwx-ink); }
.rwx-sub .rwx-feature { min-height: 150px; margin-bottom: 12px; }
.rwx-sub .rwx-feature__title { font-size: 18px; line-height: 22px; }
.rwx-sub .rwx-group { margin-bottom: 12px; }
.rwx-sub .rwx-eyebrow { padding: 0 6px; margin-bottom: 4px; }
.rwx-sub .rwx-row { padding: 8px 6px; border-radius: 8px; }
.rwx-sub .rwx-row__name { font-size: 18px; line-height: 22px; }
.rwx-sub .rwx-row__ico, .rwx-sub .rwx-row__ico svg { width: 22px; height: 22px; }
.rwx-sub .rwx-grid { grid-template-columns: 1fr; }
.rwx-sub .rwx-all { margin: 6px 6px 0; }

html.rw-preload .rwx-panel, html.rw-preload .rwx-menucta { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .rwx-panel, .rwx-overlay, .rwx-cta, .rwx-row, .rwx-row__go, .rwx-cta__chip svg { transition: none !important; }
}

/* ===== v2 (Hamza 12/2) ===== */
/* filled Kubai icons, right colourway per look (ids made unique in rw-mega.js) */
.rwx-row__ico > span { display: flex; width: 100%; height: 100%; }
.rwx-row__ico .rwx-ico-d { display: none; }
html.rw-nav-dark .rwx-row__ico .rwx-ico-l { display: none; }
html.rw-nav-dark .rwx-row__ico .rwx-ico-d { display: flex; }
.rwx-row__ico svg { width: 100%; height: 100%; overflow: visible; }

/* phone Services card: photo on top, text underneath on the block colour (Hamza: text on the photo is hard to read) */
.rwx-feature--stack { min-height: 0 !important; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 12px 12px; background: none; color: var(--rwx-ink); overflow: visible; }
.rwx-feature--stack img { position: static; grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; }
.rwx-feature--stack .rwx-feature__shade { display: none; }
.rwx-feature--stack .rwx-feature__text { position: static; padding: 0 6px; }
.rwx-feature--stack .rwx-feature__sub { color: var(--rwx-body); }
.rwx-feature--stack .rwx-feature__go { position: static; align-self: center; margin-right: 6px; width: 40px; height: 40px; background: var(--rwx-ink); color: #fff; }
html.rw-nav-dark .rwx-feature--stack { color: #fff; }
html.rw-nav-dark .rwx-feature--stack .rwx-feature__sub { color: var(--rwx-mute); }
html.rw-nav-dark .rwx-feature--stack .rwx-feature__go { background: #fff; color: var(--rwx-ink); }

/* while a second screen is open, Habitline's own links are hidden so nothing shows through the glass */
html.rwx-sub-on .framer-ay5sbn-container .framer-1p6jqal[data-rw-panel] > * { visibility: hidden; }

/* feature card subtitle: one line (Hamza 12/2) */
.rwx-feature__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== connected desktop navbar (Hamza 12/2) ===== */
.rwx-navbg {
  position: fixed; left: 0; top: 0; z-index: 9; pointer-events: none; border-radius: 20px;
  background: #fff; box-shadow: 0 8px 20px rgba(19, 21, 21, .05);
  transition: background-color 200ms ease-out, box-shadow 200ms ease-out;
}
html.rw-nav-dark .rwx-navbg {
  background: linear-gradient(rgba(19, 21, 21, .3), rgba(19, 21, 21, .5));
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 20px rgba(19, 21, 21, .3);
}
@media (max-width: 1199.98px) { .rwx-navbg { display: none !important; } }
html.rw-preload .rwx-navbg { opacity: 0 !important; }
/* the three blocks go clear on desktop so they read as one bar */
html:not(.rw-nav-measure) .framer-ay5sbn-container nav:is([data-framer-name="Default"],[data-framer-name="Collapsed"]) :is(.framer-6z5t8h,.framer-1p6jqal,.framer-zejcv7),
html.rw-nav-dark:not(.rw-nav-measure) .framer-ay5sbn-container nav:is([data-framer-name="Default"],[data-framer-name="Collapsed"]) :is(.framer-6z5t8h,.framer-1p6jqal,.framer-zejcv7) {
  background-color: transparent !important; background-image: none !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}

/* ===== phone / iPad menu v3 (Hamza 12/2: "hard to see", "the tabs are so long") ===== */
/* 1. solid panels: the blurred page no longer bleeds through the menu text. Ink surface + hairline, no glass. */
html.rw-nav-dark:not(.rw-nav-measure) body .framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal,
html.rw-nav-dark .rwx-sub {
  background-color: rgb(19, 21, 21) !important; background-image: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 40px rgba(0, 0, 0, .45) !important;
}
html.rw-nav-dark:not(.rw-nav-measure) body .framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal a.framer-UJvYm p { color: rgba(255, 255, 255, .88) !important; }
/* 2. second screens: no photo card, two columns of compact tiles, name with the price under it */
.rwx-sub { padding: 10px; }
.rwx-sub .rwx-feature { display: none; }
.rwx-sub__top { margin-bottom: 10px; }
.rwx-sub .rwx-group { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; }
.rwx-sub .rwx-group:last-child { margin-bottom: 2px; }
.rwx-sub .rwx-eyebrow, .rwx-sub .rwx-all { grid-column: 1 / -1; }
.rwx-sub .rwx-eyebrow { margin: 0; padding: 0 4px; font-size: 11px; line-height: 14px; }
.rwx-sub .rwx-grid { display: contents; }
.rwx-sub .rwx-row { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-width: 0; min-height: 56px; padding: 10px 12px; border-radius: 12px; background: var(--rwx-page); }
.rwx-sub .rwx-row:has(.rwx-row__ico) { flex-direction: row; align-items: center; gap: 10px; }
.rwx-sub .rwx-row__name, .rwx-sub .rwx-grid .rwx-row__name { font: 500 16px/20px var(--rwx-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rwx-sub .rwx-row__meta { margin-left: 0; font-size: 13px; line-height: 16px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.rwx-sub .rwx-row__go { display: none; }
.rwx-sub .rwx-row__ico, .rwx-sub .rwx-row__ico svg { width: 20px; height: 20px; }
.rwx-sub .rwx-all { margin: 4px 4px 0; font-size: 14px; }
html.rw-nav-dark .rwx-sub .rwx-row { background: rgba(255, 255, 255, .06); }
html.rw-nav-dark .rwx-sub .rwx-row:hover { background: rgba(255, 255, 255, .1); }
.rwx-sub .rwx-row:has(.rwx-row__ico) { justify-content: flex-start; }

/* ===== phone / iPad menu v4 (Hamza 12/2: "I liked it clear, just too hard to see"; "stacked vertically") ===== */
/* clear glass again, but tinted enough that text always reads: 80% ink + heavy blur instead of v3's solid panel */
html.rw-nav-dark:not(.rw-nav-measure) body .framer-ay5sbn-container nav:is([data-framer-name^="Tablet"],[data-framer-name^="Phone"]) .framer-1p6jqal,
html.rw-nav-dark .rwx-sub {
  background-color: rgba(19, 21, 21, .8) !important; background-image: none !important;
  -webkit-backdrop-filter: blur(40px) saturate(140%) !important; backdrop-filter: blur(40px) saturate(140%) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 20px rgba(19, 21, 21, .3) !important;
}
/* one column list, name left and price right, no tiles */
.rwx-sub .rwx-group { display: block; margin-bottom: 10px; }
.rwx-sub .rwx-group[hidden] { display: none; }
.rwx-sub .rwx-eyebrow { margin: 0 0 4px; padding: 0 8px; }
.rwx-sub .rwx-row, .rwx-sub .rwx-row:has(.rwx-row__ico) { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-height: 48px; padding: 10px 8px; border-radius: 10px; background: transparent; }
html.rw-nav-dark .rwx-sub .rwx-row { background: transparent; }
html.rw-nav-dark .rwx-sub .rwx-row:hover { background: rgba(255, 255, 255, .1); }
.rwx-sub .rwx-row__name, .rwx-sub .rwx-grid .rwx-row__name { font: 500 18px/22px var(--rwx-head); }
.rwx-sub .rwx-row__meta { margin-left: auto; font-size: 14px; line-height: 18px; }
.rwx-sub .rwx-row + .rwx-row { box-shadow: inset 0 1px 0 rgba(19, 21, 21, .06); }
html.rw-nav-dark .rwx-sub .rwx-row + .rwx-row { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.rwx-sub .rwx-group--seg .rwx-eyebrow { display: none; }
/* Build / Grow switch */
.rwx-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 10px; border-radius: 12px; background: var(--rwx-fill); }
.rwx-seg button { height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--rwx-body); font: 500 15px/1 var(--rwx-sans); cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out; }
.rwx-seg button[aria-selected="true"] { background: #fff; color: var(--rwx-ink); }
html.rw-nav-dark .rwx-seg { background: rgba(255, 255, 255, .08); }
html.rw-nav-dark .rwx-seg button { color: rgba(255, 255, 255, .7); }
html.rw-nav-dark .rwx-seg button[aria-selected="true"] { background: #fff; color: rgb(19, 21, 21); }
.rwx-seg button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .rwx-seg button { transition: none; } }
/* touch screens: no hover highlight left stuck on a row after a tap */
@media (hover: none) { html.rw-nav-dark .rwx-sub .rwx-row:hover, .rwx-sub .rwx-row:hover { background: transparent; } }

/* ===== phone / iPad menu v5 (Hamza 12/2: photos back, bigger text and icons, roomier rows) ===== */
.rwx-sub { padding: 12px; }
.rwx-sub .rwx-feature, .rwx-sub .rwx-feature--stack { display: grid; margin-bottom: 14px; }
.rwx-sub .rwx-feature--stack img { aspect-ratio: 2 / 1; border-radius: 12px; }
.rwx-sub .rwx-feature--stack .rwx-feature__title { font: 500 20px/24px var(--rwx-head); }
.rwx-sub .rwx-feature--stack .rwx-feature__sub { font-size: 15px; line-height: 20px; }
.rwx-sub .rwx-feature--stack .rwx-feature__go { width: 44px; height: 44px; }
.rwx-sub__title { font: 500 24px/28.8px var(--rwx-head); }
.rwx-back { width: 40px; height: 40px; border-radius: 10px; }
.rwx-sub .rwx-eyebrow { margin: 0 0 6px; padding: 0 10px; font-size: 12px; line-height: 16px; }
.rwx-sub .rwx-group { margin-bottom: 14px; }
.rwx-sub .rwx-row, .rwx-sub .rwx-row:has(.rwx-row__ico) { gap: 14px; min-height: 56px; padding: 14px 10px; }
.rwx-sub .rwx-row__name, .rwx-sub .rwx-grid .rwx-row__name { font: 500 20px/24px var(--rwx-head); }
.rwx-sub .rwx-row__meta { font-size: 15px; line-height: 20px; }
html.rw-nav-dark .rwx-sub .rwx-row__meta { color: rgba(255, 255, 255, .72); }
.rwx-sub .rwx-row__ico, .rwx-sub .rwx-row__ico svg { width: 28px; height: 28px; }
.rwx-sub .rwx-all { margin: 8px 10px 4px; font-size: 16px; line-height: 20px; }
.rwx-seg { margin-bottom: 8px; }
.rwx-seg button { height: 42px; font-size: 16px; }
.rwx-sub .rwx-feature--stack img { aspect-ratio: auto; height: 132px; object-fit: cover; }
.rwx-sub .rwx-feature--stack { gap: 10px 12px; }
/* shorter phones: smaller photo and slightly tighter rows so every screen fits without scrolling */
@media (max-height: 800px) {
  .rwx-sub .rwx-feature--stack img { height: 104px; }
  .rwx-sub .rwx-row, .rwx-sub .rwx-row:has(.rwx-row__ico) { min-height: 52px; padding: 12px 10px; }
}
@media (max-height: 700px) {
  .rwx-sub .rwx-feature--stack img { height: 84px; }
  .rwx-sub .rwx-feature--stack .rwx-feature__sub { display: none; }
  .rwx-sub .rwx-row, .rwx-sub .rwx-row:has(.rwx-row__ico) { min-height: 48px; padding: 10px; }
  .rwx-sub .rwx-group { margin-bottom: 10px; }
}
/* photo card never wider than the panel (Company's long line pushed it out) */
.rwx-sub .rwx-feature--stack { grid-template-columns: minmax(0, 1fr) auto; min-width: 0; }
.rwx-sub .rwx-feature--stack .rwx-feature__text { min-width: 0; }
/* the accessibility button steps aside while the phone / iPad menu is open */
html.rwx-menu-on .rw-a11y-fab { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
/* the Company line is the Rankwyre description: never cut it with an ellipsis, let it wrap */
.rwx-sub .rwx-feature--stack .rwx-feature__sub { white-space: normal; overflow: visible; text-overflow: clip; }
.rwx-sub .rwx-group:last-child { margin-bottom: 0; }
.rwx-sub { padding-bottom: 6px; }

/* Hamza 12/3 round 2: the photo card stays STACKED (picture on top, title and arrow under it) at every width the
   sub-panel is narrow. It used to flip to picture left / text right from 640px. From 640px the picture keeps a 21:9
   ratio with a height cap, so it is never a thin strip and never a giant block. */
@media (min-width: 640px) {
  .rwx-sub .rwx-feature--stack img { height: auto; aspect-ratio: 21 / 9; max-height: min(220px, 24vh); }
}
/* Build / Grow switch: line icons beside the labels, same icons as the hero switch */
.rwx-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.rwx-seg button svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* image-slot crops (FORMS worker 12/3, qa/ledger/IMAGE-SLOTS.md): website-thumb.jpg bakes the Halden & Rowe nav and headline into its left and top.
   These show only the tree and house, solved against the measured slot sizes. Lives here because rw-mega.css loads on every route (the popup and the menus show on all of them). */
.rwm__side img[src*="website-thumb"] { object-position: 65% 0%; transform: scale(1.8); transform-origin: 100% 40%; }
.rwx-pane .rwx-feature img[src*="website-thumb"] { object-position: 65% 0%; transform: scale(1.2); transform-origin: 90% 100%; }
.rwx-sub .rwx-feature img[src*="website-thumb"] { object-position: 0% 50%; transform: none; } /* whole site design (brand, nav, headline, button), not the house alone: Hamza rejected "some home image" */

/* 2026-12-03: the phone sub-panel crop (scale 1.8 from the bottom right, line above) painted the image over the back
   arrow and the segment row and took their taps. The card clips to its own box, so only the intended crop shows. */
.rwx-sub .rwx-feature--stack { overflow: hidden; border-radius: 12px; }
