/* Shared Case Study CSS - cleaned 2026-07-03
   Warm, calm, business-focused case-study components. */

:root {
  --bg: #fbfaf7;
  --bg-soft: #f6f2ea;
  --surface: #ffffff;
  --surface-2: #f3f0e9;
  --text: #1f2933;
  --muted: #6b7280;
  --accent: #1f4d5a;
  --accent-dark: #173b45;
  --accent-2: #7c6f57;
  --border: rgba(31, 41, 51, 0.12);
  --shadow-soft: 0 18px 45px rgba(31, 41, 51, 0.08);
  --shadow-card: 0 10px 28px rgba(31, 41, 51, 0.07);
}

* { box-sizing: border-box; }

.case-study-page {
  background: radial-gradient(circle at top left, rgba(31, 77, 90, 0.08), transparent 34rem), linear-gradient(180deg, var(--bg), #f8f5ee 100%);
  color: var(--text);
}

.case-container { width: min(90%, 1300px); margin: 0 auto; }
.case-section { padding: 96px 0; }
.case-section--soft { background: rgba(246, 242, 234, 0.72); }
.case-section--compact { padding: 64px 0; }
.case-section-header { max-width: 820px; margin-bottom: 36px; }
.case-section-header--center { margin-left: auto; margin-right: auto; text-align: center; }

.case-kicker,
.case-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.case-heading,
.case-subheading,
.case-hero-title { color: var(--text); }

.case-heading {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 18px;
}

.case-subheading {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.case-lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  max-width: 760px;
}

.case-hero {
  align-items: center;
  display: flex;
  min-height: 82vh;
  overflow: hidden;
  padding: 150px 0 92px;
  position: relative;
}

.case-hero::before {
  background: rgba(31, 77, 90, 0.08);
  border-radius: 50%;
  content: "";
  height: 460px;
  pointer-events: none;
  position: absolute;
  right: -140px;
  top: 8%;
  width: 460px;
}

.case-hero-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  position: relative;
  z-index: 1;
}

.case-hero h1,
.case-hero-title {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 900px;
}

.case-hero-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
  margin: 0 0 28px;
  max-width: 760px;
}

.case-tag-row,
.case-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.case-tag-row { margin-top: 26px; }
.case-actions { gap: 14px; margin-top: 30px; }

.case-tag {
  align-items: center;
  background: rgba(31, 77, 90, 0.09);
  border: 1px solid rgba(31, 77, 90, 0.12);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 14px;
}

.case-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  padding: 15px 24px;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.case-btn:hover { transform: translateY(-2px); }
.case-btn--primary { background: var(--accent); color: #ffffff; }
.case-btn--primary:hover { background: var(--accent-dark); }
.case-btn--secondary { background: rgba(255, 255, 255, 0.68); border-color: var(--border); color: var(--text); }
.case-btn--secondary:hover { background: var(--surface); border-color: rgba(31, 77, 90, 0.28); color: var(--accent); }

.case-snapshot-card,
.case-card,
.case-visual-frame,
.case-architecture,
.case-table-wrap,
.case-comparison-card,
.case-note {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.case-snapshot-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 240, 233, 0.92));
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 34px;
  position: relative;
}

.case-snapshot-title { color: var(--text); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; position: relative; }
.case-snapshot-list { display: grid; gap: 16px; position: relative; }
.case-snapshot-item { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.case-snapshot-item:last-child { border-bottom: 0; padding-bottom: 0; }
.case-snapshot-label { color: var(--accent); display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; margin-bottom: 6px; text-transform: uppercase; }
.case-snapshot-value { color: var(--text); display: block; font-size: 16px; font-weight: 650; line-height: 1.55; }

/* odoo-hero-snapshot-polish: 20260707-v1 */
#odoo-case-title ~ .case-hero-copy {
  font-size: 0;
  max-width: 640px;
}

#odoo-case-title ~ .case-hero-copy::before {
  color: var(--muted);
  content: "I translated Odoo order flows into dashboard views that make progress, issues, and follow-up points easier to review.";
  display: block;
  font-size: 18px;
  line-height: 1.78;
}

.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(1) .case-snapshot-label::before { content: "◈ "; }
.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(2) .case-snapshot-label::before { content: "◉ "; }
.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(3) .case-snapshot-label::before { content: "⌁ "; }
.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(4) .case-snapshot-label::before { content: "▦ "; }
.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(5) .case-snapshot-label::before { content: "✦ "; }
.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(6) .case-snapshot-label::before { content: "✓ "; }

