/* ==========================================================================
   components.css — ALP Theme UI components
   Header, footer, navigation, buttons, forms, cards, pipeline diagram,
   countdown display, category grid, why-alp, how-steps.
   ========================================================================== */

/* ══════════════════════════════════════════════════════════════════════════
   LOGO
   ══════════════════════════════════════════════════════════════════════════ */

.alp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Logo mark is an SVG <img>; header uses the navy square, footer uses the
   inverted (white-square) variant — so no CSS color/invert is needed here. */
.alp-logo__tile {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.alp-logo__tile--lg { width: 34px; height: 34px; }
.alp-logo__tile--sm { width: 22px; height: 22px; }

.alp-logo__name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--alp-charcoal);
  line-height: 1.1;
}

.alp-logo--invert .alp-logo__name { color: var(--alp-cream); }

.alp-logo__tag {
  font-size: 9px;
  color: var(--alp-steel);
  margin-top: 2px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
  line-height: 1;
}

.alp-logo--invert .alp-logo__tag { color: var(--alp-stone); }

/* ══════════════════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════════════════ */

.alp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  border-bottom: 1px solid var(--alp-mist);
  background: var(--alp-cream);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s ease;
}

.alp-header.is-scrolled {
  box-shadow: 0 1px 0 var(--alp-mist), 0 4px 16px rgba(15, 37, 64, 0.06);
}

.alp-header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ── Mobile header ── */
@media (max-width: 768px) {
  .alp-header {
    padding: 14px 20px;
  }
  /* Match the logo block to the hamburger's box (36px tall, no padding —
     see .alp-hamburger) so the two header ends read as equal-height. The
     visible navy square is the <img> tile, so size that to 36px too — the
     container alone doesn't enlarge it. */
  .alp-logo {
    height: 36px;
    padding: 0;
  }
  .alp-logo__tile {
    width: 36px;
    height: 36px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════════════ */

.alp-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.alp-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--alp-charcoal);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  letter-spacing: 0.005em;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.alp-nav__link:hover {
  color: var(--alp-navy);
}

.alp-nav__link.is-active {
  color: var(--alp-navy);
  border-bottom-color: var(--alp-accent);
}

/* Mobile: hidden by default, toggled by JS */
@media (max-width: 768px) {
  .alp-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--alp-cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 32px;
    gap: 28px;
    z-index: 200;
  }

  .alp-nav.is-open { display: flex; }

  .alp-nav__link {
    font-size: 28px;
    letter-spacing: -0.01em;
  }
}

/* ── Language toggle ── */
.alp-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--alp-mist);
  padding: 0 2px;
}

.alp-lang-toggle--invert {
  border-color: rgba(247, 246, 242, 0.3);
}

.alp-lang-btn {
  background: transparent;
  border: 0;
  padding: 4px 6px;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(31, 31, 31, 0.45);
  font-weight: 400;
  transition: color 0.15s ease;
}

.alp-lang-btn.is-active {
  color: var(--alp-charcoal);
  font-weight: 500;
}

.alp-lang-toggle--invert .alp-lang-btn        { color: rgba(247, 246, 242, 0.45); }
.alp-lang-toggle--invert .alp-lang-btn.is-active { color: var(--alp-cream); }

.alp-lang-divider {
  width: 1px;
  height: 12px;
  background: var(--alp-mist);
}

.alp-lang-toggle--invert .alp-lang-divider {
  background: rgba(247, 246, 242, 0.3);
}

/* ── Hamburger ── */
.alp-hamburger {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--alp-charcoal);
  background: transparent;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  z-index: 210;
  position: relative;
}

.alp-hamburger__line {
  width: 14px;
  height: 1px;
  background: var(--alp-charcoal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.alp-hamburger.is-open .alp-hamburger__line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.alp-hamburger.is-open .alp-hamburger__line:nth-child(2) { opacity: 0; }
.alp-hamburger.is-open .alp-hamburger__line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 768px) {
  .alp-hamburger { display: flex; }
}

/* ══════════════════════════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════════════════════════ */

.alp-breadcrumb {
  border-bottom: 1px solid var(--alp-mist);
}

.alp-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.alp-breadcrumb__item {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alp-steel);
}

.alp-breadcrumb__item + .alp-breadcrumb__item::before {
  content: '/';
  padding: 0 8px;
  color: var(--alp-mist);
  display: inline-block;
}

