/* ===== Breadcrumb ===== */
.crumbs { padding: 20px 0 0; font-size: 13px; color: var(--color-text-subtle); }
.crumbs a { color: var(--color-text-muted); font-weight: 500; }
.crumbs a:hover { color: var(--color-text); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }

/* ===== Hero ===== */
.cs-hero { padding: 32px 0 0; background: linear-gradient(180deg, #FDFDFE, var(--off-white-60)); border-bottom: 1px solid var(--color-border); position: relative; overflow: hidden; }
.cs-hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; padding: 48px 0 80px; align-items: start; }
.cs-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: 56px; line-height: 1.05; letter-spacing: -0.025em; margin: 18px 0 20px; }
.cs-hero p.lead { font-size: 19px; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 32px; max-width: 560px; }

.cs-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; margin-bottom: 32px; }
.cs-kpis .kpi { padding: 20px 22px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.cs-kpis .kpi .n { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--color-text); line-height: 1.1; }
.cs-kpis .kpi .n .accent { color: var(--green-100); }
.cs-kpis .kpi .l { font-size: 13px; color: var(--color-text-subtle); line-height: 1.4; }

/* Hero visual: customer card */
.cs-hero-visual { background: linear-gradient(180deg, #0E3B2E 0%, #071A12 100%); border-radius: 22px; padding: 36px; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; min-height: 540px; }
.cs-hero-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(127, 212, 142, 0.18), transparent 60%); pointer-events: none; }
.cs-hero-visual .logo-tag { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.cs-hero-visual .logo-tag .crest { width: 64px; height: 64px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #0E3B2E; font-size: 16px; letter-spacing: -0.02em; padding: 8px; }
.cs-hero-visual .logo-tag .crest .customer-logo { max-height: 48px; max-width: 100%; }
.cs-hero-visual .logo-tag .name { font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.cs-hero-visual .logo-tag .name span { display: block; font-size: 12px; font-weight: 500; opacity: 0.6; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }

.cs-hero-visual h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.35; letter-spacing: -0.015em; position: relative; z-index: 1; color: rgba(255,255,255,0.92); }
.cs-hero-visual h3 strong { font-weight: 700; color: #fff; }

.cs-hero-visual .profile { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; position: relative; z-index: 1; margin-top: auto; }
.cs-hero-visual .profile .row { padding: 14px 16px; background: rgba(255,255,255,0.04); }
.cs-hero-visual .profile .lbl { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.cs-hero-visual .profile .val { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.005em; }

.cs-hero-visual .tag-row { display: flex; gap: 6px; flex-wrap: wrap; position: relative; z-index: 1; }
.cs-hero-visual .tag { font-size: 11px; font-weight: 600; padding: 6px 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; color: rgba(255,255,255,0.9); letter-spacing: 0.02em; }

/* ===== Stat strip (horizontal) ===== */
.stat-strip { padding: 24px 0; border-bottom: 1px solid var(--color-border); background: #fff; }
.stat-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--color-border-subtle); }
.stat-strip .cell { padding: 16px 20px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.stat-strip .cell .n { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--color-text); letter-spacing: -0.015em; }
.stat-strip .cell .n .accent { color: var(--green-100); }
.stat-strip .cell .l { font-size: 12px; color: var(--color-text-subtle); }

/* ===== Layout — article + aside ===== */
.cs-article { padding: 96px 0; }
.cs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: start; }
.cs-main { min-width: 0; }
.cs-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }

/* Aside — customer profile */
.aside-card { padding: 28px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; box-shadow: 0 1px 2px rgba(10,20,40,0.04); }
.aside-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-subtle); margin-bottom: 20px; }
.aside-card dl { display: grid; grid-template-columns: 1fr; gap: 16px; }
.aside-card dt { font-size: 12px; color: var(--color-text-subtle); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.aside-card dd { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--color-text); margin: 0; line-height: 1.35; }
.aside-card dd.sm { font-size: 14px; font-weight: 500; color: var(--color-text-muted); line-height: 1.5; font-family: inherit; }

.aside-share { padding: 24px 28px; background: var(--off-white-60); border: 1px solid var(--color-border); border-radius: 16px; font-size: 13px; color: var(--color-text-muted); }
.aside-share strong { display: block; color: var(--color-text); margin-bottom: 10px; font-family: var(--font-display); }
.aside-share .btns { display: flex; gap: 8px; margin-top: 12px; }
.aside-share .btns a { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); transition: all var(--motion-base) var(--ease-standard); }
.aside-share .btns a:hover { border-color: var(--green-100); color: var(--green-100); transform: translateY(-1px); }
.aside-share .btns svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Section styles inside article */
.cs-section { padding-bottom: 72px; }
.cs-section:last-child { padding-bottom: 0; }
.cs-section h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 12px; margin-bottom: 18px; max-width: 700px; }
.cs-section p { font-size: 17px; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 16px; max-width: 720px; }
.cs-section p.lead { font-size: 19px; color: var(--color-text); font-weight: 500; line-height: 1.5; margin-bottom: 20px; }

