/*
 * Woodmont Digital: design tokens and base styles (WDW-19), from design direction A, "Contour" (design/wdw-21/a).
 *
 * Every colour is a pair written once with light-dark(): the first value is the light theme, the second the dark one.
 * Which one applies follows color-scheme: the visitor's system setting, or their choice in the theme switch, which
 * sets data-theme on <html>. Any element can carry data-theme; the style guide in the CMS uses that to show both
 * themes side by side. DesignTokensTest checks every text and interface pair for contrast, in both themes.
 *
 * The templates still carry Pentrical's class names; their own styling comes with WDW-18 (layout), WDW-17 (motion)
 * and WDW-14 (blocks). Until then they get the type, colours and spacing from here.
 */

/* ---------------------------------------------------------------- */
/* Fonts                                                             */
/* ---------------------------------------------------------------- */

/*
 * Two families: Source Sans 3 for body text and the interface, Encode Sans only for headings and display text
 * (--font-body and --font-heading below). Both are self-hosted, next to this stylesheet (WDW-48: Bunny Fonts sends
 * its font files through jsDelivr since November 2026, which our policy and privacy statement don't allow).
 * font-synthesis: none (on body) keeps browsers from faking an italic or a bold.
 *
 * Both are variable fonts under the SIL Open Font License (fonts/OFL-SourceSans3.txt, fonts/OFL-EncodeSans.txt), from
 * Fontsource 5.3.0 (@fontsource-variable/source-sans-3, @fontsource-variable/encode-sans), split the way Fontsource
 * splits them: the latin-ext files only load when a page has one of their letters. Source Sans 3 has weights 200 to
 * 900, upright and italic. Encode Sans has 100 to 900 and no italic, so emphasis in a heading is its light weight.
 */
