@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');
/* JW Beauty — EUX Case Study :: bundled stylesheet
   = case.css (structure) + jw-theme.css (lilac/purple tokens) + page styles.
   Fonts load from Google Fonts CDN via the @import below. */

/* ============================================================================
   Boococks × EUX — Case Study stylesheet
   EUX portfolio structure, re-themed to a butcher palette: forest green + cream.
   Display serif (Cormorant) for editorial warmth; Plus Jakarta for UI labels;
   Open Sans for body. Three page variations theme via a body class.
   ============================================================================ */



.jwx-case {
  /* Butcher palette */
  --cream:        #F6EFE2;   /* warm butcher-paper */
  --cream-50:     #FBF6EC;
  --cream-100:    #F2E9D8;
  --cream-200:    #E9DCC4;
  --paper:        #FFFDF8;   /* card paper */
  --ink:          #20231C;   /* near-black olive ink */
  --ink-900:      #181A14;
  --ink-800:      #2B2E24;
  --ink-700:      #41463A;
  --ink-600:      #5A6150;
  --ink-500:      #767D69;
  --ink-400:      #9A9F8C;
  --ink-300:      #BFC2B0;
  --ink-200:      #DCDCC9;
  --ink-100:      #E9E6D6;

  /* Forest / olive butcher greens */
  --forest:       #5E6B3B;   /* primary brand green (buttons) */
  --forest-600:   #515D33;
  --forest-700:   #44502B;
  --forest-800:   #333B20;
  --forest-900:   #232818;   /* footer / dark sections */
  --forest-050:   #EEF0E2;
  --forest-100:   #E1E5CE;
  --moss:         #7C8852;

  /* Warm accents */
  --rust:         #9E3B23;   /* meat / sale red, used sparingly */
  --rust-soft:    #C25A3C;
  --gold:         #B7892F;   /* est. 1923 brass */
  --woo:          #720EEC;   /* WooCommerce purple — tech accent */
  --woo-50:       #F1E3FE;
  --atria:        #2A6FDB;   /* ATRIA / POS data accent (blue) */
  --atria-50:     #E4EEFC;
  --ok:           #4F7B3A;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(35,40,24,0.05), 0 10px 30px rgba(35,40,24,0.06);
  --shadow-2: 0 2px 6px rgba(35,40,24,0.07), 0 24px 60px rgba(35,40,24,0.12);
  --shadow-3: 0 40px 90px rgba(20,23,18,0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --header-h: 0px; /* Salient provides the site header */
}

.jwx-case *, .jwx-case *::before, .jwx-case *::after { box-sizing: border-box; }
.jwx-case { scroll-behavior: smooth; }
.jwx-case {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.jwx-case img { max-width: 100%; display: block; }
.jwx-case ::selection { background: var(--forest); color: #fff; }

.jwx-case .wrap { max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
@media (min-width: 800px) { .jwx-case .wrap { padding-inline: 56px; } }
.jwx-case .section { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.jwx-case .section--paper { background: var(--paper); }
.jwx-case .section--cream { background: var(--cream); }
.jwx-case .section--ink { background: var(--forest-900); color: var(--cream); }
.jwx-case .section--tight { padding-block: clamp(56px, 6vw, 88px); }

/* Eyebrow */
.jwx-case .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 600; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--forest);
}
.jwx-case .eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: 0.6; }
.jwx-case .eyebrow--plain::before { display: none; }
.jwx-case .section--ink .eyebrow { color: var(--moss); }

/* Headings */
.jwx-case h1, .jwx-case h2, .jwx-case h3, .jwx-case h4 { margin: 0; font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.04; }
.jwx-case .display { font-size: clamp(44px, 6.6vw, 92px); line-height: 0.98; letter-spacing: -0.015em; }
.jwx-case .h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.03; }
.jwx-case .h3 { font-size: clamp(24px, 2.6vw, 34px); }
.jwx-case .serif-em { font-style: italic; color: var(--forest); }
.jwx-case .section--ink .serif-em { color: var(--moss); }
.jwx-case .lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--ink-700); font-weight: 400; }
.jwx-case .section--ink .lede { color: var(--cream-100); }
.jwx-case p { margin: 0; color: var(--ink-700); }
.jwx-case .section--ink p { color: var(--cream-200); }

/* Buttons */
.jwx-case .btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  padding: 15px 26px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  text-decoration: none; transition: all .2s var(--ease); white-space: nowrap;
}
.jwx-case .btn svg { width: 17px; height: 17px; }
.jwx-case .btn--primary { background: var(--forest); color: #fff; }
.jwx-case .btn--primary:hover { background: var(--forest-700); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.jwx-case .btn--dark { background: var(--ink-900); color: var(--cream); }
.jwx-case .btn--dark:hover { background: #000; transform: translateY(-2px); }
.jwx-case .btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink-300); }
.jwx-case .btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.jwx-case .section--ink .btn--ghost { color: var(--cream); border-color: rgba(246,239,226,0.3); }
.jwx-case .section--ink .btn--ghost:hover { background: var(--cream); color: var(--ink-900); }
.jwx-case .btn--lg { padding: 18px 34px; font-size: 15px; }

/* ============================ HEADER ===================================== */
.jwx-case .hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(246,239,226,0.82); backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.jwx-case .hdr.is-scrolled { border-bottom-color: var(--ink-100); }
.jwx-case .hdr__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
.jwx-case .brand { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; }
.jwx-case .brand__mark { font-family: var(--font-ui); font-weight: 700; font-size: 22px; letter-spacing: -0.04em; color: var(--ink-900); }
.jwx-case .brand__mark .dot { color: var(--forest); }
.jwx-case .hdr__nav { display: none; gap: 30px; }
@media (min-width: 900px) { .jwx-case .hdr__nav { display: flex; } }
.jwx-case .hdr__link { font-family: var(--font-ui); font-weight: 500; font-size: 14px; color: var(--ink-700); text-decoration: none; transition: color .15s; }
.jwx-case .hdr__link:hover, .jwx-case .hdr__link.is-here { color: var(--forest); }
.jwx-case .hdr__right { display: flex; align-items: center; gap: 16px; }
.jwx-case .hdr__crumb { display: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-500); }
@media (min-width: 1080px) { .jwx-case .hdr__crumb { display: inline; } }

