/* fx.css — shader backgrounds, liquid glass, word reveals, care bento,
   3D anatomy card and the connected provider carousel. Loaded after style.css. */

:root {
  --fx-ease: cubic-bezier(.32, .72, 0, 1);
  /* the source carousel's spring (stiffness 220, damping 26) is critically damped: no overshoot */
  --fx-spring: cubic-bezier(.22, 1, .36, 1);
  --fx-plum: #4a102e;
  --fx-blush: #fde7ef;
}

/* ---------- shader canvases ---------- */
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.fx-canvas.fx-on { opacity: 1; }
.fx-svgdefs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* site-wide wave sits under the old aurora washes, softened so text stays calm */
#bg-fx .fx-bg { opacity: 0; }
#bg-fx .fx-bg.fx-on { opacity: .55; }
#bg-fx .fx-aurora { display: none; }

/* home hero: wave fills the hero card, faded to white behind the copy */
.lp_hero[data-fx="wave"] > .fx-canvas {
  z-index: 0;
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 35%, #000 70%);
          mask-image: linear-gradient(100deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 35%, #000 70%);
}
.lp_hero[data-fx="wave"] > .fx-canvas.fx-on { opacity: .9; }

/* ---------- nav: compact frosted panel, light (ref: generalintelligencecompany.com) ---------- */
:root { --fx-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lp_nav, .lp_nav.nav-scrolled {
  display: flex !important; align-items: center !important; justify-content: space-between !important; gap: clamp(12px, 1.8vw, 28px) !important;
  width: max-content !important; max-width: calc(100% - 24px) !important;
  margin: 0 auto 20px !important; padding: 7px 7px 7px 16px !important;
  border-radius: 18px !important; color: var(--ink);
  background: rgba(255,255,255,.74) !important;
  border: 1px solid rgba(10,23,51,.08) !important;
  box-shadow: 0 10px 30px rgba(10,23,51,.08), 0 1px 2px rgba(10,23,51,.05), inset 0 1px 0 #fff !important;
  -webkit-backdrop-filter: blur(20px) saturate(140%) !important; backdrop-filter: blur(20px) saturate(140%) !important;
}
.lp_nav.nav-scrolled { position: fixed !important; margin: 0 !important; top: 12px !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; }
.lp_nav_left, .lp_nav_right { justify-self: auto !important; }
.lp_nav_right { gap: 10px !important; }
.lp_logo img { height: 32px !important; }

.lp_nav_links { position: relative; isolation: isolate; gap: 2px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.lp_nav_links .lp_sep { display: none; }
.lp_nav_links a { position: relative; z-index: 1; padding: 9px 14px !important; border-radius: 11px; white-space: nowrap; font-weight: 500 !important; color: rgba(10,23,51,.78) !important; opacity: 1 !important; transition: color .2s; }
.lp_nav_links a:hover, .lp_nav_links a.is-here { color: var(--ink) !important; }
.fx-navblob {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 0; border-radius: 11px; opacity: 0;
  background: rgba(10,23,51,.06); box-shadow: inset 0 0 0 1px rgba(10,23,51,.04);
  transition: transform .45s var(--fx-spring), width .45s var(--fx-spring), opacity .2s;
}

/* controls: quiet tiles + one solid action, like the reference */
.lp_phone_btn, .menu_btn {
  background: rgba(10,23,51,.05) !important; color: var(--ink) !important;
  border: 1px solid rgba(10,23,51,.07) !important; border-radius: 12px !important; box-shadow: none !important;
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .2s !important;
}
.lp_phone_btn { height: 40px; padding: 0 14px !important; gap: 8px; }
.lp_phone_btn:hover, .menu_btn:hover { background: rgba(10,23,51,.09) !important; transform: none !important; }
.lang_toggle { background: rgba(10,23,51,.05) !important; border: 1px solid rgba(10,23,51,.06); }
.lang_toggle a { color: rgba(10,23,51,.55) !important; }
.lang_toggle a.active { background: var(--ink) !important; color: #fff !important; }
.lang_toggle a:not(.active):hover { color: var(--ink) !important; }
.lp_cta {
  align-items: center !important; gap: 6px;
  padding: 10px 10px 10px 16px !important; border-radius: 12px !important;
  background: var(--ink) !important; border: 1px solid var(--ink) !important;
  color: rgba(255,255,255,.7) !important; box-shadow: 0 6px 16px rgba(10,23,51,.18), inset 0 1px 0 rgba(255,255,255,.1) !important;
  transition: background .2s !important;
}
.lp_cta b { color: #fff !important; }
.lp_cta::after {
  content: ""; width: 20px; height: 20px; margin-left: 6px; border-radius: 6px; flex: none;
  background: rgba(255,255,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 11px no-repeat;
  transition: transform .25s var(--fx-spring);
}
.lp_cta:hover { background: #142347 !important; transform: none !important; }
.lp_cta:hover::after { transform: translateX(2px); }
@media (max-width: 1024px) {
  .lp_nav, .lp_nav.nav-scrolled { width: calc(100% - 20px) !important; max-width: none !important; padding: 7px 7px 7px 14px !important; }
  .lp_nav:not(.nav-scrolled) { margin: 0 auto 14px !important; }
  .lp_logo img { height: 30px !important; }
}

/* mobile menu sheet: frosted, with a fine grain */
.mobile_menu_panel { -webkit-backdrop-filter: blur(30px) saturate(150%) !important; backdrop-filter: blur(30px) saturate(150%) !important; }
.mobile_menu_panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: var(--fx-grain); opacity: .06; mix-blend-mode: multiply; }

/* mobile drop-down menu: frosted glass sheet */
.mobile_menu_panel {
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,244,249,.72)) !important;
  border: 1px solid rgba(255,255,255,.8) !important;
  box-shadow: 0 30px 80px rgba(74,16,46,.18), inset 0 1px 0 #fff !important;
}

/* ---------- word-by-word title reveal ---------- */
.fx-words .fx-w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.35em); transition: opacity .7s ease, filter .8s ease, transform .9s var(--fx-ease); transition-delay: calc(var(--i) * 55ms); }
.fx-words.fx-words-in .fx-w { opacity: 1; filter: none; transform: none; }

/* ---------- new home sections join style.css's contained 1280 column ---------- */
body.home #anatomy,
body.home #glance {
  max-width: 1280px !important; width: auto !important;
  margin-left: auto !important; margin-right: auto !important;
  padding-left: 40px !important; padding-right: 40px !important;
}
@media (max-width: 768px) {
  body.home #anatomy, body.home #glance { max-width: 100% !important; padding-left: clamp(14px, 4vw, 20px) !important; padding-right: clamp(14px, 4vw, 20px) !important; }
}

/* ---------- shared section shell for the new blocks ---------- */
.fx-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; background: linear-gradient(180deg, #f9d6e4, #fdf0f5); }
.fx-panel > .fx-canvas { z-index: -1; }

/* ================= 3D anatomy ================= */
.fx3d { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 620px; box-shadow: 0 40px 90px rgba(74,16,46,.10); }
.fx3d_copy { position: relative; z-index: 2; padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.fx3d_pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--fx-plum); background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.fx3d_pill i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: #fff; font-style: normal; }
.fx3d h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: .98; letter-spacing: -.035em; font-weight: 600; color: var(--fx-plum); }
.fx3d h2 em { font-family: "Instrument Serif", serif; font-weight: 400; font-style: italic; color: #b4235e; letter-spacing: -.01em; }
.fx3d p { color: #6b3a52; font-size: 16px; line-height: 1.6; max-width: 44ch; }
.fx3d_list { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.fx3d_list a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px;
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.8); color: var(--fx-plum); font-weight: 600; font-size: 14.5px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .35s var(--fx-spring), background .25s;
}
.fx3d_list a span { margin-left: auto; font-weight: 500; font-size: 12.5px; color: #7d3f5c; }
.fx3d_list a:hover, .fx3d_list a.is-hot { background: rgba(255,255,255,.92); transform: translateX(6px); }
.fx3d_list b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #c72a63; color: #fff; font-size: 12px; flex: none; }
.fx3d_stage { position: relative; min-height: 520px; cursor: grab; touch-action: pan-y; }
.fx3d_stage:active { cursor: grabbing; }
.fx3d_stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.fx3d_spot { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 40%), rgba(255,255,255,.75), transparent 70%); mix-blend-mode: soft-light; }
.fx3d:hover .fx3d_spot { opacity: 1; }
.fx3d_load { position: absolute; inset: 0; display: grid; place-items: center; color: #7d3f5c; font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: opacity .6s; }
.fx3d_load::before { content: ""; width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(180,35,94,.2); border-top-color: #b4235e; animation: fx-spin 1s linear infinite; margin-bottom: 44px; grid-area: 1 / 1; }
.fx3d_load > span { grid-area: 1 / 1; margin-top: 30px; }
.fx3d_stage.is-ready .fx3d_load { opacity: 0; pointer-events: none; }
.fx3d_stage.is-failed .fx3d_load::before, .fx3d_stage.is-failed .fx3d_hint, .fx3d_stage.is-failed .fx3d_hot { display: none; }
@keyframes fx-spin { to { transform: rotate(360deg); } }
.fx3d_hint { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 3; font-size: 12px; font-weight: 600; color: #7d3f5c; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; transition: opacity .5s; }
.fx3d_stage.is-touched .fx3d_hint { opacity: 0; }
.fx3d_credit { position: absolute; right: 16px; bottom: 12px; z-index: 3; font-size: 10.5px; color: rgba(106,58,82,.6); max-width: 60%; text-align: right; }
.fx3d_credit a { text-decoration: underline; }
.fx3d_hot {
  position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 4;
  transform: translate(var(--x, -999px), var(--y, -999px));
  opacity: var(--o, 0); transition: opacity .3s; pointer-events: none;
}
.fx3d_hot.is-live { pointer-events: auto; }
.fx3d_hot .dot {
  position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #b4235e; background: #fff;
  box-shadow: 0 0 0 3px rgba(241,69,129,.3), 0 0 16px rgba(241,69,129,.7);
  transition: transform .35s var(--fx-spring), background .25s, color .25s;
}
.fx3d_hot .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(241,69,129,.55); animation: fx-ping 2.4s ease-out infinite; }
@keyframes fx-ping { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.fx3d_hot .lbl {
  position: absolute; top: 0; left: 20px; translate: 0 -50%; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: var(--fx-plum); padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid #fff; box-shadow: 0 6px 18px rgba(74,16,46,.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateX(-6px) scale(.96); transition: opacity .25s, transform .35s var(--fx-spring);
}
.fx3d_hot[data-side="left"] .lbl { left: auto; right: 20px; transform: translateX(6px) scale(.96); }
.fx3d_hot:hover .dot, .fx3d_hot:focus-visible .dot, .fx3d_hot.is-hot .dot { transform: scale(1.15); background: #b4235e; color: #fff; }
.fx3d_hot:hover .lbl, .fx3d_hot:focus-visible .lbl, .fx3d_hot.is-hot .lbl { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .fx3d { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .fx3d_copy { min-width: 0; }
  .fx3d_stage { min-height: 460px; order: -1; }
  .fx3d_copy { padding-top: 8px; }
  .fx3d_hot .lbl { font-size: 11.5px; padding: 5px 9px; }
  .fx3d_hint { top: 14px; bottom: auto; }
  .fx3d_credit { left: 16px; max-width: none; text-align: center; }
}

/* ================= care bento ================= */
.fxb { padding: clamp(14px, 2vw, 22px); color: #fff; font-variant-numeric: tabular-nums; }
.fxb-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.fxb-card { position: relative; border-radius: 28px; overflow: hidden; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .7s ease, transform .9s var(--fx-ease); min-height: 168px; }
.fxb.in .fxb-card { opacity: 1; transform: none; }
.fxb-card .g { position: absolute; inset: 0; }
.fxb-card .core { position: absolute; left: 10%; right: 10%; top: 16%; bottom: -6%; border-radius: 90px; filter: blur(60px); }
.fxb-card .rim { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; z-index: 3; }
.fxb-in { position: relative; z-index: 2; height: 100%; padding: 22px 24px; display: flex; flex-direction: column; }
.fxb-glass { background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.85); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); color: var(--fx-plum); }
.fxb-ttl { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.fxb-cap { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.fxb-muted { font-size: 13px; opacity: .72; font-weight: 500; line-height: 1.45; }
.fxb-row { display: flex; align-items: center; gap: 12px; }
.fxb-legend { display: flex; gap: 14px; font-size: 12px; font-weight: 600; opacity: .9; flex-wrap: wrap; }
.fxb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fxb-legend i { width: 8px; height: 8px; border-radius: 50%; }
.fxb-dots { display: block; color: inherit; }
.fxb-dots circle { transition: opacity .26s, transform .26s; transform-box: fill-box; transform-origin: center; }
.fxb-big { grid-column: span 8; min-height: 380px; }
.fxb-week { grid-column: span 4; min-height: 380px; }
.fxb-kpi { grid-column: span 3; }
.fxb-stream { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; width: 100%; display: block; }
.fxb-gauge { display: block; margin: 18px auto 0; width: 300px; max-width: 100%; height: auto; overflow: visible; }
.fxb-rows { margin-top: auto; }
.fxb-rows > div { display: flex; align-items: center; gap: 10px; height: 34px; font-size: 13px; font-weight: 600; }
.fxb-rows > div + div { border-top: 1px solid rgba(255,255,255,.16); }
.fxb-glass .fxb-rows > div + div { border-top-color: rgba(74,16,46,.08); }
.fxb-rows span:last-child { margin-left: auto; font-weight: 500; opacity: .75; }
.fxb-ticks { display: block; width: 100%; height: 18px; margin-top: auto; }
.fxb-link { color: inherit; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; margin-top: auto; }
.fxb-link svg { transition: transform .3s var(--fx-spring); }
.fxb-card:hover .fxb-link svg { transform: translate(2px, -2px); }
@keyframes fxbtk { to { opacity: 1; } }
.fxb-tip { position: fixed; z-index: 500; pointer-events: none; background: rgba(74,16,46,.92); color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 9px 12px; font-size: 12px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 12px 30px -10px rgba(74,16,46,.5); opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; white-space: nowrap; }
.fxb-tip.on { opacity: 1; transform: none; }
.fxb-tip .t { font-weight: 700; margin-bottom: 4px; }
.fxb-tip .r span { display: inline-flex; align-items: center; gap: 6px; line-height: 19px; color: rgba(255,255,255,.85); }
.fxb-tip i { width: 7px; height: 7px; border-radius: 50%; }
@media (max-width: 1100px) {
  .fxb-big { grid-column: span 12; }
  .fxb-week { grid-column: span 12; min-height: 0; }
  .fxb-kpi { grid-column: span 6; }
}
@media (max-width: 560px) {
  .fxb-grid { gap: 10px; }
  .fxb-kpi { grid-column: span 12; }
  .fxb-big { min-height: 420px; }
  .fxb-stream { height: 200px; }
}
@media (prefers-reduced-motion: reduce) { .fxb-card { transition: none; } }

/* ================= connected provider carousel ================= */
.cc { position: relative; display: flex; flex-direction: column; align-items: center; outline: none; overflow: hidden; padding: 6px 0 4px; user-select: none; }
.cc:focus-visible { box-shadow: 0 0 0 3px rgba(241,69,129,.35); border-radius: 24px; }
.cc-stage { position: relative; width: 100%; }
.cc-card {
  position: absolute; left: 50%; top: 50%; will-change: transform;
  border-radius: 32px; background: #fff; color: var(--ink);
  box-shadow: 0 10px 30px rgba(74,16,46,.08), 0 4px 12px rgba(74,16,46,.06);
  transition: transform .75s var(--fx-spring), width .75s var(--fx-spring), height .75s var(--fx-spring), opacity .45s ease;
}
.cc-card.cc-instant { transition: none; }
.cc-card:not(.is-active) { cursor: pointer; }
.cc-clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.cc-notch { position: absolute; top: 0; bottom: 0; margin: auto 0; width: 22px; height: 42px; color: #fff; display: none; z-index: 5; pointer-events: none; }
.cc-notch svg { width: 100%; height: 100%; fill: currentColor; display: block; overflow: visible; }
.cc-notch-r { left: calc(100% - 1px); }
.cc-notch-l { right: calc(100% - 1px); }
.cc-card[data-offset="-1"] .cc-notch-r, .cc-card[data-offset="1"] .cc-notch-l { display: block; }
.cc-thumb { position: absolute; inset: 0; padding: 8px; opacity: 1; transition: opacity .22s ease-out; }
.cc-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; background: var(--fx-blush); }
.cc-card.is-active .cc-thumb { opacity: 0; pointer-events: none; }
.cc-active {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: flex; gap: 24px; padding: 26px;
  opacity: 0; transform: translateX(var(--away, 822px)); pointer-events: none;
  transition: opacity .45s ease, transform .75s var(--fx-spring);
}
.cc-card.is-active .cc-active { opacity: 1; transform: none; pointer-events: auto; }
.cc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 4px 0; }
.cc-stat { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--fx-plum); }
.cc-quote { font-family: "Instrument Serif", serif; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.35; color: rgba(74,16,46,.82); }
.cc-who { display: flex; flex-direction: column; align-items: flex-start; }
.cc-chip { display: inline-flex; border-radius: 6px; padding: 5px 11px; font-size: 12.5px; font-weight: 700; background: var(--fx-blush); color: var(--fx-plum); }
.cc-chip.role { font-weight: 500; color: #7d3f5c; }
.cc-link { height: 6px; margin: -1px 0; padding: 0 14px; color: var(--fx-blush); display: flex; position: relative; z-index: 1; }
.cc-link svg { fill: currentColor; display: block; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--fx-plum); color: #fff; transition: transform .3s var(--fx-spring), background .25s; }
.cc-btn.ghost { background: transparent; color: var(--fx-plum); box-shadow: inset 0 0 0 1px rgba(74,16,46,.18); }
.cc-btn:hover { transform: translateY(-2px); }
.cc-photo { position: relative; flex: none; width: clamp(180px, 44%, 330px); border-radius: 24px; overflow: hidden; background: var(--fx-blush); }
.cc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.cc-nav { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.cc-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(74,16,46,.08); color: var(--fx-plum); transition: transform .3s var(--fx-spring); }
.cc-arrow:hover { transform: scale(1.08); }
.cc-tabs { display: flex; align-items: center; gap: 6px; }
.cc-tabs button { width: 8px; height: 8px; border-radius: 3px; overflow: hidden; background: rgba(74,16,46,.14); padding: 0; transition: width .3s ease-out, background .2s; }
.cc-tabs button[aria-selected="true"] { width: 80px; }
.cc-tabs button i { display: block; height: 100%; width: 100%; background: var(--rose); transform-origin: 0 50%; transform: scaleX(0); }
.cc-tabs button[aria-selected="false"] i { transform: scaleX(0) !important; }
@media (max-width: 767px) {
  .cc-active { flex-direction: column; gap: 14px; padding: 16px; text-align: center; }
  .cc-body { align-items: center; order: 2; }
  .cc-who { align-items: center; }
  .cc-actions { justify-content: center; }
  .cc-photo { width: 100%; height: 200px; order: 1; }
  .cc-thumb { padding: 6px; }
  .cc-thumb img { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-card, .cc-active, .fx-words .fx-w, .fx-navblob { transition: none !important; }
}

/* ---------- CTA on a cloud sky ---------- */
.cta.fx-sky { background: transparent !important; color: var(--fx-plum) !important; }
.cta.fx-sky .cta_img { display: none; }
.cta.fx-sky h2, .cta.fx-sky p { color: var(--fx-plum) !important; }
.cta.fx-sky h2 em { color: #b4235e !important; }
.cta.fx-sky .cta_btn_white { background: rgba(255,255,255,.55) !important; color: var(--fx-plum) !important; border: 1px solid rgba(255,255,255,.9) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cta.fx-sky .cta_btn_white svg { color: #b4235e; }

/* =====================================================================
   PREMIUM PASS — width rhythm, nav spacing, World of care gallery,
   mobile menu sheet, mobile swipe rows, scroll-linked motion.
   ===================================================================== */

/* ---------- section width rhythm (home): wide / standard / narrow ---------- */
body.home .world        { --w: 1440px; }
body.home #services     { --w: 1080px; }
body.home #about        { --w: 1280px; }
body.home #checker      { --w: 1040px; }
body.home #testimonials { --w: 1560px; }
body.home .world, body.home #services, body.home #about, body.home #checker, body.home #testimonials {
  padding-left: max(clamp(22px, 3.2vw, 56px), calc((100% - var(--w)) / 2)) !important;
  padding-right: max(clamp(22px, 3.2vw, 56px), calc((100% - var(--w)) / 2)) !important;
}
body.home #anatomy            { --w: 1200px; }
body.home #glance             { --w: 1440px; }
body.home .sym_callout_wrap   { --w: 960px; }
body.home #providers          { --w: 1440px; }
body.home #locations          { --w: 1000px; }
body.home #faq                { --w: 1200px; }
body.home #book               { --w: 1440px; }
@media (min-width: 769px) {
  body.home #anatomy, body.home #glance, body.home .sym_callout_wrap, body.home #providers,
  body.home #locations, body.home #faq, body.home #book { max-width: calc(var(--w) + 80px) !important; }
}

@media (min-width: 1025px) and (max-width: 1360px) {
  .lp_phone_num { display: none; }
  .lp_phone_btn { width: 40px; padding: 0 !important; justify-content: center; }
}

/* ---------- World of care: all five cards, full height; detail rises on hover ---------- */
@media (min-width: 769px) {
  body.home .wh_cards { gap: 16px !important; }
  body.home .wh_cards > .wh_card { aspect-ratio: 3 / 4.3 !important; border-radius: 26px !important; transition: transform .6s var(--fx-ease), box-shadow .6s var(--fx-ease) !important; }
  body.home .wh_cards > .wh_card:hover, body.home .wh_cards > .wh_card:focus-visible { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(74,16,46,.2); }
  body.home .wh_card img { transition: transform 1.1s var(--fx-ease) !important; }
  body.home .wh_card:hover img { transform: scale(1.06); }
  body.home .wh_card::after { background: linear-gradient(180deg, rgba(40,8,24,0) 40%, rgba(40,8,24,.66) 100%) !important; }
  body.home .wh_card_label { left: 22px !important; right: 22px; bottom: 22px !important; font-size: 19px !important; font-weight: 600 !important; letter-spacing: -.02em; }
  body.home .wh_card .wh_card_desc { max-height: 0; margin-top: 0; overflow: hidden; transition: opacity .35s ease, transform .6s var(--fx-ease), max-height .6s var(--fx-ease), margin .6s var(--fx-ease); }
  body.home .wh_card:hover .wh_card_desc, body.home .wh_card:focus-visible .wh_card_desc { max-height: 5em; margin-top: 8px; opacity: 1; transform: none; }
}
.wh_card_desc {
  display: block; max-width: 36ch; margin-top: 10px;
  font-size: 14px; font-weight: 450; line-height: 1.45; letter-spacing: 0; color: rgba(255,255,255,.9);
  opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .6s var(--fx-ease);
}
.wh_card.is-on .wh_card_desc { opacity: 1; transform: none; transition-delay: .2s; }
@media (max-width: 768px) {
  body.home .wh_cards { scroll-snap-type: x mandatory !important; }
  body.home .wh_cards > .wh_card,
  body.home .wh_cards > .wh_card:nth-child(n+4),
  body.home .wh_cards > .wh_card:nth-child(n+5) {
    width: 74vw !important; max-width: 320px !important; aspect-ratio: 3 / 4.2 !important; scroll-snap-align: center !important;
    opacity: .6; transform: scale(.94); transition: opacity .35s ease, transform .5s var(--fx-ease) !important;
  }
  body.home .wh_cards > .wh_card.is-on { opacity: 1; transform: none; }
  body.home .wh_card .wh_card_desc { font-size: 13.5px; }
}

/* ---------- providers carousel: notches follow JS (2-up on desktop) ---------- */
.cc-card[data-offset] .cc-notch { display: none; }
.cc-card[data-notch="r"] .cc-notch-r, .cc-card[data-notch="l"] .cc-notch-l { display: block; }
.cc.is-two .cc-active { padding: 20px; gap: 20px; }
.cc.is-two .cc-stat { font-size: clamp(22px, 2vw, 30px); }
.cc.is-two .cc-quote { font-size: 17px; }
.cc.is-two .cc-photo { width: 44%; }
.cc-stage { touch-action: pan-y; }

/* ---------- premium mobile menu: frosted sheet that unrolls ---------- */
@media (max-width: 1024px) {
  .mobile_menu { background: linear-gradient(180deg, rgba(74,16,46,.28), rgba(74,16,46,.12)) !important; transition: opacity .35s ease !important; }
  /* popover card that grows out of the hamburger; the nav (and its X) never moves */
  .mobile_menu_panel {
    position: fixed !important; top: var(--mt, 84px) !important; left: 10px !important; right: 10px !important; bottom: auto !important;
    transform: none !important;
    clip-path: circle(0 at var(--ox, calc(100% - 34px)) var(--oy, -30px));
    transition: clip-path .4s cubic-bezier(.4, 0, .2, 1) !important;
    max-height: calc(100dvh - var(--mt, 84px) - 12px); overflow-y: auto; overscroll-behavior: contain;
    padding: 14px 24px 22px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,244,249,.78) 100%) !important;
    border: 1px solid rgba(255,255,255,.8) !important;
    border-radius: 30px !important;
    box-shadow: 0 30px 80px rgba(74,16,46,.22), inset 0 1px 0 #fff !important;
  }
  .mobile_menu.open .mobile_menu_panel { clip-path: circle(160% at var(--ox, calc(100% - 34px)) var(--oy, -30px)); transition: clip-path .7s var(--fx-ease) !important; }
  /* the nav sits above the scrim, exactly where it was */
  body:has(.mobile_menu.open) .lp_nav { z-index: 10001 !important; }
  body.home:has(.mobile_menu.open) .lp_nav:not(.nav-scrolled) { position: relative !important; }
  .mobile_links { display: flex !important; flex-direction: column; gap: 0 !important; }
  .mobile_link {
    display: flex !important; align-items: center; justify-content: space-between;
    padding: 9px 2px !important; border: 0 !important; background: none !important;
    font-size: clamp(26px, 7.4vw, 32px) !important; font-weight: 600 !important; letter-spacing: -.03em !important; color: var(--fx-plum) !important;
    opacity: 0; transform: translateY(14px); filter: blur(6px);
    transition: opacity .45s ease, transform .7s var(--fx-ease), filter .6s ease, color .2s;
  }
  .mobile_menu.open .mobile_link { opacity: 1; transform: none; filter: none; transition-delay: calc(120ms + var(--i, 0) * 38ms); }
  .mobile_link svg { width: 22px; height: 22px; opacity: .35; transition: transform .35s var(--fx-ease), opacity .2s; }
  .mobile_link:active svg, .mobile_link:hover svg { transform: translateX(4px); opacity: 1; }
  .mobile_link.is-here { color: #b4235e !important; }
  .mobile_link[href^="tel"] {
    margin-top: 14px; padding: 14px 18px !important; border-radius: 18px; justify-content: center; gap: 10px; flex-direction: row-reverse;
    font-size: 16px !important; letter-spacing: -.01em !important; background: rgba(255,255,255,.75) !important; box-shadow: inset 0 0 0 1px rgba(74,16,46,.08);
  }
  .mobile_link[href^="tel"] svg { opacity: 1; color: #b4235e; width: 18px; height: 18px; }
  .mobile_menu_cta {
    margin-top: 10px !important; border-radius: 18px !important; padding: 18px !important;
    background: linear-gradient(180deg, #5c1538, #4a102e) !important; box-shadow: 0 14px 30px rgba(74,16,46,.28) !important;
    opacity: 0; transform: translateY(14px); transition: opacity .45s ease .45s, transform .7s var(--fx-ease) .45s !important;
  }
  .mobile_menu.open .mobile_menu_cta { opacity: 1; transform: none; }
  .fx-menu-meta { margin-top: 16px; text-align: center; font-size: 12.5px; font-weight: 500; color: #8a5570; opacity: 0; transition: opacity .5s ease .55s; }
  .mobile_menu.open .fx-menu-meta { opacity: 1; }
}

/* ---------- mobile: swipe rows instead of stacked rows ---------- */
@media (max-width: 768px) {
  .fx-swipe { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 12px !important; }
  .fx-swipe::-webkit-scrollbar { display: none; }
  .fx-swipe > * { scroll-snap-align: center; flex: 0 0 auto !important; }

  /* care bento: one swipe row */
  .fxb { padding: 12px 0 !important; }
  .fxb-grid { margin: 0 -2px; padding: 0 12px; scroll-padding-inline: 12px; }
  .fxb-grid > .fxb-card { width: 84%; min-height: 360px; scroll-snap-align: center; }
  .fxb-grid > .fxb-big { width: 92%; min-height: 420px; }
  .fxb-grid > .fxb-kpi { width: 66%; min-height: 360px; }

  /* anatomy: organ list becomes a chip row */
  .fx3d_list.fx-swipe { margin: 0 -28px; padding: 2px 28px 8px; scroll-padding-inline: 28px; }
  .fx3d_list.fx-swipe > li { width: auto; }
  .fx3d_list.fx-swipe a { padding: 10px 14px; white-space: nowrap; }
  .fx3d_list.fx-swipe a span { display: none; }

  .fx-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
  .fx-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(74,16,46,.18); transition: width .35s var(--fx-ease), background .25s; }
  .fx-dots i.on { width: 22px; background: #b4235e; }
}
@media (min-width: 769px) { .fx-dots { display: none; } }

/* ---------- scroll-linked motion (progressive: content is visible without it) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body.home .fx-panel, body.home #about, body.home #glance .fxb, body.home .cc-stage {
      animation: fx-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 28%;
    }
    @keyframes fx-settle { from { transform: scale(.94) translateY(40px); filter: saturate(.85); } to { transform: none; filter: none; } }
    .wh_card img, .cc-photo img, .svc_img_acc, .loc img {
      animation: fx-drift linear both; animation-timeline: view(); animation-range: cover;
    }
    @keyframes fx-drift { from { translate: 0 -5%; } to { translate: 0 5%; } }
  }
}
.cc-photo img, .wh_card img { will-change: translate; }

/* ---------- hero: one orchestrated entrance on load ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.home .lp_hero_left > * { animation: fx-rise .9s var(--fx-ease) both; animation-delay: calc(.12s + var(--i, 0) * 80ms); }
  body.home .lp_hero_left > :nth-child(1) { --i: 0; } body.home .lp_hero_left > :nth-child(2) { --i: 1; }
  body.home .lp_hero_left > :nth-child(3) { --i: 2; } body.home .lp_hero_left > :nth-child(4) { --i: 3; }
  body.home .lp_hero_left > :nth-child(5) { --i: 4; } body.home .lp_hero_left > :nth-child(6) { --i: 5; }
  body.home .lp_hero_right { animation: fx-unveil 1.3s var(--fx-ease) .2s backwards; } /* backwards: no clip left behind once it ends (the chips overflow this box) */
  @keyframes fx-rise { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
  @keyframes fx-unveil { from { opacity: 0; clip-path: inset(8% 8% 8% 8% round 40px); transform: scale(1.04); } to { clip-path: inset(0 0 0 0 round 0); } }
}

/* headings follow their column: narrow sections get a smaller display size */
.sec_title, .wh_h2, .fx3d h2, .cta h2 { text-wrap: balance; }
body.home #locations .sec_title, body.home #services .sec_title, body.home #checker h2 { font-size: clamp(40px, 4.2vw, 66px) !important; }
@media (min-width: 1025px) { .lp_cta { display: inline-flex !important; } }

/* =====================================================================
   TYPOGRAPHY — one family, used with discipline (Apple-like):
   General Sans everywhere, tight-but-readable display tracking,
   a calm 17px body, balanced headings, no shouty uppercase kickers.
   ===================================================================== */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-family: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; letter-spacing: -0.006em; }
h1, h2, h3, h4, .sec_title, .wh_h2, .lp_h1, .fx3d h2, .cta h2, .feature h2, .svc_title, .prov_name_big, .loc_city {
  font-family: "General Sans", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 600 !important; letter-spacing: -0.035em !important; text-wrap: balance;
}
.sec_title { font-size: clamp(40px, 5vw, 76px) !important; line-height: 1.02 !important; }
h1 em, h2 em, h3 em, .sec_title em, .wh_h2 em { font-family: "Instrument Serif", serif !important; font-weight: 400 !important; letter-spacing: -0.01em !important; }
p, li, .sec_sub, .wh_desc, .svc_desc, .promise_text, .test_text, .faq_a_inner { text-wrap: pretty; }
.sec_sub, .wh_desc { font-size: clamp(16px, 1.25vw, 19px) !important; line-height: 1.5 !important; color: #545d6e !important; max-width: 42ch; }
body.home #testimonials .sec_sub, body.home #services .sec_sub { color: rgba(255,255,255,.74) !important; }
/* kickers: sentence case in the brand rose, the way Apple writes "New" */
.sec_eyebrow, .feature_eyebrow, .fx3d_pill {
  text-transform: none !important; letter-spacing: -0.01em !important;
  font-size: 16px !important; font-weight: 600 !important; color: #b4235e !important;
}
body.home #testimonials .sec_eyebrow, body.home #services .sec_eyebrow { color: #ff9cc0 !important; }
.fxb-cap { text-transform: none !important; letter-spacing: -0.01em !important; font-size: 14px !important; }
@media (min-width: 769px) {
  body { font-size: 17px; line-height: 1.6; }
}

/* hero video: never show iOS's native play overlay (autoplay is handled in main.js) */
.lp_video::-webkit-media-controls, .lp_video::-webkit-media-controls-start-playback-button,
.lp_video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; opacity: 0 !important; }
.lp_play { display: none !important; }

/* =====================================================================
   DOCTOR PROFILE — one physician, presented editorially on the same
   frosted glass + cloud sky as Care at a glance.
   ===================================================================== */
body.home #providers { --w: 1200px; }
.doc_wrap { padding: clamp(14px, 2vw, 24px); border-radius: 36px; }
.doc {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(14px, 1.6vw, 20px); border-radius: 30px;
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 30px 70px rgba(74,16,46,.10), inset 0 1px 0 #fff;
}
.doc_photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--fx-blush); box-shadow: 0 24px 50px rgba(74,16,46,.16); }
.doc_photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1.2s var(--fx-ease); }
.doc:hover .doc_photo img { transform: scale(1.03); }
.doc_badge {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.doc_badge i { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 4px rgba(34,160,107,.18); }
.doc_body { padding: clamp(6px, 1.5vw, 20px) clamp(4px, 1.5vw, 24px) clamp(6px, 1.5vw, 20px) 0; }
.doc_role { font-size: 16px; font-weight: 600; color: #b4235e; letter-spacing: -0.01em; }
.doc_name { margin-top: 10px; font-size: clamp(36px, 4.2vw, 58px) !important; line-height: 1.02; color: var(--fx-plum); }
.doc_cred { margin-top: 8px; font-size: 18px; font-weight: 500; color: #6b5262; letter-spacing: .02em; }
.doc_bio { margin-top: 22px; max-width: 46ch; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: #545d6e; }
.doc_stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid rgba(74,16,46,.1); }
.doc_stats > div { padding: 18px 16px 0 0; }
.doc_stats > div + div { padding-left: 16px; border-left: 1px solid rgba(74,16,46,.1); }
.doc_stats dt { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; color: var(--fx-plum); }
.doc_stats dd { margin: 4px 0 0; font-size: 13.5px; line-height: 1.35; color: #6b5262; }
.doc_actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 32px; }
.doc_btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 14px; font-size: 15px; font-weight: 600; color: #fff; background: var(--ink); box-shadow: 0 10px 24px rgba(10,23,51,.18); transition: transform .3s var(--fx-ease), background .2s; }
.doc_btn:hover { background: #142347; transform: translateY(-2px); }
.doc_more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--fx-plum); }
.doc_btn svg, .doc_more svg { transition: transform .3s var(--fx-ease); }
.doc_btn:hover svg, .doc_more:hover svg { transform: translateX(3px); }
@media (max-width: 860px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .doc_body { padding: 0 8px 10px; }
  .doc_name { font-size: clamp(34px, 9vw, 44px) !important; }
  .doc_stats > div { padding-right: 10px; }
  .doc_stats > div + div { padding-left: 10px; }
  .doc_stats dt { font-size: 20px; }
  .doc_btn { flex: 1 1 100%; justify-content: center; }
}
/* the frosted profile is the only panel here: drop the section's old lavender box */
body.home #providers { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }

/* one office: the location card spans the column */
body.home .locs { grid-template-columns: minmax(0, 1fr) !important; }

/* =====================================================================
   INNER PAGES — service, blog, profile, legal and location pages share
   one template; fx.js tags it (body.fx-inner) and these styles bring it
   to life: hero wave + entrance, photo unveil and parallax, fact chips,
   reading progress, "On this page", check-card lists, photo service cards.
   ===================================================================== */
.fx-inner .page_hero { isolation: isolate; background: linear-gradient(160deg, #fff7fa 0%, #fdeef4 55%, #f6f1ff 100%); }
.fx-inner .page_hero > .fx-canvas { z-index: -1; -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.3), #000 70%); mask-image: linear-gradient(100deg, rgba(0,0,0,.3), #000 70%); }
.fx-inner .page_hero > .fx-canvas.fx-on { opacity: .85; }
.page_eyebrow { color: #b4235e !important; font-weight: 600 !important; }

/* hero entrance: copy rises in sequence, photo unveils then drifts slowly */
@media (prefers-reduced-motion: no-preference) {
  .fx-inner .page_hero_content > * { animation: fx-rise .9s var(--fx-ease) both; }
  .fx-inner .page_hero_content > :nth-child(1) { animation-delay: .05s; }
  .fx-inner .page_hero_content > :nth-child(2) { animation-delay: .12s; }
  .fx-inner .page_hero_content > :nth-child(4) { animation-delay: .34s; }
  .fx-inner .page_hero_content > :nth-child(5) { animation-delay: .44s; }
  .fx-inner .page_h1 { animation: none !important; }
  .fx-inner .page_hero_image { animation: fx-unveil 1.4s var(--fx-ease) .15s backwards; }
  .fx-inner .page_hero_image img { animation: fx-kenburns 22s ease-in-out .2s infinite alternate; }
  @keyframes fx-kenburns { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fx-inner .page_hero_inner { animation: fx-hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 80%; }
    @keyframes fx-hero-out { to { transform: translateY(40px) scale(.98); opacity: .6; } }
  }
}

/* floating glass fact chips on the hero photo */
.fx-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap;
  background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 12px 30px rgba(74,16,46,.16);
}
.fx-chip i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #b4235e; color: #fff; }
.fx-chip i svg { width: 12px; height: 12px; }
.fx-chip1 { left: 16px; top: 18px; }
.fx-chip2 { right: 16px; bottom: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .fx-chip { animation: fx-chip-in .8s var(--fx-ease) both, fx-float 6s ease-in-out infinite; }
  .fx-chip1 { animation-delay: .9s, 1.7s; }
  .fx-chip2 { animation-delay: 1.1s, 2.6s; }
  @keyframes fx-chip-in { from { opacity: 0; transform: translateY(12px) scale(.94); filter: blur(4px); } }
  @keyframes fx-float { 50% { transform: translateY(-6px); } }
}

/* reading progress */
.fx-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 300; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #f7a8c6, #b4235e); pointer-events: none; }

/* article typography + heading highlight that draws under the italic word */
.fx-inner .article_body > p { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.7; color: #4b5466; }
.fx-inner .article_body h2 { scroll-margin-top: 110px; font-size: clamp(30px, 3.2vw, 44px) !important; margin-top: 56px; }
.fx-inner .article_body h2 em { background: linear-gradient(transparent 64%, rgba(241,69,129,.2) 0) no-repeat 0 0 / 0% 100%; transition: background-size 1.1s var(--fx-ease) .35s; padding: 0 .06em; }
.fx-inner .article_body h2.fx-words-in em, .fx-inner .article_body h2:not(.fx-words) em { background-size: 100% 100%; }

/* bullet lists -> soft check cards */
.fx-list { list-style: none; margin: 20px 0 30px !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fx-list > li {
  position: relative; margin: 0 !important; padding: 14px 16px 14px 48px; border-radius: 16px;
  font-size: 15px; line-height: 1.45; color: var(--ink);
  background: linear-gradient(180deg, #fff, #fff7fa); border: 1px solid rgba(180,35,94,.1);
  box-shadow: 0 6px 18px rgba(74,16,46,.05);
  transition: transform .4s var(--fx-ease), box-shadow .4s, border-color .3s;
}
.fx-list > li::before {
  content: ""; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%;
  background: #fde7ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4235e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.fx-list > li:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(74,16,46,.10); border-color: rgba(180,35,94,.22); }

/* "On this page" */
.fx-toc a { position: relative; padding: 10px 0 10px 16px !important; font-size: 14px; color: #6b5262 !important; border-bottom: 0 !important; transition: color .2s !important; }
.fx-toc a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: #b4235e; transform: scaleY(0); transition: transform .35s var(--fx-ease); }
.fx-toc a.on { color: var(--fx-plum) !important; font-weight: 600; }
.fx-toc a.on::before { transform: scaleY(1); }
.fx-toc a::after { content: none; }
.article_aside.fx-unstick { position: static !important; }
@media (max-width: 900px) { .fx-toc { display: none; } }

/* sidebar booking card picks up the brand plum */
.fx-inner .aside_book { background: linear-gradient(160deg, #5c1538, #4a102e 60%, #3a0d24) !important; box-shadow: 0 24px 50px rgba(74,16,46,.25); }

/* "Other services" become photo cards */
.related_cards .svc.fx-photo { position: relative; overflow: hidden; isolation: isolate; color: #fff !important; min-height: 220px; background: #4a102e !important; }
.related_cards .svc.fx-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transition: transform 1s var(--fx-ease); }
.related_cards .svc.fx-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40,8,24,.05) 30%, rgba(40,8,24,.72)); }
.related_cards .svc.fx-photo:hover::before { transform: scale(1.07); }
.related_cards .svc.fx-photo .svc_name { color: #fff !important; }
.related_cards .svc.fx-photo .svc_plus { background: rgba(255,255,255,.85) !important; color: var(--ink) !important; }

/* reveals (JS adds .fx-rv only when motion is allowed, so content never depends on it) */
.fx-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s var(--fx-ease); }
.fx-rv.fx-in { opacity: 1; transform: none; }
.fx-list > li.fx-rv { transition-delay: calc(var(--i, 0) * 45ms); }
@media (max-width: 900px) {
  .fx-chip { font-size: 12px; padding: 7px 12px 7px 7px; }
  .fx-list { grid-template-columns: minmax(0, 1fr); }
}

/* inner pages: the same light frosted panel, always floating at the top */
body:not(.home) .lp_nav, body:not(.home) .lp_nav.nav-scrolled {
  position: fixed !important; top: 12px !important; left: 50% !important; right: auto !important;
  transform: translateX(-50%) !important; margin: 0 !important; z-index: 200 !important;
}
/* inner pages start where the homepage bar sits (inset), then become the same
   floating pill on scroll, so the bar never changes between pages */
body:not(.home) .lp_nav:not(.nav-scrolled) { top: 40px !important; max-width: calc(100% - 104px) !important; } /* = the homepage hero frame's width */
@media (max-width: 1024px) {
  body:not(.home) .lp_nav:not(.nav-scrolled) { top: 24px !important; width: calc(100% - 68px) !important; }
}

/* =====================================================================
   HIG PROPORTIONS — Apple Human Interface Guidelines applied site-wide:
   44pt minimum hit targets, 12px text floor with 16px+ body on phones,
   ~68 character measure, concentric corner radii (outer = inner + gap).
   ===================================================================== */

/* -- 44pt hit targets. Where growing the control would distort the design,
      an invisible ::after extends the hit area instead (HIG permits this). -- */
.menu_btn { width: 44px !important; height: 44px !important; }
.lang_toggle a { position: relative; font-size: 13px !important; }
.lang_toggle a::after { content: ""; position: absolute; inset: -10px -5px; }
.lp_logo, .footer .logo { display: inline-flex; align-items: center; min-height: 44px; }
.f_col a, .aside_phone, .fxb-link, .doc_more { display: inline-flex; align-items: center; min-height: 46px; }
.f_col a { display: flex; }
.chat_close, .chat_send { width: 44px !important; height: 44px !important; min-width: 44px; flex: none; }
#chatInput { min-height: 46px; }
.ai_input input { min-height: 44px; }
.ai_input { min-height: 52px; }
.ai_input button { width: 44px !important; height: 44px !important; }
.fx3d_credit a { position: relative; }
.fx3d_credit a::after { content: ""; position: absolute; inset: -16px -4px; }

/* -- type floor: nothing under 12px; labels become sentence-case kickers -- */
.promise_label, .sym_callout_eyebrow, .aside_card h4, .page_eyebrow {
  text-transform: none !important; letter-spacing: -0.01em !important;
  font-size: 14px !important; font-weight: 600 !important; color: #b4235e !important;
}
.aside_book h4 { color: #ffb3cf !important; }
.lp_btn_check_sub { font-size: 12.5px !important; }
.fx3d_credit { font-size: 12px !important; }
.fx3d_hot .dot { font-size: 12px; }
.f_bot, .f_bot span { font-size: 13px !important; }
.chat_sub, .chat_disclaimer { font-size: 12.5px !important; }
.cp_opt { font-size: 12px !important; }

/* -- body copy: 16px+ on phones, comfortable measure everywhere -- */
@media (max-width: 767px) {
  .test_text, .promise_text, .sym_callout p, .cta p, .loc_addr, .wh_desc, .fx3d p, .feature p { font-size: 16px !important; line-height: 1.55 !important; }
  .page_lead { font-size: 17px !important; line-height: 1.55 !important; }
}
.article_body > p, .article_body > ul:not(.fx-list), .faq_a_inner { max-width: 68ch; }
.page_lead { max-width: 58ch; }

/* -- concentric radii: a corner inside a corner = outer radius minus the gap -- */
.lp_panel, header.lp .lp_panel { border-radius: 40px !important; }        /* 18 (nav, hero) + 22 padding */
.lp_hero { border-radius: 18px !important; }
@media (max-width: 600px) {
  .lp_panel, header.lp .lp_panel { border-radius: 32px !important; }      /* 18 + 14 padding */
}
.lp_pcard_img { border-radius: 8px !important; }

.fxb { --p: clamp(14px, 2vw, 22px); padding: var(--p) !important; border-radius: calc(24px + var(--p)) !important; }
.fxb-card { border-radius: 24px; }

.doc_wrap { --wp: clamp(14px, 2vw, 24px); --dp: clamp(14px, 1.6vw, 20px); padding: var(--wp); border-radius: calc(16px + var(--dp) + var(--wp)); }
.doc { padding: var(--dp); border-radius: calc(16px + var(--dp)); }
.doc_photo { border-radius: 16px; }
.form_notice { margin: 4px 0 16px; padding: 14px 16px; border-radius: 14px; background: #fff4f8; border: 1px solid rgba(180,35,94,.2); color: var(--ink); font-size: 15px; line-height: 1.5; }
.form_notice a { color: #b4235e; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Design audit: a11y + anti-pattern fixes ---------- */
.skip_link { position: fixed; left: 16px; top: 12px; z-index: 10000; padding: 12px 18px; border-radius: 12px; background: var(--ink, #0a1733); color: #fff; font-weight: 600; font-size: 15px; transform: translateY(-160%); transition: transform .2s; }
.skip_link:focus { transform: none; outline: 2px solid #f14581; outline-offset: 2px; }
main { display: block; }
/* services list: no decorative 01–04 column */
.svc_list .svc_row { grid-template-columns: 1fr 160px !important; }
@media (max-width: 768px) { .svc_list .svc_row { grid-template-columns: 1fr !important; } }
/* contrast: every pair below now clears WCAG AA */
.loc_card_eyebrow { font-size: 12px; color: #b4235e; font-weight: 600; }
.test_av { color: #7a1c45; font-weight: 600; }
.lp_pcard_tag { color: #1f5fa8; }
.feature .feature_eyebrow { color: #ffb3cf !important; }
.sym_callout h3 em { color: #c72a63; }
.fx3d_pill i { background: #c72a63; }