.alp-breadcrumb__link {
  color: var(--alp-steel);
  transition: color 0.15s ease;
}

.alp-breadcrumb__link:hover { color: var(--alp-navy); }

.alp-breadcrumb__item--current { color: var(--alp-charcoal); }

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */

.alp-footer {
  background: var(--alp-navy);
  color: var(--alp-cream);
  padding: 72px 56px 40px;
  border-top: 1px solid var(--alp-charcoal);
}

.alp-footer .alp-meta     { color: var(--alp-stone); }
.alp-footer .alp-body-sm  { color: var(--alp-cream); }

.alp-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 56px;
}

.alp-footer__brand {
  max-width: 360px;
}

.alp-footer__brand-tag {
  margin-top: 22px;
  color: var(--alp-stone);
  font-size: 14px;
  line-height: 1.6;
}

.alp-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 48px;
  flex: 1;
  max-width: 1280px;
}

.alp-footer__col-title {
  margin-bottom: 18px;
}

.alp-footer__bottom {
  height: 1px;
  background: rgba(247, 246, 242, 0.12);
  margin-bottom: 22px;
}

.alp-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--alp-stone);
  font-family: "JetBrains Mono", monospace;
}

@media (max-width: 768px) {
  .alp-footer {
    padding: 40px 20px 28px;
  }

  .alp-footer__top {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }

  .alp-footer__brand { max-width: 100%; }

  .alp-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 100%;
  }

  .alp-footer__legal {
    flex-direction: column;
    gap: 8px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--alp-navy);
  color: var(--alp-white);
  font-size: 14px;
  font-weight: 500;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.005em;
  font-family: inherit;
  transition: background 0.15s ease;
  text-decoration: none;
}

.btn-primary:hover { background: var(--alp-charcoal); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: transparent;
  color: var(--alp-navy);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--alp-charcoal);
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--alp-charcoal);
  color: var(--alp-white);
}

.btn-ghost--sm { padding: 10px 16px; font-size: 13px; }

/* Light variant (on dark backgrounds) */
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--alp-cream);
  color: var(--alp-navy);
  font-size: 14px;
  font-weight: 500;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s ease;
  text-decoration: none;
}

.btn-light:hover { opacity: 0.88; }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: transparent;
  color: var(--alp-cream);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--alp-stone);
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.btn-outline-light:hover {
  background: var(--alp-cream);
  color: var(--alp-navy);
}

/* ══════════════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════════════════ */

.alp-field { display: flex; flex-direction: column; gap: 8px; }

.alp-field__label {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--alp-charcoal);
  font-weight: 500;
}

.alp-field__required { color: var(--alp-accent); margin-left: 4px; }

.alp-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: var(--alp-white);
  border: 1px solid var(--alp-mist);
  border-radius: 0;
  font-family: inherit;
  font-size: 14px;
  color: var(--alp-charcoal);
  outline: none;
  transition: border-color 0.15s ease;
  appearance: none;
}

.alp-input:focus { border-color: var(--alp-navy); }
.alp-input.has-error {
  border-color: var(--alp-brick);
  background: rgba(123, 53, 53, 0.10);
}
.alp-input.has-error:focus { background: var(--alp-white); }

textarea.alp-input {
  padding: 12px 14px;
  height: auto;
  resize: vertical;
  line-height: 1.5;
}

.alp-field__error {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--alp-brick);
  text-transform: uppercase;
}

/* Top-of-form server-side message banner.
   Rendered by inquiry-form.html.twig when GRAV's Form plugin
   reports an error / warning / success on the previous submit. */
.alp-form-banner {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-left: 3px solid var(--alp-brick);
  background: var(--alp-white);
  font-size: 13px;
  line-height: 1.5;
  color: var(--alp-charcoal);
}

.alp-form-banner--error   { border-left-color: var(--alp-brick); }
.alp-form-banner--warning { border-left-color: var(--alp-amber); }
.alp-form-banner--success { border-left-color: var(--alp-navy); }

/* Prominent server-side delivery-failure block. Distinct from the
   .alp-form-banner above because the user-facing problem is different:
   the banner means "your input is wrong, fix and retry", whereas this
   block means "we couldn't deliver this — none of it is your fault,
   here's an incident ID to mention if you reach out". Echoes the
   Promise box's navy/cream palette so it reads as serious + branded. */
