/* The project’s geometric chat identity stays scoped to its case study. */
.sambalpuri-theme {
  --ink: #05245e;
  --muted: #526580;
  --accent: #0754d1;
  --accent-hover: #003ca5;
  --accent-soft: #eef5ff;
  --secondary: #eef5ff;
  --border: #ccdcf2;
  background: #fbfdff;
}
.sambalpuri-theme .site-header { background: #fbfdff; border-bottom: 2px solid #05245e; }
.sambalpuri-theme .monogram { border-color: #007cff; }
.sambalpuri-hero {
  position: relative;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 40px;
  padding: 48px 40px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.sambalpuri-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 16px;
  background: #05245e url('/assets/sambalpuri-geometry.svg') repeat-x center;
  background-size: 64px 16px;
}
.sambalpuri-hero .eyebrow { color: var(--accent); }
.sambalpuri-hero h1 { font-size: clamp(40px,4.3vw,58px); letter-spacing: -2px; }
.sambalpuri-hero .case-headline { max-width: 480px; }
.sambalpuri-brand { text-align: center; }
.sambalpuri-brand img { width: 100%; max-width: 390px; margin-inline: auto; }
.sambalpuri-brand figcaption { font: 12px/1.7 var(--mono); color: var(--accent); margin-top: 4px; }
.sambalpuri-theme .case-meta { background: #05245e; color: #fff; border: 0; border-radius: 10px; padding: 24px; }
.sambalpuri-theme .case-meta dt { color: #c0d8ff; }
.sambalpuri-theme .case-meta dd { font-weight: 500; }


.sambalpuri-theme .section-heading h2 { position: relative; border-left: 0; padding-left: 28px; }
.sambalpuri-theme .section-heading h2::before { content: ''; position: absolute; width: 12px; height: 12px; left: 2px; top: .42em; background: #0754df; transform: rotate(45deg); box-shadow: 4px -4px 0 #c6e5ff; }
.sambalpuri-theme .resource-grid { gap: 20px; }
.sambalpuri-theme .resource-grid article { background: #fff; border: 1px solid var(--border); border-top: 3px solid #0754df; border-radius: 8px; padding: 24px; }
.sambalpuri-theme .workflow-number { color: var(--accent); }
.sambalpuri-theme .architecture-figure { border-top: 3px solid #05245e; background: #fff; }
.sambalpuri-theme .architecture-flow li { background: #fff; }
.sambalpuri-theme .architecture-flow li>span { display: inline-grid; place-items: center; min-width: 30px; min-height: 30px; background: #eef5ff; border: 1px solid var(--border); border-radius: 4px; }
.sambalpuri-theme .scope-note { border-left-color: #007cff; }
.sambalpuri-theme .case-details { background: #fff; }
.sambalpuri-theme .case-closing { position: relative; padding-bottom: 32px; border-top: 2px solid #05245e; }
.sambalpuri-theme .case-closing::after { content: ''; height: 8px; position: absolute; inset: auto 0 0; background: url('/assets/sambalpuri-geometry.svg') repeat-x center; background-size: 48px 12px; }
.sambalpuri-theme .site-footer { background: #eef5ff; }
@media(max-width:900px) {
  .sambalpuri-hero { padding: 40px 28px 28px; gap: 24px; }
  .sambalpuri-theme .primary-nav { background: #fbfdff; }
}
@media(max-width:740px) {
  .sambalpuri-hero { grid-template-columns: 1fr; }
  .sambalpuri-brand { grid-row: 1; }
  .sambalpuri-brand img { max-width: 260px; }
  .sambalpuri-brand figcaption { font-size: 11px; }
  .sambalpuri-hero h1 { font-size: 42px; margin-top: 16px; }
}
@media(max-width:480px) {
  .sambalpuri-hero { padding: 28px 20px 24px; gap: 28px; }
  .sambalpuri-brand img { max-width: 230px; }
  .sambalpuri-hero h1 { font-size: clamp(34px,9vw,40px); letter-spacing: -1.5px; }
  .sambalpuri-hero .case-headline { font-size: 20px; }
  .sambalpuri-theme .case-meta { padding: 20px; }
  .sambalpuri-theme .case-meta dd { font-size: 12px; }
  
  .sambalpuri-theme .resource-grid article { padding: 20px; }
  .sambalpuri-theme .section-heading h2 { padding-left: 24px; }
}
.sambalpuri-hero h1 { line-height: 1.12; }
.samlingo-subtitle { display: block; font-size: 24px; font-weight: 500; line-height: 1.45; letter-spacing: -.5px; margin-top: 16px; }
.sambalpuri-brand .samlingo-symbol { max-width: 340px; margin-inline: auto; }
.sambalpuri-brand .samlingo-symbol img { width: 137.81%; max-width: none; margin: 0; }
.sambalpuri-brand .samlingo-wordmark { margin-top: 12px; margin-bottom: 16px; }
.case-actions .resource-button { background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 8px; padding: 12px 16px; min-height: 46px; font-size: 14px; line-height: 1.5; text-decoration: none; }
.case-actions .resource-button:hover { background: var(--accent-hover); }
@media(max-width:740px) { .sambalpuri-brand .samlingo-symbol { max-width: 210px; } .samlingo-subtitle { font-size: 22px; } }
@media(max-width:480px) { .sambalpuri-brand .samlingo-symbol { max-width: 180px; } .samlingo-subtitle { font-size: 20px; } .case-actions .resource-button { width: 100%; justify-content: center; font-size: 13px; padding-inline: 12px; } }

/* Keep wide research tables readable and keyboard-scrollable on small screens. */
.samlingo-table-wrap { max-width: 100%; overflow-x: auto; margin-block: 28px 16px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.samlingo-table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.samlingo-table { width: 100%; min-width: 560px; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.6; }
.samlingo-table caption { padding: 16px 20px; text-align: left; color: var(--muted); font-size: 13px; }
.samlingo-table th, .samlingo-table td { padding: 14px 20px; border-top: 1px solid var(--border); vertical-align: top; }
.samlingo-table thead { background: #05245e; color: #fff; }
.samlingo-table thead th { font-weight: 550; white-space: nowrap; }
.samlingo-table tbody th { font-weight: 500; }
.samlingo-table tbody tr:nth-child(even) { background: #f3f7ff; }
.samlingo-table .table-total { font-weight: 650; }
.benchmark-table td:nth-child(3) { color: #003ca5; font-weight: 700; }
.samlingo-subheading { margin-top: 44px; font-size: 23px; letter-spacing: -.5px; }
.report-download { margin-block: 16px; }
.sambalpuri-theme code { font-size: .9em; overflow-wrap: anywhere; }
@media(max-width:480px) { .samlingo-table th, .samlingo-table td { padding: 12px 16px; } .samlingo-table caption { padding: 14px 16px; } }

.mobile-benchmark { display: none; }
@media(max-width:740px) {
 .sambalpuri-theme .case-page { padding-top: 12px; }
 .sambalpuri-theme .breadcrumbs { margin-bottom: 12px; }
 .sambalpuri-hero { padding: 28px 20px 20px; gap: 0; }
 .sambalpuri-brand { position: absolute; right: 20px; top: 28px; width: 52px; }
 .sambalpuri-brand .samlingo-symbol { width: 52px; }
 .sambalpuri-brand .samlingo-wordmark, .sambalpuri-brand figcaption { display: none; }
 .sambalpuri-hero .eyebrow { max-width: calc(100% - 68px); font-size: 10px; line-height: 1.6; min-height: 36px; letter-spacing: .6px; }
 .sambalpuri-hero h1 { font-size: 38px; letter-spacing: -1.5px; margin: 10px 0 16px; }
 .samlingo-subtitle { font-size: 19px; line-height: 1.45; margin-top: 10px; letter-spacing: -.3px; }
 .sambalpuri-hero .lede { font-size: 15px; line-height: 1.65; }
 .sambalpuri-hero .case-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 10px; margin-top: 20px; }
 .sambalpuri-hero .case-actions .resource-button { grid-column: 1/-1; width: 100%; font-size: 14px; min-height: 48px; }
 .sambalpuri-hero .case-actions .text-link { padding: 10px 8px; border: 1px solid var(--border); border-radius: 8px; background: #f3f7ff; font-size: 13px; line-height: 1.4; text-align: center; justify-content: center; text-decoration: none; }
 .sambalpuri-theme .case-meta { margin-top: 20px; padding: 20px; gap: 20px 16px; }
 .sambalpuri-theme .case-meta dd { font-size: 14px; line-height: 1.5; }
 
 
 .sambalpuri-theme .case-page>.case-section { margin-top: 36px; }
 .sambalpuri-theme .case-section .section-heading h2 { font-size: 25px; letter-spacing: -.7px; }
 .sambalpuri-theme .case-two-column { gap: 20px; margin-top: 20px; }
 .sambalpuri-theme .resource-grid { gap: 12px; margin-top: 24px; }
 .sambalpuri-theme .resource-grid article { padding: 18px; }
 .sambalpuri-theme .resource-grid h3 { font-size: 20px; }
 .sambalpuri-theme .case-details { padding-inline: 16px; }
 .sambalpuri-theme .case-details summary { font-size: 15px; }
 .benchmark-data { display: none; }
 .mobile-benchmark { display: block; margin-top: 24px; }
 .mobile-benchmark>a:first-child { display: block; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
 .mobile-benchmark img { width: 100%; height: auto; object-fit: contain; }
 .mobile-benchmark>.text-link { margin-top: 4px; font-size: 14px; }
 .samlingo-table-wrap { overflow: visible; border: 0; background: transparent; margin-top: 20px; }
 .samlingo-table { display: block; min-width: 0; font-size: 14px; }
 .samlingo-table caption { display: block; width: 100%; padding: 0 0 12px; }
 .samlingo-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
 .samlingo-table tbody { display: grid; gap: 12px; }
 .samlingo-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
 .samlingo-table tbody th { grid-column: 1/-1; padding: 12px 14px; background: #eef5ff; border: 0; font-weight: 600; }
 .samlingo-table tbody td { display: flex; flex-direction: column; padding: 10px 14px; font-size: 15px; overflow-wrap: anywhere; }
 .samlingo-table tbody td::before { content: attr(data-label); font-size: 11px; line-height: 1.4; color: var(--muted); margin-bottom: 4px; font-weight: 400; }
 .samlingo-table tbody td:last-child:nth-child(even) { grid-column: 1/-1; }
 .sambalpuri-theme .project-resource-links { flex-direction: column; gap: 12px; }
 .sambalpuri-theme .project-resource-links .resource-button { width: 100%; justify-content: center; border: 1px solid var(--border); border-radius: 8px; padding: 12px; background: #fff; text-align: center; text-decoration: none; }
}
@media(max-width:360px) {
 .sambalpuri-hero { padding-inline: 16px; }
 .sambalpuri-hero h1 { font-size: 34px; }
 .samlingo-subtitle { font-size: 18px; }
 .sambalpuri-hero .case-actions .resource-button { gap: 8px; font-size: 13px; padding-inline: 8px; }
 .sambalpuri-hero .case-actions .text-link { font-size: 12px; }
 .sambalpuri-theme .case-meta { padding: 16px; gap: 16px 12px; }
}
