/* Concept page and its portfolio illustration. All typography and colors come from styles.css. */
.concept-page :is(h1,h2,h3) { text-wrap:balance; }
.concept-page p { text-wrap:pretty; }
.concept-hero { display:grid; grid-template-columns:1.12fr 1fr; align-items:center; gap:64px; padding-block:48px 64px; }
.concept-hero h1 { font-size:var(--fs-h1); line-height:1.1; }
.concept-hero h1 span,.concept-outcome h2 span { display:block; color:var(--accent); }
.concept-caption { font-size:12px; line-height:1.7; color:var(--muted); }
.concept-hero .concept-caption { margin-top:28px; max-width:490px; }
.knowledge-visual { padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:radial-gradient(#c9c9c350 .8px,transparent .8px) 0 0/20px 20px,var(--paper); }
.knowledge-visual .visual-top { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; color:var(--muted); }
.knowledge-inputs { display:flex; gap:8px; margin-top:36px; }
.knowledge-inputs span { flex:1; text-align:center; padding:12px 4px; font-size:12px; background:#fff; border:1px solid var(--line); border-radius:7px; }
.knowledge-lines { height:32px; border:solid var(--connector); border-width:0 1px 1px; width:68%; margin-inline:auto; position:relative; }
.knowledge-lines::after { content:""; position:absolute; height:32px; border-left:1px solid var(--connector); left:50%; top:0; }
.knowledge-hub { display:flex; align-items:center; gap:16px; margin-top:20px; border:1px solid #52616b; padding:22px 18px; border-radius:var(--radius-sm); background:linear-gradient(135deg,#40535f,var(--dark)); color:white; box-shadow:inset 0 1px 0 #ffffff30,0 6px 16px #25313d12; }
.knowledge-hub strong { display:block; font:500 20px/1.2 var(--font-heading); }
.knowledge-hub div>span { display:block; color:#d3dce2; font-size:12px; margin-top:6px; }
.concept-icon { width:48px; height:48px; display:grid; place-items:center; flex-shrink:0; color:#fff; background:linear-gradient(145deg,#536675,#22303b); border:1px solid #6c7c85; border-radius:var(--radius-sm); box-shadow:inset 0 1px 0 #ffffff30; }
.concept-icon .icon { width:28px; height:28px; }
.knowledge-hub .concept-icon { background:#ffffff0d; }
.knowledge-trunk { position:relative; height:40px; }
.knowledge-trunk::before { content:""; position:absolute; width:var(--arrow-size); height:var(--arrow-size); background:var(--connector-head); -webkit-mask:var(--arrow) center/contain no-repeat; mask:var(--arrow) center/contain no-repeat; top:calc(50% - var(--arrow-size) / 2); left:calc(50% - var(--arrow-size) / 2); transform:rotate(90deg); }
.knowledge-input-arrow + .knowledge-hub { margin-top:0; }
.knowledge-output { border:1px solid #d77c16; background:linear-gradient(135deg,#ffbb55,#ed9229 55%,#e18118); border-radius:var(--radius-sm); padding:20px 12px; text-align:center; color:#38280f; box-shadow:inset 0 1px 0 #ffe5b2,0 4px 12px #b4530a14; }
.knowledge-output strong { display:block; font-size:18px; }
.knowledge-output span { display:block; font-size:12px; margin-top:4px; }
.knowledge-visual figcaption { font-size:11px; color:var(--muted); margin-top:24px; }
.concept-section-heading { max-width:730px; margin-bottom:36px; }
.concept-section-heading>p:last-child { margin-top:22px; color:var(--muted); }
/* The first paragraph under the title gets the same gap even when a second paragraph follows. */
.concept-section-heading>:is(h2,h3)+p { margin-top:22px; }
.concept-section-heading>p:not(.eyebrow) { color:var(--muted); }
.concept-solutions { background:var(--paper); padding-block:72px; }
.concept-solutions .concept-section-heading { max-width:1000px; }
.concept-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.concept-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); padding:28px; display:flex; flex-direction:column; }
.concept-card-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.concept-card-top>span:last-child { color:var(--accent); font-size:12px; font-weight:600; letter-spacing:1px; }
.concept-card h3 { font-size:24px; margin-bottom:18px; }
.concept-card p { font-size:15px; color:var(--muted); }
.concept-card p+p { margin-top:14px; }
.concept-card .concept-card-result { color:var(--accent); font-weight:600; border-top:1px solid var(--line); padding-top:18px; margin-top:auto; }
.concept-card p:nth-last-child(2) { margin-bottom:28px; }
.concept-technical-note { font-size:13px; line-height:1.8; color:var(--muted); max-width:960px; margin-top:28px; }
.concept-flow-section { padding-block:80px; }
.concept-flow-section .concept-section-heading { max-width:none; }
.quote-flow { border:1px solid var(--line); border-radius:var(--radius); padding:32px; background:var(--paper); }
.quote-flow-steps { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.quote-flow-steps li { position:relative; background:#fff; border:1px solid var(--line); border-radius:10px; padding:22px 16px; }
.quote-flow-steps li+li::before { content:""; position:absolute; width:var(--arrow-size); height:var(--arrow-size); background:var(--connector-head); -webkit-mask:var(--arrow) center/contain no-repeat; mask:var(--arrow) center/contain no-repeat; left:calc(-12px - var(--arrow-size) / 2); top:calc(50% - var(--arrow-size) / 2); }
.flow-number { font-size:11px; color:var(--accent); }
.quote-flow-steps h3 { font-size:20px; margin:14px 0 8px; }
.quote-flow-steps p { font-size:13px; color:var(--muted); }
.quote-flow-steps .flow-check { border-color:var(--highlight-line); background:var(--highlight); }
.flow-sources { display:flex; justify-content:space-between; gap:20px; margin-top:22px; color:var(--muted); font-size:12px; }
.flow-sources span { padding:10px 0; border-bottom:1px solid #c8ccc6; }
.quote-flow figcaption { margin-top:22px; font-size:12px; color:var(--muted); }
.concept-flow-copy { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.45fr); gap:22px 40px; margin-top:32px; padding:32px; border:1px solid var(--highlight-line); border-radius:var(--radius); background:var(--highlight); box-shadow:inset 0 1px 0 #ffffffb0; }
.concept-flow-copy .section-label { grid-column:1/-1; margin:0; font-size:11px; color:var(--accent); }
.concept-flow-copy h3 { font-size:var(--fs-h3-panel); line-height:1.2; }
.quote-flow-steps h3,.concept-flow-copy h3 { color:var(--ink); }
.concept-flow-copy h3 span { display:block; color:var(--accent); }
.concept-flow-copy p { color:var(--ink); font-size:15px; }
.concept-flow-copy p+p { margin-top:16px; }
.concept-flow-copy strong { font-weight:600; }
.concept-start { background:linear-gradient(125deg,#324451,var(--dark)); color:white; padding-block:72px; }
.concept-start-grid { display:grid; grid-template-columns:1fr 1fr; gap:90px; }
.concept-start .section-label { color:#ffbe72; }
.concept-start-grid>div>p:last-child { margin-top:24px; color:#d4dde3; }
.concept-start-steps { list-style:none; margin:0; padding:0; }
.concept-start-steps li { display:flex; gap:20px; }
.concept-start-steps li+li { margin-top:26px; }
.concept-start-steps li>span { color:#ffbd72; border:1px solid #71808a; border-radius:50%; width:36px; height:36px; display:grid; place-items:center; flex-shrink:0; font-size:13px; }
.concept-start-steps h3 { font-size:20px; }
.concept-start-steps p { font-size:14px; margin-top:8px; color:#d4dde3; }
.concept-outcome { padding-block:80px; }
.concept-outcome>p:not(.section-label) { max-width:790px; margin-top:24px; }
.concept-outcome>p:not(.section-label):not(.concept-caption) { color:var(--muted); }
.concept-preview .knowledge-visual { width:100%; }
@media(max-width:1100px) {
  .concept-hero { gap:32px; }
  .concept-card { padding:22px; }
  .knowledge-visual { padding:22px; }
  .knowledge-hub { padding:18px 14px; gap:10px; }
  .knowledge-hub strong { font-size:20px; }
  .concept-start-grid { gap:48px; }
}
@media(max-width:900px) {
  .concept-hero { grid-template-columns:1fr; }
  .concept-hero .knowledge-visual { max-width:600px; width:100%; }
  .concept-cards { grid-template-columns:1fr; }
  .quote-flow-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .quote-flow-steps li+li::before { content:none; }
  .concept-start-grid { grid-template-columns:1fr; }
  .concept-flow-copy { grid-template-columns:1fr; gap:20px; }
}
@media(max-width:620px) {
  .concept-hero { padding-block:24px 40px; }
  .concept-hero h1 { font-size:var(--fs-h1); }
  .knowledge-visual { padding:18px; }
  .knowledge-inputs { gap:6px; margin-top:24px; }
  .knowledge-inputs span { font-size:11px; padding:10px 2px; }
  .knowledge-hub strong { font-size:18px; }
  .knowledge-hub div>span { font-size:11px; }
  .knowledge-hub .concept-icon { width:38px; height:38px; border-radius:9px; }
  .knowledge-output strong { font-size:16px; }
  .concept-solutions,.concept-flow-section,.concept-start,.concept-outcome { padding-block:48px; }
  .concept-section-heading h2,.concept-start h2,.concept-outcome h2 { font-size:32px; }
  .concept-card h3 { font-size:24px; }
  .quote-flow { padding:18px; }
  .quote-flow-steps { grid-template-columns:1fr; gap:18px; }
  .quote-flow-steps li { padding:18px; }
  .quote-flow-steps h3 { margin-top:4px; }
  .quote-flow-steps li+li::before { content:""; left:calc(50% - var(--arrow-size) / 2); top:calc(-9px - var(--arrow-size) / 2); transform:rotate(90deg); }
  .flow-sources { flex-direction:column; gap:0; }
  .concept-flow-copy { padding:24px; }
}

/* Packaging producer page: order handoff diagram, full map screenshot, pain cards. */
.quote-flow-steps.improvement-options li+li::before { content:none; }
.handoff-steps { list-style:none; margin:28px 0 0; padding:0; display:grid; gap:20px; counter-reset:none; }
.handoff-steps li { position:relative; display:grid; grid-template-columns:28px 1fr auto; align-items:center; gap:12px; padding:11px 14px; background:#fff; border:1px solid var(--line); border-radius:8px; }
.handoff-steps li+li::before { content:""; position:absolute; width:var(--arrow-size); height:var(--arrow-size); background:var(--connector-head); -webkit-mask:var(--arrow) center/contain no-repeat; mask:var(--arrow) center/contain no-repeat; left:20px; top:-18px; transform:rotate(90deg); }
.handoff-steps span { font-size:11px; color:var(--accent); }
.handoff-steps strong { font-weight:500; font-size:15px; }
.handoff-steps em { font-style:normal; font-size:11px; color:var(--muted); text-align:right; }
.handoff-steps .handoff-manual { border-color:var(--highlight-line); background:var(--highlight); }
.handoff-steps .handoff-manual em { color:#a85a0c; }
.handoff-visual .knowledge-output { margin-top:18px; }
.map-full { margin-bottom:36px; border:1px solid var(--line); border-radius:var(--radius); }
.map-full .process-screenshot-frame { aspect-ratio:auto; }
.map-full .process-screenshot-frame img { transform:none; }
.map-full figcaption { font-size:12px; color:var(--muted); }
/* The map opens in the same image viewer as the GeoStops screenshots. */
.map-zoom { display:block; color:inherit; text-decoration:none; cursor:zoom-in; }
.map-zoom:hover { border-color:var(--accent); }
.map-zoom:focus-visible { outline-offset:4px; }
@media(max-width:620px) {
  .handoff-steps li { grid-template-columns:22px 1fr; padding:10px 12px; }
  .handoff-steps em { grid-column:2; text-align:left; }
  .handoff-steps li+li::before { left:15px; }
}

.packaging-page .monitoring-inline-link { text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:4px; text-decoration-thickness:1px; }
.packaging-page .monitoring-inline-link:hover { color:var(--accent); }
.packaging-page .concept-flow-copy h3 { text-wrap:balance; }