@font-face {
  font-family: "Encode Sans";
  src: url("encode-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Encode Sans";
  src: url("encode-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("source-sans-3-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("source-sans-3-latin-ext-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/*
 * The headings' stand-in while Encode Sans loads (WDW-5): Arial, already on the device, resized to Encode
 * Sans's measurements, so the swap moves nothing (it shifted headings 8px and rewrapped the text under them). Measured
 * in Chrome: Encode Sans has an ascent of 1.03em and a descent of 0.22em; per weight, its width against Arial's is
 * 101.4% (700), 99.8% (400) and 97.4% (300, against Arial's regular). The overrides are divided by size-adjust, as it
 * scales them too. Liberation Sans has Arial's metrics, for Linux.
 */
@font-face {
  font-family: "Encode Sans Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  font-weight: 700;
  size-adjust: 101.39%;
  ascent-override: 101.59%;
  descent-override: 21.70%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Encode Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  font-weight: 400;
  size-adjust: 99.78%;
  ascent-override: 103.23%;
  descent-override: 22.05%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Encode Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  font-weight: 300;
  size-adjust: 97.41%;
  ascent-override: 105.74%;
  descent-override: 22.58%;
  line-gap-override: 0%;
}

/* ---------------------------------------------------------------- */
/* Tokens                                                            */
/* ---------------------------------------------------------------- */

:root {
  color-scheme: light dark;

  /* Colour: light-dark(light theme, dark theme). Navy #0f172a and the green come from the earlier site. */
  --bg: light-dark(#f5f4ee, #0f172a);
  --surface: light-dark(#ecebe4, #1e293b);
  --ink: light-dark(#0f172a, #f1f5f9);
  --muted: light-dark(#475569, #a7b4c7);
  --rule: light-dark(#cdd3d8, #334155);
  --accent: light-dark(#157033, #24cb61);
  --accent-ink: light-dark(#ffffff, #0f172a);
  --band: light-dark(#0f172a, #1e293b);
  --band-ink: light-dark(#f1f5f9, #f1f5f9);
  --band-muted: light-dark(#cbd5e1, #cbd5e1);
  --band-accent: light-dark(#24cb61, #24cb61);
  --band-accent-ink: light-dark(#0f172a, #0f172a);
  /* Error text in the band, where the home page's waitlist stands (WDW-42): the dark theme's orange, which reads on navy. */
  --band-signal: light-dark(#ff8a4c, #ff8a4c);
  --signal: light-dark(#a8410f, #ff8a4c);
  --focus: light-dark(#157033, #24cb61);
  --mark-frame: light-dark(#127aa3, #ffffff);
  --hatch: light-dark(rgba(15, 23, 42, .1), rgba(241, 245, 249, .08));
  /* The language and theme menus' buttons on hover and while open (WDW-26): a soft tint of the accent, ink on it. */
  --accent-soft: light-dark(#d7ecdd, #17402c);
  /* The product cards and the larger version they open into (WDW-31): a lighter paper, and in the dark the band's slate,
     so a card stands out from the page in both themes. */
  --card: light-dark(#fbfaf6, #1e293b);
  --shadow: light-dark(rgba(15, 23, 42, .14), rgba(0, 0, 0, .5));
  --scrim: light-dark(rgba(15, 23, 42, .55), rgba(2, 6, 23, .75));

  /* Type */
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Encode Sans", "Encode Sans Fallback", "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-xs: .8125rem;
  --text-small: .9rem;
  --text-body: 1.125rem;
  --text-lead: clamp(1.15rem, 1.5vw, 1.35rem);
  --text-h4: 1.25rem;
  --text-h3: clamp(1.5rem, 2.6vw, 2.5rem);
  --text-h2: clamp(2rem, 4.2vw, 3.5rem);
  --text-display: clamp(2.75rem, 7vw, 6.5rem);
  --text-statement: clamp(2.25rem, 5.4vw, 4.75rem);
  --leading-body: 1.6;
  --leading-snug: 1.45;
  /* Encode Sans's letters reach 1.25em from accent to descender (ascent 1.03, descent .22): tighter than this and the
     lines of a heading touch (WDW-26). */
  --leading-heading: 1.15;
  --leading-display: 1.08;
  --leading-statement: 1.12;
  --tracking-display: -.035em;
  --tracking-heading: -.025em;
  --tracking-eyebrow: .1em;

  /* Space */
  --space-3xs: .25rem;
  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-section: clamp(4rem, 8vw, 7rem);

  /* Layout. The measure is set in ch, the width of Source Sans 3's zero, which is wider than its average letter:
     64ch holds about 74 characters of English running text and a few less in Dutch. No line of text should go
     over 90. */
  --wrap: 84rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 64ch;
  /* The column of a section that is text, such as a text block or the questions, centred on the page (WDW-31): as wide
     as a line of running text, so the text fills it and the headings and rules line up with it. */
  --content: var(--measure);

  /* Lines, targets and motion */
  --line: 1px;
  --focus-width: 3px;
  --focus-offset: 3px;
  --target: 44px;
  --radius-button: 8px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --duration-fast: .2s;
  --duration-slow: .7s;
}

[data-theme="light"] { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }

/*
 * Browsers without light-dark() (Safari before 17.5, for instance) get the light theme, and no theme switch: it
 * couldn't do anything for them. The values must stay equal to the light half of the pairs above; DesignTokensTest
 * checks that.
 */
@supports not (color: light-dark(#000, #fff)) {
  :root {
    --bg: #f5f4ee;
    --surface: #ecebe4;
    --ink: #0f172a;
    --muted: #475569;
    --rule: #cdd3d8;
    --accent: #157033;
    --accent-ink: #ffffff;
    --band: #0f172a;
    --band-ink: #f1f5f9;
    --band-muted: #cbd5e1;
    --band-accent: #24cb61;
    --band-accent-ink: #0f172a;
    --band-signal: #ff8a4c;
    --signal: #a8410f;
    --focus: #157033;
    --mark-frame: #127aa3;
    --hatch: rgba(15, 23, 42, .1);
    --accent-soft: #d7ecdd;
    --card: #fbfaf6;
    --shadow: rgba(15, 23, 42, .14);
    --scrim: rgba(15, 23, 42, .55);
  }

  .theme-switch { display: none !important; }
  .media--light { display: block !important; }
  .media--dark { display: none !important; }
}

/* Visitors who ask their system for more contrast get text at full strength. */
@media (prefers-contrast: more) {
  :root { --muted: var(--ink); --rule: var(--muted); }
}

/* ---------------------------------------------------------------- */
/* Base elements                                                     */
/* ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Room for the sticky header (its height comes from site.js), so a heading reached through an anchor or keyboard
     focus never ends up behind it (WCAG 2.4.11). */
  scroll-padding-top: calc(var(--header-height, 5rem) + var(--space-s));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  /* A long address or name breaks instead of pushing the page sideways on a phone (WCAG 1.4.10). */
  overflow-wrap: anywhere;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-s);
  /*
   * A long word ("Toegankelijkheidsverklaring") breaks instead of pushing the page sideways at 320px (WDW-5). Only
   * when it doesn't fit on a line of its own, though: a heading isn't hyphenated to fill its lines ("ont-werp", WDW-51).
   */
  overflow-wrap: anywhere;
  hyphens: manual;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  text-wrap: balance;
}
/*
 * Heading widths are in em, not ch (WDW-26): ch is the width of the font's own zero, which is .669em in Encode Sans but
 * .564em in its stand-in, so a heading in ch got narrower until Encode Sans arrived, then rewrapped and moved the page.
 * 9.4em is what 14ch was in Encode Sans bold, 12em 18ch, 13.4em 20ch; the statement's 9.8em is 16ch in the light weight.
 */
h1 { font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); max-inline-size: 9.4em; }
h2 { font-size: var(--text-h2); max-inline-size: 12em; }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); letter-spacing: 0; }
/* Emphasis in a heading is the light weight, upright: Encode Sans has no italic. */
:is(h1, h2, h3, h4, h5, h6) :is(em, i) { font-style: normal; font-weight: 300; }
h1 em, h2 em, h3 em { color: var(--accent); letter-spacing: -.02em; }

p, ul, ol, dl, blockquote, table, figure { margin: 0 0 var(--space-s); }
p, li, dd, figcaption, blockquote, summary { max-inline-size: var(--measure); }
ul, ol { padding-inline-start: 1.25em; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; }
:where(p, ul, ol, dl, blockquote, table, figure):last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }

em, i { font-style: italic; }
strong, b { font-weight: 700; }
small { font-size: var(--text-small); }

blockquote {
  padding-inline-start: var(--space-m);
  border-inline-start: 2px solid var(--accent);
  font-size: var(--text-h4);
  font-style: italic;
}

hr { margin: var(--space-xl) 0; border: 0; border-top: var(--line) solid var(--rule); }

img, video { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }

table { width: 100%; border-collapse: collapse; font-size: var(--text-small); }
th, td { padding: var(--space-xs) var(--space-s) var(--space-xs) 0; border-bottom: var(--line) solid var(--rule); text-align: left; vertical-align: top; }
th { font-weight: 700; border-bottom-color: var(--ink); }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: var(--focus-width) solid var(--focus); outline-offset: var(--focus-offset); }

/* ---------- Forms ---------- */
button, input, select, textarea { font: inherit; color: inherit; }
label { display: inline-block; }
:where(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea) {
  min-block-size: var(--target);
  padding: 0 var(--space-s);
  border: var(--line) solid var(--ink);
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
}
textarea { padding-block: var(--space-xs); }
input[type="checkbox"], input[type="radio"] { inline-size: 1.25rem; block-size: 1.25rem; accent-color: var(--accent); }

/* Buttons. .btn is Pentrical's name, still used by the templates until WDW-14. */
.button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-block-size: var(--target);
  padding: 0 var(--space-m);
  border: var(--line) solid var(--accent);
  border-radius: var(--radius-button);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, .btn:hover { filter: brightness(1.08); }
.button--quiet, .btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.button svg, .btn svg { inline-size: 1.1em; block-size: 1.1em; flex: none; }

/* ---------------------------------------------------------------- */
/* Helpers                                                           */
/* ---------------------------------------------------------------- */

.wrap, .shell { inline-size: 100%; max-inline-size: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
/* A section of text in the content column, centred; its text stays aligned to the left, for reading. */
.wrap--content { max-inline-size: calc(var(--content) + 2 * var(--gutter)); }
.section { padding-block: var(--space-section); }
/*
 * Inside the band the accent is the brighter green, so buttons there get navy text instead of white. Hairlines are the
 * band's ink at the strength of the steps' line. Error text, in the home page's waitlist (WDW-42), is the orange that
 * reads on navy; the form's fields keep the page's colour, so they stand out from the band.
 */
.band {
  background: var(--band);
  color: var(--band-ink);
  --accent: var(--band-accent);
  --accent-ink: var(--band-accent-ink);
  --focus: var(--band-accent);
  --muted: var(--band-muted);
  --signal: var(--band-signal);
  --rule: color-mix(in srgb, var(--band-ink) 28%, transparent);
}

.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--muted); }
.lead { font-size: var(--text-lead); line-height: var(--leading-snug); color: var(--muted); max-inline-size: 50ch; }
.display { font-family: var(--font-heading); font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
.statement { font-family: var(--font-heading); font-size: var(--text-statement); font-weight: 300; line-height: var(--leading-statement); letter-spacing: -.02em; max-inline-size: 9.8em; }
.statement strong { color: var(--accent); }
.muted { color: var(--muted); }
.hint { font-size: var(--text-small); color: var(--muted); }

/*
 * The [[highlighted]] part of a heading: the light weight, in the colour the editor picked (Rendering\Kop). The
 * colour reads --accent where the heading is, so inside the band it becomes the band's lighter green.
 */
.kop-accent { font-weight: 300; letter-spacing: -.02em; }
.kop-accent--groen { color: var(--accent); }
.kop-accent--inkt { color: inherit; }
/*
 * The highlighted part with the characters touching it (WDW-49): one unit that goes to the next line as a whole rather
 * than being broken or hyphenated ("pro-ductivity"). Only when it's wider than the line on its own does it wrap inside.
 */
.kop-together { display: inline-block; }

.sr-only {
  position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; inset-inline-start: var(--space-s); inset-block-start: -10rem; z-index: 100; padding: var(--space-xs) var(--space-s); background: var(--bg); color: var(--ink); }
.skip-link:focus { inset-block-start: var(--space-s); }

[hidden] { display: none !important; }

/* ---------------------------------------------------------------- */
/* Page layout, header and footer                                    */
/* ---------------------------------------------------------------- */

/* The footer stays at the bottom of the window on a short page, such as the 404. */
body { display: flex; flex-direction: column; min-block-size: 100vh; min-block-size: 100dvh; }
main { flex: 1 0 auto; }

/* The logo (partials/logo): the owl and "Woodmont" in the text colour, "Digital" in the accent. */
.logo { display: block; inline-size: 100%; block-size: auto; fill: currentColor; }
.logo__accent { fill: var(--accent); }

/* Sticky; site.js slides it away while scrolling down and brings it back on the way up (WDW-17). */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  border-bottom: var(--line) solid var(--rule);
  background: var(--bg);
  transition: transform var(--duration-fast) var(--ease-out);
}
.site-header--hidden { transform: translateY(-100%); }
/* On a short window (a phone on its side, or zoomed in: 1280 by 900 at 400% is 320 by 225) the wrapped header would
   cover most of it when it comes back, so there it stays at the top of the page and scrolls away with it (WCAG 1.4.10,
   WDW-5). 32rem, as for the product showcase's stage. */
@media (max-height: 32rem) {
  .site-header { position: relative; }
  .site-header--hidden { transform: none; }
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xs) var(--space-l);
  min-block-size: 5rem;
  padding-block: var(--space-xs);
}
.site-header__logo { display: block; inline-size: clamp(12.5rem, 40vw, 16rem); max-inline-size: 100%; padding-block: var(--space-2xs); color: var(--ink); }
.site-header__tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs) var(--space-m); }
/* The menus' panels hang from this pair, not from their own button: the language panel from its start, the theme panel
   from its end, so neither runs off the screen, whether the pair is at the right of the header or wrapped to the left. */
.site-header__menus { position: relative; display: flex; align-items: center; gap: var(--space-2xs); }
.site-header__menus .menu { position: static; }
.site-header__menus .lang-switch .menu__panel { inset-inline: 0 auto; }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-m); margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target);
  border-block: 2px solid transparent;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current] { border-block-end-color: var(--accent); }

/*
 * The language and theme menus (partials/taalschakelaar, partials/theme-switch, WDW-26): a quiet button that opens a
 * panel under it, the current choice ticked. A <details>, so the language menu opens without JavaScript too; site.js
 * closes either with Escape, a click elsewhere, or the focus moving on.
 */
.menu { position: relative; }
/* Quiet until used: no fill, only on hover and while open. 36px to see, 44px to hit (the ::after reaches past it). */
.menu__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  min-block-size: 2.25rem;
  padding: 0 var(--space-2xs);
  border-radius: var(--radius-button);
  color: var(--ink);
  font-size: var(--text-small);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  max-inline-size: none;
  transition: background-color var(--duration-fast) var(--ease-out);
}
.menu__button::after { content: ""; position: absolute; inset: calc((var(--target) - 2.25rem) / -2) 0; }
.menu__button::-webkit-details-marker { display: none; }
.menu__button:hover, .menu[open] > .menu__button { background: var(--accent-soft); }
.menu__button svg { display: block; inline-size: 1.15em; block-size: 1.15em; flex: none; }
.menu__button .menu__chevron { inline-size: .9em; block-size: .9em; transition: transform var(--duration-fast) var(--ease-out); }
.menu[open] .menu__chevron { transform: rotate(180deg); }
.menu__panel {
  position: absolute;
  inset-block-start: calc(100% + var(--space-2xs));
  inset-inline-end: 0;
  z-index: 30;
  min-inline-size: 12rem;
  margin: 0;
  padding: var(--space-2xs) 0;
  border: var(--line) solid var(--rule);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 12px 32px var(--shadow);
  list-style: none;
}
.menu__panel li { max-inline-size: none; }
.menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  inline-size: 100%;
  min-block-size: var(--target);
  padding: var(--space-2xs) var(--space-m);
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.menu__item:focus-visible { outline-offset: calc(var(--focus-width) * -1); }
:is(a, button).menu__item:hover { background: var(--surface); }
.menu__item:is([aria-current], [aria-pressed="true"]) { color: var(--accent); font-weight: 700; cursor: default; }
.menu__check { display: none; inline-size: 1.1em; block-size: 1.1em; flex: none; }
.menu__item:is([aria-current], [aria-pressed="true"]) .menu__check { display: block; }

/* The footer, laid out like Pentrical's (WDW-27): the logo and company details, then a column per group of links. */
.site-footer { margin-block-start: var(--space-2xl); border-top: var(--line) solid var(--ink); }
.site-footer__top { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: var(--space-l); padding-block: var(--space-xl); }
.site-footer__about { grid-column: 1 / -1; color: var(--muted); }
@media (min-width: 64rem) {
  .site-footer__top { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: var(--space-l) var(--space-xl); }
  .site-footer__about { grid-column: auto; }
}
.site-footer__about p { max-inline-size: 22rem; margin-block: 0 var(--space-s); }
.site-footer__logo { inline-size: 14rem; max-inline-size: 100%; margin-block-end: var(--space-m); color: var(--ink); }
.site-footer__heading { margin: 0 0 var(--space-2xs); font-size: var(--text-h4); letter-spacing: 0; max-inline-size: none; }
.site-footer__nav ul { margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { display: inline-flex; align-items: center; min-block-size: var(--target); color: var(--muted); text-decoration: none; }
.site-footer__nav a:hover, .site-footer__nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--space-m);
  padding-block: var(--space-s) var(--space-l);
  /* Room for the back-to-top button (WDW-32): at the end of the page it stands over this line, and on a phone the line
     would run under it. */
  padding-inline-end: calc(3rem + var(--space-m));
  border-top: var(--line) solid var(--rule);
  color: var(--muted);
  font-size: var(--text-small);
}
.site-footer__bottom p { margin: 0; }

/*
 * Back to top (WDW-32), as on Pentrical's site: round, navy, in the bottom right corner over the page, shown by site.js
 * once the page has scrolled. The one icon on a shape, named by hidden text. It goes green on hover and lifts a little
 * unless the visitor wants less motion. It floats over navy bands and cards too, so a ring of the page's colour inside
 * the focus outline keeps the outline visible on any of them; the transparent border draws the circle in forced colours.
 */
.back-to-top {
  position: fixed;
  inset-inline-end: var(--space-m);
  inset-block-end: var(--space-m);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 3rem;
  block-size: 3rem;
  border: var(--line) solid transparent;
  border-radius: 50%;
  background: var(--band);
  color: var(--band-ink);
  box-shadow: 0 12px 32px var(--shadow);
  transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.back-to-top:hover { background: var(--accent); color: var(--accent-ink); }
.back-to-top:focus-visible { box-shadow: 0 0 0 var(--focus-offset) var(--bg), 0 12px 32px var(--shadow); }
.back-to-top svg { inline-size: 1.25rem; block-size: 1.25rem; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .back-to-top:hover { transform: translateY(-3px); }
}

/* ---------------------------------------------------------------- */
/* Blocks (WDW-14), after direction A                                */
/* ---------------------------------------------------------------- */

/* A section's heading with its introduction beside it on a wide screen. */
.section-head { display: grid; gap: var(--space-s) var(--space-2xl); align-items: end; margin-block-end: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 56rem) { .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }

.more { display: inline-flex; align-items: center; gap: var(--space-2xs); min-block-size: var(--target); margin-block-start: var(--space-s); color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.more:hover { color: var(--accent); }
.more svg, .button svg { inline-size: 1.1em; block-size: 1.1em; flex: none; }

.prose ul, .prose ol { padding-inline-start: 1.25em; }
.prose li + li { margin-block-start: var(--space-3xs); }
/* Chapters in a text block (WDW-8): room after the block's heading, and before each chapter, so a chapter heading
   belongs to the text below it, not the text above. */
.rich-text h2 + h3 { margin-block-start: var(--space-l); }
.rich-text .prose + :is(h2, h3) { margin-block-start: var(--space-xl); }

/* The opening of a page, over the contour lines of the logo. */
.hero { position: relative; overflow: hidden; border-block-end: var(--line) solid var(--rule); }
.contours { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; color: var(--muted); opacity: .22; pointer-events: none; }
.hero__inner { position: relative; display: grid; gap: var(--space-xl); padding-block: clamp(4rem, 9vw, 8rem); }
/*
 * Beside the copy, the products' index starts level with the top of the h1's capitals (WDW-45): below the eyebrow, if
 * there is one, and below the room over the capitals in the h1's line, which is (1.08 - 1.25) / 2 half-leading plus
 * Encode Sans's ascent of 1.03 less its capital height of .74: .205em of the display size.
 */
@media (min-width: 64rem) {
  .hero__inner { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); column-gap: var(--space-2xl); align-items: start; }
  .hero__index { margin-block-start: calc(var(--hero-eyebrow, 0px) + .205 * var(--text-display)); }
  .hero__inner:has(> .hero__copy > .eyebrow:first-child) { --hero-eyebrow: calc(var(--text-xs) * var(--leading-body) + var(--space-m)); }
}
.hero__copy .eyebrow { margin-block-end: var(--space-m); }
.hero .display, .p-hero .display, .not-found .display { margin: 0; max-inline-size: 9.4em; }
.hero .lead, .p-hero .lead, .not-found .lead { margin-block: var(--space-l) 0; }
/*
 * With the index under the copy, on a tablet held upright and smaller (WDW-47): the h1 takes the full width, and so
 * does the lead, up to 80 characters a line (WCAG 1.4.8), which it only reaches on the widest of them. The index keeps
 * about the width it has beside the copy, centred, its rule as wide as its rows.
 */
@media (max-width: 63.99rem) {
  .hero .display { max-inline-size: none; }
  .hero .lead { max-inline-size: 80ch; }
  .hero__index { inline-size: min(100%, 36rem); margin-inline: auto; }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-s); margin-block: var(--space-l) 0; }
/* The button that stops the contour lines (WDW-26), quiet in the hero's bottom corner. */
.hero__foot { position: absolute; inset-inline: 0; inset-block-end: var(--space-2xs); display: flex; justify-content: flex-end; pointer-events: none; }
.hero__motion {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-block-size: var(--target);
  padding: 0 var(--space-xs);
  border: 0;
  border-radius: var(--radius-button);
  background: var(--bg);
  color: var(--muted);
  font-size: var(--text-xs);
  cursor: pointer;
  pointer-events: auto;
}
.hero__motion:hover { color: var(--ink); }
.hero__motion svg { inline-size: 1em; block-size: 1em; flex: none; }
.hero__motion [data-motion-icon] { display: none; }
.hero__motion[data-state="playing"] [data-motion-icon="playing"],
.hero__motion[data-state="paused"] [data-motion-icon="paused"] { display: block; }

/*
 * The index of the products in the hero: each by its mark and its name. A hover or the keyboard's focus (WDW-36) lifts
 * the whole row onto the cards' lighter paper and steps the mark and the name a little to the right; a hover also
 * draws the line under it in the accent, from the left.
 */
.index-list { margin: 0; padding: 0; list-style: none; border-block-start: var(--line) solid var(--ink); }
.index-list li { max-inline-size: none; border-block-end: var(--line) solid var(--rule); }
.index-list a {
  position: relative;
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-xs);
  min-block-size: var(--target);
  padding: var(--space-2xs) var(--space-xs);
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-out);
}
.index-list a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: calc(-1 * var(--line));
  block-size: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}
.index-list a:is(:hover, :focus-visible) { background: var(--card); }
/* Only on hover: the focus outline already draws a line in the accent there. */
.index-list a:hover::after { transform: none; }
.index-list__mark { inline-size: 1.5rem; block-size: 1.5rem; }
.index-list__name { font-weight: 700; }
.index-list :is(.index-list__mark, .index-list__name) { transition: transform var(--duration-slow) var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .index-list a:is(:hover, :focus-visible) :is(.index-list__mark, .index-list__name) { transform: translateX(calc(var(--space-2xs) / 2)); }
}
.index-list__tag { font-size: var(--text-xs); color: var(--muted); transition: color var(--duration-fast) var(--ease-out); }
.index-list a:is(:hover, :focus-visible) .index-list__tag { color: var(--ink); }

/*
 * The product showcase (WDW-31): a card per product, with its image, its logo, its line and its status. In
 * the HTML it's a grid of cards with their facts and their link, which is all there is without JavaScript, with reduced
 * motion, on a low screen and on paper. site.js turns it into the stage further down (.showcase--stage, under Motion).
 */
.showcase__ring { display: grid; gap: var(--space-l); }
@media (min-width: 48rem) { .showcase__ring { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.showcase__names, .showcase__foot, .showcase__stops, .showcase__floor { display: none; }

.pcard { position: relative; display: flex; flex-direction: column; border: var(--line) solid var(--rule); background: var(--card); }
.pcard__shot { overflow: clip; border-block-end: var(--line) solid var(--rule); }
.pcard__shot :is(img, video) { inline-size: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pcard__head { padding: var(--space-m); }
/* A mark uploaded in the CMS in place of a drawn one (partials/product-mark, WDW-36): the size of the mark it replaces,
   fitted in if it isn't square. */
.mark-upload { object-fit: contain; }
/*
 * The heading is the product's full logo (partials/product-logo, WDW-35), in em, so it grows with the heading in the
 * dialog. The heading is only as wide as the logo, in the card and in the dialog, so it morphs without stretching. The
 * owl and CardsClerk's cards stand taller than the others' lettering, and a product without a drawn logo gets its mark
 * and its name with capitals as tall as the others' lettering, as in the row of other products under a product page.
 */
.pcard h3 { inline-size: fit-content; max-inline-size: 100%; margin: 0; font-size: var(--text-h3); line-height: 1; }
.pcard__logo { display: block; inline-size: auto; block-size: 1.07em; max-inline-size: 100%; }
.pcard__logo--owl { block-size: 1.28em; margin-block: -.1em; }
.pcard__logo--cards { block-size: 1.2em; margin-block: -.065em; }
.pcard__logo.product-logo--text { display: inline-flex; align-items: center; gap: .3em; block-size: auto; font-weight: 800; }
.pcard__logo .product-logo__mark { flex: none; inline-size: 1.07em; block-size: 1.07em; }
.pcard__line { margin-block: var(--space-s) 0; color: var(--muted); line-height: var(--leading-snug); }
.pcard__status { margin-block: var(--space-xs) 0; font-size: var(--text-small); font-weight: 700; }
.pcard__more { margin-block-start: auto; padding: 0 var(--space-m) var(--space-m); }
.pcard__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3xs) var(--space-m); margin: 0; padding-block-start: var(--space-s); border-block-start: var(--line) solid var(--rule); font-size: var(--text-small); }
.pcard__facts dd { max-inline-size: none; }
.shot img, .shot video { border: var(--line) solid var(--rule); }

/*
 * The button that opens a card (only on the stage): it lies over the whole card, so the card is what you click and
 * what the focus ring goes around. Its words show as a tag on the image, on the card at the front.
 */
.pcard__open {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--space-s);
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.pcard__cue {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-block-size: 2.25rem;
  padding: 0 var(--space-xs);
  border: var(--line) solid var(--rule);
  border-radius: var(--radius-button);
  background: var(--card);
  font-size: var(--text-small);
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.pcard__cue svg { inline-size: 1.1em; block-size: 1.1em; flex: none; }
.pcard--front .pcard__cue { opacity: 1; }
.pcard--front .pcard__open:hover .pcard__cue { border-color: var(--accent); color: var(--accent); }

/* The way past the showcase (only on the stage, where it's placed), and the end of the showcase it leads to. */
.showcase__skip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-block-size: var(--target);
  padding: 0 var(--space-s);
  border: var(--line) solid var(--rule);
  border-radius: var(--radius-button);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-small);
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.showcase__skip:hover { border-color: var(--accent); color: var(--accent); }
.showcase__skip svg { inline-size: 1.1em; block-size: 1.1em; flex: none; }
.showcase__after { display: block; }

/*
 * The larger version of a card (WDW-31): a modal <dialog> over the whole window, with the card's parts moved into it.
 * Its image on the left and its text on the right on a wide screen, under each other on a narrow one. A click beside
 * the panel closes it, like Escape and the close button do.
 */
.pdialog {
  position: fixed;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  max-block-size: none;
  margin: 0;
  padding: var(--gutter);
  border: 0;
  background: transparent;
  color: var(--ink);
}
.pdialog[open] { display: grid; place-items: center; }
.pdialog::backdrop { background: rgba(15, 23, 42, .55); background: var(--scrim, rgba(15, 23, 42, .55)); }
.pdialog__panel {
  position: relative;
  display: grid;
  inline-size: min(100%, 76rem);
  max-block-size: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  border: var(--line) solid var(--rule);
  background: var(--card);
  box-shadow: 0 2.5rem 6rem -1.5rem var(--shadow);
}
@media (min-width: 56rem) { .pdialog__panel { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.pdialog .pcard__shot { border: 0; }
/* On a wide screen the image fills its column, however long the text beside it. */
@media (min-width: 56rem) {
  .pdialog__shot { display: grid; border-inline-end: var(--line) solid var(--rule); }
  .pdialog__shot .pcard__shot, .pdialog__shot .media, .pdialog__shot picture { block-size: 100%; }
  .pdialog__shot .pcard__shot :is(img, video) { block-size: 100%; min-block-size: 100%; aspect-ratio: auto; }
}
.pdialog__text { padding: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 56rem) { .pdialog__text { padding-block-start: 4.5rem; } }
.pdialog .pcard__head { padding: 0; }
.pdialog h3 { font-size: var(--text-h2); }
.pdialog .pcard__line { margin-block-start: var(--space-m); font-size: var(--text-lead); }
.pdialog .pcard__more { margin-block-start: var(--space-l); padding: 0; }
.pdialog .pcard__more .more {
  margin-block-start: var(--space-l);
  padding: 0 var(--space-m);
  border-radius: var(--radius-button);
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
}
.pdialog .pcard__more .more:hover { filter: brightness(1.08); }
.pdialog__close {
  position: absolute;
  inset-block-start: var(--space-s);
  inset-inline-end: var(--space-s);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-block-size: var(--target);
  padding: 0 var(--space-s);
  border: var(--line) solid var(--rule);
  border-radius: var(--radius-button);
  background: var(--card);
  color: var(--ink);
  font-size: var(--text-small);
  font-weight: 700;
  cursor: pointer;
}
.pdialog__close:hover { border-color: var(--ink); }
.pdialog__close svg { inline-size: 1.1em; block-size: 1.1em; flex: none; }
/* The page behind stays where it is while a card is open: scrolling it would turn the ring. */
html.showcase-open { overflow: hidden; scrollbar-gutter: stable; }

/* A status: a square in the signal colour, or the accent when it's out there. The word carries the meaning. */
.status { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.status::before { content: ""; flex: none; inline-size: .55rem; block-size: .55rem; background: var(--signal); }
.status--live::before, .status--own-site::before { background: var(--accent); }

/* One sentence, large, in the band, with the marked words bold in the accent. */
.band__inner { padding-block: clamp(4.5rem, 9vw, 8rem); }
.band .statement { margin: 0; }
.statement .kop-accent { font-weight: 700; }
.principles { display: grid; gap: var(--space-l) var(--space-xl); margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.principles li { border-block-start: 2px solid var(--accent); padding-block-start: var(--space-m); }
.principles h3 { margin: 0 0 var(--space-xs); font-size: var(--text-h4); }
.principles p { color: var(--muted); }

/* Text beside an image. */
.text-media__inner { display: grid; gap: var(--space-xl); }
@media (min-width: 56rem) {
  .text-media__inner:has(.text-media__media) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; column-gap: var(--space-2xl); }
  .text-media--end .text-media__inner:has(.text-media__media) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .text-media--end .text-media__media { order: 2; }
}
.text-media__text .prose { font-size: var(--text-lead); line-height: var(--leading-snug); }

/* One image or clip. */
.media-block { padding-block-end: clamp(3rem, 6vw, 5rem); }
.media-block--text .shot { max-inline-size: 40rem; }
.shot { margin: 0; }
.shot figcaption { margin-block-start: var(--space-xs); font-size: var(--text-small); color: var(--muted); }

/*
 * Features (WDW-30): not cards, but a grid of points, each under a hairline with a short accent stroke at its start
 * (drawn as the point scrolls into view, under Motion). On a wide screen the heading stands beside the points and stays
 * in view while they go by; with the header slid away it moves up into its place.
 */
.features-block__inner { display: grid; gap: clamp(2rem, 4vw, 3rem) var(--space-2xl); }
@media (min-width: 64rem) {
  .features-block__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .features-block__head { position: sticky; inset-block-start: calc(var(--header-height, 5rem) + var(--space-l)); transition: inset-block-start var(--duration-fast) var(--ease-out); }
  body:has(.site-header--hidden) .features-block__head { inset-block-start: var(--space-l); }
}
.features-block__head h2 { margin: 0; }
.features-block__head p { margin-block: var(--space-m) 0; font-size: var(--text-lead); line-height: var(--leading-snug); color: var(--muted); }
.features { display: grid; gap: var(--space-xl) var(--space-l); margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.features li { position: relative; max-inline-size: none; padding-block-start: var(--space-m); border-block-start: var(--line) solid var(--rule); }
.features li::before { content: ""; position: absolute; inset-block-start: -2px; inset-inline-start: 0; inline-size: 2.5rem; block-size: 3px; background: var(--accent); transform-origin: left; }
.features h3 { margin: 0 0 var(--space-2xs); font-size: var(--text-h4); line-height: 1.25; }
.features p { margin: 0; color: var(--muted); }

/*
 * Steps (WDW-30): in the navy band, along one line, a square on it for each step. On a wide screen the steps stand side
 * by side with the line running under their numbers; on a narrow one it runs down their left. As the steps scroll into
 * view, the accent runs along the line (under Motion). The numbers are drawn here; the list itself is an <ol>, so
 * they're in the HTML too.
 */
.steps-block__inner { padding-block: clamp(3.5rem, 7vw, 6rem); }
.steps { --rail: color-mix(in srgb, var(--band-ink) 28%, transparent); position: relative; display: grid; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; inset-block: .5rem 0; inset-inline-start: 5px; inline-size: var(--line); background: var(--rail); }
.steps::after { inline-size: 2px; margin-inline-start: -.5px; background: var(--accent); transform-origin: top; }
.steps li { position: relative; max-inline-size: none; padding-inline-start: 2.75rem; counter-increment: step; }
.steps li::before {
  content: counter(step);
  content: counter(step) / "";
  display: block;
  margin-block-end: var(--space-s);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: var(--tracking-display);
  color: var(--accent);
}
.steps li::after { content: ""; position: absolute; z-index: 1; inset-block-start: .5rem; inset-inline-start: 0; inline-size: 11px; block-size: 11px; background: var(--accent); }
.steps h3 { margin: 0 0 var(--space-2xs); font-size: var(--text-h4); line-height: 1.25; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 60rem) {
  .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-l); }
  .steps::before, .steps::after { inset-block: 5px auto; inset-inline: 0; inline-size: auto; block-size: var(--line); }
  .steps::after { block-size: 2px; margin: -.5px 0 0; transform-origin: left; }
  .steps li { padding-inline-start: 0; padding-block-start: var(--space-xl); }
  .steps li::after { inset-block-start: 0; }
}

/*
 * Questions open in the browser itself (<details>), without JavaScript. Where the browser can animate to the height of
 * an answer, it slides open and shut (WDW-30); elsewhere it simply opens.
 */
.faq-list { margin-block-start: var(--space-l); border-block-start: var(--line) solid var(--rule); }
.faq-list details { border-block-end: var(--line) solid var(--rule); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-s); min-block-size: var(--target); padding-block: var(--space-s); cursor: pointer; font-size: var(--text-lead); font-weight: 700; list-style: none; max-inline-size: none; transition: color var(--duration-fast) var(--ease-out); }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list__icon { flex: none; inline-size: 1.25rem; block-size: 1.25rem; transition: transform var(--duration-fast) var(--ease-out); }
.faq-list details[open] .faq-list__icon { transform: rotate(45deg); }
.faq-list details p { padding-block-end: var(--space-m); color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size var(--duration-slow) var(--ease-out), content-visibility var(--duration-slow) allow-discrete;
  }
  .faq-list details[open]::details-content { block-size: auto; }
}

.cta__inner { padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta h2 { margin-block-end: var(--space-s); }
.cta p { color: var(--muted); }

.contact__inner { display: grid; gap: var(--space-xl); }
@media (min-width: 56rem) { .contact__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; column-gap: var(--space-2xl); } }

/* Facts: a definition list between rules. */
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 0; border-block-start: var(--line) solid var(--ink); }
.facts dt, .facts dd { margin: 0; padding-block: var(--space-xs); border-block-end: var(--line) solid var(--rule); }
.facts dt { padding-inline-end: var(--space-m); font-size: var(--text-small); }
.facts dd { max-inline-size: none; }
.product-facts .facts { max-inline-size: 40rem; }

/* The waitlist. */
.waitlist__inner { display: grid; gap: var(--space-xl); }
@media (min-width: 56rem) { .waitlist__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-2xl); } }
.waitlist__inner > div p { color: var(--muted); }
.waitlist__closed { align-self: center; font-size: var(--text-lead); line-height: var(--leading-snug); }
.form { display: grid; gap: var(--space-m); align-content: start; }
.form fieldset { display: flex; flex-wrap: wrap; gap: var(--space-3xs) var(--space-l); margin: 0; padding: 0; border: 0; }
.form legend { margin-block-end: var(--space-xs); font-weight: 700; }
.check { display: inline-flex; align-items: center; gap: var(--space-xs); min-block-size: var(--target); cursor: pointer; }
.field label { display: block; margin-block-end: var(--space-xs); font-weight: 700; }
.field-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.field-row input { flex: 1 1 16rem; }
/* Sign-up messages (WDW-10): an error says what's wrong in words, in the signal colour, next to its field. */
.field-error { margin-block-start: var(--space-xs); color: var(--signal); font-weight: 700; }
.form fieldset .field-error { flex-basis: 100%; }
.form [aria-invalid="true"] { border-color: var(--signal); }
/*
 * The answer to a sign-up as a notice (WDW-51), like Pentrical's confirmation: a round icon, a title and the app's words,
 * tinted with its tone and edged on the start side. Green when it went through, the signal colour when it didn't. It
 * takes the colours of where it stands, so in the navy band it's a dark tint with light text, on the page a light one.
 */
.notice {
  --tone: var(--accent);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-s);
  align-items: start;
  padding: var(--space-s) var(--space-m) var(--space-s) var(--space-s);
  border: var(--line) solid color-mix(in srgb, var(--tone) 45%, transparent);
  border-inline-start: 4px solid var(--tone);
  border-radius: var(--radius-button);
  background: color-mix(in srgb, var(--tone) 12%, transparent);
}
.notice[hidden] { display: none; }
.notice--failed { --tone: var(--signal); }
.notice__icon {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 2.5rem; block-size: 2.5rem; border-radius: 50%;
  background: var(--tone); color: var(--accent-ink);
}
.notice__icon svg { inline-size: 1.25rem; block-size: 1.25rem; }
.notice__body { display: grid; gap: var(--space-3xs); padding-block-start: .3rem; }
.notice__body p { margin: 0; }
.notice__title { font-family: var(--font-heading); font-size: var(--text-lead); font-weight: 700; line-height: var(--leading-snug); }
/* The trap for bots: off screen, not display: none, which some bots know to skip. */
.waitlist__trap { position: absolute; inset-inline-start: -100vw; inline-size: 1px; block-size: 1px; overflow: hidden; }

/* A product page. */
.crumbs { padding-block-start: var(--space-l); font-size: var(--text-small); color: var(--muted); }
.crumbs ol, .kruimels ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs); margin: 0; padding: 0; list-style: none; font-size: var(--text-small); color: var(--muted); }
.crumbs li + li::before, .kruimels li + li::before { content: "/"; content: "/" / ""; margin-inline-end: var(--space-2xs); }
.crumbs a, .kruimels a { display: inline-flex; align-items: center; min-block-size: 24px; color: var(--muted); }
.p-hero__inner { display: grid; gap: var(--space-xl); padding-block: var(--space-l) clamp(3rem, 6vw, 5rem); }
@media (min-width: 64rem) { .p-hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; column-gap: var(--space-2xl); } }
.p-mark { display: block; inline-size: clamp(3.5rem, 5vw, 5rem); block-size: auto; margin-block-end: var(--space-m); }
.updated { margin-block: var(--space-l) 0; font-size: var(--text-small); color: var(--muted); }