/* odoo-snapshot-takeaway-copy: 20260707-v1 */
.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(6) .case-snapshot-label {
  font-size: 0;
}

.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(6) .case-snapshot-label::before {
  content: "✓ Key takeaway";
  font-size: 12px;
}

.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(6) .case-snapshot-value {
  font-size: 0;
}

.case-hero[aria-labelledby="odoo-case-title"] .case-snapshot-item:nth-child(6) .case-snapshot-value::before {
  content: "Messy ERP work can become clearer dashboard views for progress, issues, and follow-up.";
  display: block;
  font-size: 16px;
  line-height: 1.55;
}

.case-grid { display: grid; gap: 24px; }
.case-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* odoo-business-context-case-file: 20260707-v1 */
#business-context .case-section-header {
  margin-bottom: 34px;
}

#business-context .case-lead {
  font-size: 0;
  max-width: 760px;
}

#business-context .case-lead::before {
  color: var(--muted);
  content: "The records were already inside Odoo. The challenge was reading them as one business case.";
  display: block;
  font-size: 18px;
  line-height: 1.72;
}

#business-context .context-card-grid {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(246, 242, 234, 0.70));
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  margin-top: 0;
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px);
  position: relative;
}

#business-context .context-card-grid::before {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 77, 90, 0.11);
  border-radius: 999px;
  color: var(--accent);
  content: "1  Case opened   →   2  Clues traced   →   3  Summary reviewed";
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  grid-column: 1 / -1;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 12px 16px;
  text-transform: uppercase;
  width: fit-content;
}

#business-context .context-card-grid::after {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 77, 90, 0.10);
  border-radius: 22px;
  color: var(--muted);
  content: "ERP records existed in different places  →  Relationships had to be interpreted  →  The dashboard became the shared review summary";
  display: block;
  font-size: 14px;
  font-weight: 650;
  grid-column: 1 / -1;
  line-height: 1.55;
  padding: 16px 18px;
  text-align: center;
}

#business-context .context-card-grid .case-card {
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transform: none;
}

#business-context .context-card-grid .case-card:hover {
  transform: none;
}

#business-context .context-card-grid .case-card:nth-child(1) {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(31, 77, 90, 0.13);
  grid-row: span 2;
  min-height: 430px;
  padding: 30px;
}

#business-context .context-card-grid .case-card:nth-child(1)::before,
#business-context .context-card-grid .case-card:nth-child(2)::before,
#business-context .context-card-grid .case-card:nth-child(3)::before {
  color: var(--accent);
  display: block;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

#business-context .context-card-grid .case-card:nth-child(1)::before {
  content: "ERP Case File";
}

#business-context .context-card-grid .case-card:nth-child(1) h3 {
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.05em;
  line-height: 1.06;
  margin-bottom: 14px;
}

#business-context .context-card-grid .case-card:nth-child(1) p {
  font-size: 15.5px;
  line-height: 1.68;
  max-width: 690px;
}

#business-context .context-card-grid .case-card:nth-child(1)::after {
  background: linear-gradient(145deg, rgba(246, 242, 234, 0.92), rgba(255, 255, 255, 0.92));
  border: 1px dashed rgba(31, 77, 90, 0.20);
  border-radius: 24px;
  color: var(--text);
  content: "Sales Order\A Purchase Order\A Manufacturing\A Delivery\A Invoice\A Payment";
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 2.05;
  margin-top: 24px;
  padding: 20px 22px 20px 42px;
  white-space: pre-line;
}

#business-context .context-card-grid .case-card:nth-child(2) {
  background: linear-gradient(145deg, rgba(31, 77, 90, 0.09), rgba(246, 242, 234, 0.88));
  border-color: rgba(31, 77, 90, 0.14);
  padding: 28px;
}

#business-context .context-card-grid .case-card:nth-child(2)::before {
  content: "Case Summary";
}

#business-context .context-card-grid .case-card:nth-child(2) h3 {
  font-size: 0;
  margin: 0;
}

#business-context .context-card-grid .case-card:nth-child(2) h3::after {
  color: var(--text);
  content: "What the dashboard needed to answer";
  display: block;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 14px;
}

#business-context .context-card-grid .case-card:nth-child(2) p {
  color: var(--text);
  font-size: 0;
  line-height: 0;
}

