@lets-ship/site 3.1.0 → 3.3.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 (61) hide show
  1. package/dist/website/blocks/call-to-action-views.d.ts.map +1 -1
  2. package/dist/website/blocks/call-to-action-views.js +3 -3
  3. package/dist/website/blocks/call-to-action-views.js.map +1 -1
  4. package/dist/website/blocks/card-grid-views.d.ts.map +1 -1
  5. package/dist/website/blocks/card-grid-views.js +1 -1
  6. package/dist/website/blocks/card-grid-views.js.map +1 -1
  7. package/dist/website/blocks/catalog.d.ts +1 -1
  8. package/dist/website/blocks/catalog.js +1 -1
  9. package/dist/website/blocks/catalog.js.map +1 -1
  10. package/dist/website/blocks/commerce.d.ts +3 -1
  11. package/dist/website/blocks/commerce.d.ts.map +1 -1
  12. package/dist/website/blocks/commerce.js +2 -2
  13. package/dist/website/blocks/commerce.js.map +1 -1
  14. package/dist/website/blocks/contact-views.d.ts.map +1 -1
  15. package/dist/website/blocks/contact-views.js +3 -3
  16. package/dist/website/blocks/contact-views.js.map +1 -1
  17. package/dist/website/blocks/content.d.ts +5 -2
  18. package/dist/website/blocks/content.d.ts.map +1 -1
  19. package/dist/website/blocks/content.js +4 -3
  20. package/dist/website/blocks/content.js.map +1 -1
  21. package/dist/website/blocks/empty-state-views.d.ts.map +1 -1
  22. package/dist/website/blocks/empty-state-views.js +2 -2
  23. package/dist/website/blocks/empty-state-views.js.map +1 -1
  24. package/dist/website/blocks/faq-views.d.ts.map +1 -1
  25. package/dist/website/blocks/faq-views.js +1 -1
  26. package/dist/website/blocks/faq-views.js.map +1 -1
  27. package/dist/website/blocks/feature-views.d.ts +2 -2
  28. package/dist/website/blocks/feature-views.d.ts.map +1 -1
  29. package/dist/website/blocks/feature-views.js +5 -5
  30. package/dist/website/blocks/feature-views.js.map +1 -1
  31. package/dist/website/blocks/hero-views.d.ts +7 -2
  32. package/dist/website/blocks/hero-views.d.ts.map +1 -1
  33. package/dist/website/blocks/hero-views.js +13 -11
  34. package/dist/website/blocks/hero-views.js.map +1 -1
  35. package/dist/website/blocks/local-views.d.ts +2 -2
  36. package/dist/website/blocks/local-views.d.ts.map +1 -1
  37. package/dist/website/blocks/local-views.js +6 -6
  38. package/dist/website/blocks/local-views.js.map +1 -1
  39. package/dist/website/blocks/logo-stats-views.d.ts.map +1 -1
  40. package/dist/website/blocks/logo-stats-views.js +5 -5
  41. package/dist/website/blocks/logo-stats-views.js.map +1 -1
  42. package/dist/website/blocks/media-views.d.ts +2 -2
  43. package/dist/website/blocks/media-views.d.ts.map +1 -1
  44. package/dist/website/blocks/media-views.js +2 -2
  45. package/dist/website/blocks/media-views.js.map +1 -1
  46. package/dist/website/blocks/newsletter-views.d.ts.map +1 -1
  47. package/dist/website/blocks/newsletter-views.js +3 -3
  48. package/dist/website/blocks/newsletter-views.js.map +1 -1
  49. package/dist/website/blocks/parts.d.ts +35 -4
  50. package/dist/website/blocks/parts.d.ts.map +1 -1
  51. package/dist/website/blocks/parts.js +24 -5
  52. package/dist/website/blocks/parts.js.map +1 -1
  53. package/dist/website/blocks/team-views.d.ts.map +1 -1
  54. package/dist/website/blocks/team-views.js +3 -3
  55. package/dist/website/blocks/team-views.js.map +1 -1
  56. package/dist/website/blocks/testimonial-views.d.ts +6 -1
  57. package/dist/website/blocks/testimonial-views.d.ts.map +1 -1
  58. package/dist/website/blocks/testimonial-views.js +22 -7
  59. package/dist/website/blocks/testimonial-views.js.map +1 -1
  60. package/package.json +2 -2
  61. package/styles.css +233 -14
