/* Asset Return Management — Figma 62NEumfvp6UkaRFszSA8mm › 79:2028.
   Shared pieces (navbar, buttons, .eyebrow, .h2, .story-body, contact, footer) come from styles.css. */

.ar-section.section {
  padding: 120px 0;
}

.ar-section .eyebrow {
  margin-bottom: 24px;
  letter-spacing: 4.8px;
}

.ar-section .h2 {
  line-height: 1.15;
}

.ar-white {
  background: #fff;
}

/* Centered section intro (eyebrow, title, copy) */
.ar-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ar-intro {
  max-width: 820px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.ar-intro.is-wide {
  max-width: 900px;
}

.ar-intro.is-gray {
  color: var(--gray);
}

.ar-body {
  gap: 16px;
}

/* ---------- Hero (79:2030) ---------- */

.ar-hero {
  padding: 96px 0 120px;
}

.ar-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 622px) minmax(0, 520px);
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}

.ar-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ar-hero-title {
  font-size: clamp(40px, 4.1vw, 59px);
  letter-spacing: 0;
}

.ar-lead {
  display: grid;
  gap: 16px;
}

.ar-hero-art {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 520 / 506;
  margin-left: auto;
}

.ar-hero-warehouse {
  position: absolute;
  left: -9.62%;
  top: -1.58%;
  width: 116.35%;
  height: auto;
  max-width: none;
}

.ar-hero-photo {
  position: absolute;
  left: 45.96%;
  top: 22.33%;
  width: 53.85%;
  height: 53.36%;
  object-fit: cover;
  object-position: 53% center;
  border: 1px solid var(--cyan);
  border-radius: 24px;
}

/* ---------- Cards (problem 79:2070, manages 79:2171) ---------- */

.ar-cards li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 32px 32px;
  border-radius: 20px;
}

.ar-cards h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
}

.ar-cards p {
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Problem (79:2059) ---------- */

.ar-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 608px) minmax(0, 545px);
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}

.ar-problem-intro .story-body {
  margin-top: 32px;
}

.ar-problem-cards {
  display: grid;
  gap: 24px;
}

.ar-problem-cards li {
  min-height: 168px;
  background: var(--pale);
  border: 1px solid #dde2ea;
}

.ar-problem-cards h3 {
  font-size: 22px;
  color: var(--navy-deep);
}

.ar-problem-cards p {
  color: var(--gray);
}

/* ---------- How it works timeline (79:2094) ---------- */

.ar-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.ar-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 115px;
  height: 1px;
  background: linear-gradient(90deg, rgba(84, 170, 71, 0) 0%, #54aa47 8%, #3294c9 92%, rgba(50, 148, 201, 0) 100%);
}

.ar-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ar-step-num {
  font-family: var(--font-head);
  font-size: 80px;
  font-weight: 800;
  line-height: 84px;
  color: var(--text-light);
}

.ar-step-node {
  width: 23px;
  height: 23px;
  margin: 20px 0 28px;
}

.ar-timeline h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-deep);
}

.ar-timeline p {
  margin-top: 8px;
  padding-right: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
}

.ar-timeline .ar-step-tag {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #0077ab; /* brand blue darkened for AA (4.5:1) at small text sizes */
}

.ar-closing {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #dde2ea;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.6;
  text-align: center;
  color: var(--gray);
}

.ar-closing strong {
  font-weight: 700;
  color: var(--navy-deep);
}

/* ---------- Manages (79:2162) ---------- */

#manages .h2 {
  color: #f1f2f2;
}

.ar-manages-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.ar-manages-cards li {
  min-height: 192px;
  background: rgba(29, 61, 113, 0.35);
  border: 1px solid var(--line);
}

.ar-manages-cards h3 {
  font-size: 20px;
  color: #fff;
}

.ar-manages-cards p {
  color: var(--text-muted);
}

/* ---------- Split sections (offboarding 79:2207, portal 79:2319) ---------- */

.ar-split {
  display: grid;
  align-items: center;
}

.ar-split-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Section photos (88:3439, 88:3557); the files are pre-cropped to the Figma crop. */
.ar-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.ar-offboarding {
  grid-template-columns: minmax(0, 584px) minmax(0, 584px);
  justify-content: space-between;
  align-items: stretch;
  gap: 80px;
}

.ar-offboarding-media {
  min-height: 688px;
}

.ar-offboarding .story-body {
  gap: 24px;
}

.ar-audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 24px;
}

.ar-audience {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 16px;
  background: var(--pale);
}

.ar-audience h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-deep);
}