/*
 * A product page's rhythm (WDW-30): tighter than the home page's, the text under the big image close to it, and what
 * is one column centred on the page, like a text block: the closing call in the band too, so it lines up with the text
 * above it. The opening text reads as an introduction, its first paragraph a size up; the waitlist closes the page on a
 * band of its own.
 */
main[data-template="product"] { --space-section: clamp(2.75rem, 5vw, 4.5rem); }
main[data-template="product"] .media-block { padding-block-end: clamp(1rem, 2vw, 1.5rem); }
main[data-template="product"] .rich-text h2 { margin-block-end: var(--space-m); }
main[data-template="product"] .rich-text .prose:first-of-type > p:first-child { font-size: var(--text-lead); line-height: var(--leading-snug); }
main[data-template="product"] .waitlist { background: var(--surface); }
main[data-template="product"] .cta__inner { max-inline-size: calc(var(--content) + 2 * var(--gutter)); }
main[data-template="product"] .updated { max-inline-size: none; margin-block-start: var(--space-xl); text-align: center; }

/* The other products by their full logos (partials/product-logo, WDW-28), in a row in the middle of the page. */
.also { text-align: center; }
.also h2 { max-inline-size: none; margin-block-end: var(--space-m); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--muted); }
main[data-template="product"] .also { padding-block: var(--space-l) 0; }
.also ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2xs) var(--space-xs); margin: 0; padding: 0; list-style: none; }
/*
 * A hover draws a frame around the logo (WDW-30): along the top from the left, down the right, back along the bottom and
 * up the left, each side a gradient whose length is a registered property, so each can have its own delay. On the way
 * out it comes off the way it came, the last side first. One height for every logo, each as wide as it's drawn.
 */