.cs-section ul.bullets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 0; max-width: 720px; }
.cs-section ul.bullets li { padding: 18px 20px; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--color-text); line-height: 1.45; }
.cs-section ul.bullets li svg { width: 18px; height: 18px; stroke: var(--green-100); fill: none; stroke-width: 2.25; margin-top: 2px; flex-shrink: 0; }
.cs-section ul.bullets.neg li svg { stroke: #C25555; }

/* Challenge — numbered pain list */
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; margin-top: 24px; max-width: 720px; }
.pain-list li { padding: 20px 24px; background: #fff; display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: baseline; font-size: 16px; color: var(--color-text); line-height: 1.45; }
.pain-list li .n { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--color-text-subtle); letter-spacing: 0.05em; }
.pain-list li strong { font-family: var(--font-display); font-weight: 600; }

/* Solution capabilities */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; max-width: 760px; }
.cap-card { padding: 24px; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; transition: border-color var(--motion-base) var(--ease-standard); }
.cap-card:hover { border-color: var(--green-100); }
.cap-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--green-20); color: #1E7A2B; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.cap-card .ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.cap-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.3; }
.cap-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }

.insight-card { margin-top: 32px; padding: 24px 28px; background: var(--green-20); border-left: 3px solid var(--green-100); border-radius: 8px; max-width: 720px; }
.insight-card p { font-size: 15px; color: #143a1f; margin: 0; line-height: 1.55; font-style: italic; }

/* Results — metric cards */
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; max-width: 760px; }
.result-card { padding: 28px; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.result-card .head-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.result-card .n { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--green-100); letter-spacing: -0.02em; line-height: 1; }
.result-card .tag { font-size: 11px; font-weight: 700; padding: 4px 10px; background: var(--green-20); color: #1E7A2B; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em; }
.result-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.3; }
.result-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }

/* Pull quote */
.pull-quote { margin: 80px 0; padding: 56px; background: linear-gradient(180deg, #0E3B2E 0%, #071A12 100%); color: #fff; border-radius: 24px; position: relative; overflow: hidden; }
.pull-quote::before { content: '"'; position: absolute; top: -40px; left: 40px; font-family: var(--font-display); font-size: 280px; color: rgba(127, 212, 142, 0.12); line-height: 1; font-weight: 700; pointer-events: none; }
.pull-quote blockquote { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.35; letter-spacing: -0.015em; color: #fff; margin: 0 0 36px; max-width: 920px; }
.pull-quote .author { display: flex; align-items: center; gap: 16px; position: relative; z-index: 1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.15); }
.pull-quote .avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #9BB59F, #4E6D54); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-family: var(--font-display); font-size: 18px; flex-shrink: 0; }
.pull-quote .author-info strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: #fff; }
.pull-quote .author-info span { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.pull-quote .author-info span b { color: rgba(255,255,255,0.85); font-weight: 500; }

/* Scale section with image placeholder */
.scale-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 32px; max-width: 900px; }
.scale-img {
  /* Case-study scale section — captioned commercial-property hero.
   * The aerial business-park photo sits behind the .caption block. */
  aspect-ratio: 4/3; border-radius: 16px;
  background-color: #2E3A4B;
  background-image: url('../assets/inspection-photos/commercial-property-aerial.webp');
  background-size: cover;
  background-position: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
/* `.scale-img::after` (diagonal stripe overlay) intentionally dropped now
 * that a real photo backs the block — the stripes would just dirty the photo. */
.scale-img .caption { position: absolute; bottom: 20px; left: 20px; right: 20px; padding: 14px 18px; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; z-index: 2; }
.scale-img .caption strong { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--color-text); }
.scale-img .caption span { color: var(--color-text-subtle); font-size: 12px; }

/* Related studies */
.related { padding: 96px 0; background: var(--off-white-60); border-top: 1px solid var(--color-border); }
.related h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 32px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel-card { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: all var(--motion-base) var(--ease-standard); }
.rel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.rel-card .company { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; min-height: 32px; display: flex; align-items: center; }
.rel-card .company .customer-logo { max-height: 28px; max-width: 160px; }
.rel-card .desc { font-size: 13px; color: var(--color-text-subtle); }
.rel-card .metric { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--green-100); padding: 10px 14px; background: var(--green-20); border-radius: 10px; display: inline-block; align-self: flex-start; margin-top: auto; }
.rel-card .cta { font-size: 14px; font-weight: 600; color: var(--color-text); display: inline-flex; align-items: center; gap: 4px; padding-top: 14px; border-top: 1px solid var(--color-border-subtle); }
.rel-card .cta:hover { color: var(--green-100); }

/* Final CTA */
.final-cta { background: var(--gradient-primary); color: #fff; padding: 96px 0; text-align: center; }
.final-cta h2 { font-family: var(--font-display); font-weight: 600; font-size: 48px; letter-spacing: -0.02em; color: #fff; max-width: 820px; margin: 0 auto 20px; line-height: 1.1; }
.final-cta p { color: rgba(255,255,255,0.8); font-size: 17px; margin: 0 auto 32px; max-width: 620px; line-height: 1.5; }
.final-cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .cs-layout { grid-template-columns: 1fr; }
  .cs-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .aside-card, .aside-share { flex: 1 1 300px; }
  .cs-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .cs-hero h1 { font-size: 42px; }
}
@media (max-width: 720px) {
  .cs-kpis, .cap-grid, .result-grid, .cs-section ul.bullets, .stat-strip-inner, .rel-grid { grid-template-columns: 1fr; }
  .scale-split { grid-template-columns: 1fr; }
  .pull-quote { padding: 36px 28px; }
  .pull-quote blockquote { font-size: 22px; }
}

