@sharadox/sharadox-web-library 0.30.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/README.md +5 -3
  2. package/distribution/component/about/feed/index.d.ts +8 -0
  3. package/distribution/component/about/feed/index.d.ts.map +1 -0
  4. package/distribution/component/about/feed/index.js +16 -0
  5. package/distribution/component/about/feed/index.js.map +1 -0
  6. package/distribution/component/about/feed/index.module.css +1 -0
  7. package/distribution/component/about/feed/index.module.scss +190 -0
  8. package/distribution/component/{touchpoint → about/feed}/type.d.ts +1 -1
  9. package/distribution/component/about/feed/type.d.ts.map +1 -0
  10. package/distribution/component/about/feed/type.js.map +1 -0
  11. package/distribution/component/about/index.d.ts +8 -0
  12. package/distribution/component/about/index.d.ts.map +1 -0
  13. package/distribution/component/about/index.js +20 -0
  14. package/distribution/component/about/index.js.map +1 -0
  15. package/distribution/component/about/index.module.css +1 -0
  16. package/distribution/component/about/index.module.scss +129 -0
  17. package/distribution/component/about/type.d.ts +5 -0
  18. package/distribution/component/about/type.d.ts.map +1 -0
  19. package/distribution/component/about/type.js.map +1 -0
  20. package/distribution/component/button/index.module.css +1 -1
  21. package/distribution/component/button/index.module.scss +2 -0
  22. package/distribution/component/capability/index.d.ts +1 -1
  23. package/distribution/component/capability/index.d.ts.map +1 -1
  24. package/distribution/component/capability/index.js +3 -2
  25. package/distribution/component/capability/index.js.map +1 -1
  26. package/distribution/component/capability/index.module.css +1 -1
  27. package/distribution/component/capability/index.module.scss +46 -0
  28. package/distribution/component/consent/index.module.css +1 -1
  29. package/distribution/component/consent/index.module.scss +2 -0
  30. package/distribution/component/contact/form/chip/index.module.css +1 -1
  31. package/distribution/component/contact/form/chip/index.module.scss +2 -0
  32. package/distribution/component/contact/form/index.d.ts +2 -1
  33. package/distribution/component/contact/form/index.d.ts.map +1 -1
  34. package/distribution/component/contact/form/index.js +3 -2
  35. package/distribution/component/contact/form/index.js.map +1 -1
  36. package/distribution/component/contact/form/index.module.css +1 -1
  37. package/distribution/component/contact/form/index.module.scss +30 -0
  38. package/distribution/component/contact/index.d.ts +1 -1
  39. package/distribution/component/contact/index.d.ts.map +1 -1
  40. package/distribution/component/contact/index.js +2 -2
  41. package/distribution/component/contact/index.js.map +1 -1
  42. package/distribution/component/contact/index.module.css +1 -1
  43. package/distribution/component/contact/index.module.scss +15 -5
  44. package/distribution/component/footer/index.d.ts +4 -3
  45. package/distribution/component/footer/index.d.ts.map +1 -1
  46. package/distribution/component/footer/index.js +6 -5
  47. package/distribution/component/footer/index.js.map +1 -1
  48. package/distribution/component/footer/index.module.css +1 -1
  49. package/distribution/component/footer/index.module.scss +33 -43
  50. package/distribution/component/hero/index.module.css +1 -1
  51. package/distribution/component/hero/index.module.scss +8 -0
  52. package/distribution/component/license/index.module.css +1 -1
  53. package/distribution/component/license/index.module.scss +7 -0
  54. package/distribution/component/navigation/index.module.css +1 -1
  55. package/distribution/component/navigation/index.module.scss +6 -0
  56. package/distribution/component/privacy-page/index.module.css +1 -1
  57. package/distribution/component/privacy-page/index.module.scss +7 -0
  58. package/distribution/component/process/index.d.ts +1 -1
  59. package/distribution/component/process/index.d.ts.map +1 -1
  60. package/distribution/component/process/index.js +13 -3
  61. package/distribution/component/process/index.js.map +1 -1
  62. package/distribution/component/process/index.module.css +1 -1
  63. package/distribution/component/process/index.module.scss +3 -0
  64. package/distribution/component/process/measure-stops/index.d.ts +10 -0
  65. package/distribution/component/process/measure-stops/index.d.ts.map +1 -0
  66. package/distribution/component/process/measure-stops/index.js +21 -0
  67. package/distribution/component/process/measure-stops/index.js.map +1 -0
  68. package/distribution/component/process/step/index.d.ts +2 -2
  69. package/distribution/component/process/step/index.d.ts.map +1 -1
  70. package/distribution/component/process/step/index.js +4 -5
  71. package/distribution/component/process/step/index.js.map +1 -1
  72. package/distribution/component/process/step/index.module.css +1 -1
  73. package/distribution/component/process/step/index.module.scss +1 -0
  74. package/distribution/component/process/step/type.d.ts +2 -2
  75. package/distribution/component/process/step/type.d.ts.map +1 -1
  76. package/distribution/component/section/index.module.css +1 -1
  77. package/distribution/component/section/index.module.scss +2 -0
  78. package/distribution/component/section-indicator/index.module.css +1 -1
  79. package/distribution/component/section-indicator/index.module.scss +19 -1
  80. package/distribution/component/service-card/index.module.css +1 -1
  81. package/distribution/component/service-card/index.module.scss +2 -0
  82. package/distribution/component/service-index/index.module.css +1 -1
  83. package/distribution/component/service-index/index.module.scss +3 -0
  84. package/distribution/component/service-object/android-application/index.module.css +1 -1
  85. package/distribution/component/service-object/android-application/index.module.scss +18 -17
  86. package/distribution/component/service-object/brand-awareness/index.module.css +1 -1
  87. package/distribution/component/service-object/brand-awareness/index.module.scss +7 -7
  88. package/distribution/component/service-object/branding/index.d.ts +3 -2
  89. package/distribution/component/service-object/branding/index.d.ts.map +1 -1
  90. package/distribution/component/service-object/branding/index.js +4 -3
  91. package/distribution/component/service-object/branding/index.js.map +1 -1
  92. package/distribution/component/service-object/branding/index.module.css +1 -1
  93. package/distribution/component/service-object/branding/index.module.scss +136 -80
  94. package/distribution/component/service-object/branding-design/index.d.ts +2 -2
  95. package/distribution/component/service-object/branding-design/index.d.ts.map +1 -1
  96. package/distribution/component/service-object/branding-design/index.js +34 -11
  97. package/distribution/component/service-object/branding-design/index.js.map +1 -1
  98. package/distribution/component/service-object/branding-design/index.module.css +1 -1
  99. package/distribution/component/service-object/branding-design/index.module.scss +12 -12
  100. package/distribution/component/service-object/cuboid/index.module.css +1 -1
  101. package/distribution/component/service-object/cuboid/index.module.scss +3 -3
  102. package/distribution/component/service-object/e-commerce/index.module.css +1 -1
  103. package/distribution/component/service-object/e-commerce/index.module.scss +3 -7
  104. package/distribution/component/service-object/hosting/index.d.ts +1 -1
  105. package/distribution/component/service-object/hosting/index.d.ts.map +1 -1
  106. package/distribution/component/service-object/hosting/index.js +2 -2
  107. package/distribution/component/service-object/hosting/index.js.map +1 -1
  108. package/distribution/component/service-object/hosting/index.module.css +1 -1
  109. package/distribution/component/service-object/hosting/index.module.scss +5 -46
  110. package/distribution/component/service-object/ios-application/index.module.css +1 -1
  111. package/distribution/component/service-object/ios-application/index.module.scss +11 -10
  112. package/distribution/component/service-object/lead-generation/index.module.css +1 -1
  113. package/distribution/component/service-object/lead-generation/index.module.scss +5 -5
  114. package/distribution/component/service-object/mark/index.module.scss +2 -1
  115. package/distribution/component/service-object/merchandise/index.module.css +1 -1
  116. package/distribution/component/service-object/merchandise/index.module.scss +9 -9
  117. package/distribution/component/service-object/person/index.module.css +1 -1
  118. package/distribution/component/service-object/person/index.module.scss +2 -1
  119. package/distribution/component/service-object/platform/index.module.css +1 -1
  120. package/distribution/component/service-object/platform/index.module.scss +15 -14
  121. package/distribution/component/service-object/print-design/index.d.ts +1 -1
  122. package/distribution/component/service-object/print-design/index.js +1 -1
  123. package/distribution/component/service-object/print-design/index.module.css +1 -1
  124. package/distribution/component/service-object/print-design/index.module.scss +13 -9
  125. package/distribution/component/service-object/product-launch/index.js +1 -1
  126. package/distribution/component/service-object/product-launch/index.js.map +1 -1
  127. package/distribution/component/service-object/product-launch/index.module.css +1 -1
  128. package/distribution/component/service-object/product-launch/index.module.scss +8 -10
  129. package/distribution/component/service-object/professional-email/index.module.css +1 -1
  130. package/distribution/component/service-object/professional-email/index.module.scss +12 -11
  131. package/distribution/component/service-object/progressive-web-application/index.module.css +1 -1
  132. package/distribution/component/service-object/progressive-web-application/index.module.scss +10 -9
  133. package/distribution/component/service-object/rebranding/index.d.ts +3 -2
  134. package/distribution/component/service-object/rebranding/index.d.ts.map +1 -1
  135. package/distribution/component/service-object/rebranding/index.js +19 -3
  136. package/distribution/component/service-object/rebranding/index.js.map +1 -1
  137. package/distribution/component/service-object/rebranding/index.module.css +1 -1
  138. package/distribution/component/service-object/rebranding/index.module.scss +65 -71
  139. package/distribution/component/service-object/sales-generation/index.module.css +1 -1
  140. package/distribution/component/service-object/sales-generation/index.module.scss +5 -8
  141. package/distribution/component/service-object/social-media-strategy/index.module.css +1 -1
  142. package/distribution/component/service-object/social-media-strategy/index.module.scss +20 -13
  143. package/distribution/component/service-object/website/index.module.css +1 -1
  144. package/distribution/component/service-object/website/index.module.scss +12 -8
  145. package/distribution/component/service-unlisted/index.module.css +1 -1
  146. package/distribution/component/service-unlisted/index.module.scss +5 -3
  147. package/distribution/component/services/index.module.css +1 -1
  148. package/distribution/component/services/index.module.scss +1 -0
  149. package/distribution/component/structured-data/index.js +1 -1
  150. package/distribution/component/structured-data/index.js.map +1 -1
  151. package/distribution/content/about/index.d.ts +100 -0
  152. package/distribution/content/about/index.d.ts.map +1 -0
  153. package/distribution/content/about/index.js +71 -0
  154. package/distribution/content/about/index.js.map +1 -0
  155. package/distribution/content/capability/index.d.ts +27 -1
  156. package/distribution/content/capability/index.d.ts.map +1 -1
  157. package/distribution/content/capability/index.js +13 -1
  158. package/distribution/content/capability/index.js.map +1 -1
  159. package/distribution/content/contact/index.d.ts +5 -5
  160. package/distribution/content/navigation/index.d.ts +4 -4
  161. package/distribution/content/navigation/index.js +1 -1
  162. package/distribution/content/navigation/index.js.map +1 -1
  163. package/distribution/content/section/index.d.ts +5 -5
  164. package/distribution/content/section/index.js +1 -1
  165. package/distribution/content/section/index.js.map +1 -1
  166. package/distribution/content/section-indicator/index.d.ts +4 -4
  167. package/distribution/content/section-indicator/index.d.ts.map +1 -1
  168. package/distribution/content/section-indicator/index.js +1 -8
  169. package/distribution/content/section-indicator/index.js.map +1 -1
  170. package/distribution/content/services/index.d.ts +26 -26
  171. package/distribution/content/services/index.d.ts.map +1 -1
  172. package/distribution/content/services/index.js +80 -30
  173. package/distribution/content/services/index.js.map +1 -1
  174. package/distribution/content/site/index.js +4 -4
  175. package/distribution/content/site/index.js.map +1 -1
  176. package/distribution/style/object/index.scss +30 -4
  177. package/llms.txt +4 -2
  178. package/package.json +3 -3
  179. package/distribution/component/statement/index.d.ts +0 -4
  180. package/distribution/component/statement/index.d.ts.map +0 -1
  181. package/distribution/component/statement/index.js +0 -10
  182. package/distribution/component/statement/index.js.map +0 -1
  183. package/distribution/component/statement/index.module.css +0 -1
  184. package/distribution/component/statement/index.module.scss +0 -10
  185. package/distribution/component/statement/type.d.ts +0 -4
  186. package/distribution/component/statement/type.d.ts.map +0 -1
  187. package/distribution/component/statement/type.js.map +0 -1
  188. package/distribution/component/touchpoint/index.d.ts +0 -7
  189. package/distribution/component/touchpoint/index.d.ts.map +0 -1
  190. package/distribution/component/touchpoint/index.js +0 -26
  191. package/distribution/component/touchpoint/index.js.map +0 -1
  192. package/distribution/component/touchpoint/index.module.css +0 -1
  193. package/distribution/component/touchpoint/index.module.scss +0 -75
  194. package/distribution/component/touchpoint/plate/index.d.ts +0 -4
  195. package/distribution/component/touchpoint/plate/index.d.ts.map +0 -1
  196. package/distribution/component/touchpoint/plate/index.js +0 -9
  197. package/distribution/component/touchpoint/plate/index.js.map +0 -1
  198. package/distribution/component/touchpoint/plate/index.module.css +0 -1
  199. package/distribution/component/touchpoint/plate/index.module.scss +0 -129
  200. package/distribution/component/touchpoint/plate/type.d.ts +0 -8
  201. package/distribution/component/touchpoint/plate/type.d.ts.map +0 -1
  202. package/distribution/component/touchpoint/plate/type.js.map +0 -1
  203. package/distribution/component/touchpoint/type.d.ts.map +0 -1
  204. package/distribution/component/touchpoint/type.js +0 -2
  205. package/distribution/component/touchpoint/type.js.map +0 -1
  206. package/distribution/content/statement/index.d.ts +0 -6
  207. package/distribution/content/statement/index.d.ts.map +0 -1
  208. package/distribution/content/statement/index.js +0 -6
  209. package/distribution/content/statement/index.js.map +0 -1
  210. package/distribution/content/touchpoint/index.d.ts +0 -37
  211. package/distribution/content/touchpoint/index.d.ts.map +0 -1
  212. package/distribution/content/touchpoint/index.js +0 -17
  213. package/distribution/content/touchpoint/index.js.map +0 -1
  214. /package/distribution/component/{statement → about/feed}/type.js +0 -0
  215. /package/distribution/component/{touchpoint/plate → about}/type.js +0 -0