.alp-form-failure {
  margin-bottom: 28px;
  padding: 24px 24px 26px;
  background: var(--alp-navy);
  color: var(--alp-cream);
  border-left: 4px solid var(--alp-brick);
}

.alp-form-failure__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.alp-form-failure__subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: var(--alp-stone);
  margin-bottom: 18px;
}

.alp-form-failure__stage {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.alp-form-failure__stage-label,
.alp-form-failure__incident-label {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alp-accent);
}

.alp-form-failure__stage-value {
  font-size: 13px;
  color: var(--alp-cream);
}

.alp-form-failure__incident {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 14px;
}

.alp-form-failure__incident-label { margin-bottom: 4px; display: block; }

.alp-form-failure__incident-id {
  font-size: 14px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--alp-cream);
  margin-bottom: 8px;
  user-select: all;             /* Triple-click selects the whole ID for easy copy. */
  word-break: break-all;
}

.alp-form-failure__incident-hint {
  font-size: 12px;
  line-height: 1.55;
  color: var(--alp-stone);
}

/* Client-side validation banner: meta-style title + bullet list of
   "<Field label> — <what's wrong>" pulled from each invalid input. */
.alp-form-banner__title {
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alp-accent);
  margin-bottom: 8px;
}

.alp-form-banner__list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.alp-form-banner__list li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--alp-charcoal);
}

.alp-form-banner__list li + li { margin-top: 4px; }

.alp-form-banner__list strong {
  font-weight: 600;
  color: var(--alp-navy);
}

/* Segmented urgency control */
.alp-segmented {
  display: flex;
  border: 1px solid var(--alp-mist);
}

.alp-segmented__btn {
  flex: 1;
  padding: 12px 14px;
  font-size: 13px;
  background: transparent;
  color: var(--alp-charcoal);
  border: 0;
  border-right: 1px solid var(--alp-mist);
  font-family: inherit;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.alp-segmented__btn:last-child { border-right: 0; }

.alp-segmented__btn.is-active {
  background: var(--alp-navy);
  color: var(--alp-cream);
}

/* Radio row */
.alp-radio-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.alp-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1;       /* Collapse the text's line-box so its vertical
                           midpoint matches the native radio's midpoint
                           under align-items:center. */
  cursor: pointer;
}

.alp-radio-label input[type="radio"] {
  width: 14px;
  height: 14px;
  margin: 0;            /* Strip user-agent vertical margin that throws
                           off the centerline alignment. */
  flex-shrink: 0;
}

.alp-radio-label__text {
  display: inline-block;
  line-height: 1;
}

/* File attach zone */
.alp-attach {
  border: 1px dashed var(--alp-mist);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.alp-attach.has-error {
  border-style: solid;
  border-color: var(--alp-brick);
  background: rgba(123, 53, 53, 0.10);
}

.alp-attach__label {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  color: var(--alp-steel);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.alp-attach__desc { font-size: 14px; color: var(--alp-charcoal); }

.alp-attach__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.alp-attach__selected:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.alp-attach__check {
  color: var(--alp-navy);
  font-weight: 700;
  font-size: 14px;
}

.alp-attach__filename {
  font-size: 14px;
  color: var(--alp-charcoal);
  font-weight: 500;
  word-break: break-all;
  min-width: 0;
}

.alp-attach__filesize {
  font-size: 12px;
  color: var(--alp-steel);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
}

.alp-attach__remove {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alp-accent);
  cursor: pointer;
  margin-left: 4px;
}

.alp-attach__remove:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════════
   OPTION C — Countdown display
   ══════════════════════════════════════════════════════════════════════════ */

.alp-countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
}

.alp-countdown__label { color: var(--alp-steel); text-transform: uppercase; }
.alp-countdown__value { color: var(--alp-charcoal); font-weight: 500; min-width: 54px; }

/* ══════════════════════════════════════════════════════════════════════════
   CATEGORY GRID (shared: home + supply page)
   ══════════════════════════════════════════════════════════════════════════ */

.alp-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--alp-charcoal);
  border-left: 1px solid var(--alp-mist);
}

.alp-cat-cell {
  padding: 32px 24px;
  border-right: 1px solid var(--alp-mist);
  border-bottom: 1px solid var(--alp-mist);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--alp-cream);
}

.alp-cat-cell__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alp-cat-cell__num {
  font-size: 11px;
  color: var(--alp-accent);
  letter-spacing: 0.08em;
  font-family: "JetBrains Mono", monospace;
}