#business-context .context-card-grid .case-card:nth-child(2) p::after {
  color: var(--text);
  content: "?  Where is the order now?\A!  What needs attention?\A↗  Who or what needs follow-up?\A✓  Can the progress be trusted?";
  display: block;
  font-size: 14.5px;
  font-weight: 750;
  line-height: 2;
  white-space: pre-line;
}

#business-context .context-card-grid .case-card:nth-child(3) {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(31, 77, 90, 0.12);
  padding: 28px;
}

#business-context .context-card-grid .case-card:nth-child(3)::before {
  content: "Review Summary";
}

#business-context .context-card-grid .case-card:nth-child(3) h3 {
  font-size: 0;
  margin: 0;
}

#business-context .context-card-grid .case-card:nth-child(3) h3::after {
  color: var(--text);
  content: "From scattered clues to shared review";
  display: block;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 12px;
}

#business-context .context-card-grid .case-card:nth-child(3) p {
  font-size: 0;
  line-height: 0;
}

#business-context .context-card-grid .case-card:nth-child(3) p::after {
  color: var(--muted);
  content: "The work was to turn scattered ERP clues into progress, issue, and follow-up visibility people could review.";
  display: block;
  font-size: 15px;
  line-height: 1.65;
}

/* odoo-business-context-case-file: 20260707-v2 */
#business-context .case-lead {
  font-size: 18px;
  line-height: 1.72;
  max-width: 760px;
}

#business-context .case-lead::before {
  content: none;
}

.erp-case-file {
  background:
    radial-gradient(circle at 8% 10%, rgba(31, 77, 90, 0.08), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(246, 242, 234, 0.74));
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 22px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px);
}

.erp-case-trail,
.erp-case-thread {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.erp-case-trail li,
.erp-case-thread li {
  align-items: center;
  display: inline-flex;
  position: relative;
}

.erp-case-trail {
  color: var(--accent);
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.erp-case-trail li {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 77, 90, 0.11);
  border-radius: 999px;
  line-height: 1.2;
  padding: 11px 14px;
}

.erp-case-trail li:not(:last-child)::after,
.erp-case-thread li:not(:last-child)::after {
  color: rgba(31, 77, 90, 0.46);
  content: "\2192";
  font-weight: 900;
  margin-left: 10px;
}

.erp-case-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
}

.erp-case-panel {
  border: 1px solid rgba(31, 77, 90, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  position: relative;
}

.erp-case-panel--main {
  background: rgba(255, 255, 255, 0.84);
  padding: clamp(24px, 3vw, 34px);
}

.erp-case-panel--summary {
  background: linear-gradient(145deg, rgba(31, 77, 90, 0.09), rgba(246, 242, 234, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 32px);
}

.erp-case-label {
  color: var(--accent);
  display: block;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 13px;
  text-transform: uppercase;
}

.erp-case-panel h3 {
  color: var(--text);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1.06;
  margin: 0 0 14px;
}

.erp-case-panel p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.68;
  margin: 0;
  max-width: 720px;
}

.erp-evidence-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.erp-evidence-card {
  background: linear-gradient(145deg, rgba(246, 242, 234, 0.82), rgba(255, 255, 255, 0.88));
  border: 1px dashed rgba(31, 77, 90, 0.2);
  border-radius: 18px;
  padding: 16px;
}

.erp-evidence-card strong {
  color: var(--text);
  display: block;
  font-size: 14.5px;
  font-weight: 850;
  line-height: 1.25;
  margin-bottom: 7px;
}

.erp-evidence-card span {
  color: var(--muted);
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
}

.erp-case-questions {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.erp-case-questions li {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 77, 90, 0.1);
  border-radius: 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.4;
  padding: 14px 15px;
}

.erp-case-thread {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 77, 90, 0.1);
  border-radius: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  justify-content: center;
  line-height: 1.55;
  padding: 16px 18px;
  text-align: center;
}