@@ -1,6 +1,8 @@
1
1
  @use "style/token" as *;
2
2
 
3
3
  .navigation {
4
+ /* Its text reads from the left (the page default is centered). */
5
+ text-align: left;
4
6
  position: fixed;
5
7
  z-index: 50;
6
8
  inset: 0 0 auto;
@@ -77,6 +79,7 @@
77
79
 
78
80
  /* Two lines that cross into an X while the menu is open; only where the links don't fit in the bar. */
79
81
  .toggle {
82
+ align-items: stretch;
80
83
  display: none;
81
84
  flex-direction: column;
82
85
  justify-content: center;
@@ -105,6 +108,8 @@
105
108
  }
106
109
  /* The bar's frosted background, under the bar, so the two read as one. */
107
110
  .menu {
111
+ text-align: left;
112
+ align-items: stretch;
108
113
  position: fixed;
109
114
  inset: 65px 0 0;
110
115
  z-index: 49;
@@ -123,6 +128,7 @@
123
128
  margin-bottom: auto;
124
129
  }
125
130
  > a {
131
+ justify-content: flex-start;
126
132
  display: flex;
127
133
  align-items: baseline;
128
134
  gap: 14px;
@@ -1 +1 @@
1
- .page{padding-top:clamp(140px,16vw,200px)}.title{margin:28px 0 0;font-size:clamp(36px,6vw,64px);line-height:1.05;letter-spacing:-0.03em}.text{max-width:72ch;margin-top:12px;color:var(--foreground-2);line-height:1.7}.text small{font-family:var(--monospace);font-size:12px}.text h2{margin:56px 0 14px;padding-top:28px;color:var(--foreground);font-size:clamp(20px,2.4vw,26px);letter-spacing:-0.01em;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.text p,.text ul{margin:0 0 16px}.text ul{padding-left:22px}.text li{margin-bottom:8px}
1
+ .page{text-align:left;padding-top:clamp(140px,16vw,200px)}.title{margin:28px 0 0;font-size:clamp(36px,6vw,64px);line-height:1.05;letter-spacing:-0.03em}.text{max-width:72ch;margin-top:12px;color:var(--foreground-2);line-height:1.7}.text small{font-family:var(--monospace);font-size:12px}.text h2{margin:56px 0 14px;padding-top:28px;color:var(--foreground);font-size:clamp(20px,2.4vw,26px);letter-spacing:-0.01em;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.text p,.text ul{margin:0 0 16px}.text ul{padding-left:22px}.text li{margin-bottom:8px}.text,.text *{align-content:normal}
@@ -1,6 +1,8 @@
1
1
  @use "style/token" as *;
2
2
 
3
3
  .page {
4
+ /* Its text reads from the left (the page default is centered). */
5
+ text-align: left;
4
6
  padding-top: clamp(140px, 16vw, 200px);
5
7
  }
6
8
  .title {
@@ -37,3 +39,8 @@
37
39
  margin-bottom: 8px;
38
40
  }
39
41
  }
42
+ /* The policy is running text: normal flow throughout, so its headings', paragraphs' and lists' margins fold together. */
43
+ .text,
44
+ .text * {
45
+ align-content: normal;
46
+ }
@@ -1,4 +1,4 @@
1
1
  import type { ProcessProperties } from "@sharadox/sharadox-web-library/component/process/type";
2
- /** Four steps on a line that draws itself as you scroll through the section. */
2
+ /** Four steps on a line that draws itself as you scroll through the section, each dot lighting as it is reached. */
3
3
  export declare function Process({ locale }: ProcessProperties): import("react").JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,gFAAgF;AAChF,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BA2BpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,oHAAoH;AACpH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BAmCpD"}
@@ -1,21 +1,31 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { motion, useScroll, useTransform } from "motion/react";
4
- import { useRef } from "react";
4
+ import { useEffect, useRef, useState } from "react";
5
5
  import { Section } from "@sharadox/sharadox-web-library/component/section";
6
6
  import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
7
7
  import { PROCESS } from "@sharadox/sharadox-web-library/content/process";
8
8
  import { translate } from "@sharadox/internationalization-web-library/translate";
9
9
  import { SECTION } from "@sharadox/sharadox-web-library/content/section";
10
10
  import styles from "./index.module.css";
11
+ import { measureStops } from "@sharadox/sharadox-web-library/component/process/measure-stops";
11
12
  import { Step } from "@sharadox/sharadox-web-library/component/process/step";
12
- /** Four steps on a line that draws itself as you scroll through the section. */
13
+ /** Four steps on a line that draws itself as you scroll through the section, each dot lighting as it is reached. */
13
14
  export function Process({ locale }) {
14
15
  const container = useRef(null);
15
16
  const { scrollYProgress } = useScroll({ target: container, offset: ["start 75%", "end 55%"] });
16
17
  // How much of the line is drawn: across on wide screens, down on phones (see the styles).
17
18
  const drawn = useTransform(scrollYProgress, [0, 1], ["0%", "100%"]);
18
19
  const steps = PROCESS.steps;
19
- return (_jsxs(Section, { id: SECTION.process.id, children: [_jsx(SectionHeading, { eyebrow: translate(PROCESS.eyebrow, locale), title: translate(PROCESS.title, locale) }), _jsxs("div", { ref: container, className: styles.process, children: [_jsx("div", { className: styles.line, "aria-hidden": true, children: _jsx(motion.span, { style: { "--drawn": drawn } }) }), steps.map((step, index) => (_jsx(Step, { index: index, count: steps.length, progress: scrollYProgress, number: step.number, title: translate(step.title, locale), text: translate(step.text, locale) }, step.number)))] })] }));
20
+ const line = useRef(null);
21
+ const [stops, setStops] = useState(null);
22
+ useEffect(() => {
23
+ const measure = () => setStops(measureStops(line.current));
24
+ measure();
25
+ const observer = new ResizeObserver(measure);
26
+ observer.observe(container.current);
27
+ return () => observer.disconnect();
28
+ }, []);
29
+ return (_jsxs(Section, { id: SECTION.process.id, children: [_jsx(SectionHeading, { eyebrow: translate(PROCESS.eyebrow, locale), title: translate(PROCESS.title, locale) }), _jsxs("div", { ref: container, className: styles.process, children: [_jsx("div", { ref: line, className: styles.line, "aria-hidden": true, children: _jsx(motion.span, { style: { "--drawn": drawn } }) }), steps.map((step, index) => (_jsx(Step, { at: stops?.[index] ?? index / (steps.length - 1), progress: scrollYProgress, number: step.number, title: translate(step.title, locale), text: translate(step.text, locale) }, step.number)))] })] }));
20
30
  }
21
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAsB,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAG7E,gFAAgF;AAChF,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAqB;IACnD,MAAM,SAAS,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C,MAAM,EAAE,eAAe,EAAE,GAAG,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;IAC/F,0FAA0F;IAC1F,MAAM,KAAK,GAAG,YAAY,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IACpE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5B,OAAO,CACL,MAAC,OAAO,IAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,aAC7B,KAAC,cAAc,IAAC,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAI,EACxG,eAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5C,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,iCACzB,KAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,EAAmB,GAAI,GACzD,EACL,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,KAAC,IAAI,IAEH,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,CAAC,MAAM,EACnB,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,EACpC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,IAN7B,IAAI,CAAC,MAAM,CAOhB,CACH,CAAC,IACE,IACE,CACX,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAsB,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gEAAgE,CAAC;AAC9F,OAAO,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAG7E,oHAAoH;AACpH,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAqB;IACnD,MAAM,SAAS,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C,MAAM,EAAE,eAAe,EAAE,GAAG,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;IAC/F,0FAA0F;IAC1F,MAAM,KAAK,GAAG,YAAY,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IACpE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5B,MAAM,IAAI,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC1C,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAkB,IAAI,CAAC,CAAC;IAC1D,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,OAAQ,CAAC,CAAC,CAAC;QAC5D,OAAO,EAAE,CAAC;QACV,MAAM,QAAQ,GAAG,IAAI,cAAc,CAAC,OAAO,CAAC,CAAC;QAC7C,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,OAAQ,CAAC,CAAC;QACrC,OAAO,GAAG,EAAE,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;IACrC,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,CACL,MAAC,OAAO,IAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,aAC7B,KAAC,cAAc,IAAC,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAI,EACxG,eAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5C,cAAK,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,iCACpC,KAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,EAAmB,GAAI,GACzD,EACL,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1B,KAAC,IAAI,IAEH,EAAE,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,EAChD,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,EACpC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,IAL7B,IAAI,CAAC,MAAM,CAMhB,CACH,CAAC,IACE,IACE,CACX,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .process{position:relative;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px;padding-top:34px}@media(max-width: 860px){.process{grid-template-columns:1fr;gap:44px;padding:0 0 0 30px}}.line{position:absolute;left:0;right:0;top:6px;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.line span{display:block;width:var(--drawn, 0%);height:100%;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent)}@media(max-width: 860px){.line{left:5px;right:auto;top:0;bottom:0;width:1px;height:auto}.line span{width:100%;height:var(--drawn, 0%);background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground))}}
1
+ .process{align-items:stretch;position:relative;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px;padding-top:34px}@media(max-width: 860px){.process{grid-template-columns:1fr;gap:44px;padding:0 0 0 30px}}.line{align-content:start;position:absolute;left:0;right:0;top:6px;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.line span{display:block;width:var(--drawn, 0%);height:100%;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent)}@media(max-width: 860px){.line{left:5px;right:auto;top:0;bottom:0;width:1px;height:auto}.line span{width:100%;height:var(--drawn, 0%);background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground))}}
@@ -1,6 +1,7 @@
1
1
  @use "style/token" as *;