@@ -33,30 +33,45 @@ function MarkedQuoteCard({ item }) {
33
33
  }
34
34
  /** The block's own look: a card per quote in two columns, each under a quotation mark. */
35
35
  function CardTestimonials(props) {
36
- return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, intro: props.intro, children: _jsx("ul", { className: "site-grid", "data-cols": gridColumns(props.items.length, 2), children: keyed(props.items).map(({ key, item }) => (_jsx("li", { children: _jsx(MarkedQuoteCard, { item: item }) }, key))) }) }));
36
+ return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, highlight: props.highlight, intro: props.intro, children: _jsx("ul", { className: "site-grid", "data-cols": gridColumns(props.items.length, 2), children: keyed(props.items).map(({ key, item }) => (_jsx("li", { children: _jsx(MarkedQuoteCard, { item: item }) }, key))) }) }));
37
37
  }
38
38
  /** The quote cards in one row the reader scrolls, for more quotes than a page wants to stack. */
39
39
  function CarouselTestimonials(props) {
40
- return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, intro: props.intro, children: _jsx(CarouselRow, { kind: "cards", label: props.title, items: props.items, strings: props.strings, render: (item) => _jsx(MarkedQuoteCard, { item: item }) }) }));
40
+ return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, highlight: props.highlight, intro: props.intro, children: _jsx(CarouselRow, { kind: "cards", label: props.title, items: props.items, strings: props.strings, render: (item) => _jsx(MarkedQuoteCard, { item: item }) }) }));
41
41
  }
42
42
  /** One quote, large and centred, under a quotation mark in the brand colour. */
43
43
  function QuoteTestimonials(props) {
44
- const [item, ...rest] = props.items;
44
+ const item = oneQuote("quote", props.items);
45
+ return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, highlight: props.highlight, intro: props.intro, align: "center", children: _jsxs("figure", { className: "mx-auto flex max-w-2xl flex-col items-center text-center", "data-variant": "quote", children: [_jsx(Quotes, { "aria-hidden": "true", weight: "fill", className: "site-quote-mark size-8" }), _jsx("blockquote", { className: "site-quote-large mt-4", children: item.quote }), _jsx("figcaption", { className: "mt-6", children: _jsx(Person, { item: item, center: true }) })] }) }));
46
+ }
47
+ /** One quote that carries the band: exactly one item, or a `BlockPropError` that names the layouts for more. */
48
+ function oneQuote(variant, items) {
49
+ const [item, ...rest] = items;
45
50
  if (item === undefined || rest.length > 0)
46
- throw new BlockPropError("Testimonials", "quote", `exactly one item in items, not ${props.items.length}`, "it shows one quote large; use cards, grid, reviews or carousel for more");
47
- return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, intro: props.intro, align: "center", children: _jsxs("figure", { className: "mx-auto flex max-w-2xl flex-col items-center text-center", "data-variant": "quote", children: [_jsx(Quotes, { "aria-hidden": "true", weight: "fill", className: "site-quote-mark size-8" }), _jsx("blockquote", { className: "site-quote-large mt-4", children: item.quote }), _jsx("figcaption", { className: "mt-6", children: _jsx(Person, { item: item, center: true }) })] }) }));
51
+ throw new BlockPropError("Testimonials", variant, `exactly one item in items, not ${items.length}`, "it shows one quote large; use cards, grid, reviews or carousel for more");
52
+ return item;
53
+ }
54
+ /**
55
+ * One quote as a statement: large, from the start of the line, in the brand's display face with
56
+ * its opening mark hung outside the text edge, and who said it under it. With `figure`, a large
57
+ * number beside it, such as an average rating, marked by a rule in the brand's accent.
58
+ */
59
+ function StatementTestimonials(props) {
60
+ const item = oneQuote("statement", props.items);
61
+ return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, highlight: props.highlight, intro: props.intro, children: _jsxs("div", { className: props.figure ? "site-statement site-statement-with-figure" : "site-statement", "data-variant": "statement", children: [_jsxs("figure", { children: [_jsx("blockquote", { className: "site-quote-statement", children: item.quote }), _jsx("figcaption", { className: "site-statement-cite", children: item.role ? `${item.name}, ${item.role}` : item.name })] }), props.figure ? (_jsxs("p", { className: "site-statement-figure", children: [_jsx("span", { className: "site-statement-figure-value", children: props.figure.value }), _jsx("span", { className: "site-card-text", children: props.figure.label })] })) : null] }) }));
48
62
  }