.alp-cat-cell__dash {
  width: 18px;
  height: 1px;
  background: var(--alp-charcoal);
}

.alp-cat-cell__title {
  font-size: 19px;
  color: var(--alp-navy);
  font-weight: 500;
  line-height: 1.25;
}

.alp-cat-cell__desc {
  font-size: 13px;
  color: var(--alp-charcoal);
  line-height: 1.55;
  margin-top: auto;
}

.alp-cat-cell__cta {
  font-size: 10px;
  color: var(--alp-steel);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  margin-top: 8px;
  text-transform: uppercase;
}

/* Tags (supply page) */
.alp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }

.alp-tag {
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid var(--alp-mist);
  color: var(--alp-charcoal);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .alp-cat-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }

  .alp-cat-cell {
    padding: 22px 0;
    border-right: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   WHY ALP — 3 commitment columns
   ══════════════════════════════════════════════════════════════════════════ */

.alp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--alp-mist);
}

.alp-why-cell {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--alp-mist);
}

.alp-why-cell:first-child { padding-left: 0; }
.alp-why-cell:last-child  { border-right: none; padding-right: 0; padding-left: 28px; }
.alp-why-cell:not(:first-child) { padding-left: 28px; }

.alp-why-cell__badge {
  width: 28px;
  height: 28px;
  border: 1px solid var(--alp-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--alp-charcoal);
  font-weight: 500;
  margin-bottom: 18px;
}

.alp-why-cell__rule {
  flex: 1;
  height: 1px;
  background: var(--alp-mist);
  display: block;
  margin-left: 10px;
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .alp-why-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .alp-why-cell {
    padding: 20px 0;
    border-right: none;
    border-top: 1px solid var(--alp-mist);
  }

  .alp-why-cell:not(:first-child) { padding-left: 0; }
  .alp-why-cell:last-child { padding-left: 0; padding-right: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   HOW PREVIEW — step grid
   ══════════════════════════════════════════════════════════════════════════ */

.alp-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--alp-charcoal);
  border-left: 1px solid var(--alp-mist);
}

.alp-step-cell {
  padding: 22px 20px;
  border-right: 1px solid var(--alp-mist);
  border-bottom: 1px solid var(--alp-mist);
  background: var(--alp-cream);
}

.alp-step-cell__num {
  font-size: 10px;
  color: var(--alp-accent);
  letter-spacing: 0.08em;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 8px;
}