/* ============================ HERO shell ================================= */
.jwx-case .hero { padding-top: calc(var(--header-h) + 56px); padding-bottom: 0; position: relative; overflow: hidden; }
.jwx-case .hero__crumbs {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-500);
}
.jwx-case .hero__crumbs a { color: var(--ink-500); text-decoration: none; }
.jwx-case .hero__crumbs a:hover { color: var(--forest); }
.jwx-case .hero__crumbs .here { color: var(--forest); }
.jwx-case .hero__crumbs .sep { opacity: 0.4; }

/* Project meta chips */
.jwx-case .meta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.jwx-case .chip {
  font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.02em;
  padding: 7px 14px; border-radius: var(--r-pill); background: var(--forest-050);
  color: var(--forest-700); border: 1px solid var(--forest-100);
}
.jwx-case .section--ink .chip { background: rgba(124,136,82,0.16); color: var(--cream-100); border-color: rgba(124,136,82,0.3); }
.jwx-case .chip--woo { background: var(--woo-50); color: var(--woo); border-color: #E0C4FD; }
.jwx-case .chip--atria { background: var(--atria-50); color: var(--atria); border-color: #C3DAFB; }

/* ===================== SNAPSHOT (fact table) ============================= */
.jwx-case .snap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-100);
  border: 1px solid var(--ink-100); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 720px) { .jwx-case .snap { grid-template-columns: repeat(3, 1fr); } }
.jwx-case .snap__cell { background: var(--paper); padding: 22px 22px; }
.jwx-case .snap__k { font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-500); }
.jwx-case .snap__v { font-family: var(--font-serif); font-size: 23px; color: var(--ink-900); margin-top: 6px; line-height: 1.15; }

/* ===================== STAT band ======================================== */
.jwx-case .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
@media (min-width: 820px) { .jwx-case .stats { grid-template-columns: repeat(4, 1fr); } }
.jwx-case .stat__n { font-family: var(--font-serif); font-weight: 500; font-size: clamp(54px, 6.5vw, 92px); line-height: 0.92; letter-spacing: -0.02em; color: var(--ink-900); }
.jwx-case .section--ink .stat__n { color: var(--cream); }
.jwx-case .stat__n .u { color: var(--forest); font-size: 0.5em; }
.jwx-case .section--ink .stat__n .u { color: var(--moss); }
.jwx-case .stat__l { font-family: var(--font-ui); font-size: 13px; line-height: 1.5; color: var(--ink-600); margin-top: 12px; max-width: 22ch; }
.jwx-case .section--ink .stat__l { color: var(--cream-200); }
.jwx-case .stat--rule { padding-left: 24px; border-left: 1px solid var(--ink-100); }
.jwx-case .section--ink .stat--rule { border-left-color: rgba(246,239,226,0.16); }

/* ===================== Section header =================================== */
.jwx-case .sec-hd { max-width: 760px; margin-bottom: 52px; }
.jwx-case .sec-hd .eyebrow { margin-bottom: 20px; }
.jwx-case .sec-hd__t { margin-bottom: 18px; }
.jwx-case .sec-hd--center { margin-inline: auto; text-align: center; }
.jwx-case .sec-hd--center .eyebrow { justify-content: center; }

/* ===================== Two-col copy/visual ============================== */
.jwx-case .split { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 940px) { .jwx-case .split { grid-template-columns: 1.05fr 1fr; } .jwx-case .split--rev > .split__visual { order: -1; } }
.jwx-case .split__copy .eyebrow { margin-bottom: 20px; }
.jwx-case .split__copy h2 { margin-bottom: 22px; }
.jwx-case .prose p + p { margin-top: 18px; }

