/* Two audiences: business workflows and agency production. */
.service-visual:is(.visual-business,.visual-agency) { height:auto; min-height:420px; border:1px solid var(--soft-border); background:var(--surface-2); box-shadow:0 24px 60px #0000000c; }
:is(.visual-business,.visual-agency) .visual-caption { position:static; display:block; padding:0 26px 22px; color:var(--muted); font-size:.6875rem; letter-spacing:.04em; line-height:1.6; }
.project-visual { padding:28px 28px 24px; }
.project-visual-kicker { color:var(--muted); font-size:.6875rem; letter-spacing:.08em; line-height:1.6; }
.project-visual-title { margin-top:18px; font-size:clamp(calc(1.65rem * var(--heading-ratio,1)),2.8vw,calc(2.25rem * var(--heading-ratio,1))); font-family:var(--heading-font); line-height:1.13; letter-spacing:-.03em; }
.project-visual-title em { color:var(--accent); }
.business-workflow { max-width:430px; margin:28px auto 0; }
.business-node { position:relative; display:flex; align-items:center; justify-content:center; gap:10px; min-width:0; min-height:58px; padding:12px; border:1px solid var(--soft-border); border-radius:13px; color:var(--ink); background:var(--paper); font-size:.8125rem; line-height:1.4; text-align:center; }
.business-node svg { flex-shrink:0; width:23px; height:26px; stroke:var(--accent); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.business-node > span { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.business-node--entry { width:72%; margin-inline:auto; }
.business-node--hub { width:86%; margin-inline:auto; border-color:var(--accent); background:var(--surface-3); font-weight:600; }
.business-node--hub .hexa-mark { width:23px; height:27px; stroke:none; color:var(--accent); }
.business-hub-dot { width:7px; height:7px; border-radius:50%; background:var(--accent); margin-left:4px; }
.business-connector { position:relative; width:1px; height:27px; margin-inline:auto; background:var(--soft-border); }
.business-connector::after,.business-branches > span::after { content:''; position:absolute; top:0; left:-3px; width:7px; height:7px; border-radius:50%; background:var(--accent); animation:business-signal 3.5s linear infinite; }
.business-branches { position:relative; display:flex; justify-content:space-around; width:100%; height:37px; }
.business-branches::before { content:''; position:absolute; top:0; left:50%; height:18px; border-left:1px solid var(--soft-border); }
.business-branches::after { content:''; position:absolute; top:18px; left:25%; width:50%; border-top:1px solid var(--soft-border); }
.business-branches > span { position:relative; width:1px; height:19px; margin-top:18px; background:var(--soft-border); }
.business-branches > span::after { animation-delay:1.8s; }
.business-branches > span:last-child::after { animation-delay:2.1s; }
.business-destinations { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.business-destinations .business-node { flex-direction:column; gap:8px; padding:13px 7px; }
@keyframes business-signal { 0%,15% { opacity:0; transform:translateY(-2px); } 25% { opacity:1; } 80% { opacity:1; } 100% { opacity:0; transform:translateY(23px); } }
.agency-workbench { padding-bottom:30px; }
.agency-preview-pair { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:30px; padding:38px 0 32px; }
.agency-preview { position:relative; min-width:0; }
.agency-preview-label { display:block; font-size:.75rem; color:var(--muted); margin-bottom:16px; }
.agency-preview-window { min-height:210px; padding:13px; border:1px solid var(--soft-border); border-radius:12px; background:var(--paper); box-shadow:0 16px 28px #0000000d; }
.agency-preview--sketch .agency-preview-window { border-style:dashed; transform:rotate(-5deg); }
.agency-preview--built { padding-top:22px; }
.agency-preview--built .agency-preview-window { border-color:var(--accent); transform:rotate(4deg); }
.agency-preview-bar { display:block; width:44%; height:5px; margin-bottom:18px; border-radius:8px; background:var(--soft-border); }
.agency-preview-picture { display:grid; place-items:center; height:86px; border:1px solid var(--soft-border); border-radius:6px; background:repeating-linear-gradient(135deg,transparent 0 11px,var(--surface-2) 12px 13px); }
.agency-preview--built .agency-preview-picture { overflow:hidden; color:var(--on-accent); border-color:transparent; background:var(--accent); }
.agency-preview-picture .hexa-mark { width:45px; height:55px; animation:agency-component 5s ease-in-out infinite; }
.agency-preview-line { display:block; height:4px; margin-top:13px; border-radius:5px; background:var(--soft-border); }
.agency-preview-line + .agency-preview-line { width:65%; margin-top:7px; }
.agency-preview-button { display:block; width:53%; height:18px; margin-top:16px; border:1px solid var(--soft-border); border-radius:12px; }
.agency-preview--built .agency-preview-button { background:var(--accent); border-color:var(--accent); }
.agency-build-arrow { position:absolute; z-index:2; top:46%; left:calc(50% - 13px); color:var(--accent); font-size:1.8rem; transform:rotate(45deg); }
.agency-design-point { position:absolute; width:8px; height:8px; border:1px solid var(--accent); background:var(--paper); top:34px; left:0; }
.agency-design-point:last-child { top:auto; left:auto; bottom:3px; right:0; }
.agency-delivery-strip { display:flex; flex-wrap:wrap; gap:8px 14px; padding-top:18px; border-top:1px solid var(--soft-border); color:var(--ink); font-size:.75rem; }
.agency-delivery-strip > span { display:flex; align-items:center; gap:7px; }
.agency-delivery-strip i { width:6px; height:6px; border-radius:50%; background:var(--accent); }
@keyframes agency-component { 0%,15%,85%,100% { transform:translateY(0) rotate(0); } 40%,60% { transform:translateY(-5px) rotate(-8deg); } }
.project-visual *,.project-visual *::before,.project-visual *::after { animation-play-state:paused; }
.project-visual[data-scene-active] *,.project-visual[data-scene-active] *::before,.project-visual[data-scene-active] *::after { animation-play-state:running; }
.motion-paused .project-visual *,.motion-paused .project-visual *::before,.motion-paused .project-visual *::after { animation:none !important; }
.project-features-intro { max-width:780px; margin:-12px 0 32px; color:var(--muted); font-size:.9375rem; line-height:1.8; }
.page-agences .agency-engagements { grid-template-columns:repeat(3,minmax(0,1fr)); }
.agency-engagements .hosting-card { min-width:0; padding:30px; }
.agency-engagements .hosting-card h3 { font-size:clamp(calc(1.35rem * var(--heading-ratio,1)),2.1vw,calc(1.8rem * var(--heading-ratio,1))); line-height:1.2; }
.agency-handover { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(30px,6vw,80px); padding:clamp(26px,4vw,54px); margin-block:0 90px; border:1px solid var(--soft-border); border-radius:24px; background:var(--surface-2); }
.agency-handover h2 { margin-top:22px; font-size:clamp(calc(1.9rem * var(--heading-ratio,1)),3vw,calc(2.6rem * var(--heading-ratio,1))); line-height:1.15; letter-spacing:-.035em; }
.agency-handover p { margin-top:18px; color:var(--muted); font-size:.9375rem; line-height:1.8; }
.agency-stack { display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; list-style:none; }
.agency-stack > li { padding:7px 10px; border:1px solid var(--soft-border); border-radius:20px; font-size:.75rem; line-height:1.4; }
.agency-deliverables { align-self:center; list-style:none; }
.agency-deliverables > li { display:flex; align-items:flex-start; gap:16px; padding:20px 0; border-top:1px solid var(--line); }
.agency-deliverables > li:first-child { padding-top:0; border-top:0; }
.agency-deliverables > li:last-child { padding-bottom:0; }
.agency-deliverables svg { flex-shrink:0; width:22px; height:22px; color:var(--accent); stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; margin-top:3px; }
.agency-deliverables h3 { font-family:var(--sans); font-size:1rem; font-weight:600; letter-spacing:0; line-height:1.5; }
.agency-deliverables p { margin-top:6px; font-size:.875rem; }
@media (max-width:1100px) { .page-agences .agency-engagements { grid-template-columns:1fr; } }
@media (max-width:700px) { .agency-handover { grid-template-columns:1fr; margin-bottom:60px; } }
@media (max-width:450px) {
  .project-visual { padding:22px 19px; }
  .agency-preview-pair { gap:22px; padding-top:25px; }
  .agency-preview-window { min-height:190px; padding:10px; }
  .agency-preview-picture { height:70px; }
  .agency-preview-label { font-size:.6875rem; }
  .agency-build-arrow { font-size:1.5rem; }
  :is(.visual-business,.visual-agency) .visual-caption { padding-inline:19px; }
}
@media (max-width:600px) {
  :root:is([data-text-size="grand"],[data-text-size="tres-grand"],[data-text-size="maximum"]) .agency-preview-pair { grid-template-columns:1fr; max-width:260px; margin-inline:auto; }
  :root:is([data-text-size="grand"],[data-text-size="tres-grand"],[data-text-size="maximum"]) .agency-build-arrow { position:static; justify-self:center; line-height:1; transform:rotate(135deg); }
  :root:is([data-text-size="grand"],[data-text-size="tres-grand"],[data-text-size="maximum"]) .agency-preview--built { padding-top:0; }
}
@media (prefers-reduced-motion:reduce) { .project-visual *,.project-visual *::before,.project-visual *::after { animation:none !important; } }
@media print { .agency-handover { break-inside:avoid; } }