/* Check list: Figma "Icons" checkmark (42x32) + label */
.ar-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ar-checks li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #172544;
}

.ar-checks li::before {
  content: "";
  flex: 0 0 42px;
  height: 32px;
  background: url("/assets/asset-return-management/check-icon.png") center / 42px 32px no-repeat;
}

.ar-audience .ar-checks li {
  min-height: 32px;
}

.ar-portal .ar-checks li {
  align-items: center;
}

.ar-portal {
  grid-template-columns: minmax(0, 494px) minmax(0, 682px);
  justify-content: space-between;
  align-items: stretch;
  gap: 72px;
}

.ar-portal-copy {
  justify-content: space-between;
  gap: 32px;
}

.ar-portal .eyebrow {
  margin-bottom: 12px;
}

.ar-portal-sub {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
}

/* Shared portal mock-up (1400x788): the crop keeps the whole laptop screen in view. */
.ar-portal-media {
  min-height: 531px;
  object-position: 44% center;
}

/* ---------- Next chapter flow (79:2278) ---------- */

.ar-flow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
  padding: 40px 32px;
}

.ar-flow {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ar-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  padding: 14px 20px;
  border: 1px solid #dde2ea;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.78px;
  text-transform: uppercase;
  color: var(--navy);
}

.ar-pill.is-active {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}

/* Drawn as SVG: the "→" glyph is not in the Inter subset we load, so it fell back to a thin system arrow. */
.ar-flow-arrow {
  display: flex;
  color: var(--blue);
}

/* Dashed return path (79:2302): the lower half of a 6/6 dashed rounded rect, clipped by this box. */
.ar-flow-loop {
  overflow: hidden;
  width: min(888px, 100%);
  height: 36px;
  padding: 0 1px;
  color: var(--blue);
}

.ar-flow-loop svg {
  display: block;
  overflow: visible;
}

.ar-statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 25px;
  text-align: center;
}

.ar-statement h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-deep);
}

.ar-statement p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
}

/* ---------- Lifecycle diagram (79:2371) ---------- */

.ar-lifecycle-title {
  max-width: 900px;
}

#lifecycle .h2 {
  color: #f1f2f2;
}

.ar-lifecycle-title .blue {
  display: block;
}

.ar-cycle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 64px;
}

.ar-cycle-steps {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.ar-cycle-steps > li:not(.ar-cycle-arrow) {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 147px;
  text-align: center;
}

.ar-cycle-arrow {
  flex: 0 0 58px;
  padding-top: 48px;
}

.ar-cycle-arrow img {
  width: 58px;
  height: auto;
}

.ar-cycle-icon {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 147px;
  height: 101px;
}

.ar-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 184px;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: plus-lighter;
  pointer-events: none;
}

.ar-cycle-img {
  position: relative;
  height: auto;
}

.ar-cycle-img.is-device { width: 109px; }
.ar-cycle-img.is-employee { width: 140px; }
.ar-cycle-img.is-collect { width: 94px; }
.ar-cycle-img.is-warehouse { width: 130px; }

.ar-redeploy {
  position: relative;
  width: 97px;
  height: 97px;
}

.ar-redeploy img {
  position: absolute;
}

.ar-redeploy-box {
  left: 20.4px;
  top: 16.7px;
  width: 62.5px;
  height: 62.5px;
}

.ar-redeploy-arc {
  left: 0;
  top: 0;
  width: 82.5px;
  height: 67px;
}

.ar-redeploy-arc.is-bottom {
  left: 14.8px;
  top: 30.3px;
  transform: rotate(180deg);
}

.ar-cycle-num {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
}

.ar-cycle-label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: #f1f2f2;
}

.ar-cycle-loop {
  width: min(858px, 100%);
  height: auto;
  margin-top: 4px;
}

.ar-cycle-caption {
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1.44px;
  text-align: center;
  color: var(--green);
}

/* ---------- Final CTA (79:2446) ---------- */

/* 120 + 30 = 150px above and below the 420px row, so the section is 720px tall like the design. */
.ar-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 566px);
  align-items: stretch;
  gap: 64px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.ar-final-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
}

.ar-final-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.ar-final .eyebrow {
  margin-bottom: 16px;
}

.ar-final-title {
  color: #1d3d71;
}

.ar-final .sub {
  margin-top: 16px;
  color: var(--navy);
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .ar-flow {
    gap: 12px;
  }

  .ar-pill {
    width: 128px;
    padding: 12px 14px;
  }

  .ar-cycle-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 24px;
  }

  .ar-cycle-arrow,
  .ar-cycle-loop {
    display: none;
  }
}