49
63
  /** Three columns of cards, each led by the person, then the words. */
50
64
  function GridTestimonials(props) {
51
- return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, intro: props.intro, children: _jsx("ul", { className: "site-grid", "data-cols": gridColumns(props.items.length, 3), "data-variant": "grid", children: keyed(props.items).map(({ key, item }) => (_jsx("li", { children: _jsxs("figure", { className: "site-card flex h-full flex-col", children: [_jsx("figcaption", { className: "mb-4", children: _jsx(Person, { item: item }) }), _jsx("blockquote", { className: "site-quote", children: item.quote })] }) }, key))) }) }));
65
+ return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, highlight: props.highlight, intro: props.intro, children: _jsx("ul", { className: "site-grid", "data-cols": gridColumns(props.items.length, 3), "data-variant": "grid", children: keyed(props.items).map(({ key, item }) => (_jsx("li", { children: _jsxs("figure", { className: "site-card flex h-full flex-col", children: [_jsx("figcaption", { className: "mb-4", children: _jsx(Person, { item: item }) }), _jsx("blockquote", { className: "site-quote", children: item.quote })] }) }, key))) }) }));
52
66
  }
53
67
  /** Review cards in three columns: the stars, a heading, the words, and who wrote them at the foot. */
54
68
  function ReviewTestimonials(props) {
55
- return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, intro: props.intro, children: _jsx("ul", { className: "site-grid", "data-cols": gridColumns(props.items.length, 3), "data-variant": "reviews", children: keyed(props.items).map(({ key, item }) => (_jsx("li", { children: _jsx(QuoteCard, { item: item, children: _jsxs("div", { className: "mb-3 flex flex-col gap-3", children: [item.rating === undefined ? null : _jsx(Rating, { value: item.rating, strings: props.strings }), item.title ? _jsx("h3", { className: "site-card-title", children: item.title }) : null] }) }) }, key))) }) }));
69
+ return (_jsx(Section, { name: "Testimonials", id: props.id, tone: props.tone, title: props.title, highlight: props.highlight, intro: props.intro, children: _jsx("ul", { className: "site-grid", "data-cols": gridColumns(props.items.length, 3), "data-variant": "reviews", children: keyed(props.items).map(({ key, item }) => (_jsx("li", { children: _jsx(QuoteCard, { item: item, children: _jsxs("div", { className: "mb-3 flex flex-col gap-3", children: [item.rating === undefined ? null : _jsx(Rating, { value: item.rating, strings: props.strings }), item.title ? _jsx("h3", { className: "site-card-title", children: item.title }) : null] }) }) }, key))) }) }));
56
70
  }
57
71
  const VIEWS = {
58
72
  cards: CardTestimonials,
59
73
  quote: QuoteTestimonials,
74
+ statement: StatementTestimonials,
60
75
  grid: GridTestimonials,
61
76
  reviews: ReviewTestimonials,
62
77
  carousel: CarouselT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AAG,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC1C,uBACC,KAAC,SAAS,IAAC,IAAI,EAAE,IAAI,YACpB,eAAK,SAAS,EAAC,0BAA0B,aACvC,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAC,MAAM,IAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,GAAI,EACzF,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,aAAI,SAAS,EAAC,iBAAiB,YAAE,IAAI,CAAC,KAAK,GAAM,CAAC,CAAC,CAAC,IAAI,IACjE,GACK,IANJ,GAAG,CAOP,CACL,CAAC,GACE,GACI,CACV,CAAC;AACH,CAAC;AAED,MAAM,KAAK,GAAsF;IAChG,KAAK,EAAE,gBAAgB;IACvB,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,qBAAqB;IAChC,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,kBAAkB;IAC3B,QAAQ,EAAE,oBAAoB;CAC9B,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,OAA4B,EAAE,KAAwB;IACtF,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;IAC5B,OAAO,KAAC,IAAI,OAAK,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,cAAc,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,GAAI,CAAC;AAC1F,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lets-ship/site",
3
- "version": "3.1.0",
3
+ "version": "3.3.0",
4
4
  "type": "module",
5
5
  "description": "The white-label site engine of SHIP Sites: a website, blog and docs on Next.js and fumadocs, themed entirely by a brand DNA.",
6
6
  "license": "MIT",
@@ -148,7 +148,7 @@
148
148
  "unist-util-visit": "^5.1.0",
149
149
  "zbsearch": "^4.0.1",
150
150
  "zod": "^4.4.3",
151
- "@lets-ship/brand-dna": "^3.1.0"
151
+ "@lets-ship/brand-dna": "^3.3.0"
152
152
  },
