@charset "UTF-8";

/* TASK08: spacing and visuals are confined to the cross-department section. */
#approach { position: relative; isolation: isolate; overflow: clip; padding-block: 128px 120px; background: #fbfdff; color: #122b4c; }
#approach .approach-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
#approach > .container { width: min(1360px, calc(100% - 40px)); }
#approach .approach-top { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 40px; }
#approach .approach-copy { min-width: 0; padding-top: 12px; }
#approach .approach-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; color: #102a4b; font-size: 17px; font-weight: 700; line-height: 1.6; }
#approach .approach-eyebrow::before { content: ""; width: 26px; height: 4px; flex: 0 0 auto; border-radius: 2px; background: #ffcb12; }
#approach h2 { margin: 0; color: #051535; font-size: clamp(32px, 2.92vw, 42px); font-weight: 900; line-height: 1.5; letter-spacing: -.045em; overflow-wrap: normal; }
#approach .approach-title-line { display: block; }
#approach .approach-title-phrase { white-space: nowrap; }
#approach .approach-emphasis { color: #0878ff; font-size: 1.08em; }
#approach .approach-lead { margin-top: 32px; color: #183551; font-size: 18px; line-height: 1.8; }

#approach .approach-network { position: relative; min-width: 0; }
#approach .approach-network-lines { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: #42a9ff; stroke-width: 2; pointer-events: none; }
#approach .approach-network-lines > path { marker-start: url(#approach-arrowhead); marker-end: url(#approach-arrowhead); }
#approach .approach-shared { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 206px; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 22px 10px; border-radius: 50%; background: radial-gradient(ellipse, #e2f4ff 35%, #f0faff 68%, rgba(240,250,255,0) 72%); text-align: center; }
#approach .approach-official-logo { width: 162px; height: auto; }
#approach .approach-data-label { position: relative; display: block; width: 168px; padding: 16px 8px 9px; border-radius: 0 0 50% 50% / 0 0 18% 18%; background: #058bff; color: #fff; font-size: 16px; line-height: 1.5; }
#approach .approach-data-label::before { content: ""; position: absolute; top: -9px; left: -1px; right: -1px; height: 22px; border: 2px solid #fff; border-radius: 50%; background: #58baff; }
#approach .approach-data-detail { font-size: 14px; line-height: 1.6; color: #315479; }
#approach .approach-data-detail span { display: block; }
#approach .approach-departments { position: relative; z-index: 2; display: grid; grid-auto-flow: column; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,108px); gap: 28px 220px; }
#approach .approach-department { display: flex; align-items: center; gap: 8px; min-width: 0; position: relative; }
#approach .approach-department:nth-child(-n+3) { flex-direction: row-reverse; text-align: right; }
#approach .approach-person { position: relative; flex: 0 0 80px; width: 80px; height: 80px; overflow: hidden; border-radius: 50%; background: #eff8ff; }
#approach .approach-person-image { position: absolute; inset: 0; width: 100%; height: auto; max-width: none; }
/* Crop only the supplied portraits' edge fragments; keep the original PNGs intact. */
#approach .approach-department:nth-child(-n+3) .approach-person-image { width: 140%; left: -28%; right: auto; }
#approach [data-department="sales"] .approach-person-image { width: 110%; left: auto; right: 0; top: auto; bottom: 0; }
#approach .approach-dept-copy { min-width: 0; flex: 1; }
#approach .approach-dept-name { display: inline-block; padding: 5px 8px; border-radius: 6px; color: white; background: #0088ff; font-size: 15px; font-weight: 700; line-height: 1.5; }
#approach .approach-dept-detail { margin-top: 6px; color: #21466c; font-size: 14px; line-height: 1.5; text-wrap: balance; }
#approach .approach-node-arrow { display: none; }

#approach .approach-examples { margin-top: 88px; }
#approach .approach-model-heading { display: flex; align-items: center; gap: 24px; }
#approach .approach-examples-heading { color: #071b3e; font-size: 27px; font-weight: 900; line-height: 1.5; }
#approach .approach-model-heading > span { height: 1px; background: #bddff7; flex: 1; }
#approach .approach-examples-note { color: #0569ce; font-size: 16px; line-height: 1.7; }
#approach .approach-cards { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; margin-top: 40px; }
#approach .approach-card { --card-accent: #088bff; --card-pale: #e0f3ff; display: grid; grid-template-rows: auto 1fr auto auto; gap: 24px; min-width: 0; padding: 32px 16px; border: 1px solid #eef7fc; border-radius: 16px; background: #fff; box-shadow: 0 3px 16px rgba(27,110,166,.045); }
#approach .approach-card-heading { display: flex; align-items: center; gap: 10px; min-height: 52px; }
#approach .approach-card h3 { min-width: 0; margin: 0; color: #092041; font-size: 17px; font-weight: 900; line-height: 1.5; letter-spacing: -.035em; overflow-wrap: normal; }
#approach .approach-card h3 span { display: inline-block; }
#approach .approach-card-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; color: var(--card-accent); background: var(--card-pale); border-radius: 50%; }
#approach .approach-card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
#approach .approach-card-production svg rect { fill: currentColor; stroke: none; }
#approach .approach-card-maintenance { --card-accent: #16b79d; --card-pale: #def8ef; }
#approach .approach-card-quality { --card-accent: #fa6d73; --card-pale: #ffeaeb; }
#approach .approach-card-materials { --card-accent: #f2b600; --card-pale: #fff3c8; }
#approach .approach-card-cost { --card-accent: #8b68ef; --card-pale: #eee7ff; }
#approach .approach-card-description { margin: 0; color: #203f5c; font-size: 16px; line-height: 1.75; }
#approach .approach-ui { height: 128px; display: flex; justify-content: center; align-items: center; }
#approach .approach-ui-image { width: auto; height: auto; max-width: 100%; max-height: 128px; border-radius: 7px; }
#approach .approach-card-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: none; color: #59768e; font-size: 15px; font-weight: 700; line-height: 1.6; cursor: not-allowed; }
#approach .approach-card-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#approach .approach-cta-wrap { display: flex; justify-content: center; margin-top: 80px; }
#approach .approach-cta { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 66px; max-width: 100%; padding: 17px 42px; border-radius: 999px; color: #fff; background: linear-gradient(100deg,#0075ff,#2da2ff); text-decoration: none; font-size: 18px; font-weight: 700; line-height: 1.6; }
#approach .approach-cta:hover { background: #006be2; }
#approach .approach-cta svg { width: 28px; height: 28px; flex: 0 0 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1200px) {
  #approach .approach-top { grid-template-columns: 1fr; gap: 40px; }
  #approach .approach-copy { max-width: 720px; padding: 0; }
  #approach .approach-network { width: min(740px,100%); margin-inline: auto; }
  #approach .approach-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
}

