/* Kiwui delight: energy becomes structure. Geometry is decorative; copy and controls lead. */
.section-art {
  width: min(100%, 360px);
  color: var(--color-ink);
  pointer-events: none;
}
.section-art svg { width: 100%; height: auto; overflow: visible; }
.section-art .art-wire { stroke: var(--color-rule); stroke-width: 1; }
.section-art .art-draw { stroke: var(--color-focus); stroke-width: 2; }
.section-art .art-piece--outline { stroke: currentColor; stroke-width: 1.5; }
.section-art .art-piece--solid { fill: var(--color-accent); }
.section-seam { width: 100%; height: clamp(56px, 7.8vw, 112px); pointer-events: none; overflow: clip; }
.section-seam svg { width: 100%; height: 100%; }
.seam-band { fill: var(--color-accent); }
.seam-guide { stroke: var(--color-rule); stroke-width: 1; }
.section-seam--dark .seam-guide { stroke: var(--color-dark-rule); }

/* The home moves from the name's energy into the concrete areas of work. */
.home-offer:has(>.section-seam) { padding-top: 0; }
.home-offer>.section-seam { margin-bottom: var(--space-2xl); }
.offer-heading { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2xl); margin-bottom: var(--space-2xl); }
.home-offer .offer-heading h2 { margin: 0; }
.offer-heading .section-art { flex: 0 1 320px; }
.technology-teaser .section-art { margin-top: var(--space-xl); max-width: 320px; }
.manifesto-method>.method-panel { grid-column: 1; grid-row: 1; }
.manifesto-method>.method-photo { grid-column: 2; grid-row: 1; }

/* In the directories, a graphic anchors each family rather than each product. */
.service-group-heading,.technology-group-heading { min-width: 0; }
.service-group-heading .section-art,.technology-group-heading .section-art { max-width: 260px; margin-top: var(--space-xl); }
.service-group:has(.service-group-heading),.technology-group:has(.technology-group-heading) { padding-top: var(--space-xl); }
.service-group+.service-group,.technology-group+.technology-group { margin-top: var(--space-2xl); }
.service-group-heading h3,.technology-group-heading h2 { max-width: 20ch; }
.technology-group-heading h2 { font-size: var(--text-title); }
.service-index>a { position: relative; }
.service-index>a:before { content: ''; position: absolute; inset: auto auto -1px 0; width: 64px; height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); }
.service-index>a:hover:before,.service-index>a:focus-visible:before { transform: scaleX(1); }

/* Each chapter in a detail page has its own visual language. */
.intervention-heading { min-width: 0; }
.intervention-heading .section-art { margin-top: var(--space-xl); max-width: 340px; }
.use-case-section:has(>.section-seam) { padding-top: 0; }
.use-case-section>.section-seam { margin-bottom: var(--space-xl); }
.use-case-section .section-heading { position: relative; padding-right: 240px; min-height: 140px; }
.use-case-section .section-heading>.section-art { position: absolute; right: 0; top: 0; width: 220px; color: var(--color-paper); }
.use-case-section .section-art .art-wire { stroke: var(--color-dark-rule); }
.use-case-section .section-art .art-draw { stroke: var(--color-accent); }
.project-section .section-heading { display: grid; grid-template-columns: minmax(0,1fr) 240px; column-gap: var(--space-2xl); align-items: center; }
.project-section .section-heading h2 { grid-column: 1; }
.project-section .section-heading p { grid-column: 1; }
.project-section .section-heading>.section-art { grid-column: 2; grid-row: 1 / 3; width: 240px; }
.project-story { position: relative; }
.project-story:before { content: ''; position: absolute; top: -1px; left: 0; width: 64px; height: 4px; background: var(--color-accent); }
.catalog-offers>.wrap { position: relative; }
.catalog-offers>.wrap:before { content: ''; position: absolute; top: -6px; right: 0; width: 44px; height: 12px; background: var(--color-accent); }

/* A shared hand-off to the conversation, on company, method, directory and detail pages. */
.contact-band { position: relative; isolation: isolate; }
.contact-band>.section-seam { position: absolute; inset: 0 0 auto; height: 48px; }
.contact-band-layout { position: relative; z-index: 1; }
.contact-band .contact-signature { opacity: .22; }
.contact-band .section-seam .seam-band { fill: var(--color-accent); }

@media(max-width: 960px) {
  .offer-heading { gap: var(--space-lg); }
  .offer-heading .section-art { flex-basis: 240px; }
  .intervention-heading { display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: var(--space-lg); align-items: center; }
  .intervention-heading .section-art { margin: 0; }
  .use-case-section .section-heading { padding-right: 180px; }
  .use-case-section .section-heading>.section-art { width: 160px; }
}
@media(max-width: 760px) {
  .home-offer>.section-seam { margin-bottom: var(--space-xl); }
  .offer-heading { align-items: flex-start; gap: var(--space-lg); }
  .offer-heading .section-art { flex-basis: 100px; min-width: 88px; padding-top: var(--space-xs); }
  .offer-heading h2 { flex: 1; }
  .technology-teaser .section-art { max-width: 200px; }
  .service-group-heading,.technology-group>.technology-group-heading { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); }
  .service-group-heading h3,.technology-group-heading h2 { font-size: 1.25rem; line-height: 1.3; }
  .service-group-heading .section-art,.technology-group-heading .section-art { width: 112px; flex-shrink: 0; margin: 0; }
  .service-group+.service-group,.technology-group+.technology-group { margin-top: var(--space-xl); }
  .intervention-heading { grid-template-columns: minmax(0,1fr); gap: var(--space-lg); }
  .intervention-heading .section-art { width: 180px; }
  .use-case-section .section-heading { padding-right: 0; min-height: 0; }
  .use-case-section .section-heading>.section-art { position: static; width: 160px; margin-top: var(--space-lg); }
  .project-section .section-heading { grid-template-columns: minmax(0,1fr); }
  .project-section .section-heading>.section-art { grid-column: 1; grid-row: auto; width: 180px; margin-top: var(--space-lg); }
  .contact-band>.section-seam { height: 32px; }
  .manifesto-method>.method-photo { grid-column: 1; grid-row: 2; }
}