.alp-step-cell__title {
  font-size: 14px;
  color: var(--alp-charcoal);
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .alp-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════════════════
   PIPELINE DIAGRAM (How page)
   ══════════════════════════════════════════════════════════════════════════ */

.alp-pipeline-diagram {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.alp-pipeline-node {
  padding: 20px 24px;
  border: 1px solid var(--alp-charcoal);
  background: var(--alp-cream);
  min-width: 180px;
}

.alp-pipeline-node__key {
  font-size: 10px;
  color: var(--alp-accent);
  letter-spacing: 0.08em;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.alp-pipeline-node__label {
  font-size: 16px;
  font-weight: 500;
  color: var(--alp-navy);
}

.alp-pipeline-node__sub {
  font-size: 12px;
  color: var(--alp-steel);
  margin-top: 2px;
}

.alp-pipeline-arrow {
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: var(--alp-charcoal);
  position: relative;
  flex-shrink: 0;
}

.alp-pipeline-arrow::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--alp-charcoal);
}

@media (max-width: 768px) {
  .alp-pipeline-node { min-width: 110px; padding: 14px; }
  .alp-pipeline-arrow { min-width: 18px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   CONTACT STRIP (navy CTA — used on all inner pages)
   ══════════════════════════════════════════════════════════════════════════ */

.alp-contact-strip {
  background: var(--alp-navy);
  color: var(--alp-cream);
  padding: 68px 56px;
}

.alp-contact-strip__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

.alp-contact-strip__eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--alp-accent);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.alp-contact-strip__title {
  font-size: 56px;
  color: var(--alp-cream);
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.05;
}

.alp-contact-strip__btns {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.alp-contact-strip__meta-label {
  font-size: 10px;
  color: var(--alp-stone);
  letter-spacing: 0.08em;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.alp-contact-strip__meta-value {
  font-size: 18px;
  color: var(--alp-cream);
  line-height: 1.4;
}

.alp-contact-strip__divider {
  height: 1px;
  background: rgba(247, 246, 242, 0.16);
}

@media (max-width: 768px) {
  .alp-contact-strip { padding: 36px 20px; }

  .alp-contact-strip__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .alp-contact-strip__title { font-size: 30px; }
  .alp-contact-strip__btns  { margin-top: 28px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PROCESS STEPS (How page — full list)
   ══════════════════════════════════════════════════════════════════════════ */

.alp-process-row {
  display: grid;
  grid-template-columns: 60px 200px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--alp-mist);
}

.alp-process-row__num {
  font-size: 12px;
  color: var(--alp-accent);
  letter-spacing: 0.06em;
  font-family: "JetBrains Mono", monospace;
}

.alp-process-row__title {
  font-size: 18px;
  color: var(--alp-navy);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.alp-process-row__desc {
  font-size: 14px;
  color: var(--alp-charcoal);
  line-height: 1.6;
  max-width: 640px;
}

@media (max-width: 768px) {
  .alp-process-row {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .alp-process-row__desc {
    grid-column: 2 / 3;
    font-size: 13px;
  }
}

/* ==========================================================================
   Animations — merged from animations.css
   Pipeline ticker · Word-swap headline · Scroll-reveal · Countdown dot
   ========================================================================== */

/* ── Pipeline ticker ─────────────────────────────────────────────────────── */

.alp-pipeline-ticker {
  overflow: hidden;
  background: var(--alp-navy);
  border-bottom: 1px solid rgba(247, 246, 242, 0.1);
  height: 34px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 6;
  user-select: none;
}

/* Fade edges */
.alp-pipeline-ticker::before,
.alp-pipeline-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.alp-pipeline-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--alp-navy), transparent);
}
.alp-pipeline-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--alp-navy), transparent);
}

/* Scrolling track — rendered once in HTML; main.js clones the nodes and
   adds .alp-pipeline-ticker__track--animated to start the seamless loop.
   Without JS the track stays as a single static row of pipeline nodes. */
.alp-pipeline-ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.alp-pipeline-ticker__track--animated {
  animation: alp-ticker-scroll 28s linear infinite;
  will-change: transform;
}

.alp-pipeline-ticker__track--animated:hover {
  animation-play-state: paused;
}

@keyframes alp-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual node */
.alp-ticker-node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alp-stone);
}

.alp-ticker-node strong {
  color: var(--alp-cream);
  font-weight: 500;
}

/* Arrow separator between nodes */
.alp-ticker-sep {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--alp-accent);
  margin: 0 4px;
  vertical-align: middle;
  position: relative;
  flex-shrink: 0;
}

.alp-ticker-sep::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -3px;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid var(--alp-accent);
}

/* ── Word-swap headline ───────────────────────────────────────────────────── */

.alp-wordswap {
  display: inline-grid;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  /* Extend the overflow-hidden clip boundary so italic descenders (g, y)
     and the right-side slant of the last glyph are not clipped. */
  padding-bottom: 0.25em;
  margin-bottom: -0.25em;
  padding-right: 0.1em;
}

/* Each word sits in the same grid cell; JS toggles .is-active / .is-exit */
.alp-wordswap__word {
  display: block;
  color: var(--alp-accent);
  font-style: italic;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  white-space: nowrap;
  /* grid-area stacks all words in one cell; the grid container auto-sizes
     to the widest word across all languages, fixing right-side clipping. */
  grid-area: 1 / 1;
}

/* First word no longer needs position:relative to set container size —
   the grid handles that automatically. */
.alp-wordswap__word:first-child {
  opacity: 0;
  transform: translateY(110%);
}

.alp-wordswap__word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.alp-wordswap__word.is-exit {
  opacity: 0;
  transform: translateY(-110%);
}

/* ── Scroll-reveal ────────────────────────────────────────────────────────── */

.alp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.alp-reveal.alp-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helpers — apply to child elements within a reveal container */
.alp-reveal-delay-1 { transition-delay: 0.08s; }
.alp-reveal-delay-2 { transition-delay: 0.16s; }
.alp-reveal-delay-3 { transition-delay: 0.24s; }
.alp-reveal-delay-4 { transition-delay: 0.32s; }

/* ── Acknowledgment countdown dot ────────────────────────────────────────── */

.alp-countdown__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.alp-countdown__dot.is-open {
  background: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
  animation: alp-pulse 2.6s infinite;
}

.alp-countdown__dot.is-closed {
  background: var(--alp-stone);
}