@media (max-width: 1100px) {
  .ar-section.section {
    padding: 80px 0;
  }

  .ar-hero-grid,
  .ar-problem-grid,
  .ar-offboarding,
  .ar-portal,
  .ar-final {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .ar-hero-art {
    margin: 0 auto;
  }

  .ar-final {
    padding-top: 0;
    padding-bottom: 0;
  }

  .ar-offboarding-media {
    order: 1;
    min-height: 0;
    aspect-ratio: 584 / 420;
  }

  .ar-portal-media {
    min-height: 0;
    aspect-ratio: 682 / 531;
  }

  .ar-manages-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ar-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 48px;
  }

  .ar-timeline::before {
    display: none;
  }

  .ar-step-node {
    margin: 12px 0 16px;
  }

  .ar-flow {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ar-flow-loop {
    display: none;
  }
}

@media (max-width: 760px) {
  .ar-section.section {
    padding: 64px 0;
  }

  .ar-hero {
    padding: 40px 0 64px;
  }

  .ar-section .eyebrow {
    letter-spacing: 3px;
  }

  .ar-br {
    display: none;
  }

  .ar-manages-cards,
  .ar-timeline,
  .ar-audiences {
    grid-template-columns: minmax(0, 1fr);
  }

  .ar-cards li,
  .ar-problem-cards li,
  .ar-manages-cards li {
    min-height: 0;
    padding: 28px 24px;
  }

  .ar-timeline {
    margin-top: 48px;
    row-gap: 36px;
  }

  .ar-step-num {
    font-size: 56px;
    line-height: 60px;
  }

  .ar-closing {
    margin-top: 48px;
    padding-top: 32px;
  }

  .ar-flow-wrap {
    padding: 32px 0 8px;
  }

  .ar-flow {
    flex-direction: column;
    gap: 8px;
  }

  .ar-pill {
    width: 180px;
  }

  .ar-flow-arrow {
    transform: rotate(90deg);
  }

  .ar-statement .btn {
    white-space: normal;
    height: auto;
    min-height: 44px;
    padding: 10px 20px;
    text-align: center;
  }

  .ar-cycle {
    margin-top: 48px;
  }

  .ar-cycle-caption {
    font-size: 20px;
  }

  .ar-final-img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .ar-cycle-steps {
    gap: 24px 8px;
  }

  .ar-cycle-steps > li:not(.ar-cycle-arrow) {
    width: 140px;
  }

  .ar-cycle-icon {
    width: 140px;
  }

  .ar-glow {
    width: 150px;
  }

  .ar-portal .ar-checks li {
    align-items: flex-start;
  }
}

/* ---------- Polish pass: tablet diagrams and wrapping ---------- */

@media (max-width: 1100px) {
  .ar-hero-title,
  .ar-section .h2,
  .ar-closing,
  .ar-statement h3 {
    text-wrap: balance;
  }

  /* Landscape crop on tablet/phone: keep the open return box fully in frame. */
  .ar-offboarding-media {
    object-position: 50% 80%;
  }

  .ar-flow-wrap {
    padding-left: 0;
    padding-right: 0;
  }
}

/* The five-pill row needs 796px; below that it stacks instead of wrapping with a dangling arrow. */
@media (max-width: 960px) {
  .ar-flow {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .ar-pill {
    width: 180px;
  }

  .ar-flow-arrow {
    transform: rotate(90deg);
  }
}

/* Tablet: keep the five lifecycle steps on one row instead of 4 + 1. */
@media (min-width: 761px) and (max-width: 960px) {
  .ar-cycle-steps {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .ar-cycle-steps > li:not(.ar-cycle-arrow),
  .ar-cycle-icon {
    width: 124px;
  }
}

@media (max-width: 760px) {
  /* Eyebrows that wrap: keep the dot beside the first line instead of floating at the left edge. */
  .ar-hero .eyebrow,
  .ar-section .eyebrow {
    display: block;
  }

  .ar-hero .eyebrow::before,
  .ar-section .eyebrow::before {
    display: inline-block;
    margin-right: 8px;
    vertical-align: 1px;
  }
}

/* Body gray on the pale background was 4.2:1; this tint reaches AA (4.66:1) and is visually the same gray. */
.ar-section.pale,
.ar-problem-cards li {
  --gray: #666f82;
}

/* The shared pale-blue focus ring is hard to see on white and pale sections. */
.ar-section.white :focus-visible,
.ar-section.ar-white :focus-visible,
.ar-section.pale :focus-visible {
  outline-color: #0b5fa5;
}