/* ===================== Checklist (deliverables) ========================= */
.jwx-case .deliv { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink-100); }
@media (min-width: 680px) { .jwx-case .deliv { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.jwx-case .deliv__item {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start;
  padding: 17px 4px; border-bottom: 1px solid var(--ink-100);
  font-family: var(--font-ui); font-weight: 500; font-size: 15px; color: var(--ink-800);
}
.jwx-case .deliv__item .tick {
  width: 24px; height: 24px; border-radius: var(--r-pill); background: var(--forest-050);
  color: var(--forest); display: grid; place-items: center; margin-top: 1px;
}
.jwx-case .deliv__item .tick svg { width: 13px; height: 13px; }
.jwx-case .section--ink .deliv, .jwx-case .section--ink .deliv__item { border-color: rgba(246,239,226,0.14); }
.jwx-case .section--ink .deliv__item { color: var(--cream-100); }
.jwx-case .section--ink .deliv__item .tick { background: rgba(124,136,82,0.2); color: var(--moss); }

/* ===================== Generic card ==================================== */
.jwx-case .card { background: var(--paper); border: 1px solid var(--ink-100); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-1); }
.jwx-case .card__icn { width: 46px; height: 46px; border-radius: 13px; background: var(--forest-050); color: var(--forest); display: grid; place-items: center; margin-bottom: 18px; }
.jwx-case .card__icn svg { width: 22px; height: 22px; }
.jwx-case .card h4 { font-size: 22px; margin-bottom: 10px; }
.jwx-case .card p { font-size: 14.5px; color: var(--ink-600); }
.jwx-case .grid-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 700px) { .jwx-case .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .jwx-case .grid-3 { grid-template-columns: repeat(3,1fr); } }

/* ===================== Services pills =================================== */
.jwx-case .svc-list { display: flex; flex-wrap: wrap; gap: 12px; }
.jwx-case .svc-pill {
  font-family: var(--font-ui); font-weight: 500; font-size: 15px; color: var(--ink-800);
  padding: 12px 20px; border: 1px solid var(--ink-200); border-radius: var(--r-pill);
  background: var(--paper); transition: all .2s var(--ease);
}
.jwx-case .svc-pill:hover { border-color: var(--forest); color: var(--forest-700); transform: translateY(-2px); }
.jwx-case .section--ink .svc-pill { background: transparent; border-color: rgba(246,239,226,0.2); color: var(--cream-100); }
.jwx-case .section--ink .svc-pill:hover { border-color: var(--moss); color: #fff; }

/* ===================== Closing CTA / Footer ============================= */
.jwx-case .closer { display: grid; gap: 28px; }
.jwx-case .closer__t { font-family: var(--font-serif); font-weight: 500; font-size: clamp(38px, 5.5vw, 76px); line-height: 1.0; letter-spacing: -0.015em; color: var(--cream); max-width: 16ch; }
.jwx-case .closer__sub { color: var(--cream-200); font-size: 18px; max-width: 50ch; }

.jwx-case .ftr { background: var(--forest-900); color: var(--cream); padding: 60px 0 34px; }
.jwx-case .ftr__grid { display: grid; grid-template-columns: 1.6fr repeat(2, 1fr); gap: 36px; }
@media (max-width: 720px) { .jwx-case .ftr__grid { grid-template-columns: 1fr 1fr; } }
.jwx-case .ftr__brand { font-family: var(--font-ui); font-weight: 700; font-size: 30px; letter-spacing: -0.04em; color: var(--cream); }
.jwx-case .ftr__brand .dot { color: var(--moss); }
.jwx-case .ftr__tag { font-size: 14px; color: var(--cream-200); margin-top: 12px; max-width: 36ch; }
.jwx-case .ftr h6 { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss); margin: 0 0 16px; }
.jwx-case .ftr ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.jwx-case .ftr a { font-family: var(--font-ui); font-size: 14px; color: var(--cream-200); text-decoration: none; }
.jwx-case .ftr a:hover { color: #fff; }
.jwx-case .ftr__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 30px; margin-top: 44px; border-top: 1px solid rgba(246,239,226,0.14); font-family: var(--font-ui); font-size: 12.5px; color: rgba(246,239,226,0.55); }

/* ============================================================================
   DEVICE MOCKUPS
   ============================================================================ */