153
153
  "peerDependencies": {
154
154
  "fumadocs-core": "16.17.5",
package/styles.css CHANGED
@@ -327,6 +327,14 @@
327
327
  overflow-wrap: anywhere;
328
328
  }
329
329
 
330
+ /* A heading's long word breaks at a syllable, with a hyphen, in the page's language, before it
331
+ breaks anywhere: a Dutch hero showed "Zuurdesembro / od" (site generation, 2026-11-11). */
332
+ .site-block :is(h1, h2, h3) {
333
+ hyphens: auto;
334
+ /* Only a long word: a short one ("ei-gen") wraps whole to the next line. */
335
+ hyphenate-limit-chars: 10 4 4;
336
+ }
337
+
330
338
  /* A link to a block's id ("#pricing") stops with the block's top under the sticky header and
331
339
  its bottom border. */
332
340
  .site-block,
@@ -511,14 +519,16 @@
511
519
  }
512
520
 
513
521
  /* A section heading follows the brand's alignment (composition.align); a variant that centres
514
- its heading adds .site-block-head-center, which comes later and wins. */
522
+ its heading adds .site-block-head-center, which comes later and wins. It takes the brand's
523
+ display role, the size between the opening headline and h1, so a heading reads as a statement
524
+ ("Clear prices, parts on top") and not as a label. */
515
525
  .site-block-title {
516
526
  margin-bottom: var(--dna-space-md);
517
- font-family: var(--dna-type-h2-family);
518
- font-size: var(--dna-type-h2-size);
519
- font-weight: var(--dna-type-h2-weight);
520
- line-height: var(--dna-type-h2-line-height);
521
- letter-spacing: var(--dna-type-h2-tracking);
527
+ font-family: var(--dna-type-display-family);
528
+ font-size: var(--dna-type-display-size);
529
+ font-weight: var(--dna-type-display-weight);
530
+ line-height: var(--dna-type-display-line-height);
531
+ letter-spacing: var(--dna-type-display-tracking);
522
532
  color: var(--site-fg);
523
533
  text-align: var(--dna-head-align);
524
534
  text-wrap: balance;
@@ -680,17 +690,82 @@
680
690
  color: var(--site-fg-muted);
681
691
  }
682
692
 
693
+ /* Numbered steps: one rule over the row and a rule between the columns, each step a small
694
+ number over a title in the heading face and a line of body text. The row stands well clear of
695
+ the title, as its own part of the band. On a phone the steps stack, a rule between each. */
696
+ .site-steps {
697
+ display: grid;
698
+ grid-template-columns: minmax(0, 1fr);
699
+ row-gap: var(--dna-space-xl);
700
+ border-top: var(--dna-border-width-thin) solid var(--site-border);
701
+ }
702
+
703
+ .site-block-title + .site-steps {
704
+ margin-top: var(--dna-space-2xl);
705
+ }
706
+
707
+ .site-step {
708
+ padding-top: var(--dna-space-lg);
709
+ }
710
+
711
+ .site-step + .site-step {
712
+ border-top: var(--dna-border-width-thin) solid var(--site-border);
713
+ }
714
+
683
715
  .site-step-number {
684
716
  display: block;
685
717
  margin-bottom: var(--dna-space-sm);
686
718
  font-family: var(--dna-type-h3-family);
687
- font-size: var(--dna-type-h3-size);
719
+ font-size: var(--dna-type-body-sm-size);
688
720
  font-weight: var(--dna-type-h3-weight);
689
- line-height: 1;
721
+ line-height: var(--dna-type-body-sm-line-height);
690
722
  font-variant-numeric: var(--dna-numerals);
691
723
  color: var(--site-brand-text);
692
724
  }