.case-card { border-radius: 24px; padding: 28px; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.case-card:hover { border-color: rgba(31, 77, 90, 0.22); box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.case-card h3 { color: var(--text); font-size: 22px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 12px; }
.case-card p { color: var(--muted); font-size: 15.5px; line-height: 1.72; margin: 0; }
.case-card-number { align-items: center; background: rgba(31, 77, 90, 0.09); border: 1px solid rgba(31, 77, 90, 0.12); border-radius: 999px; color: var(--accent); display: inline-flex; font-size: 12px; font-weight: 900; height: 34px; justify-content: center; margin-bottom: 18px; width: 56px; }

.case-visual-frame { border-radius: 28px; box-shadow: var(--shadow-soft); overflow: hidden; }
.case-browser-bar { align-items: center; background: rgba(31, 77, 90, 0.06); border-bottom: 1px solid var(--border); display: flex; gap: 8px; padding: 14px 18px; }
.case-browser-dot { background: rgba(31, 77, 90, 0.28); border-radius: 999px; display: block; height: 10px; width: 10px; }
.case-visual-content { padding: 24px; }
.case-visual-frame img { border-radius: 18px; display: block; height: auto; width: 100%; }
.case-caption { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 14px 0 0; }

.case-architecture { border-radius: 28px; padding: 38px; }
.case-architecture-flow { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(260px, 1fr)); }
.case-architecture-step { background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 26px; }
.architecture-step-icon { align-items: center; background: rgba(31, 77, 90, 0.09); border: 1px solid rgba(31, 77, 90, 0.12); border-radius: 16px; color: var(--accent); display: inline-flex; font-size: 18px; font-weight: 800; height: 42px; justify-content: center; margin-bottom: 18px; width: 42px; }
.case-architecture-step span { color: var(--accent); display: block; font-size: 12px; font-weight: 900; letter-spacing: 0.1em; margin-bottom: 12px; text-transform: uppercase; }
.case-architecture-step strong { color: var(--text); display: block; font-size: 20px; line-height: 1.25; margin-bottom: 12px; }
.case-architecture-step p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }

.case-table-wrap { border-radius: 24px; overflow-x: auto; }
.case-table { border-collapse: collapse; min-width: 900px; width: 100%; }
.case-table th,
.case-table td { border-bottom: 1px solid rgba(31, 41, 51, 0.09); padding: 16px 18px; text-align: left; vertical-align: top; }
.case-table th { background: var(--surface-2); color: var(--text); font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.case-table td { color: #44505a; font-size: 14.5px; line-height: 1.55; }
.case-table tr:last-child td { border-bottom: 0; }
.case-status-badge { align-items: center; background: rgba(31, 77, 90, 0.08); border: 1px solid rgba(31, 77, 90, 0.12); border-radius: 999px; color: var(--accent); display: inline-flex; font-size: 12px; font-weight: 800; line-height: 1; padding: 8px 10px; white-space: nowrap; }

.case-comparison-grid { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-comparison-card,
.case-note { border-radius: 24px; padding: 28px; }
.case-comparison-card h3,
.case-note h3 { color: var(--text); margin: 0 0 12px; }
.case-comparison-card ul,
.case-note ul { list-style: none; margin: 0; padding: 0; }
.case-comparison-card li,
.case-note li { border-bottom: 1px solid var(--border); color: var(--muted); font-size: 15.5px; line-height: 1.65; padding: 14px 0; }
.case-comparison-card li:last-child,
.case-note li:last-child { border-bottom: 0; }
.case-note { background: rgba(31, 77, 90, 0.07); border-color: rgba(31, 77, 90, 0.14); }
.case-note p { color: var(--muted); line-height: 1.72; margin: 0; }

.case-cta { align-items: center; background: linear-gradient(145deg, rgba(31, 77, 90, 0.96), rgba(124, 111, 87, 0.88)); border-radius: 28px; color: #ffffff; display: flex; gap: 28px; justify-content: space-between; padding: 34px; }
.case-cta h2,
.case-cta h3 { color: #ffffff; margin: 0 0 10px; }
.case-cta p { color: rgba(255, 255, 255, 0.78); margin: 0; max-width: 720px; }

/* case-study-css-cleanup-version: 20260703-v1 */
/* logic-translation-board-clean-html-version: 20260703-v1 */
.logic-translation-board { background: rgba(246, 242, 234, 0.58); border: 1px solid rgba(31, 77, 90, 0.12); border-radius: 28px; display: grid; gap: 12px; margin-top: 24px; padding: 18px; }
.logic-translation-header,
.logic-translation-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr); }
.logic-translation-header { background: rgba(31, 77, 90, 0.08); border: 1px solid rgba(31, 77, 90, 0.12); border-radius: 16px; color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: 0.05em; padding: 12px 14px; text-transform: uppercase; }
.logic-translation-header span:nth-child(1) { grid-column: 1; }
.logic-translation-header span:nth-child(2) { grid-column: 3; }
.logic-translation-header span:nth-child(3) { grid-column: 5; }
.logic-translation-row { align-items: stretch; background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(31, 77, 90, 0.12); border-radius: 18px; box-shadow: 0 8px 20px rgba(31, 41, 51, 0.05); padding: 14px; }
.logic-translation-cell { align-content: start; display: grid; gap: 6px; min-width: 0; }
.logic-translation-label { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: 0.08em; line-height: 1.35; text-transform: uppercase; }
.logic-translation-value { color: var(--text); font-size: 14.5px; font-weight: 750; line-height: 1.38; }
.logic-translation-arrow { align-items: center; color: rgba(31, 77, 90, 0.66); display: inline-flex; font-size: 16px; font-weight: 900; justify-content: center; }

/* odoo-process-diagram-sizing-fix: 20260707-v1 */
#process-complexity .process-complexity__scroll > svg {
  display: block;
  height: auto;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

/* odoo-process-diagram-title-cleanup: 20260707-v1 */
#process-complexity .process-complexity__frame::before {
  color: #0f172a;
  content: "Business Process";
  display: block;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 4px 0 14px;
  text-align: center;
}

#process-complexity .process-complexity__scroll {
  --process-diagram-title-crop: clamp(58px, 5.4vw, 82px);
  overflow-y: hidden;
}

#process-complexity .process-complexity__scroll > svg {
  margin-top: calc(var(--process-diagram-title-crop) * -1);
}