/* Browser / laptop frame */
.jwx-case .browser { border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--ink-200); box-shadow: var(--shadow-3); }
.jwx-case .browser__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--cream-100); border-bottom: 1px solid var(--ink-100); }
.jwx-case .browser__dots { display: flex; gap: 6px; }
.jwx-case .browser__dots i { width: 11px; height: 11px; border-radius: 99px; background: var(--ink-200); }
.jwx-case .browser__dots i:nth-child(1) { background:#E5897A; } .jwx-case .browser__dots i:nth-child(2) { background:#E8C06A; } .jwx-case .browser__dots i:nth-child(3) { background:#8FB07A; }
.jwx-case .browser__url { flex: 1; margin-left: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-600); background: var(--paper); border: 1px solid var(--ink-100); padding: 6px 14px; border-radius: 99px; display: flex; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.jwx-case .browser__url svg { width: 11px; height: 11px; color: var(--forest); flex-shrink: 0; }
.jwx-case .browser__url b { color: var(--ink-900); font-weight: 600; }
.jwx-case .browser__view { overflow: hidden; background: #111; }
.jwx-case .browser__view img { width: 100%; display: block; }
/* scrolling screenshot */
.jwx-case .shot-scroll { position: relative; overflow: hidden; }
.jwx-case .shot-scroll img { width: 100%; transition: transform 6s linear; }
.jwx-case .shot-scroll:hover img { /* JS-driven instead */ }

/* Laptop body */
.jwx-case .laptop { width: 100%; }
.jwx-case .laptop__screen { background: #11130E; border: 9px solid #14160F; border-radius: 16px 16px 0 0; box-shadow: var(--shadow-3); overflow: hidden; }
.jwx-case .laptop__screen .browser { border-radius: 0; box-shadow: none; border: 0; }
.jwx-case .laptop__base { height: 16px; background: linear-gradient(#1b1d15, #0d0f0a); border-radius: 0 0 5px 5px; position: relative; margin: 0 auto; width: 112%; max-width: 112%; transform: translateX(-5.3%); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.jwx-case .laptop__base::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 16%; height: 6px; background: #050603; border-radius: 0 0 8px 8px; }

/* Phone frame */
.jwx-case .phone {
  width: 290px; max-width: 100%; aspect-ratio: 290 / 600; position: relative;
  background: #14160F; border-radius: 42px; padding: 11px;
  box-shadow: var(--shadow-3), inset 0 0 0 2px rgba(255,255,255,0.04);
}
.jwx-case .phone__scr { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--cream); position: relative; display: flex; flex-direction: column; }
.jwx-case .phone__notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #14160F; border-radius: 0 0 16px 16px; z-index: 30; }
.jwx-case .phone--lg { width: 320px; aspect-ratio: 320 / 660; }

/* Floating tag/callout used near devices */
.jwx-case .float-tag {
  position: absolute; z-index: 40; background: var(--paper); border: 1px solid var(--ink-100);
  border-radius: 13px; padding: 12px 15px; box-shadow: var(--shadow-2);
  font-family: var(--font-ui); display: flex; align-items: center; gap: 11px; max-width: 240px;
}
.jwx-case .float-tag__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.jwx-case .float-tag__ic svg { width: 17px; height: 17px; }
.jwx-case .float-tag b { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink-900); line-height: 1.2; }
.jwx-case .float-tag span { font-size: 11.5px; color: var(--ink-500); }

/* ============================================================================
   BOOCOCKS PHONE UI (interactive mock content)
   ============================================================================ */
.jwx-case .bc { font-family: var(--font-ui); height: 100%; display: flex; flex-direction: column; background: var(--cream); color: var(--ink); }
.jwx-case .bc__top { background: var(--forest-900); color: var(--cream); font-size: 9.5px; letter-spacing: 0.04em; text-align: center; padding: 7px 0 6px; font-weight: 500; }
.jwx-case .bc__nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 10px; background: var(--cream); }
.jwx-case .bc__logo { font-family: var(--font-serif); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; line-height: 0.92; text-align: center; color: var(--ink-900); }
.jwx-case .bc__logo small { display: block; font-family: var(--font-ui); font-size: 6px; letter-spacing: 0.32em; color: var(--ink-500); font-weight: 600; }
.jwx-case .bc__navic { display: flex; gap: 14px; color: var(--ink-700); }
.jwx-case .bc__navic svg { width: 18px; height: 18px; }
.jwx-case .bc__body { flex: 1; overflow: hidden; position: relative; }
.jwx-case .bc__sec-title { font-family: var(--font-serif); font-size: 17px; color: var(--ink-900); }
.jwx-case .bc-cta { background: var(--forest); color: #fff; border: 0; border-radius: 9px; padding: 12px; font-family: var(--font-ui); font-weight: 600; font-size: 13px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; transition: background .15s; }
.jwx-case .bc-cta:hover { background: var(--forest-700); }
.jwx-case .bc-cta svg { width: 15px; height: 15px; }

/* ============================================================================
   STORE ROUTER (interactive): suburb -> store + fulfilment
   ============================================================================ */
.jwx-case .router { background: var(--paper); border: 1px solid var(--ink-100); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-1); }
.jwx-case .router__seg { display: inline-flex; background: var(--cream-100); border-radius: var(--r-pill); padding: 4px; gap: 4px; margin-bottom: 20px; }
.jwx-case .router__seg button { font-family: var(--font-ui); font-weight: 600; font-size: 13px; border: 0; background: transparent; color: var(--ink-600); padding: 9px 18px; border-radius: var(--r-pill); cursor: pointer; transition: all .2s var(--ease); }
.jwx-case .router__seg button.is-on { background: var(--paper); color: var(--forest-700); box-shadow: var(--shadow-1); }
.jwx-case .router__field { display: flex; gap: 10px; }
.jwx-case .router__input { flex: 1; font-family: var(--font-ui); font-size: 15px; padding: 14px 16px; border: 1.5px solid var(--ink-200); border-radius: 12px; background: var(--cream-50); color: var(--ink-900); }
.jwx-case .router__input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px var(--forest-050); }
.jwx-case .router__sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.jwx-case .router__sugg button { font-family: var(--font-ui); font-size: 12.5px; font-weight: 500; padding: 7px 13px; border: 1px solid var(--ink-200); background: var(--paper); border-radius: var(--r-pill); cursor: pointer; color: var(--ink-700); transition: all .15s; }
.jwx-case .router__sugg button:hover { border-color: var(--forest); color: var(--forest-700); }
.jwx-case .router__result { margin-top: 22px; min-height: 132px; }
.jwx-case .route-card { border: 1px solid var(--ink-100); border-radius: var(--r-md); padding: 18px; background: var(--cream-50); display: grid; gap: 12px; animation: jwxRouteIn .4s var(--ease); }
@keyframes jwxRouteIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.jwx-case .route-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.jwx-case .route-store { display: flex; align-items: center; gap: 11px; }
.jwx-case .route-store__pin { width: 38px; height: 38px; border-radius: 10px; background: var(--forest); color: #fff; display: grid; place-items: center; }
.jwx-case .route-store__pin svg { width: 18px; height: 18px; }
.jwx-case .route-store b { font-family: var(--font-ui); font-weight: 700; font-size: 16px; color: var(--ink-900); }
.jwx-case .route-store span { font-size: 12px; color: var(--ink-500); }
.jwx-case .route-badge { font-family: var(--font-ui); font-weight: 600; font-size: 11px; letter-spacing: 0.04em; padding: 6px 11px; border-radius: var(--r-pill); }
.jwx-case .route-badge--ok { background: var(--forest-050); color: var(--forest-700); }
.jwx-case .route-badge--soon { background: #F6EAD3; color: var(--gold); }
.jwx-case .route-rows { display: grid; gap: 9px; }
.jwx-case .route-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 11px; align-items: center; font-size: 13px; color: var(--ink-700); }
.jwx-case .route-row svg { width: 15px; height: 15px; color: var(--forest); }
.jwx-case .route-row b { font-weight: 600; color: var(--ink-900); }

/* ============================================================================
   ATRIA <-> WooCommerce SYNC DIAGRAM (interactive / animated)
   ============================================================================ */
.jwx-case .sync {
  background: linear-gradient(170deg, #20231C, #14160F);
  border-radius: var(--r-xl); padding: clamp(26px, 4vw, 48px);
  color: var(--cream); position: relative; overflow: hidden;
  border: 1px solid rgba(124,136,82,0.18);
}
.jwx-case .sync::before { content: ""; position: absolute; inset: 0; background:
   radial-gradient(700px 300px at 18% 0%, rgba(42,111,219,0.14), transparent 60%),
   radial-gradient(700px 320px at 84% 100%, rgba(114,14,236,0.14), transparent 60%);
   pointer-events: none; }
.jwx-case .sync__hd { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.jwx-case .sync__hd h3 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 34px); color: var(--cream); }
.jwx-case .sync__live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); }
.jwx-case .sync__live i { width: 7px; height: 7px; border-radius: 99px; background: #8FB07A; box-shadow: 0 0 0 0 rgba(143,176,122,0.6); animation: jwxPulse 1.8s infinite; }
@keyframes jwxPulse { 70% { box-shadow: 0 0 0 8px rgba(143,176,122,0); } 100% { box-shadow: 0 0 0 0 rgba(143,176,122,0); } }

.jwx-case .sync__stage { position: relative; display: grid; grid-template-columns: 1fr clamp(80px, 12vw, 200px) 1fr; align-items: stretch; gap: 0; }
@media (max-width: 760px) { .jwx-case .sync__stage { grid-template-columns: 1fr; gap: 18px; } }
.jwx-case .sync-node { background: rgba(246,239,226,0.05); border: 1px solid rgba(246,239,226,0.12); border-radius: var(--r-lg); padding: 22px; position: relative; z-index: 2; }
.jwx-case .sync-node__cap { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.jwx-case .sync-node__logo { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-ui); font-weight: 800; font-size: 17px; flex-shrink: 0; }
.jwx-case .sync-node__logo--atria { background: var(--atria); color: #fff; }
.jwx-case .sync-node__logo--woo { background: var(--woo); color: #fff; }
.jwx-case .sync-node__nm { font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--cream); line-height: 1.1; }
.jwx-case .sync-node__nm span { display: block; font-weight: 500; font-size: 11px; color: var(--ink-300); letter-spacing: 0.04em; }
.jwx-case .sync-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(246,239,226,0.08); font-family: var(--font-ui); font-size: 12.5px; color: var(--cream-200); }
.jwx-case .sync-row:first-of-type { border-top: 0; }
.jwx-case .sync-row .d { width: 7px; height: 7px; border-radius: 99px; background: var(--moss); flex-shrink: 0; transition: all .3s; }
.jwx-case .sync-row.is-hot .d { background: #fff; box-shadow: 0 0 10px var(--moss); transform: scale(1.5); }
.jwx-case .sync-row.is-hot { color: #fff; }
.jwx-case .sync-row .amt { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--ink-300); }

/* center conduit */
.jwx-case .sync-mid { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
@media (max-width: 760px) { .jwx-case .sync-mid { flex-direction: row; } }
.jwx-case .sync-mid__pill { font-family: var(--font-ui); font-weight: 700; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-900); background: #fff; border: 1px solid #fff; padding: 7px 14px; border-radius: 99px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,0.28); }
/* animated flow track */
.jwx-case .sync-track { position: absolute; top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); background: rgba(246,239,226,0.12); overflow: visible; }
@media (max-width: 760px) { .jwx-case .sync-track { display: none; } }
.jwx-case .sync-packet { position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 99px; transform: translate(-50%, -50%); opacity: 0; }
.jwx-case .sync-packet--atria { background: var(--atria); box-shadow: 0 0 14px var(--atria); }
.jwx-case .sync-packet--woo { background: var(--woo); box-shadow: 0 0 14px var(--woo); }

.jwx-case .sync__legend { position: relative; display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(246,239,226,0.12); }
.jwx-case .sync__leg { display: flex; align-items: center; gap: 9px; font-family: var(--font-ui); font-size: 12.5px; color: var(--cream-200); }
.jwx-case .sync__leg i { width: 10px; height: 10px; border-radius: 3px; }
.jwx-case .sync__leg i.a { background: var(--atria); } .jwx-case .sync__leg i.w { background: var(--woo); }
.jwx-case .sync__steps { position: relative; display: grid; grid-template-columns: 1fr; gap: 2px; margin-top: 26px; }
@media (min-width: 720px) { .jwx-case .sync__steps { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.jwx-case .sync-step { padding: 16px 0; border-top: 2px solid rgba(246,239,226,0.12); transition: border-color .3s; }
.jwx-case .sync-step.is-on { border-color: var(--moss); }
.jwx-case .sync-step__n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-300); }
.jwx-case .sync-step.is-on .sync-step__n { color: var(--moss); }
.jwx-case .sync-step__t { font-family: var(--font-ui); font-weight: 600; font-size: 13.5px; color: var(--cream); margin-top: 5px; }
.jwx-case .sync-step__d { font-size: 12px; color: var(--ink-300); margin-top: 4px; line-height: 1.45; }

/* ============================================================================
   STAGE / process timeline
   ============================================================================ */
.jwx-case .timeline { display: grid; gap: 0; }
.jwx-case .tl-item { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 26px 0; border-top: 1px solid var(--ink-100); }
@media (max-width: 640px) { .jwx-case .tl-item { grid-template-columns: 1fr; gap: 8px; } }
.jwx-case .tl-item:last-child { border-bottom: 1px solid var(--ink-100); }
.jwx-case .tl-phase { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); }
.jwx-case .tl-phase span { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--ink-200); font-weight: 500; letter-spacing: -0.02em; margin-top: 4px; }
.jwx-case .tl-body h4 { font-size: 23px; margin-bottom: 8px; }
.jwx-case .tl-body p { font-size: 15px; color: var(--ink-600); max-width: 62ch; }