2
2
 
3
3
  .process {
4
+ align-items: stretch;
4
5
  position: relative;
5
6
  display: grid;
6
7
  grid-template-columns: repeat(4, 1fr);
@@ -12,7 +13,9 @@
12
13
  padding: 0 0 0 30px;
13
14
  }
14
15
  }
16
+ /* The drawn part starts at the line's start (the top, on phones), never from its middle. */
15
17
  .line {
18
+ align-content: start;
16
19
  position: absolute;
17
20
  left: 0;
18
21
  right: 0;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Where each dot sits along the line, from 0 to 1: across on wide screens, down on phones. The dots are the elements
3
+ * marked `data-dot` beside the line, in its parent. Null where nothing has a size yet, so the steps fall back to even
4
+ * spacing.
5
+ *
6
+ * @example
7
+ * setStops(measureStops(line)); // [0, 0.26, 0.51, 0.77] across a four-column row
8
+ */
9
+ export declare function measureStops(line: HTMLElement): number[] | null;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/process/measure-stops/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,EAAE,GAAG,IAAI,CAU/D"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Where each dot sits along the line, from 0 to 1: across on wide screens, down on phones. The dots are the elements
3
+ * marked `data-dot` beside the line, in its parent. Null where nothing has a size yet, so the steps fall back to even
4
+ * spacing.
5
+ *
6
+ * @example
7
+ * setStops(measureStops(line)); // [0, 0.26, 0.51, 0.77] across a four-column row
8
+ */
9
+ export function measureStops(line) {
10
+ const box = line.getBoundingClientRect();
11
+ const across = box.width >= box.height;
12
+ const length = across ? box.width : box.height;
13
+ if (!length)
14
+ return null;
15
+ return [...line.parentElement.querySelectorAll("[data-dot]")].map((dot) => {
16
+ const place = dot.getBoundingClientRect();
17
+ const center = across ? place.left + place.width / 2 - box.left : place.top + place.height / 2 - box.top;
18
+ return Math.min(1, Math.max(0, center / length));
19
+ });
20
+ }
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/process/measure-stops/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAC,IAAiB;IAC5C,MAAM,GAAG,GAAG,IAAI,CAAC,qBAAqB,EAAE,CAAC;IACzC,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,IAAI,GAAG,CAAC,MAAM,CAAC;IACvC,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC;IAC/C,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IACzB,OAAO,CAAC,GAAG,IAAI,CAAC,aAAc,CAAC,gBAAgB,CAAc,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACtF,MAAM,KAAK,GAAG,GAAG,CAAC,qBAAqB,EAAE,CAAC;QAC1C,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK,GAAG,CAAC,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC;QACzG,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import type { StepProperties } from "@sharadox/sharadox-web-library/component/process/step/type";
2
- /** One process step; brightens and lights its dot when the line reaches it. */
3
- export declare function Step({ index, count, progress, number, title, text }: StepProperties): import("react").JSX.Element;
2
+ /** One process step: brightens as the line nears it, and lights its dot the moment the line reaches it. */
3
+ export declare function Step({ at, progress, number, title, text }: StepProperties): import("react").JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4DAA4D,CAAC;AAEjG,+EAA+E;AAC/E,wBAAgB,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,cAAc,+BAYnF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4DAA4D,CAAC;AAEjG,2GAA2G;AAC3G,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,cAAc,+BAWzE"}
@@ -2,11 +2,10 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { motion, useTransform } from "motion/react";
4
4
  import styles from "./index.module.css";
5
- /** One process step; brightens and lights its dot when the line reaches it. */
6
- export function Step({ index, count, progress, number, title, text }) {
7
- const at = index / (count - 1);
5
+ /** One process step: brightens as the line nears it, and lights its dot the moment the line reaches it. */
6
+ export function Step({ at, progress, number, title, text }) {
8
7
  const opacity = useTransform(progress, [Math.max(0, at - 0.25), at], [0.3, 1]);
9
- const glow = useTransform(progress, [Math.max(0, at - 0.05), at], [0, 1]);
10
- return (_jsxs(motion.div, { className: styles.step, style: { opacity }, children: [_jsx(motion.span, { className: styles.dot, style: { opacity: glow }, "aria-hidden": true }), _jsx("span", { className: `monospace ${styles.number}`, children: number }), _jsx("h3", { children: title }), _jsx("p", { children: text })] }));
8
+ const glow = useTransform(progress, [Math.max(0, at - 0.01), at], [0, 1]);
9
+ return (_jsxs(motion.div, { className: styles.step, style: { opacity }, children: [_jsx(motion.span, { className: styles.dot, style: { opacity: glow }, "data-dot": true, "aria-hidden": true }), _jsx("span", { className: `monospace ${styles.number}`, children: number }), _jsx("h3", { children: title }), _jsx("p", { children: text })] }));
11
10
  }
12
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/process/step/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,+EAA+E;AAC/E,MAAM,UAAU,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAkB;IAClF,MAAM,EAAE,GAAG,KAAK,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;IAC/B,MAAM,OAAO,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;IAC/E,MAAM,IAAI,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1E,OAAO,CACL,MAAC,MAAM,CAAC,GAAG,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,aACpD,KAAC,MAAM,CAAC,IAAI,IAAC,SAAS,EAAE,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,wBAAgB,EAC5E,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,MAAM,GAAQ,EAC9D,uBAAK,KAAK,GAAM,EAChB,sBAAI,IAAI,GAAK,IACF,CACd,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/process/step/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,2GAA2G;AAC3G,MAAM,UAAU,IAAI,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAkB;IACxE,MAAM,OAAO,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;IAC/E,MAAM,IAAI,GAAG,YAAY,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1E,OAAO,CACL,MAAC,MAAM,CAAC,GAAG,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,aACpD,KAAC,MAAM,CAAC,IAAI,IAAC,SAAS,EAAE,MAAM,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,0CAAyB,EACrF,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,MAAM,GAAQ,EAC9D,uBAAK,KAAK,GAAM,EAChB,sBAAI,IAAI,GAAK,IACF,CACd,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .step{position:relative}.step h3{margin:14px 0 10px;font-size:clamp(1.5rem,2.4vw,2rem)}.step p{color:var(--foreground-2);max-width:24ch}.dot{position:absolute;top:-33px;left:0;width:11px;height:11px;border-radius:50%;background:var(--foreground);box-shadow:0 0 14px 2px color-mix(in srgb, var(--foreground) 70%, transparent)}@media(max-width: 860px){.dot{top:4px;left:-30px}}.number{font-size:12px;color:var(--foreground-3)}
1
+ .step{align-content:start;position:relative}.step h3{margin:14px 0 10px;font-size:clamp(1.5rem,2.4vw,2rem)}.step p{color:var(--foreground-2);max-width:24ch}.dot{position:absolute;top:-33px;left:0;width:11px;height:11px;border-radius:50%;background:var(--foreground);box-shadow:0 0 14px 2px color-mix(in srgb, var(--foreground) 70%, transparent)}@media(max-width: 860px){.dot{top:4px;left:-30px}}.number{font-size:12px;color:var(--foreground-3)}
@@ -1,6 +1,7 @@
1
1
  @use "style/token" as *;
2
2
 
3
3
  .step {
4
+ align-content: start;
4
5
  position: relative;
5
6
  h3 {
6
7
  margin: 14px 0 10px;
@@ -1,7 +1,7 @@
1
1
  import type { MotionValue } from "motion/react";
2
2
  export interface StepProperties {
3
- index: number;
4
- count: number;
3
+ /** How far along the line this step's dot sits, from 0 (its start) to 1 (its end). */
4
+ at: number;
5
5
  progress: MotionValue<number>;
6
6
  number: string;
7
7
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,cAAc;IAC7B,sFAAsF;IACtF,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1 +1 @@
1
- .section{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin-inline:auto;border-inline:1px solid var(--line)}.padded{padding:clamp(72px,10vw,128px) var(--padding)}.line{position:absolute;left:calc(-1*var(--gutter));right:calc(-1*var(--gutter));top:-0.5px;height:1px;background:linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);transform-origin:left}@media(prefers-reduced-motion: no-preference){@supports(animation-timeline: view()){.line{animation:draw linear both;animation-timeline:view();animation-range:entry 0% entry 60%}}}@keyframes draw{from{transform:scaleX(0)}}
1
+ .section{text-align:left;position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin-inline:auto;border-inline:1px solid var(--line)}.padded{padding:clamp(72px,10vw,128px) var(--padding)}.line{position:absolute;left:calc(-1*var(--gutter));right:calc(-1*var(--gutter));top:-0.5px;height:1px;background:linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);transform-origin:left}@media(prefers-reduced-motion: no-preference){@supports(animation-timeline: view()){.line{animation:draw linear both;animation-timeline:view();animation-range:entry 0% entry 60%}}}@keyframes draw{from{transform:scaleX(0)}}
@@ -1,6 +1,8 @@
1
1
  @use "style/token" as *;
2
2
 
3
3
  .section {
4
+ /* Its text reads from the left (the page default is centered). */
5
+ text-align: left;
4
6
  position: relative;
5
7
  width: min(100% - 2 * var(--gutter), var(--maximum-width));
6
8
  margin-inline: auto;
@@ -1 +1 @@
1
- .indicator{--page: 0;--within: 0;position:fixed;z-index:40;right:max(14px,(100vw - var(--maximum-width))/2 - 92px);top:50%;transform:translateY(-50%);padding:14px 0;animation:enter 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .indicator{animation-duration:0s !important;animation-delay:0s !important}.indicator ol{position:relative;display:grid;gap:14px;margin:0;padding:0;list-style:none}@media(max-width: 1180px){.indicator{display:none}}@keyframes enter{from{opacity:0;transform:translate(16px, -50%)}}.rail{position:absolute;right:0;top:0;bottom:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 6px repeat-y}.rail span{position:absolute;inset:0 0 auto;height:calc(var(--page)*100%);background:linear-gradient(180deg, transparent, var(--foreground));box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent)}.indicator a{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;height:26px;padding-right:0;color:var(--foreground-3);transition:color .3s}.indicator a:hover{color:var(--foreground)}.number{font-size:10.5px;letter-spacing:.04em;transition:color .3s}.tick{position:relative;width:12px;height:1px;background:var(--line-2);transition:width .6s cubic-bezier(0.22, 1, 0.36, 1),background .3s}.tick span{position:absolute;inset:0 auto 0 0;width:0;background:var(--foreground)}.name{position:absolute;right:64px;padding:5px 11px;border-radius:99px;border:1px solid var(--line-2);background:color-mix(in srgb, var(--background) 75%, transparent);backdrop-filter:blur(10px);color:var(--foreground);font-size:12.5px;font-weight:500;letter-spacing:-0.01em;white-space:nowrap;opacity:0;transform:translateX(8px);filter:blur(4px);pointer-events:none;transition:opacity .35s,transform .5s cubic-bezier(0.22, 1, 0.36, 1),filter .35s}.indicator:hover .name{opacity:1;transform:none;filter:none}.current{color:var(--foreground) !important}.current .tick{width:34px;background:color-mix(in srgb, var(--foreground) 25%, transparent)}.current .tick span{width:calc(var(--within)*100%);box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent)}.current .name{animation:flash 2.2s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes flash{0%{opacity:0;transform:translateX(10px);filter:blur(4px)}15%,70%{opacity:1;transform:none;filter:none}100%{opacity:0;transform:translateX(4px);filter:blur(2px)}}.indicator:hover .current .name{animation:none}
1
+ .indicator{text-align:left;--page: 0;--within: 0;position:fixed;z-index:40;left:calc(50% + min(100% - 2*var(--gutter),var(--maximum-width))/2 + 14px);top:50%;transform:translateY(-50%);padding:14px 0;animation:enter 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .indicator{animation-duration:0s !important;animation-delay:0s !important}.indicator ol{position:relative;display:grid;gap:14px;margin:0;padding:0;list-style:none}@media(max-width: 1180px){.indicator{display:none}}@keyframes enter{from{opacity:0;transform:translate(16px, -50%)}}.rail{position:absolute;right:0;top:0;bottom:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 6px repeat-y}.rail span{position:absolute;inset:0 0 auto;height:calc(var(--page)*100%);background:linear-gradient(180deg, transparent, var(--foreground));box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent)}.indicator a{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;height:26px;padding-right:0;color:var(--foreground-3);transition:color .3s}.indicator a:hover{color:var(--foreground)}.number{font-size:10.5px;letter-spacing:.04em;transition:color .3s}.tick{position:relative;width:12px;height:1px;background:var(--line-2);transition:width .6s cubic-bezier(0.22, 1, 0.36, 1),background .3s}.tick span{position:absolute;inset:0 auto 0 0;width:0;background:var(--foreground)}.name{position:absolute;right:64px;padding:5px 11px;border-radius:99px;border:1px solid var(--line-2);background:color-mix(in srgb, var(--background) 75%, transparent);backdrop-filter:blur(10px);color:var(--foreground);font-size:12.5px;font-weight:500;letter-spacing:-0.01em;white-space:nowrap;opacity:0;transform:translateX(8px);filter:blur(4px);pointer-events:none;transition:opacity .35s,transform .5s cubic-bezier(0.22, 1, 0.36, 1),filter .35s}.indicator:hover .name{opacity:1;transform:none;filter:none}.current{color:var(--foreground) !important}.current .tick{width:34px;background:color-mix(in srgb, var(--foreground) 25%, transparent)}.current .tick span{width:calc(var(--within)*100%);box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent)}.current .name{animation:flash 2.2s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes flash{0%{opacity:0;transform:translateX(10px);filter:blur(4px)}15%,70%{opacity:1;transform:none;filter:none}100%{opacity:0;transform:translateX(4px);filter:blur(2px)}}.indicator:hover .current .name{animation:none}@media(max-width: 1399px){.indicator{left:calc(50% + min(100% - 2*var(--gutter),var(--maximum-width))/2 + 8px)}.number{display:none}.tick{width:8px}.current .tick{width:18px}}
@@ -1,11 +1,14 @@
1
1
  @use "style/token" as *;
2
2
 
3
3
  .indicator {
4
+ /* Its text reads from the left (the page default is centered). */
5
+ text-align: left;
4
6
  --page: 0;
5
7
  --within: 0;
6
8
  position: fixed;
7
9
  z-index: 40;
8
- right: max(14px, calc((100vw - var(--maximum-width)) / 2 - 92px));
10
+ /* Outside the grid frame: just past its right line, in the margin beside it. */
11
+ left: calc(50% + min(100% - 2 * var(--gutter), var(--maximum-width)) / 2 + 14px);
9
12
  top: 50%;
10
13
  transform: translateY(-50%);
11
14
  padding: 14px 0;
@@ -142,3 +145,18 @@
142
145
  .indicator:hover .current .name {
143
146
  animation: none;
144
147
  }
148
+ /* Where the margin beside the frame is too narrow for the numbers (under 1400px wide), ticks only, shorter. */
149
+ @include below(1399px) {
150
+ .indicator {
151
+ left: calc(50% + min(100% - 2 * var(--gutter), var(--maximum-width)) / 2 + 8px);
152
+ }
153
+ .number {
154
+ display: none;
155
+ }
156
+ .tick {
157
+ width: 8px;
158
+ }
159
+ .current .tick {
160
+ width: 18px;
161
+ }
162
+ }
@@ -1 +1 @@
1
- .card{--pointer-x: -500px;--pointer-y: -500px;position:relative;height:100%;background:var(--background);isolation:isolate}.card::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 7%, transparent), transparent 60%)}.inner{--tilt-x: 0deg;--tilt-y: 0deg;display:flex;flex-direction:column;height:100%}.visual{position:relative;height:270px;border-bottom:1px dashed var(--line-2);background:radial-gradient(90% 80% at 50% 45%, color-mix(in srgb, var(--foreground) 6%, transparent), transparent 70%),radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px}@media(max-width: 640px){.visual{height:250px}}.copy{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px 26px 28px}.copy h4{margin:0;font-size:1.3rem;font-weight:600;letter-spacing:-0.03em}.copy p{margin-bottom:14px;color:var(--foreground-2);max-width:44ch;text-wrap:pretty}.action{margin-top:auto}
1
+ .card{--pointer-x: -500px;--pointer-y: -500px;position:relative;height:100%;background:var(--background);isolation:isolate}.card::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 7%, transparent), transparent 60%)}.inner{align-items:stretch;--tilt-x: 0deg;--tilt-y: 0deg;display:flex;flex-direction:column;height:100%}.visual{position:relative;height:270px;border-bottom:1px dashed var(--line-2);background:radial-gradient(90% 80% at 50% 45%, color-mix(in srgb, var(--foreground) 6%, transparent), transparent 70%),radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px}@media(max-width: 640px){.visual{height:250px}}.copy{justify-content:flex-start;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px 26px 28px}.copy h4{margin:0;font-size:1.3rem;font-weight:600;letter-spacing:-0.03em}.copy p{margin-bottom:14px;color:var(--foreground-2);max-width:44ch;text-wrap:pretty}.action{margin-top:auto}
@@ -16,6 +16,7 @@
16
16
  }