693
725
 
726
+ .site-step-title {
727
+ margin-bottom: var(--dna-space-sm);
728
+ font-family: var(--dna-type-h3-family);
729
+ font-size: var(--dna-type-h3-size);
730
+ font-weight: var(--dna-type-h3-weight);
731
+ line-height: var(--dna-type-h3-line-height);
732
+ letter-spacing: var(--dna-type-h3-tracking);
733
+ color: var(--site-fg);
734
+ }
735
+
736
+ .site-step-text {
737
+ max-width: var(--dna-measure-lead);
738
+ font-size: var(--dna-type-body-size);
739
+ line-height: var(--dna-type-body-line-height);
740
+ color: var(--site-fg-muted);
741
+ text-wrap: pretty;
742
+ }
743
+
744
+ @media (min-width: 48rem) {
745
+ .site-steps[data-cols="2"] {
746
+ grid-template-columns: repeat(2, minmax(0, 1fr));
747
+ }
748
+
749
+ .site-steps:is([data-cols="3"], [data-cols="5"], [data-cols="6"]) {
750
+ grid-template-columns: repeat(3, minmax(0, 1fr));
751
+ }
752
+
753
+ .site-step {
754
+ padding-inline: calc(var(--dna-space-lg) + var(--dna-space-xs));
755
+ }
756
+
757
+ .site-step + .site-step {
758
+ border-top: 0;
759
+ border-inline-start: var(--dna-border-width-thin) solid var(--site-border);
760
+ }
761
+
762
+ .site-steps[data-cols="2"] > .site-step:nth-child(2n + 1),
763
+ .site-steps:is([data-cols="3"], [data-cols="5"], [data-cols="6"]) > .site-step:nth-child(3n + 1) {
764
+ padding-inline-start: 0;
765
+ border-inline-start: 0;
766
+ }
767
+ }
768
+
694
769
  .site-price {
695
770
  font-variant-numeric: var(--dna-numerals);
696
771
  margin-block: 8px;
@@ -891,6 +966,117 @@
891
966
  text-wrap: pretty;
892
967
  }
893
968
 
