/* logo suite modules (client tokens only; construction lines in the client accent) */

/* ---------- construction ---------- */
.con{ position:absolute; }
.con .mark{ position:relative; z-index:1; }
.con-over{ position:absolute; inset:0; pointer-events:none; z-index:2; }
.con-svg{ position:absolute; overflow:visible; }
.con-svg .c-grid{ stroke:currentColor; stroke-width:.25; opacity:.14; }
.con-svg .c-box{ fill:none; stroke:var(--c-accent); stroke-width:.8; stroke-dasharray:3 2; }
.con-svg .c-clear{ fill:color-mix(in srgb, var(--c-accent) 9%, transparent); stroke:var(--c-accent); stroke-width:.5; }
.con-svg .c-axis{ stroke:var(--c-accent); stroke-width:.5; opacity:.8; }
.con-svg .c-dim line{ stroke:var(--c-accent); stroke-width:.6; marker:none; }
.con-svg text{ font:500 6.5px/1 var(--c-body); fill:var(--c-accent); text-anchor:middle; }
.con-svg .c-x rect{ fill:color-mix(in srgb, var(--c-accent) 22%, transparent); stroke:none; }
.con-svg .c-x text{ font-size:9px; font-weight:700; }
.con-wordmark .lg{ width:100%; height:100%; }
.con-wordmark .lg-wm{ font-size:min(14cqw, 26cqh); }
.con-lines{ position:absolute; top:0; bottom:0; }
.c-line{ position:absolute; left:0; right:0; border-top:1px dashed var(--c-accent); opacity:.9; }
.c-line b{ position:absolute; right:calc(100% + 8px); top:-16px; white-space:nowrap; font:500 11px/1 var(--c-body); color:var(--c-accent); }
.c-base{ border-top-style:solid; }
.c-line.c-x b, .c-line:nth-child(2) b{ top:2px; }   /* x-height label sits under its line, cap height above its line */
.c-clearbox{ position:absolute; background:color-mix(in srgb, var(--c-accent) 8%, transparent); outline:1px solid color-mix(in srgb, var(--c-accent) 60%, transparent); }
.c-xbox{ position:absolute; background:color-mix(in srgb, var(--c-accent) 24%, transparent); display:grid; place-items:center; }
.c-xbox b{ font:700 12px/1 var(--c-body); color:var(--c-accent); }
.c-side{ position:absolute; border-left:1px dashed var(--c-accent); opacity:.8; }
.con-ladder{ position:absolute; left:var(--lx); top:176px; width:130px; display:flex; flex-direction:column; gap:22px; transition:left .7s var(--ease); }
.con-ladder figure{ margin:0; display:flex; flex-direction:column; gap:6px; }
.con-rung{ height:var(--px); display:flex; align-items:center; }
.con-rung .mark{ width:var(--px); height:var(--px); display:block; }
.con-rung .mark svg{ width:100%; height:100%; display:block; fill:currentColor; }
.con-rung .mark svg path{ fill:currentColor; }
.con-rung .lg-wm{ font:800 calc(var(--px) * .72)/1 var(--c-display); letter-spacing:-.045em; }
.con-ladder figcaption, .con-min{ font:500 11px/1.3 var(--c-body); opacity:.65; margin:0; }
.con-min{ padding-top:10px; border-top:1px solid color-mix(in srgb, currentColor 20%, transparent); }

/* ---------- living symbol ---------- */
.live{ position:absolute; inset:0; overflow:clip; isolation:isolate;   /* clip, not hidden: a hidden box can still be scrolled by focus */
  --angle:calc(90deg + var(--warm) * 1.8deg); --warm-x:calc(10% + var(--warm) * .65%); }
.live-atmos{ position:absolute; inset:-30%; z-index:-1; filter:blur(60px); opacity:.9;
  background:
    radial-gradient(ellipse at var(--warm-x) 70%, color-mix(in srgb, var(--c-accent) 55%, transparent), transparent 42%),
    radial-gradient(ellipse at 72% 30%, color-mix(in srgb, var(--c-brand-3) 45%, transparent), transparent 46%),
    radial-gradient(ellipse at 50% 60%, var(--c-brand-4), transparent 55%); }