17
17
  }
18
18
  .inner {
19
+ align-items: stretch;
19
20
  --tilt-x: 0deg;
20
21
  --tilt-y: 0deg;
21
22
  display: flex;
@@ -34,6 +35,7 @@
34
35
  }
35
36
  }
36
37
  .copy {
38
+ justify-content: flex-start;
37
39
  flex: 1;
38
40
  display: flex;
39
41
  flex-direction: column;
@@ -1 +1 @@
1
- .index{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(4, 1fr);border:1px solid var(--line)}@media(max-width: 960px){.index{grid-template-columns:repeat(2, 1fr)}}.cell{position:relative;display:grid;align-content:start;gap:6px;padding:22px 22px 24px;overflow:hidden;animation:rise .9s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .cell{animation-duration:0s !important;animation-delay:0s !important}.cell:not(:last-of-type){border-right:1px solid var(--line)}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);opacity:0;transition:opacity .4s}.cell:hover::before{opacity:1}.cell:hover .arrow{opacity:1;transform:none}@media(max-width: 960px){.cell{border-right:0 !important;border-bottom:1px solid var(--line)}.cell:nth-of-type(odd){border-right:1px solid var(--line) !important}.cell:nth-last-of-type(-n + 2){border-bottom:0}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}.number{font-size:11.5px;color:var(--foreground-3)}.title{font-weight:600;letter-spacing:-0.02em;font-size:15.5px}.kinds{font-size:11.5px;color:var(--foreground-2)}.arrow{position:absolute;top:18px;right:18px;width:16px;height:16px;opacity:0;transform:translate(-4px, -4px);transition:opacity .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
1
+ .index{align-items:stretch;text-align:left;position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(4, 1fr);border:1px solid var(--line)}@media(max-width: 960px){.index{grid-template-columns:repeat(2, 1fr)}}.cell{justify-content:stretch;position:relative;display:grid;align-content:start;gap:6px;padding:22px 22px 24px;overflow:hidden;animation:rise .9s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .cell{animation-duration:0s !important;animation-delay:0s !important}.cell:not(:last-of-type){border-right:1px solid var(--line)}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);opacity:0;transition:opacity .4s}.cell:hover::before{opacity:1}.cell:hover .arrow{opacity:1;transform:none}@media(max-width: 960px){.cell{border-right:0 !important;border-bottom:1px solid var(--line)}.cell:nth-of-type(odd){border-right:1px solid var(--line) !important}.cell:nth-last-of-type(-n + 2){border-bottom:0}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}.number{font-size:11.5px;color:var(--foreground-3)}.title{font-weight:600;letter-spacing:-0.02em;font-size:15.5px}.kinds{font-size:11.5px;color:var(--foreground-2)}.arrow{position:absolute;top:18px;right:18px;width:16px;height:16px;opacity:0;transform:translate(-4px, -4px);transition:opacity .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
@@ -1,6 +1,8 @@
1
1
  @use "style/token" as *;
2
2
 
3
3
  .index {
4
+ align-items: stretch;
5
+ text-align: left;
4
6
  position: relative;
5
7
  width: min(100% - 2 * var(--gutter), var(--maximum-width));
6
8
  margin: 0 auto;
@@ -12,6 +14,7 @@
12
14
  }
13
15
  }