969
+ /* One quote as a statement (Testimonials statement): the brand's display face at h1 size, from the
970
+ start of the line, the opening mark hung outside the text edge when the brand hangs punctuation.
971
+ A figure beside it, such as an average rating, sits behind a rule in the band's brand colour. */
972
+ .site-statement {
973
+ display: grid;
974
+ gap: var(--dna-space-xl);
975
+ align-items: end;
976
+ }
977
+
978
+ @media (min-width: 768px) {
979
+ .site-statement-with-figure {
980
+ grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
981
+ }
982
+ }
983
+
984
+ .site-quote-statement {
985
+ max-width: 30ch;
986
+ font-family: var(--dna-type-display-family);
987
+ font-size: var(--dna-type-h1-size);
988
+ font-weight: 500;
989
+ line-height: 1.2;
990
+ letter-spacing: var(--dna-type-h1-tracking);
991
+ text-indent: var(--dna-quote-hang);
992
+ text-wrap: pretty;
993
+ color: var(--site-fg);
994
+ }
995
+
996
+ .site-quote-statement::before {
997
+ content: open-quote;
998
+ }
999
+
1000
+ .site-quote-statement::after {
1001
+ content: close-quote;
1002
+ }
1003
+
1004
+ .site-statement-cite {
1005
+ margin-top: var(--dna-space-lg);
1006
+ font-size: var(--dna-type-body-sm-size);
1007
+ color: var(--site-fg-muted);
1008
+ }
1009
+
1010
+ .site-statement-figure {
1011
+ display: grid;
1012
+ gap: 6px;
1013
+ padding-inline-start: var(--dna-space-lg);
1014
+ border-inline-start: 3px solid var(--site-brand-text);
1015
+ }
1016
+
1017
+ .site-statement-figure-value {
1018
+ font-family: var(--dna-type-display-family);
1019
+ font-size: var(--dna-type-display-size);
1020
+ font-weight: var(--dna-type-display-weight);
1021
+ line-height: 1;
1022
+ letter-spacing: var(--dna-type-display-tracking);
1023
+ font-variant-numeric: var(--dna-numerals);
1024
+ color: var(--site-fg);
1025
+ }
1026
+
1027
+ /* The key facts of an opening section, under its buttons and a rule: the value over its label. */
1028
+ .site-hero-facts {
1029
+ display: flex;
1030
+ flex-wrap: wrap;
1031
+ gap: var(--dna-space-md) var(--dna-space-xl);
1032
+ margin-top: var(--dna-space-xl);
1033
+ padding-top: var(--dna-space-md);
1034
+ border-top: var(--dna-border-width-thin) solid var(--site-border);
1035
+ }
1036
+
1037
+ .site-hero-facts > div {
1038
+ display: flex;
1039
+ flex-direction: column-reverse;
1040
+ gap: 2px;
1041
+ }
1042
+
1043
+ .site-hero-fact-value {
1044
+ font-family: var(--dna-type-display-family);
1045
+ font-size: var(--dna-type-h4-size);
1046
+ font-weight: var(--dna-type-display-weight);
1047
+ line-height: 1.2;
1048
+ font-variant-numeric: var(--dna-numerals);
1049
+ color: var(--site-fg);
1050
+ }
1051
+
1052
+ .site-hero-fact-label {
1053
+ font-size: var(--dna-type-body-sm-size);
1054
+ color: var(--site-fg-muted);
1055
+ }
1056
+
1057
+ /* A second action as underlined text (an Action with look "link"), beside the first button. */
1058
+ .site-text-action {
1059
+ display: inline-flex;
1060
+ align-items: center;
1061
+ min-height: var(--dna-control-height-md);
1062
+ font-family: var(--dna-type-button-family);
1063
+ font-weight: 600;
1064
+ color: var(--site-fg);
1065
+ text-decoration-line: underline;
1066
+ text-decoration-color: var(--site-brand-text);
1067
+ text-decoration-thickness: 2px;
1068
+ text-underline-offset: 6px;
1069
+ }
1070
+
1071
+ .site-text-action:hover {
1072
+ text-decoration-thickness: 3px;
1073
+ }
1074
+
1075
+ .site-text-action:focus-visible {
1076
+ outline: var(--dna-focus-width) solid var(--dna-focus-color);
1077
+ outline-offset: var(--dna-focus-offset);
1078
+ }
1079
+
894
1080
  /* A question whose caret turns when it opens. */