/* store rollout list */
.jwx-case .rollout { display: grid; gap: 12px; }
.jwx-case .rollout__row { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--ink-100); border-radius: var(--r-md); background: var(--paper); }
.jwx-case .rollout__row.is-live { border-color: var(--forest); background: var(--forest-050); }
.jwx-case .rollout__dot { width: 12px; height: 12px; border-radius: 99px; background: var(--ink-200); }
.jwx-case .rollout__row.is-live .rollout__dot { background: var(--forest); box-shadow: 0 0 0 4px var(--forest-100); }
.jwx-case .rollout__nm { font-family: var(--font-serif); font-size: 22px; color: var(--ink-900); }
.jwx-case .rollout__loc { font-family: var(--font-ui); font-size: 12.5px; color: var(--ink-500); }
.jwx-case .rollout__status { font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.04em; padding: 7px 14px; border-radius: var(--r-pill); }
.jwx-case .rollout__status--live { background: var(--forest); color: #fff; }
.jwx-case .rollout__status--soon { background: var(--cream-100); color: var(--ink-600); }

/* reveal on scroll */
.jwx-case .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.jwx-case .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .jwx-case .reveal { opacity: 1 !important; transform: none !important; } }

/* small utilities */
.jwx-case .mono { font-family: var(--font-mono); }
.jwx-case .u-center { text-align: center; }
.jwx-case .divider { height: 1px; background: var(--ink-100); border: 0; margin: 0; }
.jwx-case .kicker-num { font-family: var(--font-serif); font-size: 14px; color: var(--forest); font-weight: 600; }