14
16
  .cell {
17
+ justify-content: stretch;
15
18
  position: relative;
16
19
  display: grid;
17
20
  align-content: start;
@@ -1 +1 @@
1
- .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:android-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(-28deg)}@keyframes android-turn{0%,100%{transform:rotateX(10deg) rotateY(-30deg)}50%{transform:rotateX(6deg) rotateY(20deg)}}.phone{--width: 88px;--height: 176px;--depth: 9px;--radius: 10px;--front-amount: 4%;--edge-amount: 55%}.screen{position:absolute;inset:3px;overflow:hidden;border-radius:8px}.camera{position:absolute;left:50%;top:6px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 1.5px var(--background)}.status{position:absolute;left:7px;right:7px;top:7px;height:4px;background:linear-gradient(color-mix(in srgb, var(--foreground) 50%, transparent), color-mix(in srgb, var(--foreground) 50%, transparent)) left/12px 100% no-repeat,linear-gradient(color-mix(in srgb, var(--foreground) 50%, transparent), color-mix(in srgb, var(--foreground) 50%, transparent)) right/14px 100% no-repeat}.apps{position:absolute;inset:26px 9px auto;display:grid;grid-template-columns:repeat(4, 1fr);gap:9px 6px}.apps i{aspect-ratio:1;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:color-mix(in srgb, var(--foreground) 16%, transparent)}.apps i:nth-child(3n+1){background:color-mix(in srgb, var(--foreground) 34%, transparent)}.search{position:absolute;left:9px;right:9px;bottom:26px;height:14px;border-radius:7px;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:radial-gradient(circle at 9px 50%, color-mix(in srgb, var(--foreground) 70%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent)}.buttons{position:absolute;left:20px;right:20px;bottom:7px;display:flex;align-items:center;justify-content:space-between}.buttons i{width:8px;height:8px;border:1.5px solid color-mix(in srgb, var(--foreground) 55%, transparent)}.back{width:0 !important;height:0 !important;border:0 !important;border-top:4.5px solid rgba(0,0,0,0) !important;border-bottom:4.5px solid rgba(0,0,0,0) !important;border-right:7px solid color-mix(in srgb, var(--foreground) 55%, transparent) !important}.home{border-radius:50%}.recent{border-radius:2px}.shade{position:absolute;left:0;right:0;top:0;display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:18px 7px 12px;border-radius:0 0 12px 12px;background:var(--background);border-bottom:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);box-shadow:0 8px 18px -8px color-mix(in srgb, var(--foreground) 40%, transparent);transform:translateY(-105%);animation:android-shade 6s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.shade{animation:none}}.shade i{height:16px;border-radius:8px;border:1px solid color-mix(in srgb, var(--foreground) 40%, transparent);background:radial-gradient(circle at 8px 50%, color-mix(in srgb, var(--foreground) 60%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent);animation:android-toggle 6s ease-out infinite}@media(prefers-reduced-motion: reduce){.shade i{animation:none}}.shade b{grid-column:1/-1;justify-self:center;width:18px;height:3px;margin-top:3px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}@keyframes android-shade{0%,20%{transform:translateY(-105%)}32%,72%{transform:translateY(0)}84%,100%{transform:translateY(-105%)}}@keyframes android-toggle{0%,38%{background:radial-gradient(circle at 8px 50%, color-mix(in srgb, var(--foreground) 60%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent)}44%,100%{background:radial-gradient(circle at 8px 50%, var(--background) 3px, transparent 3.5px),var(--foreground)}}
1
+ .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:android-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(10deg) rotateY(-28deg)}@keyframes android-turn{0%,100%{transform:rotateX(10deg) rotateY(-30deg)}50%{transform:rotateX(6deg) rotateY(20deg)}}.phone{--width: 88px;--height: 176px;--depth: 9px;--radius: 10px}.screen{position:absolute;inset:3px;overflow:hidden;border-radius:8px}.camera{position:absolute;left:50%;top:6px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 1.5px var(--background)}.status{position:absolute;left:7px;right:7px;top:7px;height:4px;background:linear-gradient(color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 45%, transparent)) left/12px 100% no-repeat,linear-gradient(color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 45%, transparent)) right/14px 100% no-repeat}.apps{align-items:stretch;align-content:stretch;justify-content:stretch;position:absolute;inset:26px 9px auto;display:grid;grid-template-columns:repeat(4, 1fr);gap:9px 6px}.apps i{aspect-ratio:1;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:color-mix(in srgb, var(--foreground) 20%, transparent)}.apps i:nth-child(3n+1){background:color-mix(in srgb, var(--foreground) 45%, transparent)}.search{position:absolute;left:9px;right:9px;bottom:26px;height:14px;border-radius:7px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:radial-gradient(circle at 9px 50%, color-mix(in srgb, var(--foreground) 70%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent)}.buttons{position:absolute;left:20px;right:20px;bottom:7px;display:flex;align-items:center;justify-content:space-between}.buttons i{width:8px;height:8px;border:1.5px solid color-mix(in srgb, var(--foreground) 50%, transparent)}.back{width:0 !important;height:0 !important;border:0 !important;border-top:4.5px solid rgba(0,0,0,0) !important;border-bottom:4.5px solid rgba(0,0,0,0) !important;border-right:7px solid color-mix(in srgb, var(--foreground) 50%, transparent) !important}.home{border-radius:50%}.recent{border-radius:2px}.shade{position:absolute;left:0;right:0;top:0;display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:18px 7px 12px;border-radius:0 0 12px 12px;background:var(--background);border-bottom:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);box-shadow:0 8px 18px -8px color-mix(in srgb, var(--foreground) 35%, transparent);transform:translateY(-105%);animation:android-shade 6s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.shade{animation:none}}.shade i{height:16px;border-radius:8px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);background:radial-gradient(circle at 8px 50%, color-mix(in srgb, var(--foreground) 45%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent);animation:android-toggle 6s ease-out infinite}@media(prefers-reduced-motion: reduce){.shade i{animation:none}}.shade b{grid-column:1/-1;justify-self:center;width:18px;height:3px;margin-top:3px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}@keyframes android-shade{0%,20%{transform:translateY(-105%)}32%,72%{transform:translateY(0)}84%,100%{transform:translateY(-105%)}}@keyframes android-toggle{0%,38%{background:radial-gradient(circle at 8px 50%, color-mix(in srgb, var(--foreground) 45%, transparent) 3px, transparent 3.5px),color-mix(in srgb, var(--foreground) 10%, transparent)}44%,100%{background:radial-gradient(circle at 8px 50%, var(--background) 3px, transparent 3.5px),var(--foreground)}}
@@ -23,8 +23,6 @@ $round: 6s;
23
23
  --height: 176px;