@media (max-width: 900px) {
  #approach { padding-block: 112px; }
  #approach .approach-top { gap: 36px; }
  #approach h2 { font-size: 38px; }
  #approach .approach-model-heading { flex-wrap: wrap; gap: 14px 24px; }
  #approach .approach-model-heading > span { display: none; }
  #approach .approach-cards { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 36px; }
  #approach .approach-card { padding-inline: 24px; }
  #approach .approach-card h3 { font-size: 19px; }
  #approach .approach-ui { height: 140px; }
  #approach .approach-ui-image { max-height: 140px; max-width: 250px; }
}

@media (max-width: 600px) {
  #approach { padding-block: 80px; }
  #approach .approach-backdrop { opacity: .6; }
  #approach .approach-top { gap: 32px; }
  #approach .approach-eyebrow { font-size: 14px; gap: 10px; margin-bottom: 22px; }
  #approach .approach-eyebrow::before { width: 22px; }
  #approach h2 { font-size: clamp(26px,7.2vw,30px); letter-spacing: -.05em; line-height: 1.5; }
  #approach .approach-emphasis { font-size: 1.03em; }
  #approach .approach-lead { margin-top: 28px; font-size: 16px; line-height: 1.8; }
  #approach .approach-network-lines { display: none; }
  #approach .approach-shared { position: relative; top: auto; left: auto; transform: none; width: 236px; min-height: 190px; padding: 18px 14px; gap: 18px; margin-inline: auto; }
  #approach .approach-official-logo { width: 152px; }
  #approach .approach-data-label { width: 168px; font-size: 15px; }
  #approach .approach-data-detail { font-size: 14px; }
  #approach .approach-departments { grid-auto-flow: row; grid-template-rows: repeat(3,1fr); gap: 16px 24px; margin-top: 32px; }
  #approach .approach-departments::before { content: ""; position: absolute; left: 50%; top: -32px; bottom: calc((100% - 32px) / 6); border-left: 2px solid #6cbcff; transform: translateX(-1px); }
  #approach .approach-department, #approach .approach-department:nth-child(-n+3) { display: block; padding: 12px; border: 1px solid #cce6f9; border-radius: 12px; background: #fff; text-align: left; }
  #approach .approach-person { display: none; }
  #approach .approach-dept-name { display: block; padding: 0; border-radius: 0; background: none; color: #056ccf; font-size: 15px; line-height: 1.5; letter-spacing: -.04em; }
  #approach .approach-dept-detail { margin-top: 6px; font-size: 14px; line-height: 1.6; }
  #approach .approach-department::after { content: ""; position: absolute; top: 50%; width: 14px; height: 2px; background: #6cbcff; transform: translateY(-1px); }
  #approach .approach-department:nth-child(odd)::after { right: -14px; }
  #approach .approach-department:nth-child(even)::after { left: -14px; }
  #approach .approach-examples { margin-top: 64px; }
  #approach .approach-model-heading { display: block; }
  #approach .approach-examples-heading { font-size: 23px; line-height: 1.5; }
  #approach .approach-examples-note { margin-top: 12px; font-size: 15px; }
  #approach .approach-cards { grid-template-columns: 1fr; margin-top: 28px; gap: 20px; }
  #approach .approach-card { padding: 24px 22px; gap: 18px; grid-template-rows: auto auto auto auto; }
  #approach .approach-card-heading { min-height: 42px; gap: 12px; }
  #approach .approach-card h3 { font-size: 18px; }
  #approach .approach-card-description { font-size: 15px; line-height: 1.7; }
  #approach .approach-ui { height: 106px; }
  #approach .approach-ui-image { max-width: 190px; max-height: 106px; }
  #approach .approach-card-link { font-size: 14px; }
  #approach .approach-cta-wrap { margin-top: 56px; }
  #approach .approach-cta { min-height: 68px; padding: 16px 22px; gap: 14px; font-size: 16px; text-align: center; }
  #approach .approach-cta svg { flex-basis: 24px; width: 24px; height: 24px; }
}
