/* * Identity convergence diagram. * * Both breakpoints are positioned compositions with dashed connector lines * fanning out from a center identity node to six app logos. * - Mobile (default): a portrait stage — three logos on top, three on the * bottom, lines fanning vertically. * - Desktop (>=46em): a landscape stage — three logos left, three right, * lines fanning horizontally. * * Each logo shows its name at rest and unfolds a description card out of the * icon on hover / keyboard focus. See the ".card" section for how direction is * configured: cards always grow OUTWARD (down/up on mobile, left/right on * desktop) so an open one never covers the lines or the identity node. */ .stage { position: relative; display: block; width: 100%; max-width: 340px; aspect-ratio: 340 / 520; margin: 0 auto; } /* Connector overlays. The mobile (vertical) SVG shows by default; the desktop (horizontal) SVG takes over at the breakpoint. */ .lines, .linesMobile { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } .lines { display: none; } .line { fill: none; stroke: light-dark(var(--mantine-color-gray-4), var(--mantine-color-dark-3)); stroke-width: 4; stroke-dasharray: 7 7; stroke-linecap: round; } /* The Semble↔you connector — orange so the app this page is about pops out of the otherwise-gray web. */ .lineAccent { stroke: light-dark( var(--mantine-color-orange-5), var(--mantine-color-orange-4) ); } /* Center identity node. On mobile it sits slightly below the midpoint so the top and bottom connector lines read equal length: the top line-ends stop at y≈186 and the bottom line-ends at their chips' top edge (y≈374), so the avatar sits at the midpoint of those two ends (y≈280 → 53.8%). Desktop resets it to the true center. */ .center { position: absolute; left: 50%; top: 53.8%; transform: translate(-50%, -50%); z-index: 2; } .avatar { border-radius: 50%; } /* The logos wrapper is transparent to layout; each node positions absolutely. */ .logos { display: contents; } /* --chip is the icon box and every card measurement derives from it, so the collapsed card lines up with the mark exactly — change it in one place. The node's own size IS the chip: the card and the name are both out of flow, so the link's hit area stays 64px and a wide card can't steal clicks from its neighbours. --card-* / --clip-* are set per position further down; the values here are just safe defaults. */ .node { --chip: 64px; --card-w: 200px; --card-radius: 16px; /* Horizontal shift of the card relative to the icon, used on mobile so the outer columns' cards don't hang off the narrow stage. */ --nudge: 0px; --card-ml: 0px; --card-ty: 0; --card-align: left; position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 1; } /* The open node paints over its neighbours (and over the .center avatar at z-index 2) so its card is never cut into. */ .node:hover, .node:focus-visible { z-index: 5; } /* Each app node is an anchor opening the app in a new tab. */ .link { text-decoration: none; color: inherit; cursor: pointer; } /* Above the card, so the block appears to unfold from behind the mark. */ .chip { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: var(--chip); height: var(--chip); transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1); } .node:hover .chip, .node:focus-visible .chip { transform: scale(1.06); } .logo { width: 34px; height: 34px; object-fit: contain; } /* Portrait marks (e.g. Anisota) read better with a bit more height. */ .tall { width: auto; height: 40px; } /* Theme-conditional variants for logos that need a light/dark swap. */ [data-mantine-color-scheme='dark'] .hideOnDark { display: none; } [data-mantine-color-scheme='light'] .hideOnLight { display: none; } /* ---- Always-visible name ---- * Sits under the mark and stays put when the card opens (z-index 2 puts it above * the card, which the card's icon-side gutter keeps text-free). Single short * word, so unlike the old two-line labels it can't collide across columns. * No backdrop needed: every connector line stops clear of this band. */ .nameLabel { position: absolute; z-index: 2; top: 100%; left: 50%; transform: translateX(-50%); margin-top: -2px; white-space: nowrap; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.08em; } /* ---- Hover / focus card ---- * * The card is a normal, fully laid-out box that is CLIPPED down to the icon's * box when closed, so opening it is a single clip-path interpolation — no height * guessing, and the copy can change length freely. Two inset() shapes with the * same round radius interpolate cleanly and clip-path is widely supported; * grid-template-rows 0fr→1fr, the other common "height: auto" animation, is not * animatable in Safari, which is why it isn't used here. * * Direction is entirely variable-driven, so each layout is one recipe block: * --card-top/right/bottom/left which edge is pinned to the icon * --card-ty -50% when the card is centered on the icon * --card-p* the icon-side value reserves the mark + name * --clip-* the closed window, i.e. exactly the icon box * Percentages in --clip-* resolve against the card's own border box, which is * how "vertically centered, unknown height" works without measuring anything. */ .cardWrap { position: absolute; z-index: 0; top: var(--card-top); right: var(--card-right); bottom: var(--card-bottom); left: var(--card-left); width: var(--card-w); margin-left: var(--card-ml); transform: translateY(var(--card-ty)); opacity: 0; pointer-events: none; /* On the wrapper, not the card: the filter applies to the already-clipped child, so the shadow follows the unfolding shape. */ filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12)); transition: opacity 120ms ease; } .card { /* Explicit, because the clip math assumes border box == --card-w. */ box-sizing: border-box; /* Guarantees the closed clip window (one --chip tall) is never taller than the card itself. */ min-height: var(--chip); padding: var(--card-pt) var(--card-pr) var(--card-pb) var(--card-pl); border-radius: var(--card-radius); text-align: var(--card-align); background: light-dark( var(--mantine-color-body), var(--mantine-color-dark-6) ); border: 1px solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4)); clip-path: inset( var(--clip-t) var(--clip-r) var(--clip-b) var(--clip-l) round var(--card-radius) ); transition: clip-path 300ms cubic-bezier(0.22, 1, 0.36, 1); } /* Text fades in just behind the unfolding edge, so it never appears to slide out of the icon. */ .cardBody { opacity: 0; transition: opacity 140ms ease 90ms; } .node:hover .cardWrap, .node:focus-visible .cardWrap { opacity: 1; /* Open, so the pointer can move into the card without closing it. */ pointer-events: auto; } .node:hover .card, .node:focus-visible .card { clip-path: inset(0 0 0 0 round var(--card-radius)); } .node:hover .cardBody, .node:focus-visible .cardBody { opacity: 1; } .cardKind { line-height: 1.3; text-transform: uppercase; letter-spacing: 0.08em; } .cardTagline { line-height: 1.3; color: var(--mantine-color-text); } .cardDesc { line-height: 1.4; } /* Mobile recipe — unfold DOWN (top row). Pinned to the chip's top edge, with padding-top reserving the mark plus the name label below it. */ .pos0, .pos1, .pos2 { --card-top: 0; --card-right: auto; --card-bottom: auto; --card-left: 50%; --card-ml: calc(var(--card-w) / -2 + var(--nudge)); --card-ty: 0; --card-pt: calc(var(--chip) + 18px); --card-pr: 12px; --card-pb: 12px; --card-pl: 12px; --card-align: left; --clip-t: 0px; --clip-r: calc(var(--card-w) / 2 + var(--nudge) - var(--chip) / 2); --clip-b: calc(100% - var(--chip)); --clip-l: calc(var(--card-w) / 2 - var(--nudge) - var(--chip) / 2); } /* Mobile recipe — unfold UP (bottom row). The name sits below the chip, i.e. outside the card entirely, so only the mark needs clearing. */ .pos3, .pos4, .pos5 { --card-top: auto; --card-right: auto; --card-bottom: 0; --card-left: 50%; --card-ml: calc(var(--card-w) / -2 + var(--nudge)); --card-ty: 0; --card-pt: 12px; --card-pr: 12px; --card-pb: calc(var(--chip) + 4px); --card-pl: 12px; --card-align: left; --clip-t: calc(100% - var(--chip)); --clip-r: calc(var(--card-w) / 2 + var(--nudge) - var(--chip) / 2); --clip-b: 0px; --clip-l: calc(var(--card-w) / 2 - var(--nudge) - var(--chip) / 2); } /* A card centered on a logo at 16%/84% of the 340px stage would hang off the edge, so the outer columns are pulled inboard; the --clip-* formulas above subtract --nudge back out, keeping the closed window on the icon. At the 200px width, the worst case (320px viewport, ~296px stage) still keeps the card a few px inside the viewport. */ .pos0, .pos3 { --nudge: 45px; } .pos2, .pos5 { --nudge: -45px; } /* No hover means no card. The name is always visible, so a tap just follows the link with the diagram still legible. */ @media (hover: none) { .cardWrap { display: none; } } @media (prefers-reduced-motion: reduce) { .card, .cardBody, .chip { transition-duration: 1ms; } } /* Mobile vertical layout: top row (pos0–2) and bottom row (pos3–5). */ .pos0 { --x: 16%; --y: 22%; } .pos1 { --x: 50%; --y: 22%; } .pos2 { --x: 84%; --y: 22%; } .pos3 { --x: 16%; --y: 78%; } .pos4 { --x: 50%; --y: 78%; } .pos5 { --x: 84%; --y: 78%; } /* ---- Landscape layout (desktop) ---- */ @media (min-width: 46em) { .stage { max-width: 760px; aspect-ratio: 1000 / 620; margin: 1rem auto; } .linesMobile { display: none; } .lines { display: block; } /* Avatar returns to the true center to align with the horizontal converge point of the desktop lines. */ .center { top: 50%; } /* Cards now grow sideways and are pinned to the outward edge of the chip, so the space available is (column inset + half a chip) ≈ 184px on a full-width stage. 190px keeps the overhang to a few px between this breakpoint and 60em, where the stage stops growing and there's room to widen. --nudge is unused here (it only centers a horizontally-centered card). */ .node { --card-w: 190px; --nudge: 0px; } /* Desktop recipe — unfold LEFT (left column). Right edge pinned to the chip's right edge and centered on it vertically; padding-right reserves the mark and the name label under it, so keep names under ~9 characters or raise the 40px. */ .pos0, .pos1, .pos2 { --card-top: 50%; --card-right: 0; --card-bottom: auto; --card-left: auto; --card-ml: 0px; --card-ty: -50%; --card-pt: 12px; --card-pr: calc(var(--chip) / 2 + 40px); --card-pb: 12px; --card-pl: 14px; /* Left-aligned like every other card — the ragged edge falls on the gutter side, which the padding-right already keeps clear of the mark. */ --card-align: left; --clip-t: calc(50% - var(--chip) / 2); --clip-r: 0px; --clip-b: calc(50% - var(--chip) / 2); --clip-l: calc(100% - var(--chip)); } /* Desktop recipe — unfold RIGHT (right column). Exact mirror. */ .pos3, .pos4, .pos5 { --card-top: 50%; --card-right: auto; --card-bottom: auto; --card-left: 0; --card-ml: 0px; --card-ty: -50%; --card-pt: 12px; --card-pr: 14px; --card-pb: 12px; --card-pl: calc(var(--chip) / 2 + 40px); --card-align: left; --clip-t: calc(50% - var(--chip) / 2); --clip-r: calc(100% - var(--chip)); --clip-b: calc(50% - var(--chip) / 2); --clip-l: 0px; } /* Left column (pos0–2), top → bottom */ .pos0 { --x: 20%; --y: 18%; } .pos1 { --x: 20%; --y: 50%; } .pos2 { --x: 20%; --y: 82%; } /* Right column (pos3–5), top → bottom */ .pos3 { --x: 80%; --y: 18%; } .pos4 { --x: 80%; --y: 50%; } .pos5 { --x: 80%; --y: 82%; } } /* The stage is capped at 760px, so past here every extra pixel of viewport is free margin beside it — room for a wider, shorter card that overhangs the stage without reaching the viewport edge. 280px is near the geometric cap: at exactly a 60em viewport the chip's outward edge sits 284px in from the viewport edge (100px margin + 152px column inset + half a chip). */ @media (min-width: 60em) { .node { --card-w: 280px; } }