/* 3D Labs OKC Elementor Widgets — shared design-system stylesheet
   Matches design-system-v2.md: Red Dirt / Bed Glass industrial palette,
   Big Shoulders Display headlines, IBM Plex Sans body, IBM Plex Mono labels. */

.lew-widget {
	--lew-bed-glass: #12181C;
	--lew-red-dirt: #A8412A;
	--lew-red-dirt-deep: #8A3220;
	--lew-filament-white: #F2EEE4;
	--lew-nozzle-steel: #6E7378;
	--lew-toolpath-blue: #3E6E88;
	--lew-ink: #181614;
	--lew-card: #FFFFFF;
	--lew-border: #E4DDD0;
	font-family: 'IBM Plex Sans', sans-serif;
	color: var(--lew-ink);
}
.lew-widget * { box-sizing: border-box; }
.lew-widget h1, .lew-widget h2, .lew-widget h3 { font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; margin: 0; }
.lew-widget :focus-visible { outline: 2px solid var(--lew-toolpath-blue); outline-offset: 3px; }
.lew-eyebrow {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--lew-red-dirt);
}
/* Layer-line texture — FDM print ridges, replaces the old dot-grid on dark sections */
.lew-grid-bg { background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.045) 0px, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 5px); }
.lew-btn {
	font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500;
	letter-spacing: 0.07em; text-transform: uppercase; padding: 15px 30px;
	border-radius: 1px; display: inline-block; text-decoration: none; border: 1.5px solid transparent; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lew-btn-orange { background: var(--lew-red-dirt); color: #fff; border-color: var(--lew-red-dirt); }
.lew-btn-orange:hover { background: var(--lew-red-dirt-deep); border-color: var(--lew-red-dirt-deep); color: #fff; }
.lew-btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
.lew-btn-outline:hover { border-color: var(--lew-red-dirt); color: var(--lew-red-dirt); }

/* ---------- Hero Split ---------- */
.lew-hero { background: var(--lew-bed-glass); color: #fff; padding: 100px 0; overflow: hidden; }
.lew-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.lew-hero h1 { font-size: 48px; color: #fff; margin: 18px 0 20px; }
.lew-hero h1 .lew-highlight { color: var(--lew-red-dirt); }
.lew-hero p { font-family: 'IBM Plex Sans', sans-serif; text-transform: none; font-size: 17px; color: #C4CBCE; max-width: 460px; margin-bottom: 28px; }
.lew-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.lew-hero-photo { position: relative; overflow: hidden; aspect-ratio: 4/3.2; background: linear-gradient(135deg, #2b3a52, #17233a); border: 1px solid rgba(255,255,255,0.08); }
.lew-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .lew-hero-inner { grid-template-columns: 1fr; } .lew-hero h1 { font-size: 32px; } }

/* ---------- Page Banner ---------- */
.lew-page-banner { background: var(--lew-bed-glass); color: #fff; padding: 56px 0 40px; }
.lew-page-banner-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.lew-breadcrumb { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #8993A8; margin-bottom: 16px; }
.lew-breadcrumb .lew-current { color: var(--lew-red-dirt); }
.lew-page-banner h1 { font-size: 38px; color: #fff; }
.lew-page-banner p { font-family: 'IBM Plex Sans', sans-serif; text-transform: none; color: #C4CBCE; max-width: 600px; margin-top: 14px; font-size: 16px; }

/* ---------- CTA Band ---------- */
/* Diagonal toolpath-line texture, replaces the old dot-grid */
.lew-cta-band { background: var(--lew-red-dirt); color: #fff; text-align: center; padding: 64px 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 14px); }
.lew-cta-band-inner { max-width: 700px; margin: 0 auto; padding: 0 32px; }
.lew-cta-band h2 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.lew-cta-band p { font-family: 'IBM Plex Sans', sans-serif; text-transform: none; color: rgba(255,255,255,0.85); margin-bottom: 26px; font-size: 16px; }
.lew-cta-band .lew-btn { border: 1px solid #fff; color: #fff; }
.lew-cta-band .lew-btn:hover { background: #fff; color: var(--lew-red-dirt); }

/* ---------- Service Cards Grid ---------- */
/* Spec-sheet layout: 1px hairline grid instead of individually rounded/bordered cards */
.lew-cards-grid { display: grid; gap: 1px; background: var(--lew-border); border: 1px solid var(--lew-border); max-width: 1200px; margin: 0 auto; }
.lew-cards-grid.lew-cols-2 { grid-template-columns: repeat(2, 1fr); }
.lew-cards-grid.lew-cols-3 { grid-template-columns: repeat(3, 1fr); }
.lew-cards-grid.lew-cols-4 { grid-template-columns: repeat(4, 1fr); }
.lew-service-card { background: var(--lew-card); padding: 30px; position: relative; }
.lew-service-card.lew-photo-variant { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.lew-service-card .lew-card-photo { aspect-ratio: 16/10; background: linear-gradient(135deg,#2b3a52,#17233a); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.lew-service-card .lew-card-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Trace-hover: single-stroke border draws around the photo on hover, replaces the old corner-bracket hover */
.lew-service-card .lew-card-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lew-service-card .lew-card-photo rect { fill: none; stroke: var(--lew-red-dirt); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 0.55s ease; }
.lew-service-card:hover .lew-card-photo rect { stroke-dashoffset: 0; }
.lew-service-card .lew-card-body { padding: 0; }
.lew-service-card.lew-photo-variant .lew-card-body { padding: 28px; }
.lew-card-icon { font-size: 36px; margin-bottom: 18px; display: block; }
.lew-card-tag { position: absolute; top: 14px; left: 14px; background: var(--lew-red-dirt); color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 10px; padding: 5px 10px; letter-spacing: 0.05em; z-index: 2; }
.lew-service-card h3 { font-size: 20px; margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.lew-service-card h3 a { color: var(--lew-ink); text-decoration: none; }
.lew-service-card:hover h3 a { color: var(--lew-red-dirt); }
.lew-service-card p { color: var(--lew-nozzle-steel); font-size: 14.5px; margin: 0 0 16px; }
.lew-card-link { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--lew-red-dirt); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.lew-card-link:hover { text-decoration: underline; }
@media (max-width: 900px) { .lew-cards-grid.lew-cols-2, .lew-cards-grid.lew-cols-3, .lew-cards-grid.lew-cols-4 { grid-template-columns: 1fr; } }

/* ---------- Process Steps ---------- */
.lew-process { background: var(--lew-bed-glass); color: #fff; padding: 88px 0; }
.lew-process-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.lew-process-head { max-width: 640px; margin-bottom: 48px; }
.lew-process-head h2 { color: #fff; font-size: 32px; margin-top: 14px; }
.lew-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lew-step { position: relative; padding-right: 20px; }
.lew-step .lew-step-num { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; color: var(--lew-red-dirt); font-size: 40px; margin-bottom: 10px; display: block; }
.lew-step h3 { font-size: 18px; color: #fff; margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
.lew-step p { font-family: 'IBM Plex Sans', sans-serif; text-transform: none; font-size: 14px; color: #9BA5B8; margin: 0; }
@media (max-width: 900px) { .lew-steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* ---------- Stat / Pricing Strip ---------- */
.lew-stat-strip-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.lew-stat-strip { background: var(--lew-card); border: 1px solid var(--lew-border); padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.lew-stat-strip .lew-stat-num { font-family: 'Big Shoulders Display', sans-serif; font-size: 34px; font-weight: 700; color: var(--lew-bed-glass); white-space: nowrap; }
.lew-stat-strip .lew-stat-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--lew-nozzle-steel); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.lew-stat-strip .lew-stat-text { font-family: 'IBM Plex Sans', sans-serif; max-width: 420px; color: var(--lew-nozzle-steel); font-size: 14px; flex: 1; }
.lew-stat-strip .lew-btn { border: 1px solid var(--lew-ink); color: var(--lew-ink); }
.lew-stat-strip .lew-btn:hover { background: var(--lew-ink); color: #fff; }

/* ---------- Mini Cards (materials/capabilities) ---------- */
.lew-mini-cards-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.lew-mini-cards { display: grid; gap: 1px; background: var(--lew-border); border: 1px solid var(--lew-border); }
.lew-mini-cards.lew-cols-2 { grid-template-columns: repeat(2, 1fr); }
.lew-mini-cards.lew-cols-3 { grid-template-columns: repeat(3, 1fr); }
.lew-mini-cards.lew-cols-4 { grid-template-columns: repeat(4, 1fr); }
.lew-mini-card { background: var(--lew-card); padding: 20px; }
.lew-mini-card .lew-eyebrow { display: block; margin-bottom: 6px; }
.lew-mini-card h4 { font-family: 'Big Shoulders Display', sans-serif; font-size: 18px; margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.lew-mini-card p { font-family: 'IBM Plex Sans', sans-serif; color: var(--lew-nozzle-steel); font-size: 13.5px; margin: 0; }
@media (max-width: 900px) { .lew-mini-cards.lew-cols-3, .lew-mini-cards.lew-cols-4 { grid-template-columns: 1fr 1fr; } }

/* ---------- Section Heading ---------- */
/* Standardizes the eyebrow + large-heading pattern used across every page —
   see FAQ / "What Clients Say" style headers in the mockups. */
.lew-section-heading { max-width: 1200px; margin: 0 auto 32px; padding: 0 32px; }
.lew-section-heading .lew-eyebrow { display: block; margin-bottom: 12px; }
.lew-section-heading-title { text-transform: uppercase; }
.lew-section-heading.lew-size-large .lew-section-heading-title { font-size: clamp(28px, 4vw, 40px); }
.lew-section-heading.lew-size-medium .lew-section-heading-title { font-size: 30px; }
.lew-section-heading-desc { font-family: 'IBM Plex Sans', sans-serif; text-transform: none; font-size: 16px; margin-top: 14px; max-width: 620px; }
.lew-section-heading.lew-align-center { text-align: center; }
.lew-section-heading.lew-align-center .lew-section-heading-desc { margin-left: auto; margin-right: auto; }
.lew-section-heading.lew-scheme-light-bg .lew-section-heading-title { color: var(--lew-ink); }
.lew-section-heading.lew-scheme-light-bg .lew-section-heading-desc { color: var(--lew-nozzle-steel); }
.lew-section-heading.lew-scheme-dark-bg .lew-section-heading-title { color: #fff; }
.lew-section-heading.lew-scheme-dark-bg .lew-section-heading-desc { color: #C4CBCE; }

/* ---------- Testimonial Cards ---------- */
.lew-testimonial-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.lew-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--lew-border); border: 1px solid var(--lew-border); }
.lew-testimonial-card { background: var(--lew-card); padding: 28px; }
.lew-testimonial-card .lew-stars { color: var(--lew-red-dirt); letter-spacing: 2px; margin-bottom: 12px; display: block; font-size: 14px; }
.lew-testimonial-card .lew-quote { font-family: 'IBM Plex Sans', sans-serif; font-size: 14.5px; color: var(--lew-ink); margin-bottom: 16px; font-style: italic; }
.lew-testimonial-card .lew-attribution { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--lew-nozzle-steel); text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 900px) { .lew-testimonial-grid { grid-template-columns: 1fr; } }