24
24
  --depth: 9px;
25
25
  --radius: 10px;
26
- --front-amount: 4%;
27
- --edge-amount: 55%;
28
26
  }
29
27
  .screen {
30
28
  position: absolute;
@@ -51,11 +49,14 @@ $round: 6s;
51
49
  top: 7px;
52
50
  height: 4px;
53
51
  background:
54
- linear-gradient(tint(50%), tint(50%)) left / 12px 100% no-repeat,
55
- linear-gradient(tint(50%), tint(50%)) right / 14px 100% no-repeat;
52
+ linear-gradient(tint($detail), tint($detail)) left / 12px 100% no-repeat,
53
+ linear-gradient(tint($detail), tint($detail)) right / 14px 100% no-repeat;
56
54
  }
57
55
  /* Round app icons, four to a row. */
58
56
  .apps {
57
+ align-items: stretch;
58
+ align-content: stretch;
59
+ justify-content: stretch;
59
60
  position: absolute;
60
61
  inset: 26px 9px auto;
61
62
  display: grid;
@@ -64,10 +65,10 @@ $round: 6s;
64
65
  i {
65
66
  aspect-ratio: 1;
66
67
  border-radius: 50%;
67
- border: 1px solid tint(45%);
68
- background: tint(16%);
68
+ border: 1px solid tint($edge);
69
+ background: tint($faint);
69
70
  &:nth-child(3n + 1) {
70
- background: tint(34%);
71
+ background: tint($detail);
71
72
  }
72
73
  }
73
74
  }