.live-sym{ position:absolute; left:calc(var(--vx) + var(--vw) / 2); top:410px; width:360px; height:360px; margin:-200px 0 0 -180px;
  -webkit-mask:var(--mask) center / contain no-repeat; mask:var(--mask) center / contain no-repeat;
  background:
    radial-gradient(ellipse at 50% 14%, color-mix(in srgb, var(--c-accent) 90%, #fff), transparent 46%),
    radial-gradient(ellipse at var(--warm-x) 86%, var(--c-accent), transparent 62%),
    linear-gradient(var(--angle), var(--c-brand-2), var(--c-brand-4) 88%);
  opacity:calc(var(--presence) / 100); transform:translateY(calc((1 - var(--presence) / 100) * 12px));
  filter:drop-shadow(0 14px 28px color-mix(in srgb, var(--c-brand-1) 25%, transparent));
  transition:opacity .15s, transform .15s, left .7s var(--ease); }
.live.playing .live-sym{ animation:live-emerge 7s ease-in-out infinite; }
.live.playing .live-atmos{ animation:live-atmos 10s ease-in-out infinite alternate; }
.live.paused .live-sym, .live.paused .live-atmos{ animation-play-state:paused; }
@keyframes live-emerge{ 0%, 100%{ opacity:.05; transform:translateY(18px) scale(.96); } 45%, 70%{ opacity:1; transform:none; } }
@keyframes live-atmos{ to{ transform:rotate(12deg) scale(1.1); } }
@media (prefers-reduced-motion: reduce){ .live .live-sym{ animation:none !important; opacity:1; transform:none; } .live .live-atmos{ animation:none !important; } }
.live-line{ position:absolute; left:var(--vx); width:var(--vw); top:632px; margin:0; text-align:center; font:700 22px/1.2 var(--c-display); letter-spacing:-.02em; transition:left .7s var(--ease), width .7s var(--ease); }

/* the controls: chrome at the bottom margin, like a switcher (NOIZE font, stage colours) */
.live-controls{ position:absolute; bottom:33px; left:calc(var(--vx) + var(--vw) / 2); display:flex; align-items:center; gap:4px; height:40px; padding:3px;
  border-radius:999px; background:color-mix(in srgb, var(--stage-fg) 10%, transparent); font-family:var(--shell);
  transform:translateX(-50%) scale(var(--ui, 1)); transform-origin:50% 100%; transition:left .7s var(--ease); }
.live-play{ height:34px; padding:0 16px 0 12px; white-space:nowrap; flex:none; border-radius:999px; display:inline-flex; align-items:center; gap:8px; font:var(--t-control);
  background:color-mix(in srgb, var(--stage-bg) 82%, #fff 18%); box-shadow:0 1px 2px rgba(0,0,0,.12), 0 3px 8px rgba(0,0,0,.08); color:var(--stage-fg); }
.live-play svg{ width:12px; height:12px; fill:currentColor; }
.live-play .i-pause, .live-play[aria-pressed="true"] .i-play{ display:none; }
.live-play[aria-pressed="true"] .i-pause{ display:inline; }
.live-controls label{ white-space:nowrap; display:inline-flex; align-items:center; gap:10px; padding:0 14px 0 12px; font:var(--t-control); color:color-mix(in srgb, var(--stage-fg) 72%, transparent); }
.live-controls input[type=range]{ -webkit-appearance:none; appearance:none; width:120px; height:4px; border-radius:2px; background:color-mix(in srgb, var(--stage-fg) 22%, transparent); }
.live-controls input[type=range]::-webkit-slider-thumb{ -webkit-appearance:none; width:18px; height:18px; border-radius:50%; background:var(--c-brand-5); box-shadow:0 1px 3px rgba(0,0,0,.3); cursor:pointer; }
.live-controls input[type=range]::-moz-range-thumb{ width:18px; height:18px; border:0; border-radius:50%; background:var(--c-brand-5); box-shadow:0 1px 3px rgba(0,0,0,.3); }

/* ---------- guideline sheets (shared) ---------- */
.target.sheet-row, .target.mis-grid, .target.cs, .target.ai{ place-items:stretch; font-family:var(--c-body); }
figure.sheet-cell, .mis, .cs figure, .ai figure{ margin:0; }
.sheet-row{ display:grid !important; grid-template-columns:repeat(3, 1fr); gap:20px; align-content:center; }
.sheet-cell{ display:flex; flex-direction:column; gap:12px; }
.sheet-art{ aspect-ratio:1; border-radius:14px; border:1px solid color-mix(in srgb, currentColor 16%, transparent); display:grid; place-items:center; padding:10%; }
.sheet-art .lg-tagline-lockup .lg-row .lg-sym{ width:14cqw; height:14cqw; }
.sheet-art .lg-tagline-lockup .lg-row .lg-wm{ font-size:13cqw; }
.sheet-art .lg-tagline-lockup .lg-tag-sm{ font-size:5.4cqw; }
.sheet-art .lg-tag{ font-size:12cqw; }
.sheet-art .lg{ width:100%; height:100%; }
.sheet-cell figcaption, .mis figcaption, .cs figcaption, .ai figcaption{ font:500 13px/1.4 var(--c-body); opacity:.75; }

/* misuse */
.mis-grid{ display:grid !important; grid-template-columns:repeat(3, 1fr); grid-template-rows:1fr 1fr; gap:20px; }
.mis{ display:flex; flex-direction:column; gap:10px; min-height:0; }
.mis-art{ flex:1; min-height:0; border-radius:14px; background:color-mix(in srgb, var(--c-brand-4) 50%, transparent); display:grid; place-items:center; overflow:hidden; color:var(--c-brand-1); }
.mis-art .lg{ width:80%; height:60%; }
.mis figcaption{ display:flex; align-items:center; gap:8px; opacity:1; }
.mis-flag{ width:20px; height:20px; border-radius:50%; display:grid; place-items:center; flex:none; color:#fff; }
.mis-flag svg{ width:12px; height:12px; }
.mis-flag.is-ok{ background:var(--c-brand-2); }
.mis-flag.is-no{ background:var(--c-accent); }
.mis-stretch .lg-row{ transform:scaleX(1.45) scaleY(.8); }
.mis-recolour .mis-art{ color:var(--c-accent); }
.mis-rotate .lg-row{ transform:rotate(-14deg); }
.mis-effects .lg-row{ filter:drop-shadow(4px 5px 0 var(--c-accent)) drop-shadow(0 0 10px var(--c-brand-3)); }
.mis-contrast .mis-art{ background:var(--c-brand-4); color:color-mix(in srgb, var(--c-brand-4) 80%, var(--c-brand-3)); }

/* clear space and minimum sizes */
.cs{ display:grid !important; grid-template-columns:1.5fr 1fr; grid-template-rows:1fr auto; gap:20px 36px; }
.cs-zone{ position:relative; grid-row:1; align-self:center; aspect-ratio:2.7 / 1; background:color-mix(in srgb, var(--c-accent) 10%, transparent);
  outline:1px dashed var(--c-accent); display:grid; place-items:center; container-type:size; }
.cs-art{ width:calc(100% - 2 * 19cqh); height:62cqh; background:var(--stage-bg); display:grid; place-items:center; }
.cs-art .lg{ width:100%; height:100%; }
.cs-x{ position:absolute; width:19cqh; height:19cqh; display:grid; place-items:center; background:color-mix(in srgb, var(--c-accent) 26%, transparent); }
.cs-x b{ font:700 12px/1 var(--c-body); color:var(--c-accent); }
.cs-x-t{ top:0; left:50%; margin-left:-9.5cqh; } .cs-x-b{ bottom:0; left:50%; margin-left:-9.5cqh; }
.cs-x-l{ left:0; top:50%; margin-top:-9.5cqh; } .cs-x-r{ right:0; top:50%; margin-top:-9.5cqh; }
.cs-note{ grid-row:2; margin:0; font:500 13px/1.5 var(--c-body); opacity:.75; max-width:420px; }
.cs-min{ grid-column:2; grid-row:1 / span 2; display:flex; flex-direction:column; justify-content:center; gap:28px; border-left:1px solid color-mix(in srgb, currentColor 16%, transparent); padding-left:28px; }
.cs-min figure{ display:flex; flex-direction:column; gap:8px; }
.cs-min-art{ height:36px; width:160px; }
.cs-min figure + figure .cs-min-art{ height:22px; width:98px; }
.cs-min-art .lg{ width:100%; height:100%; place-items:center start; }
.cs-min figcaption{ display:flex; flex-direction:column; gap:2px; }
.cs-min figcaption b{ font-weight:600; opacity:1; }

/* app icons and favicons */
.ai{ display:grid !important; grid-template-columns:auto 1fr; gap:44px; align-items:center; }
.ai-home{ width:250px; height:100%; max-height:467px; border-radius:40px; padding:10px; background:#0d0d0f; box-shadow:0 30px 60px -30px rgba(0,0,0,.45); }
.ai-screen{ position:relative; height:100%; border-radius:31px; padding:14px 18px 12px; display:flex; flex-direction:column; overflow:clip;
  background:radial-gradient(ellipse at 30% 10%, color-mix(in srgb, var(--c-brand-3) 90%, #fff 10%), transparent 60%), linear-gradient(170deg, var(--c-brand-3), var(--c-brand-1)); }
.ai-status{ display:flex; justify-content:space-between; align-items:center; padding:2px 8px 0; color:#fff; font:600 11px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; }
.ai-status span{ display:flex; gap:3px; } .ai-status i{ width:12px; height:7px; border-radius:2px; background:#fff; opacity:.9; }
.ai-status i:nth-child(2){ width:9px; } .ai-status i:nth-child(3){ width:16px; border-radius:3px; }
.ai-grid{ margin-top:34px; display:grid; grid-template-columns:repeat(4, 1fr); gap:18px 10px; }
.ai-app{ display:flex; flex-direction:column; align-items:center; gap:6px; }
.ai-app small{ font:500 9px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; color:#fff; white-space:nowrap; opacity:.92; }
.ai-ghost i{ width:44px; height:44px; border-radius:22.5%; display:grid; place-items:center; color:rgba(255,255,255,.88);
  background:linear-gradient(160deg, rgba(255,255,255,.26), rgba(255,255,255,.1)); box-shadow:inset 0 0 0 .5px rgba(255,255,255,.25); }
.ai-ghost svg{ width:52%; height:52%; }
.ai-pages{ margin-top:auto; display:flex; justify-content:center; gap:6px; padding-bottom:10px; }
.ai-pages i{ width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.4); } .ai-pages i.is-on{ background:#fff; }
.ai-dock{ display:grid; grid-template-columns:repeat(4, 1fr); gap:4px; padding:8px; border-radius:24px; background:rgba(255,255,255,.16);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); justify-items:center; }
.ai-icon{ display:grid; place-items:center; width:44px; height:44px; border-radius:22.5%; background:var(--c-brand-1); color:var(--c-on-brand-1); box-shadow:0 2px 6px rgba(0,0,0,.25); }
.ai-icon > span{ width:62%; height:62%; display:block; }
.ai-icon svg{ width:100%; height:100%; display:block; fill:currentColor; }
.ai-icon svg path{ fill:currentColor; }
.ai-side{ display:flex; flex-direction:column; gap:40px; }
.ai-big{ display:flex; align-items:center; gap:24px; }
.ai-lg{ width:128px; height:128px; box-shadow:0 18px 30px -16px rgba(0,0,0,.45); }
.ai-side figcaption{ display:flex; flex-direction:column; gap:3px; max-width:260px; }
.ai-side figcaption b{ font-weight:600; opacity:1; }
.ai-tab{ display:flex; flex-direction:column; gap:14px; }
.ai-browser{ display:flex; align-items:center; gap:12px; height:38px; padding:0 12px; border-radius:10px; background:color-mix(in srgb, var(--c-brand-4) 60%, #fff); width:340px; }
.ai-dots{ display:flex; gap:5px; } .ai-dots i{ width:9px; height:9px; border-radius:50%; background:color-mix(in srgb, var(--c-brand-1) 22%, transparent); display:block; }
.ai-tabchip{ display:flex; align-items:center; gap:8px; height:28px; padding:0 12px; border-radius:7px; background:#fff; font:500 12px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; color:#1d1d1f; }
.ai-tabchip em{ font-style:normal; }
.ai-fav{ width:16px; height:16px; border-radius:4px; box-shadow:none; }
.ai-favs{ display:flex; align-items:flex-end; gap:22px; }
.ai-favs > span{ display:flex; flex-direction:column; align-items:center; gap:6px; }
.ai-f{ width:var(--px); height:var(--px); box-shadow:none; }
.ai-favs small{ font:500 11px/1 var(--c-body); opacity:.6; }
.ai-dock .ai-ghost i{ width:40px; height:40px; }

/* lockup construction: the symbol's box and the gap between symbol and name */
.c-symbox{ position:absolute; outline:1px dashed var(--c-accent); outline-offset:0; }
.c-gap{ position:absolute; height:1px; background:var(--c-accent); }
.c-gap::before, .c-gap::after{ content:""; position:absolute; top:-4px; width:1px; height:9px; background:var(--c-accent); }
.c-gap::before{ left:0; } .c-gap::after{ right:0; }
.c-gap b{ position:absolute; left:50%; top:6px; transform:translateX(-50%); font:500 11px/1 var(--c-body); color:var(--c-accent); white-space:nowrap; }
.con-lockup .lg{ width:100%; height:100%; }
.con-rung .con-lk{ display:block; height:var(--px); width:calc(var(--px) * 4.4); }
.con-rung .con-lk .lg{ width:100%; height:100%; }

/* lockup family: every lockup on one page, three to a row, hairlines between (brand page 15) */
.target.fam{ display:flex !important; flex-direction:column; justify-content:center; place-items:stretch; font-family:var(--c-body); }
.fam-row{ display:grid; grid-template-columns:repeat(var(--n), 1fr); border-top:1px solid color-mix(in srgb, currentColor 22%, transparent); }
.fam-row:last-child{ border-bottom:1px solid color-mix(in srgb, currentColor 22%, transparent); }
.fam-cell{ margin:0; min-height:0; padding:12px 16px 14px; display:grid; grid-template-rows:auto 1fr auto; gap:8px; }
.fam-cell + .fam-cell{ border-left:1px solid color-mix(in srgb, currentColor 22%, transparent); }
.fam-cell figcaption{ display:flex; gap:8px; font-size:11px; line-height:1.3; opacity:.72; }
.fam-cell figcaption span{ opacity:.6; font-variant-numeric:tabular-nums; }
.fam-art{ display:grid; place-items:center; height:96px; padding:14px 8%; }   /* one height for the whole family, so every lockup reads at the same scale */
.fam-art .lg{ width:100%; height:100%; }
.fam-art .lg svg{ width:auto; height:100%; max-width:100%; }
.fam-cell p{ margin:0; font-size:11px; line-height:1.35; opacity:.6; }

/* an open family: no hairlines, the marks bigger and given room (stage_content.lines: false) */
.fam--open .fam-row, .fam--open .fam-row:last-child, .fam--open .fam-cell + .fam-cell{ border:0; }
.fam--open{ gap:18px; }
.fam--open .fam-cell{ padding:10px 12px; grid-template-rows:1fr auto; }
.fam--open .fam-cell figcaption{ order:2; justify-content:center; }
.fam--open .fam-art{ height:150px; padding:0 6%; }

/* colour: each mark in its own colour, set inline from the family */
.fam--colour .fam-art, .fam--3d .fam-art{ transition:color .45s var(--ease); }

/* 3D: stacked copies of the mark, each further back and darker, tilting slowly in perspective */
.fam--3d .fam-art{ perspective:900px; overflow:visible; }
.x3d{ position:relative; display:block; width:100%; height:100%; transform-style:preserve-3d;
  transform:rotateX(16deg) rotateY(-20deg); animation:x3d-sway 7s ease-in-out infinite alternate; animation-delay:calc(var(--i, 0) * -.9s); }
.x3d > span{ position:absolute; inset:0; display:grid; place-items:center; }
.x3d svg{ width:auto; height:100%; max-width:100%; }
.x3d-l{ transform:translateZ(calc(var(--z) * -1.6px)); color:color-mix(in srgb, var(--c) calc(78% - var(--z) * 3%), #000); }
.x3d-face{ color:var(--c); filter:drop-shadow(0 0 .5px rgba(255,255,255,.35)); }
@keyframes x3d-sway{ from{ transform:rotateX(18deg) rotateY(-24deg); } to{ transform:rotateX(10deg) rotateY(18deg); } }
@media (prefers-reduced-motion: reduce){ .x3d{ animation:none; } }

/* a mark that opens its own page (family item with go): it lifts on hover, and keys reach it */
.fam-go{ cursor:pointer; border-radius:14px; transition:background-color .35s var(--ease); }
.fam-go .fam-art{ transition:scale .6s cubic-bezier(0.32, 0.72, 0, 1), color .45s var(--ease); }
@media (hover:hover){ .fam-go:hover{ background:color-mix(in srgb, currentColor 6%, transparent); } .fam-go:hover .fam-art{ scale:1.06; } }
.fam-go:focus-visible{ outline:1.5px solid currentColor; outline-offset:3px; }

/* tiles (stage_content.tiles): each lockup in its own tile across the whole frame, large, with its
   number and name top left and what it covers beneath; the tile is a faint tint of the mark colour */
.target.fam--tiles{ left:calc(var(--vx) + var(--fl)); right:33px; width:auto; top:33px; bottom:33px; height:auto; gap:8px;
  display:grid !important; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); grid-auto-rows:minmax(0, 1fr);
  transition:left .7s var(--ease); }          /* three across on a wide screen, two on a 4:3 one */
.fam--tiles .fam-row{ display:contents; }
.has-switcher .target.fam--tiles{ bottom:calc(33px + 40px * var(--ui, 1) + 24px); }
.fam--tiles .fam-cell, .fam--tiles .fam-cell + .fam-cell{ border:0; border-radius:14px; padding:18px 22px 20px; min-height:0;
  background:color-mix(in srgb, currentColor 6%, transparent); grid-template-rows:auto minmax(0, 1fr) auto; }
.fam--tiles .fam-cell figcaption{ order:0; justify-content:flex-start; font-size:12px; opacity:.8; }
.fam--tiles .fam-art{ height:auto; min-height:0; padding:4% 7%; }
.fam--tiles .fam-art .lg{ display:grid; place-items:center; }
.fam--tiles .fam-art .lg svg{ width:100%; height:auto; max-height:100%; }
.fam--tiles .fam-cell p{ font-size:12px; opacity:.62; }

/* a supplied 3D render in the 3D look: shown whole, with a soft floor shadow */
.fam-art:has(.fam-3d){ grid-template:minmax(0,1fr) / minmax(0,1fr); }   /* the 3D art fills the same box as the flat mark, so toggling never changes the scale */
.fam-art:has(.fam-3d){ container-type:size; place-items:center; }
.fam-art .fam-3d{ --a:2; display:block; width:min(100cqw, calc(pow(var(--a), .6) * 100cqh)); height:auto; max-height:100cqh;   /* optical sizing, as in the showcase logo mode (the family box is shallower, so no .7) */ filter:drop-shadow(0 10px 14px rgba(0,0,0,.14)); }