/* ===== Theme overrides (was jw-theme.css) ===== */
.jwx-case {
  /* surfaces */
  --cream:        #FBFAFE;   /* page bg — near-white lilac */
  --cream-50:     #FFFFFF;
  --cream-100:    #F1EFFB;
  --cream-200:    #E6E3F6;
  --paper:        #FFFFFF;

  /* ink — cool violet-greys */
  --ink:          #2E2B40;
  --ink-900:      #211F30;
  --ink-800:      #353248;
  --ink-700:      #494454;
  --ink-600:      #635D78;
  --ink-500:      #837DA0;
  --ink-400:      #A39DBE;
  --ink-300:      #C3BED8;
  --ink-200:      #E0DCEF;
  --ink-100:      #ECE9F7;

  /* brand purple (maps onto every --forest* usage) */
  --forest:       #7069C0;
  --forest-600:   #5F57B2;
  --forest-700:   #514AA0;
  --forest-800:   #423B82;
  --forest-900:   #36315E;   /* dark sections */
  --forest-050:   #EEEDFF;
  --forest-100:   #E1DEF8;
  --moss:         #B7AEEA;    /* light accent on dark */

  /* misc accents */
  --rust:         #C0567A;    /* soft rose for negative/redeem accents */
  --rust-soft:    #D17E99;
  --gold:         #C9A14A;
  --woo:          #7069C0;     /* diagram accent A */
  --woo-50:       #EEEDFF;
  --atria:        #9B8FD6;     /* diagram accent B */
  --atria-50:     #EFEBFA;
  --ok:           #4F86C6;

  /* slightly tighter, clinical radii */
  --r-md: 14px; --r-lg: 20px; --r-xl: 30px;
}