@@ -79,8 +80,8 @@ $round: 6s;
79
80
  bottom: 26px;
80
81
  height: 14px;
81
82
  border-radius: 7px;
82
- border: 1px solid tint(45%);
83
- background: radial-gradient(circle at 9px 50%, tint(70%) 3px, transparent 3.5px), tint(10%);
83
+ border: 1px solid tint($edge);
84
+ background: radial-gradient(circle at 9px 50%, tint($strong) 3px, transparent 3.5px), tint($hint);
84
85
  }
85
86
  /* The three buttons: back, home and recent apps. */
86
87
  .buttons {
@@ -94,7 +95,7 @@ $round: 6s;
94
95
  i {
95
96
  width: 8px;
96
97
  height: 8px;
97
- border: 1.5px solid tint(55%);
98
+ border: 1.5px solid tint($edge);
98
99
  }
99
100
  }
100
101
  .back {
@@ -103,7 +104,7 @@ $round: 6s;
103
104
  border: 0 !important;
104
105
  border-top: 4.5px solid transparent !important;
105
106
  border-bottom: 4.5px solid transparent !important;
106
- border-right: 7px solid tint(55%) !important;
107
+ border-right: 7px solid tint($edge) !important;
107
108
  }
108
109
  .home {
109
110
  border-radius: 50%;
@@ -123,16 +124,16 @@ $round: 6s;
123
124
  padding: 18px 7px 12px;
124
125
  border-radius: 0 0 12px 12px;
125
126
  background: var(--background);
126
- border-bottom: 1px solid tint(45%);
127
- box-shadow: 0 8px 18px -8px tint(40%);
127
+ border-bottom: 1px solid tint($edge);
128
+ box-shadow: 0 8px 18px -8px tint($glow);
128
129
  transform: translateY(-105%);
129
130
  @include loop(android-shade $round $ease infinite);
130
131
  // A toggle: a rounded pill with a round icon, dim when off, lit when on.
131
132
  i {
132
133
  height: 16px;
133
134
  border-radius: 8px;
134
- border: 1px solid tint(40%);
135
- background: radial-gradient(circle at 8px 50%, tint(60%) 3px, transparent 3.5px), tint(10%);
135
+ border: 1px solid tint($edge);
136
+ background: radial-gradient(circle at 8px 50%, tint($detail) 3px, transparent 3.5px), tint($hint);
136
137
  @include loop(android-toggle $round ease-out infinite);
137
138
  }
138
139
  // The handle at the bottom of the shade.
@@ -143,7 +144,7 @@ $round: 6s;
143
144
  height: 3px;
144
145
  margin-top: 3px;
145
146
  border-radius: 2px;
146
- background: tint(45%);
147
+ background: tint($detail);
147
148
  }
148
149
  }
