/* ============================================================
   COMPONENT SCOPE — Brenom Systems
   Namespace: cs-
   ============================================================ */

/* ---- Ticker 3-column wrap ---- */
.ticker--3col {
  flex-wrap: wrap;
}

.ticker--3col .ticker__item {
  flex: 0 0 calc(100% / 3);
}


/* ---- Centered wrapper ---- */
.cs-wrap {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 80px;
}

/* ---- Orange label ---- */
.cs-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--orange);
  display: block;
}

/* ---- Inline orange accent ---- */
.cs-accent {
  color: var(--orange);
}


/* Orange label in hero uses body font, not Bebas */
.hero__headline .supply__label {
  font-family: var(--font-body);
  line-height: 1.5;
}


/* ---- Hero height override for component-scope pages ---- */
.hero {
  height: 80vh;
}


/* ---- Full-width container override — no max-width box ---- */
.cs-section .hiw-wrap,
.hiw-cta .hiw-wrap,
.hiw-intro .hiw-wrap {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}


/* ============================================================
   HERO — split layout: content left, image right
   ============================================================ */

.cs-hero {
  padding: 140px 0 96px;
}

.cs-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cs-hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-hero__heading {
  font-family: var(--font-heading);
  font-size: 96px;
  line-height: 0.9;
  color: var(--dark);
}

.cs-hero__lead {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
}

.cs-hero__body {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-mid);
  line-height: 1.65;
}

.cs-hero__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.cs-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ============================================================
   SECTION PATTERN
   ============================================================ */

.cs-section {
  padding: 80px 0;
  border-top: 1px solid var(--gray-light);
}

.cs-section__header {
  margin-bottom: 40px;
}

.cs-section__heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.cs-section__body {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.6;
  max-width: 640px;
}


/* ============================================================
   CARD GRID — Materials & Secondary Ops
   ============================================================ */

.cs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--dark);
}

.cs-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-right: 1px solid var(--dark);
  border-bottom: 1px solid var(--dark);
}

.cs-card:nth-child(3n) {
  border-right: none;
}

.cs-card:nth-last-child(-n+3) {
  border-bottom: none;
}

/* ---- 2-column grid variant ---- */
.cs-card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.cs-card-grid--2 .cs-card:nth-child(3n) {
  border-right: 1px solid var(--dark);
}

.cs-card-grid--2 .cs-card:nth-child(2n) {
  border-right: none;
}

.cs-card-grid--2 .cs-card:nth-last-child(-n+3) {
  border-bottom: 1px solid var(--dark);
}

.cs-card-grid--2 .cs-card:nth-last-child(-n+2) {
  border-bottom: none;
}


/* ---- 4-column grid variant ---- */
.cs-card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cs-card-grid--4 .cs-card:nth-child(3n) {
  border-right: 1px solid var(--dark);
}

.cs-card-grid--4 .cs-card:nth-child(4n) {
  border-right: none;
}

.cs-card-grid--4 .cs-card:nth-last-child(-n+3) {
  border-bottom: 1px solid var(--dark);
}

.cs-card-grid--4 .cs-card:nth-last-child(-n+4) {
  border-bottom: none;
}

.cs-card--empty {
  background: var(--cream);
}

.cs-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-card__dot {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.cs-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.cs-card__desc {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-mid);
  line-height: 1.55;
  padding-left: 20px;
}

/* Secondary ops cards: no orange dot, desc flush left */
.cs-card--ops .cs-card__desc {
  padding-left: 0;
}


/* ============================================================
   TWO-COLUMN — Processes + Specs
   ============================================================ */

.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

/* ---- Bullet list (Machining Processes) ---- */
.cs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.cs-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
  border-bottom: 1px solid var(--border-mid);
}

.cs-list__item:first-child {
  border-top: 1px solid var(--border-mid);
}

.cs-list__item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* 18px body text for machining process list */
.cs-two-col .hiw-col__list-item {
  font-size: 18px;
}


/* ---- Spec table (Technical Specifications) ---- */
.cs-specs {
  display: flex;
  flex-direction: column;
}

.cs-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-mid);
  align-items: baseline;
}

.cs-spec-row:first-child {
  border-top: 1px solid var(--border-mid);
}

