/* Ordia Section Headers candidate source
   This file contains Section Header-owned implementation CSS and Section Header-owned component variables only.
   It must not redefine shared foundation tokens.
   SVG artwork is upstream/icon-library-owned and must not be redrawn here.
*/

.sh-header {
  --sh-image-size: 132px;
  --sh-copy-image-gap: 30px;
  --sh-top-padding: 44px;
  --sh-bottom-padding: 42px;
  --sh-eyebrow-title-gap: 8px;
  --sh-title-helper-gap: 12px;
  --sh-narrow-image-size: 72px;
  --sh-narrow-stack-gap: 18px;
  --sh-narrow-padding-y: 32px;

  padding: var(--sh-top-padding) 0 var(--sh-bottom-padding);
  border-bottom: 1px solid var(--line-strong);
}

.sh-header--with-image {
  display: grid;
  grid-template-columns: var(--sh-image-size) minmax(0, 1fr);
  column-gap: var(--sh-copy-image-gap);
  align-items: start;
}

.sh-header--no-image {
  display: block;
}

.sh-image {
  width: var(--sh-image-size);
  height: var(--sh-image-size);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0.94;
}

.sh-image svg {
  width: var(--sh-image-size);
  height: var(--sh-image-size);
  display: block;
}

.sh-copy {
  display: grid;
  gap: var(--sh-title-helper-gap);
  min-width: 0;
}

.sh-title-stack {
  display: grid;
  gap: var(--sh-eyebrow-title-gap);
}

.sh-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--tab-active-underline, #FFC000);
}

/* SH-EY-02 — Process eyebrow
   Non-interactive process-position variant for the Section Header eyebrow slot.
   The consuming page owns stage labels and current-stage state.
*/
.sh-process-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sh-process-eyebrow__item {
  color: var(--text-faint, rgba(255,255,255,0.42));
}

.sh-process-eyebrow__item--current {
  color: var(--tab-active-underline, #FFC000);
}

.sh-process-eyebrow__separator {
  color: var(--text-faint, rgba(255,255,255,0.42));
  opacity: 0.55;
}

.sh-title {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  color: var(--text);
}

.sh-helper {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  line-height: 1.45;
  color: var(--helper);
}

@media (max-width: 760px) {
  .sh-header--with-image {
    grid-template-columns: 1fr;
    row-gap: var(--sh-narrow-stack-gap);
    padding: var(--sh-narrow-padding-y) 0;
  }

  .sh-header--no-image {
    padding: var(--sh-narrow-padding-y) 0;
  }

  .sh-image,
  .sh-image svg {
    width: var(--sh-narrow-image-size);
    height: var(--sh-narrow-image-size);
  }
}