149
150
  @keyframes android-shade {
@@ -163,7 +164,7 @@ $round: 6s;
163
164
  @keyframes android-toggle {
164
165
  0%,
165
166
  38% {
166
- background: radial-gradient(circle at 8px 50%, tint(60%) 3px, transparent 3.5px), tint(10%);
167
+ background: radial-gradient(circle at 8px 50%, tint($detail) 3px, transparent 3.5px), tint($hint);
167
168
  }
168
169
  44%,
169
170
  100% {
@@ -1 +1 @@
1
- .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:awareness-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.08) rotateX(16deg) rotateY(-12deg)}@keyframes awareness-sway{0%,100%{transform:scale(1.08) rotateX(16deg) rotateY(-12deg)}50%{transform:scale(1.08) rotateX(10deg) rotateY(10deg)}}.scene{position:absolute;left:50%;top:50%;width:220px;height:184px;margin:-92px 0 0 -110px;transform-style:preserve-3d;transform:translateY(-6px)}.billboard{position:absolute;width:70px;height:34px;margin:-17px 0 0 -35px;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 6%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 55%, transparent);border-radius:4px;animation:awareness-billboard 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.billboard{animation:none}}.billboard::before,.billboard::after{content:"";position:absolute;top:100%;width:1px;height:10px;background:color-mix(in srgb, var(--foreground) 40%, transparent)}.billboard::before{left:20%}.billboard::after{right:20%}@keyframes awareness-billboard{0%{box-shadow:none}4%{box-shadow:0 0 24px -2px color-mix(in srgb, var(--foreground) 55%, transparent)}54%{box-shadow:none}}.advert{--size: 24px}.someone{position:absolute;width:0;height:0;transform:scale(var(--scale))}.person{--size: 24px;--person: var(--foreground)}.thought{position:absolute;left:4px;top:-40px;width:26px;height:26px}.thought::before,.thought::after{content:"";position:absolute;border-radius:50%;background:color-mix(in srgb, var(--foreground) 55%, transparent)}.thought::before{left:-1px;bottom:-7px;width:4px;height:4px}.thought::after{left:-5px;bottom:-12px;width:3px;height:3px}.recall{--size: 24px;left:50%;top:50%}.someone[data-step="0"] .thought{animation:awareness-thought-0 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="0"] .thought{animation:none}}.someone[data-step="0"] .person{animation:awareness-person-0 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="0"] .person{animation:none}}@keyframes awareness-thought-0{0%,14%{opacity:0;transform:translateY(6px) scale(0.3)}19%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-0{0%,14%{--person: color-mix(in srgb, var(--foreground) 35%, transparent)}19%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 35%, transparent)}}.someone[data-step="1"] .thought{animation:awareness-thought-1 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="1"] .thought{animation:none}}.someone[data-step="1"] .person{animation:awareness-person-1 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="1"] .person{animation:none}}@keyframes awareness-thought-1{0%,25%{opacity:0;transform:translateY(6px) scale(0.3)}30%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-1{0%,25%{--person: color-mix(in srgb, var(--foreground) 35%, transparent)}30%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 35%, transparent)}}.someone[data-step="2"] .thought{animation:awareness-thought-2 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="2"] .thought{animation:none}}.someone[data-step="2"] .person{animation:awareness-person-2 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="2"] .person{animation:none}}@keyframes awareness-thought-2{0%,36%{opacity:0;transform:translateY(6px) scale(0.3)}41%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-2{0%,36%{--person: color-mix(in srgb, var(--foreground) 35%, transparent)}41%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 35%, transparent)}}.someone[data-step="3"] .thought{animation:awareness-thought-3 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="3"] .thought{animation:none}}.someone[data-step="3"] .person{animation:awareness-person-3 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="3"] .person{animation:none}}@keyframes awareness-thought-3{0%,47%{opacity:0;transform:translateY(6px) scale(0.3)}52%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-3{0%,47%{--person: color-mix(in srgb, var(--foreground) 35%, transparent)}52%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 35%, transparent)}}
1
+ .object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:awareness-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:scale(1.08) rotateX(16deg) rotateY(-12deg)}@keyframes awareness-sway{0%,100%{transform:scale(1.08) rotateX(16deg) rotateY(-12deg)}50%{transform:scale(1.08) rotateX(10deg) rotateY(10deg)}}.scene{position:absolute;left:50%;top:50%;width:220px;height:184px;margin:-92px 0 0 -110px;transform-style:preserve-3d;transform:translateY(-6px)}.billboard{position:absolute;width:70px;height:34px;margin:-17px 0 0 -35px;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:4px;animation:awareness-billboard 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.billboard{animation:none}}.billboard::before,.billboard::after{content:"";position:absolute;top:100%;width:1px;height:10px;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.billboard::before{left:20%}.billboard::after{right:20%}@keyframes awareness-billboard{0%{box-shadow:none}4%{box-shadow:0 0 24px -2px color-mix(in srgb, var(--foreground) 35%, transparent)}54%{box-shadow:none}}.advert{--size: 24px}.someone{position:absolute;width:0;height:0;transform:scale(var(--scale))}.person{--size: 24px;--person: var(--foreground)}.thought{position:absolute;left:4px;top:-40px;width:26px;height:26px}.thought::before,.thought::after{content:"";position:absolute;border-radius:50%;background:color-mix(in srgb, var(--foreground) 45%, transparent)}.thought::before{left:-1px;bottom:-7px;width:4px;height:4px}.thought::after{left:-5px;bottom:-12px;width:3px;height:3px}.recall{--size: 24px;left:50%;top:50%}.someone[data-step="0"] .thought{animation:awareness-thought-0 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="0"] .thought{animation:none}}.someone[data-step="0"] .person{animation:awareness-person-0 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="0"] .person{animation:none}}@keyframes awareness-thought-0{0%,14%{opacity:0;transform:translateY(6px) scale(0.3)}19%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-0{0%,14%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}19%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}}.someone[data-step="1"] .thought{animation:awareness-thought-1 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="1"] .thought{animation:none}}.someone[data-step="1"] .person{animation:awareness-person-1 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="1"] .person{animation:none}}@keyframes awareness-thought-1{0%,25%{opacity:0;transform:translateY(6px) scale(0.3)}30%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-1{0%,25%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}30%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}}.someone[data-step="2"] .thought{animation:awareness-thought-2 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="2"] .thought{animation:none}}.someone[data-step="2"] .person{animation:awareness-person-2 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="2"] .person{animation:none}}@keyframes awareness-thought-2{0%,36%{opacity:0;transform:translateY(6px) scale(0.3)}41%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-2{0%,36%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}41%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}}.someone[data-step="3"] .thought{animation:awareness-thought-3 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="3"] .thought{animation:none}}.someone[data-step="3"] .person{animation:awareness-person-3 8s ease-out infinite}@media(prefers-reduced-motion: reduce){.someone[data-step="3"] .person{animation:none}}@keyframes awareness-thought-3{0%,47%{opacity:0;transform:translateY(6px) scale(0.3)}52%,64%{opacity:1;transform:translateY(0) scale(1);filter:none}68%{transform:translateY(-3px) scale(1.15);filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 35%, transparent))}74%,88%{opacity:1;transform:translateY(0) scale(1);filter:none}94%,100%{opacity:0;transform:translateY(-6px) scale(0.6)}}@keyframes awareness-person-3{0%,47%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}52%,88%{--person: var(--foreground)}94%,100%{--person: color-mix(in srgb, var(--foreground) 45%, transparent)}}
@@ -35,7 +35,7 @@ $clear: 88%;
35
35
  width: 70px;
36
36
  height: 34px;
37
37
  margin: -17px 0 0 -35px;
38
- @include face(6%, 55%);
38
+ @include face;
39
39
  border-radius: 4px;
40
40
  @include loop(awareness-billboard $round ease-out infinite);
41
41
  // Its two legs.
@@ -46,7 +46,7 @@ $clear: 88%;
46
46
  top: 100%;
47
47
  width: 1px;
48
48
  height: 10px;
49
- background: tint(40%);
49
+ background: tint($detail);
50
50
  }
51
51
  &::before {
52
52
  left: 20%;
@@ -60,7 +60,7 @@ $clear: 88%;
60
60
  box-shadow: none;
61
61
  }
62
62
  #{$billboard} {
63
- box-shadow: 0 0 24px -2px tint(55%);
63
+ box-shadow: 0 0 24px -2px tint($glow);
64
64
  }
65
65
  #{$together - 10%} {
66
66
  box-shadow: none;
@@ -92,7 +92,7 @@ $clear: 88%;
92
92
  content: "";
93
93
  position: absolute;
94
94
  border-radius: 50%;
95
- background: tint(55%);
95
+ background: tint($detail);
96
96
  }
97
97
  &::before {
98
98
  left: -1px;
@@ -137,7 +137,7 @@ $clear: 88%;
137
137
  }
138
138
  #{$together + 4%} {
139
139
  transform: translateY(-3px) scale(1.15);
140
- filter: drop-shadow(0 0 8px tint(70%));
140
+ filter: drop-shadow(0 0 8px tint($glow));
141
141
  }
142
142
  #{$together + 10%},
143
143
  #{$clear} {
@@ -154,7 +154,7 @@ $clear: 88%;
154
154
  @keyframes awareness-person-#{$index} {
155
155
  0%,
156
156
  #{$at} {
157
- --person: #{tint(35%)};
157
+ --person: #{tint($detail)};
158
158
  }
159
159
  #{$at + 5%},
160
160
  #{$clear} {
@@ -162,7 +162,7 @@ $clear: 88%;
162
162
  }
163
163
  #{$clear + 6%},
164
164
  100% {
165
- --person: #{tint(35%)};
165
+ --person: #{tint($detail)};
166
166
  }
167
167
  }
168
168
  }
@@ -1,6 +1,7 @@
1
1
  /**
2
- * Branding: defining the brand. Its pieces settle onto a board one by one (who it speaks to, its voice, its colors
3
- * and its type), and once they are all in place the brand's mark rises from the middle.
2
+ * Branding: defining who the brand is, drawn as its identity card being filled in. Its mark appears, its name is
3
+ * written, then who it speaks to, its voice, its colors and its type; once the card is complete it lifts, and the
4
+ * round starts again with a blank card.
4
5
  */
5
6
  export declare function Branding(): import("react").JSX.Element;
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/branding/index.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,QAAQ,gCAoBvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/branding/index.tsx"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,QAAQ,gCA0BvB"}