@property --edge-top { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --edge-right { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --edge-bottom { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --edge-left { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.also a {
  --frame: 2px;
  display: inline-flex;
  align-items: center;
  min-block-size: var(--target);
  padding: var(--space-s);
  background:
    linear-gradient(var(--accent) 0 0) left top / var(--edge-top) var(--frame) no-repeat,
    linear-gradient(var(--accent) 0 0) right top / var(--frame) var(--edge-right) no-repeat,
    linear-gradient(var(--accent) 0 0) right bottom / var(--edge-bottom) var(--frame) no-repeat,
    linear-gradient(var(--accent) 0 0) left bottom / var(--frame) var(--edge-left) no-repeat;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: --edge-left .08s linear, --edge-bottom .2s linear .08s, --edge-right .08s linear .28s, --edge-top .2s linear .36s;
}
.also a:hover {
  --edge-top: 100%;
  --edge-right: 100%;
  --edge-bottom: 100%;
  --edge-left: 100%;
  transition: --edge-top .2s linear, --edge-right .08s linear .2s, --edge-bottom .2s linear .28s, --edge-left .08s linear .48s;
}
.also__logo { display: block; inline-size: auto; block-size: 2rem; }
.also__logo--owl { block-size: 2.4rem; margin-block: -.2rem; }
.also__logo--cards { block-size: 2.25rem; margin-block: -.125rem; }
/* A product without a drawn logo: its mark and its name, with capitals as tall as the others' lettering. */
.also__logo.product-logo--text { display: inline-flex; align-items: center; gap: var(--space-xs); block-size: auto; font-size: 1.875rem; font-weight: 800; line-height: 1; }
.product-logo__mark { inline-size: 2rem; block-size: 2rem; }

/* A legal document (templates/content): breadcrumbs, its facts and the table of contents beside the text. */
.doc-hero { border-block-end: var(--line) solid var(--rule); }
.doc-hero .shell { display: grid; gap: var(--space-l); padding-block: var(--space-l) var(--space-xl); }
@media (min-width: 64rem) {
  .doc-hero .shell { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; column-gap: var(--space-2xl); }
  .kruimels { grid-column: 1 / -1; }
}
.doc-hero h1 { margin: 0; font-size: var(--text-h2); line-height: var(--leading-heading); max-inline-size: 13.4em; }
.doc-lead { margin-block: var(--space-s) 0; font-size: var(--text-lead); color: var(--muted); }
.doc-meta { display: grid; gap: var(--space-s); justify-items: start; }
.doc-feiten { display: grid; grid-template-columns: auto auto; gap: var(--space-3xs) var(--space-m); margin: 0; font-size: var(--text-small); }
.doc-feit { display: contents; }
.btn-sm { padding-inline: var(--space-s); font-size: var(--text-small); }
.content-page__raster { display: grid; gap: var(--space-xl); padding-block: var(--space-xl) var(--space-section); }
@media (min-width: 64rem) { .content-page--met-index .content-page__raster { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); column-gap: var(--space-2xl); align-items: start; } }
.content-page__tekst h2 { margin-block: var(--space-xl) var(--space-s); font-size: var(--text-h3); }
/* A chapter heading in a document or a text block runs the width of its text: the 12em limit is for a section's big
   heading, and would break "Why, and on what legal basis" over two lines. */
.content-page__tekst :is(h2, h3), .rich-text :is(h2, h3):has(+ .prose) { max-inline-size: none; }
.content-page__tekst h2:first-child { margin-block-start: 0; }
/* Blocks inside a document already sit in its column. */
.content-page__tekst .wrap { padding-inline: 0; max-inline-size: none; }
.content-page__tekst .section { padding-block: var(--space-xl) 0; }

.inhoud { font-size: var(--text-small); }
.inhoud__uitklap { border-block: var(--line) solid var(--rule); }
.inhoud__knop { display: flex; align-items: center; min-block-size: var(--target); cursor: pointer; font-weight: 700; max-inline-size: none; }
.inhoud__paneel { display: none; }
@media (min-width: 64rem) {
  .inhoud__uitklap { display: none; }
  .inhoud__paneel { display: block; position: sticky; inset-block-start: calc(var(--header-height, 0px) + var(--space-l)); max-block-size: calc(100vh - var(--header-height, 0px) - 4rem); overflow-y: auto; transition: inset-block-start var(--duration-fast) var(--ease-out); }
  /* With the header slid away, the contents move up into its place. */
  body:has(.site-header--hidden) .inhoud__paneel { inset-block-start: var(--space-l); }
}
.inhoud__titel { margin: 0 0 var(--space-xs); font-weight: 700; }
.inhoud__lijst { margin: 0; padding: 0; list-style: none; border-block-start: var(--line) solid var(--ink); }
.inhoud__lijst li { border-block-end: var(--line) solid var(--rule); }
.inhoud__link { display: flex; align-items: center; min-block-size: var(--target); padding-block: var(--space-3xs); color: var(--ink); text-decoration: none; }
.inhoud__link:hover, .inhoud__link[aria-current] { color: var(--accent); text-decoration: underline; }

/* On paper: the text, not the site around it. */
@media print {
  .site-header, .site-footer, .back-to-top, .inhoud, .doc-print, .skip-link, .contours { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .pcard__open { display: none !important; }
}

/* ---------------------------------------------------------------- */
/* Media                                                             */
/* ---------------------------------------------------------------- */

/* Images and clips from the media library (partials/media). */
.media { display: block; }
/* Never wider than the column, and never blown up beyond the image's own size. */
.media img, .media video { display: block; max-inline-size: 100%; block-size: auto; }

/* An image with a dark variant: the theme decides which one shows, the system setting or the visitor's own choice. */
.media--dark { display: none; }
:root[data-theme="dark"] .media--light { display: none; }
:root[data-theme="dark"] .media--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .media--light { display: none; }
  :root:not([data-theme="light"]) .media--dark { display: block; }
}

/* ---------------------------------------------------------------- */
/* Motion                                                            */
/* ---------------------------------------------------------------- */

/*
 * All of it starts from site.js, after the page is there: without JavaScript nothing waits to appear, and with reduced
 * motion site.js doesn't start it (WDW-17).
 */

/* A section fades up the first time it comes into view. */
html.js .reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/*
 * Lines that draw themselves as they scroll into view (WDW-30), where the browser can tie an animation to the scroll:
 * the accent stroke over each feature, and the accent along the line of the steps, down it on a narrow screen and
 * across on a wide one. A scrub, not a trigger, so it runs back on the way up. Without it, or with reduced motion, the
 * lines are simply there.
 */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .features li { view-timeline: --feature block; }
    .features li::before { animation: draw-x linear both; animation-timeline: --feature; animation-range: entry 40% cover 35%; }
    .steps { view-timeline: --steps block; }
    .steps::after { animation: draw-y linear both; animation-timeline: --steps; animation-range: entry 30% cover 55%; }
  }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 60rem) {
  @supports (animation-timeline: view()) {
    .steps::after { animation-name: draw-x; }
  }
}
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes draw-y { from { transform: scaleY(0); } }

/*
 * The product showcase on its stage (WDW-31). The section stays in place (sticky) while the visitor scrolls past its
 * stops, and the cards stand on a ring that turns with the scroll: site.js gives every card its distance from the
 * front (--d, 0 at the front, 1 the next one, -1 the one before, in between while the ring turns), and this turns that
 * into its place on the ring. The cards share one cell of the grid, so they're all as high as the highest. A card never
 * fades: its text keeps its full contrast wherever it stands. A card that turns away past the side simply shows its
 * back, which is hidden. Above the ring the name of the card at the front rolls by; under it lie contour lines for a
 * floor and a line that shows how far along the ring is. Only on a screen high enough for it; on paper the cards are a
 * list again.
 */
@property --lift { syntax: "<number>"; inherits: true; initial-value: 0; }

@media screen {
  .showcase--stage { padding-block-end: 0; }
  .showcase--stage .showcase__track { display: grid; --seg: 75vh; --seg: 75svh; }
  .showcase--stage .showcase__stops { grid-area: 1 / 1; display: block; padding-block-end: calc(100vh - var(--seg) / 2); padding-block-end: calc(100svh - var(--seg) / 2); }
  .showcase--stage .showcase__stops span { display: block; block-size: var(--seg); }
  /*
   * Four rows: the skip link, the name, the ring, and the floor with the progress line, the ring a little below the
   * middle. The top stays clear for the header, which comes back over the stage when the visitor scrolls up.
   */
  .showcase--stage .showcase__stage {
    --card-w: min(38rem, 80vw, calc((100svh - 28rem) * 1.3));
    --radius: calc(var(--card-w) * 1.5);
    --step: 38deg;
    grid-area: 1 / 1;
    position: sticky;
    inset-block-start: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1.3fr) auto minmax(0, 1fr);
    block-size: 100vh;
    block-size: 100svh;
    padding-block-start: var(--header-height, 5rem);
    overflow: clip;
  }
  /* The skip link at the top right, in line with the end of the header's menus. */
  .showcase--stage .showcase__skip {
    grid-area: 1 / 1;
    justify-self: end;
    position: relative;
    z-index: 2;
    margin-block-start: var(--space-s);
    margin-inline-end: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  }
  .showcase--stage .showcase__ring {
    grid-area: 3 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-inline-size: none;
    padding: 0;
    perspective: 1800px;
  }
  /* Beyond its neighbours (--far, how far past them) a card turns away faster, past the side, so only three are seen. */
  .showcase--stage .pcard {
    --a: clamp(-100deg, calc(var(--d, 0) * var(--step) + var(--far, 0) * 22deg), 100deg);
    grid-area: 1 / 1;
    justify-self: center;
    inline-size: var(--card-w);
    transform: translateZ(calc(var(--radius) * -1)) rotateY(var(--a)) translateZ(var(--radius)) translateY(calc(var(--lift) * -.6rem));
    backface-visibility: hidden;
    box-shadow: 0 2.5rem 4rem -1.5rem var(--shadow);
    transition: --lift var(--duration-slow) var(--ease-out), box-shadow var(--duration-slow) var(--ease-out);
    will-change: transform;
  }
  .showcase--stage .pcard .pcard__more { display: none; }
  /* A card turned away past the side can't be seen, so it can't be clicked either; the keyboard still reaches it. */
  .showcase--stage .pcard--far { pointer-events: none; }
  /* While it morphs, the card at the front stands flat, where it stands anyway: the morph starts from a plain box. */
  .showcase--stage .pcard--morph { transform: none; }
  /* The image moves a little inside its frame as the card turns, and comes closer under the pointer. */
  .showcase--stage .pcard .pcard__shot :is(img, video) { transform: translateX(calc(var(--d, 0) * -4%)) scale(calc(1.08 + var(--lift) * .03)); }
  .showcase--stage .pcard--front:has(.pcard__open:hover) { --lift: 1; box-shadow: 0 3.5rem 5rem -1.5rem var(--shadow); }
  /* The tag on the card at the front pulses a few times as the card gets there, then rests: under five seconds in all,
     so it needs no pause button (WCAG 2.2.2). */
  .showcase--stage .pcard--front .pcard__cue { animation: cue-pulse 1.5s var(--ease-out) .4s 3; }

  /*
   * The name of the card at the front, above the ring. The names roll through a band of one line, up as the ring turns
   * on, each one wholly in it at the front. A name too long for the screen is made smaller by site.js (--fit).
   */
  .showcase--stage .showcase__names {
    --names-size: clamp(2.25rem, 5vw, 4.75rem);
    grid-area: 2 / 1;
    align-self: end;
    position: relative;
    display: block;
    block-size: calc(var(--names-size) * 1.2);
    margin: 0 var(--gutter) var(--space-s);
    overflow: clip;
    pointer-events: none;
  }
  .showcase__name {
    position: absolute;
    inset-block-end: 0;
    inset-inline: 0;
    inline-size: max-content;
    margin-inline: auto;
    font-family: var(--font-heading);
    font-size: calc(var(--names-size) * var(--fit, 1));
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: var(--tracking-heading);
    white-space: nowrap;
    color: var(--ink);
    transform: translateY(calc(var(--d, 0) * var(--names-size) * 1.25));
  }
  .showcase__name::before { content: attr(data-name); content: attr(data-name) / ""; }

  /* The floor: dotted rings under the card at the front, turning a little with the ring (--p, from site.js). */
  .showcase--stage .showcase__floor {
    position: absolute;
    grid-area: 4 / 1;
    inset-block-start: -4.5rem;
    inset-inline-start: 50%;
    display: block;
    /* As wide as a desktop screen at least, so the rings stay flat on a phone; the stage cuts off the rest. */
    inline-size: max(100%, 64rem);
    max-inline-size: none;
    block-size: min(16rem, 30svh);
    transform: translateX(-50%);
    color: var(--muted);
    opacity: .45;
    pointer-events: none;
  }
  .showcase__floor ellipse {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5px;
    stroke-dasharray: .25 1.25;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    stroke-dashoffset: calc(var(--p, 0) * 3);
  }
  .showcase__floor ellipse:nth-child(2n) { stroke-dashoffset: calc(var(--p, 0) * -2); }

  .showcase--stage .showcase__foot { grid-area: 4 / 1; align-self: end; display: flex; justify-content: center; margin-block-end: var(--space-l); }
  .showcase__progress { position: relative; display: block; inline-size: min(16rem, 50vw); block-size: 2px; overflow: hidden; background: var(--rule); }
  .showcase__progress::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--progress, 0)); transform-origin: left; }
}