895
1081
  .site-faq-summary {
896
1082
  display: flex;
@@ -1265,6 +1451,8 @@ details[open] > .site-faq-summary .site-faq-caret {
1265
1451
  --site-emphasis-color: var(--dna-emphasis-color-inverse);
1266
1452
  --site-emphasis-bg: var(--dna-emphasis-bg-inverse);
1267
1453
  --site-band-texture: var(--dna-texture-inverse);
1454
+ --site-band-link: var(--dna-band-link-inverse);
1455
+ --site-band-numerals: var(--dna-accent-numerals-inverse);
1268
1456
  }
1269
1457
 
1270
1458
  .site-block[data-tone="brand"] {
@@ -1275,18 +1463,25 @@ details[open] > .site-faq-summary .site-faq-caret {
1275
1463
  --site-emphasis-color: var(--dna-emphasis-color-brand);
1276
1464
  --site-emphasis-bg: var(--dna-emphasis-bg-brand);
1277
1465
  --site-band-texture: var(--dna-texture-brand);
1466
+ --site-band-link: var(--dna-band-link-brand);
1467
+ --site-band-numerals: var(--dna-accent-numerals-brand);
1278
1468
  }
1279
1469
 
1470
+ /* A strong band is the page's one statement, so it takes the brand's large section space and
1471
+ more, as the Kade concept's dark band does. */
1280
1472
  .site-block[data-tone="inverse"],
1281
1473
  .site-block[data-tone="brand"] {
1474
+ padding-block: calc(var(--dna-section-lg) + var(--dna-space-xl));
1282
1475
  --site-fg: var(--site-band-fg);
1283
1476
  --site-fg-muted: var(--site-band-muted);
1284
1477
  --site-border: color-mix(in oklab, var(--site-band-fg) 24%, var(--site-band-bg));
1285
1478
  --site-surface: var(--site-band-surface);
1286
1479
  --site-surface-muted: var(--site-surface);
1480
+ /* The button's colour marks the band. Text in that colour takes the theme's solved value
1481
+ for the band, which reaches AA in each mode (contract minor 5). */
1287
1482
  --site-brand: var(--dna-cta-inverse-bg);
1288
- --site-brand-text: var(--dna-cta-inverse-bg);
1289
- --site-link: var(--dna-cta-inverse-bg);
1483
+ --site-brand-text: var(--site-band-link);
1484
+ --site-link: var(--site-band-link);
1290
1485
  --color-fd-foreground: var(--site-fg);
1291
1486
  --color-fd-muted-foreground: var(--site-fg-muted);
1292
1487
  --color-fd-border: var(--site-border);
@@ -1318,10 +1513,11 @@ details[open] > .site-faq-summary .site-faq-caret {
1318
1513
  color: var(--site-fg);
1319
1514
  }
1320
1515
 
1321
- /* On a band the step numbers take the accent when the brand allows it (colorPolicy.accent). */
1516
+ /* On a band the step numbers take the accent when the brand allows it (colorPolicy.accent), at
1517
+ the lightness the theme solved for that band. */
1322
1518
  .site-block[data-tone="inverse"] .site-step-number,
1323
1519
  .site-block[data-tone="brand"] .site-step-number {
1324
- color: var(--dna-accent-numerals);
1520
+ color: var(--site-band-numerals);
1325
1521
  }
1326
1522
 
1327
1523
  /* The brand's split (composition.split): the first column the wider one, or the last. */
@@ -1373,6 +1569,24 @@ details[open] > .site-faq-summary .site-faq-caret {
1373
1569
  mix-blend-mode: var(--dna-media-blend);
1374
1570
  }
1375
1571
 
1572
+ /* A short note in the picture's corner ("Sample picture"), on the page's own colours so it reads
1573
+ over any picture, above the brand's shadow layer. */
1574
+ .site-media-note {
1575
+ position: absolute;
1576
+ z-index: 1;
1577
+ inset-block-end: var(--dna-space-sm);
1578
+ inset-inline-start: var(--dna-space-sm);
1579
+ max-width: calc(100% - 2 * var(--dna-space-sm));
1580
+ padding: var(--dna-space-xs) var(--dna-space-sm);
1581
+ border-radius: var(--dna-radius-sm);
1582
+ background: var(--color-fd-background);
1583
+ color: var(--site-fg);
1584
+ font-family: var(--dna-type-caption-family);
1585
+ font-size: var(--dna-type-caption-size);
1586
+ font-weight: var(--dna-type-caption-weight);
1587
+ line-height: var(--dna-type-caption-line-height);
1588
+ }
1589
+
1376
1590
  .site-media-picture::after {
1377
1591
  content: "";
1378
1592
  position: absolute;
@@ -1441,10 +1655,12 @@ details[open] > .site-faq-summary .site-faq-caret {
1441
1655
  color: var(--site-fg);
1442
1656
  }
1443
1657
 
1658
+ /* The price keeps its width and its words whole: the name and its text beside it wrap instead.
1659
+ ".site-block" lets any word break anywhere, which let a narrow row split "€25" into "€2 / 5". */
1444
1660
  .site-price-amount {
1445
- flex: 0 1 auto;
1446
- min-width: 0;
1661
+ flex: 0 0 auto;
1447
1662
  max-width: 50%;
1663
+ overflow-wrap: break-word;
1448
1664
  text-align: end;
1449
1665
  font-family: var(--dna-type-h4-family);
1450
1666
  font-size: var(--dna-type-h4-size);
@@ -1488,7 +1704,10 @@ details[open] > .site-faq-summary .site-faq-caret {
1488
1704
  border-bottom: var(--dna-border-width-thin) solid var(--site-border);
1489
1705
  }
1490
1706
 
1707
+ /* A label never breaks inside a word ("Reservatio / ns"): its longest word is the least it shrinks
1708
+ to, so the value beside it wraps first. */
1491
1709
  .site-hours-row > dt {
1710
+ overflow-wrap: break-word;
1492
1711
  color: var(--site-fg);
1493
1712
  }
1494
1713