.cs-spec-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-mid);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cs-spec-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  text-align: right;
}


/* ============================================================
   TYPICAL COMPONENTS — tags left, included box right
   ============================================================ */

.cs-components {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.cs-tag {
  border: 1px solid var(--dark);
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
}

/* Default: align top */
.sku .sku__content {
  justify-content: flex-start;
}

/* Heading top, tags bottom — only when cs-tags is present */
.sku .sku__content:has(.cs-tags) {
  justify-content: space-between;
}

/* 18px list items in included pane */
.cs-included-pane .hiw-col__list-item {
  font-size: 18px;
}

/* 18px body text in CTA */
.hiw-cta .hiw-intro__sub {
  font-size: 18px;
}


/* ---- Included list pane — right side of sku layout ---- */
.cs-included-pane {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 80px 40px;
  border-left: 1px solid var(--dark);
}


/* ---- What's Always Included box ---- */
.cs-included {
  border: 1px solid var(--gray-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs-included__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cs-included__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.cs-included__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
  border-bottom: 1px solid var(--border-mid);
}

.cs-included__item:first-child {
  border-top: 1px solid var(--border-mid);
}

.cs-included__item:last-child {
  border-bottom: none;
}

.cs-included__item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}


/* ============================================================
   FINISH TABLE
   ============================================================ */

.cs-table {
  width: 100%;
  border: 1px solid var(--gray-light);
  border-collapse: collapse;
  display: table;
}

.cs-table__head {
  display: table-header-group;
}

.cs-table__body {
  display: table-row-group;
}

.cs-table__row {
  display: table-row;
  border-bottom: 1px solid var(--gray-light);
}

.cs-table__row:last-child {
  border-bottom: none;
}

.cs-table__th {
  display: table-cell;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-mid);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--cream);
  border-bottom: 1px solid var(--gray-light);
  border-right: 1px solid var(--gray-light);
}

.cs-table__th:last-child {
  border-right: none;
}

.cs-table__td {
  display: table-cell;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  border-right: 1px solid var(--gray-light);
  vertical-align: middle;
}

.cs-table__td:last-child {
  border-right: none;
}

.cs-table__td--bold {
  font-weight: 700;
}

.cs-table__badge {
  font-size: 14px;
  font-weight: 600;
}

.cs-table__badge--good {
  color: #2563eb;
}

.cs-table__badge--excellent {
  color: #16a34a;
}


/* ============================================================
   HIGHLIGHT BOX — orange left border
   ============================================================ */

.cs-highlight-box {
  border-left: 3px solid var(--orange);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(245, 117, 24, 0.05);
}

.cs-highlight-box__heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.cs-highlight-box__body {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-mid);
  line-height: 1.6;
}


/* ============================================================
   CTA STRIP
   ============================================================ */

.cs-cta {
  border-top: 1px solid var(--gray-light);
  background: var(--cream);
}

.cs-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 56px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.cs-cta__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-cta__heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.cs-cta__sub {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-mid);
  line-height: 1.5;
}


/* Section heading size — matches homepage/how-it-works 80px scale */
.cs-section .hiw-steps__heading {
  font-size: 80px;
  line-height: 1;
}


/* ============================================================
   CREAM SECTION — solid cream background
   ============================================================ */

.cs-section--dark {
  background: var(--cream);
  border-top: none;
}

.cs-section--dark .hiw-steps__heading {
  color: var(--dark);
}

.cs-section--dark .hiw-col__list-item {
  color: var(--dark);
  border-bottom-color: var(--border-mid);
}

.cs-section--dark .hiw-col__list-item:first-child {
  border-top-color: var(--border-mid);
}

.cs-section--dark .supply__spec-label {
  color: var(--gray-mid);
}

.cs-section--dark .supply__spec-value {
  color: var(--dark);
}

.cs-section--dark .cs-list__item {
  border-bottom-color: var(--border-mid);
}

.cs-section--dark .cs-list__item:first-child {
  border-top-color: var(--border-mid);
}

.cs-section--dark .cs-card__title {
  color: var(--dark);
}

.cs-section--dark .cs-card__desc {
  color: var(--gray-mid);
}