.jwx-case ::selection { background: var(--forest); color: #fff; }

/* JW headings lean a touch lighter/airier */
.jwx-case .display { letter-spacing: -0.01em; }
.jwx-case .eyebrow { color: var(--forest); letter-spacing: 0.22em; }

/* soft lilac section variant */
.jwx-case .section--lilac { background: linear-gradient(180deg, #F4F2FD, #FBFAFE); }

/* brand wordmark feather accent */
.jwx-case .jw-feather { width: 30px; height: auto; display: inline-block; vertical-align: middle; }

/* hero gradient panel used behind the surgeon / CTA imagery */
.jwx-case .grad-purple { background: linear-gradient(135deg, #7E77CE 0%, #6C63B8 55%, #5A52A6 100%); }

/* ===== Page styles (was inline <style> in head) ===== */
/* ---------- JW hero device scene ---------- */
  .jwx-case .jhero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 0; position: relative; overflow: hidden; background: var(--cream); }
  .jwx-case .jhero__top { text-align: center; max-width: 900px; margin: 0 auto; }
  .jwx-case .jhero h1 { margin: 18px 0 20px; }
  .jwx-case .jhero__metabar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0 26px; }
  .jwx-case .jhero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
  .jwx-case .scene { position: relative; margin-top: clamp(40px,5vw,64px); }
  .jwx-case .scene__stage { position: relative; max-width: 1080px; margin: 0 auto; }
  .jwx-case .scene__glow { position: absolute; inset: -8% 6% -28% 6%; background: radial-gradient(52% 56% at 50% 32%, rgba(112,105,192,0.24), transparent 70%); filter: blur(12px); z-index: 0; }
  .jwx-case .scene__laptop { position: relative; z-index: 2; width: 76%; margin: 0 auto; }
  .jwx-case .scene__phone { position: absolute; z-index: 4; bottom: -48px; right: 2%; width: 196px; }
  @media (max-width: 880px) { .jwx-case .scene__laptop { width: 100%; } .jwx-case .scene__phone { right: -6px; width: 142px; } }
  @media (max-width: 540px) { .jwx-case .scene__phone { display: none; } }
  .jwx-case .float-tag.jt { position: absolute; z-index: 6; }
  .jwx-case .jt--a { top: 6%; left: -2%; } .jwx-case .jt--b { top: 46%; right: -3%; }
  @media (max-width: 1180px) { .jwx-case .float-tag.jt { display: none; } }

  /* clinic trust strip */
  .jwx-case .trust { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px 16px; }
  @media (min-width: 760px) { .jwx-case .trust { grid-template-columns: repeat(4,1fr); } }
  .jwx-case .trust__n { font-family: var(--font-serif); font-weight: 600; font-size: clamp(40px,5vw,62px); line-height: 1; color: var(--forest); letter-spacing: -0.01em; }
  .jwx-case .trust__l { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-600); margin-top: 10px; line-height: 1.4; max-width: 20ch; }
  .jwx-case .trust__item.rule { padding-left: 22px; border-left: 1px solid var(--ink-100); }
  @media (max-width: 760px) { .jwx-case .trust__item.rule:nth-child(3) { padding-left:0; border-left:0; } }

  /* ---------- multilingual / SEO architecture diagram ---------- */
  .jwx-case .arch { background: linear-gradient(170deg, #36315E, #262148); border-radius: var(--r-xl); padding: clamp(28px,4vw,52px); color: #fff; position: relative; overflow: hidden; border: 1px solid rgba(183,174,234,0.2); }
  .jwx-case .arch::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px 280px at 50% -8%, rgba(155,143,214,0.22), transparent 60%); }
  .jwx-case .arch__hd { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
  .jwx-case .arch__hd h3 { font-family: var(--font-serif); font-size: clamp(24px,3vw,34px); color: #fff; }
  .jwx-case .arch__live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); }
  .jwx-case .arch__live i { width: 7px; height: 7px; border-radius: 99px; background: var(--moss); box-shadow: 0 0 0 0 rgba(183,174,234,0.6); animation: jwxPulse 1.8s infinite; }
  .jwx-case .arch__stage { position: relative; display: grid; grid-template-columns: 1fr; gap: 18px; }
  @media (min-width: 760px) { .jwx-case .arch__stage { grid-template-columns: 1fr 1.1fr; align-items: center; } }
  .jwx-case .arch-hub { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-lg); padding: 24px; }
  .jwx-case .arch-hub__dom { font-family: var(--font-mono); font-size: 13px; color: #fff; display: flex; align-items: center; gap: 9px; }
  .jwx-case .arch-hub__dom .flag { width: 26px; height: 18px; border-radius: 3px; background: linear-gradient(135deg,#8b83d6,#6a62b6); display: inline-grid; place-items: center; font-family: var(--font-ui); font-weight: 700; font-size: 9px; color: #fff; }
  .jwx-case .arch-hub__t { font-family: var(--font-serif); font-size: 22px; margin: 12px 0 6px; color: #fff; }
  .jwx-case .arch-hub__d { font-size: 13px; color: var(--cream-200); line-height: 1.55; }
  .jwx-case .arch-langs { display: grid; gap: 12px; }
  .jwx-case .lang { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-md); padding: 13px 15px; transition: border-color .3s, background .3s; }
  .jwx-case .lang.is-hot { border-color: var(--moss); background: rgba(183,174,234,0.14); }
  .jwx-case .lang__flag { width: 30px; height: 21px; border-radius: 4px; display: grid; place-items: center; font-family: var(--font-ui); font-weight: 700; font-size: 10px; color: #fff; }
  .jwx-case .lang__nm { font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: #fff; }
  .jwx-case .lang__nm span { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--cream-200); font-weight: 400; margin-top: 2px; }
  .jwx-case .lang__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--moss); }
  .jwx-case .arch__steps { position: relative; display: grid; grid-template-columns: 1fr; gap: 2px; margin-top: 28px; }
  @media (min-width: 720px) { .jwx-case .arch__steps { grid-template-columns: repeat(4,1fr); gap: 14px; } }
  .jwx-case .astep { padding: 16px 0; border-top: 2px solid rgba(255,255,255,0.14); transition: border-color .3s; }
  .jwx-case .astep.is-on { border-color: var(--moss); }
  .jwx-case .astep__n { font-family: var(--font-mono); font-size: 11px; color: var(--cream-200); }
  .jwx-case .astep.is-on .astep__n { color: var(--moss); }
  .jwx-case .astep__t { font-family: var(--font-ui); font-weight: 600; font-size: 13.5px; color: #fff; margin-top: 5px; }
  .jwx-case .astep__d { font-size: 12px; color: var(--cream-200); margin-top: 4px; line-height: 1.45; }

  /* ---------- enquiry pathways ---------- */
  .jwx-case .paths { display: grid; grid-template-columns: 1fr; gap: 14px; }
  @media (min-width: 640px) { .jwx-case .paths { grid-template-columns: repeat(3,1fr); } }
  .jwx-case .path { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--ink-100); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .jwx-case .path:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
  .jwx-case .path__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
  .jwx-case .path__ic svg { width: 22px; height: 22px; }
  .jwx-case .path b { display: block; font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--ink-900); }
  .jwx-case .path span { font-size: 12.5px; color: var(--ink-500); }

  /* surgeon profile */
  .jwx-case .surg { display: grid; grid-template-columns: 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
  @media (min-width: 900px) { .jwx-case .surg { grid-template-columns: 0.9fr 1.1fr; align-items: start; } .jwx-case .surg__sticky { position: sticky; top: calc(var(--header-h, 72px) + 32px); } }
  .jwx-case .surg__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--ink-100); }
  .jwx-case .surg__img img { width: 100%; display: block; }
  .jwx-case .surg-cred { display: grid; gap: 12px; margin-top: 26px; }
  .jwx-case .surg-cred__row { display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start; font-family: var(--font-ui); font-size: 15px; color: var(--ink-800); }
  .jwx-case .surg-cred__row .tick { width: 24px; height: 24px; border-radius: 99px; background: var(--forest-050); color: var(--forest); display: grid; place-items: center; margin-top: 1px; }
  .jwx-case .surg-cred__row .tick svg { width: 13px; height: 13px; }

  /* screens gallery */
  .jwx-case .sgrid { display: grid; grid-template-columns: 1fr; gap: 18px; }
  @media (min-width: 760px) { .jwx-case .sgrid { grid-template-columns: 1fr 1fr; } }
  .jwx-case .scard { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); box-shadow: var(--shadow-3); background: var(--paper); }
  .jwx-case .scard--wide { grid-column: 1 / -1; }
  .jwx-case .scard__view { background: #15131f; overflow: hidden; }
  .jwx-case .scard__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
  .jwx-case .scard__cap { display: flex; align-items: baseline; gap: 12px; padding: 15px 20px; background: var(--forest-900); border-top: 1px solid rgba(255,255,255,0.1); font-family: var(--font-ui); font-size: 14px; color: var(--cream-100); }
  .jwx-case .scard__cap b { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss); }


/* ============================================================================
   WordPress / Salient coexistence layer
   ============================================================================ */

/* Full-bleed breakout. The horizontal-overflow clip lives on BODY, not on the
   .jwx-case wrapper, and uses `clip` (not `hidden`). This matters for
   position:sticky: `hidden` on the wrapper/body would coerce overflow-y to
   `auto`, making it a scroll container and silently disabling every sticky
   descendant (the surgeon-profile column). `clip` is exempt from that coercion
   and never creates a scroll container, so sticky keeps working. */
.jwx-case {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
body:has(.jwx-case) { overflow-x: clip; }

/* Salient adds border-bottom underlines to content links */
.jwx-case a,
.jwx-case a:hover { border-bottom: 0; box-shadow: none; }

/* Gallery cover fix.
   Salient ships `#ajax-content-wrap img { height: auto !important }`. An ID
   selector out-specifies any class-only rule, so a `.jwx-case .scard__view img`
   override (even with !important) loses and the screenshot renders at its full
   natural height instead of cropping to the card. We match Salient's ID to win,
   and keep a plain class rule as the fallback for non-Salient contexts. */
.jwx-case .scard__view { position: relative; }
.jwx-case .scard__view img,
#ajax-content-wrap .jwx-case .scard__view img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Surgeon-profile sticky column. --header-h is 0 here (Salient owns the site
   header), so the source offset of header-h + 32px collapses to 32px and the
   sticky heading tucks under Salient's fixed nav. Clear it. */
@media (min-width: 900px) {
    .jwx-case .surg__sticky { top: 100px; }
}

/* Salient: word-break: break-word on columns splits compound words */
.jwx-case h1, .jwx-case h2, .jwx-case h3, .jwx-case h4,
.jwx-case .display, .jwx-case .h2, .jwx-case .h3 {
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Salient: body[data-button-style^="rounded"] button { border-radius: 200px !important }
   All widget buttons here are pill-shaped already; lock the pill so it stays intentional. */
.jwx-case .btn,
.jwx-case button.btn { border-radius: 999px !important; }

/* Neutralise theme button chrome on widget buttons */
.jwx-case button {
    background-image: none;
    text-transform: none;
    -webkit-appearance: none;
    appearance: none;
}