@keyframes cue-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); transform: scale(1); }
  25% { transform: scale(1.07); }
  55% { transform: scale(1); }
  100% { box-shadow: 0 0 0 .8rem color-mix(in srgb, var(--accent) 0%, transparent); transform: scale(1); }
}

/*
 * A card opening into its larger version and closing again: the browser morphs the card into the panel, its image and
 * its logo each into their new place (a View Transition, started by site.js). Each part is named only while it moves:
 * on the card on the way in and back, in the dialog while it's open.
 */
.pcard--morph { view-transition-name: showcase-card; }
.pcard--morph .pcard__shot, .pdialog[open] .pcard__shot { view-transition-name: showcase-shot; }
.pcard--morph h3, .pdialog[open] h3 { view-transition-name: showcase-name; }
.pdialog[open] .pdialog__panel { view-transition-name: showcase-card; }
.pcard--away { visibility: hidden; }
::view-transition-group(showcase-card),
::view-transition-group(showcase-shot),
::view-transition-group(showcase-name) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-group(showcase-card) { overflow: clip; }
::view-transition-old(showcase-card),
::view-transition-new(showcase-card) { block-size: 100%; object-fit: none; object-position: left top; }
/* The image fills its box all the way, from the card's shape to the panel's. */
::view-transition-old(showcase-shot),
::view-transition-new(showcase-shot) { block-size: 100%; object-fit: cover; object-position: top; }
::view-transition-old(showcase-card) { animation-duration: .25s; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
/* Without View Transitions the panel simply comes up. */
@keyframes pdialog-in { from { opacity: 0; transform: translateY(1rem) scale(.98); } }
.pdialog--plain[open] .pdialog__panel { animation: pdialog-in var(--duration-slow) var(--ease-out); }

/*
 * The contour lines draw themselves when the page opens, in two and a half seconds. Then they keep moving, slowly
 * (WDW-26): each ring swells a little and turns a fraction, a few seconds each way, a step after the ring inside it,
 * so a wave goes outward. site.js gives each ring its place (--ring), and the hero's button pauses it (WCAG 2.2.2), as
 * does scrolling the hero out of view. Only a pause of the second animation: a line still being drawn finishes.
 */
@media (prefers-reduced-motion: no-preference) {
  html.js .contours path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transform-box: view-box;
    transform-origin: 620px 330px;
    animation:
      draw 2.4s cubic-bezier(.3, .6, .2, 1) var(--draw-delay, 0s) forwards,
      swell 9s ease-in-out calc(2.4s + var(--ring, 0) * .45s) infinite alternate;
  }
  html.js .contours path:nth-child(2n) { --draw-delay: .15s; }
  html.js .contours path:nth-child(3n) { --draw-delay: .3s; }
  html.js .contours--paused path { animation-play-state: running, paused; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes swell { to { transform: scale(1.035) rotate(.8deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* The frame around another product's logo is there at once, not side by side after its delays. */
  .also a { transition-delay: 0s !important; }
}