@media (min-width: 961px) {
  #process-complexity .process-complexity__wide {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(96vw, 1440px) !important;
  }

  #process-complexity .process-complexity__scroll > svg {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
}

@media (max-width: 960px) {
  #process-complexity .process-complexity__scroll {
    --process-diagram-title-crop: 62px;
  }

  #process-complexity .process-complexity__scroll > svg {
    max-width: none;
    min-width: 1120px;
  }
}

@media (max-width: 1100px) { .case-architecture-flow { grid-template-columns: repeat(2, minmax(260px, 1fr)); } }

@media (max-width: 920px) {
  .case-section { padding: 78px 0; }
  .case-hero { min-height: auto; padding: 136px 0 74px; }
  .case-hero-grid,
  .case-grid--2,
  .case-grid--3,
  .case-comparison-grid { grid-template-columns: 1fr; }
  .case-snapshot-card,
  .case-architecture { padding: 28px; }
  .case-cta { align-items: flex-start; flex-direction: column; }

  #business-context .context-card-grid {
    grid-template-columns: 1fr;
  }

  #business-context .context-card-grid .case-card:nth-child(1) {
    grid-row: auto;
    min-height: auto;
  }

  .erp-case-layout {
    grid-template-columns: 1fr;
  }

  .erp-case-panel--summary {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .logic-translation-header { display: none; }
  .logic-translation-row { grid-template-columns: 1fr; }
  .logic-translation-arrow { min-height: 22px; transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .case-container { width: 92%; }
  .case-section { padding: 64px 0; }
  .case-hero { padding: 126px 0 64px; }
  .case-hero h1,
  .case-hero-title { font-size: 40px; }
  .case-heading { font-size: 34px; }
  .case-lead,
  .case-hero-copy { font-size: 16px; }
  .case-btn { width: 100%; }
  .case-card,
  .case-comparison-card,
  .case-note,
  .case-architecture,
  .case-visual-content,
  .case-cta { padding: 22px; }
  .case-architecture-flow { grid-template-columns: 1fr; }
  .case-architecture-step { padding: 22px; }

  #business-context .context-card-grid {
    border-radius: 26px;
    padding: 18px;
  }

  #business-context .context-card-grid::before,
  #business-context .context-card-grid::after {
    border-radius: 20px;
    width: 100%;
  }

  #business-context .context-card-grid::before {
    line-height: 1.65;
  }

  #business-context .context-card-grid .case-card:nth-child(1)::after {
    padding-left: 20px;
  }

  #business-context .case-lead {
    font-size: 16px;
  }

  .erp-case-file {
    border-radius: 26px;
    gap: 18px;
    padding: 18px;
  }

  .erp-case-trail,
  .erp-case-thread {
    flex-direction: column;
  }

  .erp-case-trail li,
  .erp-case-thread li {
    width: 100%;
  }

  .erp-case-trail li:not(:last-child)::after,
  .erp-case-thread li:not(:last-child)::after {
    content: "\2193";
    margin-left: auto;
  }

  .erp-case-panel {
    border-radius: 22px;
  }

  .erp-evidence-grid {
    grid-template-columns: 1fr;
  }

  .erp-case-thread {
    text-align: left;
  }
}
