/* FoxShard website: the site's own styles, on top of the brand's tokens (tokens.css, loaded first).
   One bold thing, the fox cut into its six products; everything around it stays quiet: white and Paper
   surfaces, Ink type, the reds only in the fox and in the one action that matters on a screen. */

/* ---- What the site adds to the brand's tokens ------------------------------------------------- */
:root {
  /* the earlier site's page width (asked for, 2026-11-13: the same page width as that site):
     76rem of content between gutters of 1, 1.5 and 2rem, and from 80rem windows the same column as that site's, growing
     with the window up to 102.8125rem */
  --container: 76rem;
  --gutter: 1rem;
  /* The most vertical space anything gets: between sections and rows, under headings and inside cards (asked for,
     2026-11-13: "max vertical spacing should be 20px"). SpacingTest holds every vertical margin, padding and
     gap to it. */
  --space-y-max: 1.25rem;
  --section-y: var(--space-y-max);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --header-h: 4rem;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 150ms;
  --duration: 200ms;
  --duration-slow: 300ms;
  --duration-draw: 700ms;
  --duration-turn: 600ms;
  --duration-assemble: 1500ms;
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);

  /* the fox's parts, as the mark colours them */
  --shard-ear: var(--deep-red);
  --shard-face: var(--fox-red);
  --shard-cheek: var(--light-red);
  --shard-nose: var(--ink);
  --shard-idle: var(--line);
  /* the fox at the right of a page's opening: a soft glow behind it, a thin ring round it, a shadow under it */
  --hero-glow: color-mix(in srgb, var(--paper) 60%, var(--line));
  --hero-ring: var(--line);
  --hero-fox-shadow: drop-shadow(0.5rem 1.25rem 1.5rem rgba(13, 17, 23, 0.12));
  /* the contact page's ground and its dark card; the footer, Ink (2026-11-13) */
  --contact-bg: var(--paper);
  --ink-card: var(--ink);
  --footer-bg: var(--ink);
  --footer-rule: var(--ink);
  /* the contact page's drawing of the streets (2026-11-14, the owner's design): its parks and its main road, each
     mixed with the theme's own ground where it is drawn */
  --map-park: #8DBF73;
  --map-road: #F6E7C8;

  --color-error: #B3261E;
  --color-error-bg: #FDECEA;
  --color-success: #1E6B3A;
  --color-success-bg: #E8F4EC;
  --shadow-panel: 0 1px 2px rgba(13, 17, 23, 0.05), 0 12px 32px rgba(13, 17, 23, 0.07);
}

@media (min-width: 48rem) {
  :root { --gutter: 1.5rem; }
}
@media (min-width: 64rem) {
  :root { --gutter: 2rem; }
}
@media (min-width: 80rem) {
  :root { --container: min(85.6771vw, 102.8125rem); }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --shard-nose: var(--paper);
    --shard-idle: var(--border-dark);
    --hero-glow: color-mix(in srgb, var(--surface-dark) 65%, var(--border-dark));
    --hero-ring: var(--border-dark);
    --hero-fox-shadow: drop-shadow(0.5rem 1.25rem 1.5rem rgba(0, 0, 0, 0.45));
    --contact-bg: var(--ink);
    --ink-card: color-mix(in srgb, var(--surface-dark) 70%, var(--border-dark));
    --footer-bg: var(--surface-dark);
    --footer-rule: var(--border-dark);
    --color-error: #FFB4AB;
    --color-error-bg: #3B1512;
    --color-success: #8BD6A2;
    --color-success-bg: #12301E;
    --shadow-panel: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}
:root[data-theme="dark"] {
  --shard-nose: var(--paper);
  --shard-idle: var(--border-dark);
  --hero-glow: color-mix(in srgb, var(--surface-dark) 65%, var(--border-dark));
  --hero-ring: var(--border-dark);
  --hero-fox-shadow: drop-shadow(0.5rem 1.25rem 1.5rem rgba(0, 0, 0, 0.45));
  --contact-bg: var(--ink);
  --ink-card: color-mix(in srgb, var(--surface-dark) 70%, var(--border-dark));
  --footer-bg: var(--surface-dark);
  --footer-rule: var(--border-dark);
  --color-error: #FFB4AB;
  --color-error-bg: #3B1512;
  --color-success: #8BD6A2;
  --color-success-bg: #12301E;
  --shadow-panel: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ---- Base ------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
/* what is hidden stays hidden, whatever its display (a field's error, once mended, among others) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--space-4)); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
/* the brand's heading margins (1.5em above, 0.5em below) held to the 20px most */
h1, h2, h3, h4 { margin-block: min(1.5em, var(--space-y-max)) min(0.5em, var(--space-y-max)); }
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }
ul, ol { padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: var(--space-y-max) 0; }
::selection { background: var(--red-tint); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  background: var(--color-button-bg); color: var(--color-button-text); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }
.muted { color: var(--color-text-muted); }

/* ---- Buttons (the brand's .button, with its states) ------------------------------------------ */
.button { gap: var(--space-2); transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease; }
.button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.button:active { transform: translateY(1px); }
.button[disabled], .button[aria-disabled="true"] { opacity: 0.6; cursor: progress; }
.button-secondary { color: var(--color-text); }
/* a button that reads as a link; it stands alone, so it sets aside the browser's own border, background and type */
.button-quiet {
  padding: 0 var(--space-2); border: 0; background: transparent; color: var(--color-link); cursor: pointer;
  font-family: var(--font-sans); font-size: inherit; line-height: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em;
}
.button-quiet:hover { background: transparent; text-decoration-thickness: 2px; }
.button-quiet:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-sm); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin: var(--space-y-max) 0 0; }

/* ---- Header and its menus -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--color-bg); border-bottom: 1px solid var(--color-border);
}
.site-header__bar { display: flex; align-items: center; gap: var(--space-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--color-text); text-decoration: none; margin-right: auto; padding: var(--space-2) 0; }
.brand .logo { height: 30px; width: auto; color: var(--ink); }
:root[data-theme="dark"] .logo { color: var(--white); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo { color: var(--white); } }

.site-nav { display: flex; align-items: center; gap: var(--space-2); }
.nav-link, .nav-button {
  display: inline-flex; align-items: center; gap: var(--space-1); min-height: 44px; padding: 0 var(--space-3);
  border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--color-text);
  font: 500 0.9375rem/1 var(--font-sans); text-decoration: none; cursor: pointer;
}
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.nav-button .chevron { display: inline-flex; transition: transform var(--duration) var(--ease-out); }
.nav-button .chevron .icon { width: 1rem; height: 1rem; }
.nav-button[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--small { width: 1rem; height: 1rem; }

.theme-toggle { width: 44px; justify-content: center; padding: 0; }
.has-tip { position: relative; }
.tip {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 40;
  padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); white-space: nowrap; pointer-events: none;
  background: var(--color-text); color: var(--color-bg); font: 500 var(--text-caption)/1.4 var(--font-sans);
  opacity: 0; transition: opacity var(--duration-fast) ease-out;
}
.has-tip:focus-visible .tip { opacity: 1; }
.social .tip { top: auto; bottom: calc(100% + 6px); left: 0; transform: none; }
.theme-toggle .tip { left: auto; right: 0; transform: none; }
.theme-toggle .when-light, .theme-toggle .when-dark { display: inline-flex; }
.theme-toggle .when-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .when-dark { display: inline-flex; }
:root[data-theme="dark"] .theme-toggle .when-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .when-dark { display: inline-flex; }
  :root:not([data-theme="light"]) .theme-toggle .when-light { display: none; }
}

.solutions-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-surface); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-panel);
}
.solutions-panel[hidden] { display: none; }
.solutions-panel__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-y-max) var(--space-6); padding-block: var(--space-y-max); }
.menu-group__title { margin: 0 0 var(--space-1); font: 600 var(--text-h4)/1.35 var(--font-display); }
.menu-group__line { margin: 0 0 var(--space-3); color: var(--color-text-muted); font-size: var(--text-small); }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.menu-item {
  display: grid; grid-template-columns: 2.25rem 1fr; gap: var(--space-3); align-items: center;
  padding: var(--space-3); border-radius: var(--radius-md); color: var(--color-text); text-decoration: none;
}
.menu-item .badge { width: 2.25rem; height: 2.25rem; }
.menu-item__name { display: block; font-weight: 600; }
.menu-item__kind { display: block; color: var(--color-text-muted); font-size: var(--text-small); }
.menu-item[aria-current="page"] .menu-item__name { text-decoration: underline; text-underline-offset: 0.2em; }
.menu-toggle { display: none; }

@media (max-width: 767.98px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: var(--space-3) var(--gutter) var(--space-y-max); background: var(--color-surface);
    border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-panel);
  }
  .js .site-nav.is-open .nav-button { display: none; }
  .js .site-nav.is-open .solutions-panel { position: static; display: block; border: 0; box-shadow: none; background: transparent; }
  .js .site-nav.is-open .solutions-panel__inner { grid-template-columns: 1fr; padding: 0 0 var(--space-4); gap: var(--space-4); }
  .js .site-nav.is-open .nav-link { min-height: 48px; padding-inline: var(--space-3); font-size: 1rem; }
  .site-header__bar { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; }
}
@media (min-width: 768px) {
  .solutions-fallback { display: none; }
  .js .solutions-fallback { display: none; }
}
.no-js-only { display: none; }
html:not(.js) .no-js-only { display: inline-flex; }
html:not(.js) .js-only { display: none; }

/* ---- Footer ---------------------------------------------------------------------------------- */
/* a dark island in either theme, as the brand sets things on Ink: the footer, and the contact page's dark card */
.on-ink {
  --color-bg: var(--ink); --color-surface: var(--surface-dark); --color-bg-alt: var(--surface-dark); --color-border: var(--border-dark);
  --color-text: var(--paper); --color-text-muted: var(--fog); --color-text-placeholder: var(--fog);
  --color-link: var(--light-red); --color-focus: var(--light-red);
  --color-callout-bg: var(--surface-dark); --color-callout-text: var(--light-red);
  --shard-nose: var(--paper); --shard-idle: var(--border-dark);
  color: var(--color-text);
}
/* the footer is Ink (2026-11-13: red or orange was asked about; the brand keeps red to the accents) */
.site-footer { margin-top: var(--section-y); background: var(--footer-bg); border-top: 1px solid var(--footer-rule); }
/* the contact page, and a page that ends on its closing band (asked for, 2026-11-13: "there should be no space
   between this card and footer"), sit straight on the footer */
main:has(.contact-page, section:last-child > .closing, section.closing-call:last-child) + .site-footer { margin-top: 0; }
/* The footer, kept short (asked for, 2026-11-13: "The footer is height is uncessarily long, reduce height by half"):
   the fox beside the tagline, links in 24px rows (the smallest target WCAG 2.2 AA allows), and on phones the link
   lists in two columns. */
.site-footer__grid {
  display: grid; gap: var(--space-y-max) var(--space-6); padding-block: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
.site-footer .badge-row { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.site-footer__about { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2) var(--space-3); align-items: center; align-content: start; }
.site-footer .fox-whole { display: block; width: 2.5rem; height: auto; margin: 0; }
.footer-title { margin: 0 0 var(--space-2); font: 600 1rem/1.4 var(--font-sans); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: var(--text-small); }
.footer-list li { display: flex; }
.footer-list a { display: inline-flex; align-items: center; min-height: 24px; }
.footer-list a { color: var(--color-text); text-decoration: none; }
.footer-list a:hover { text-decoration: underline; color: var(--color-link); }
.footer-about { margin: 0; font-size: var(--text-small); color: var(--color-text-muted); max-width: 36ch; }
.footer-contact { grid-column: 1 / -1; font-style: normal; font-size: var(--text-small); display: grid; gap: 0; margin: 0; }
/* the contact lines with their icons and no underline, 2px above and below each, and the social links under them
   (asked for, 2026-11-13: "dont underline these but add icons and links underneath also add kind of 2px padding - py") */
.footer-contact > * { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 24px; padding-block: 2px; justify-self: start; }
.footer-contact a { color: var(--color-text); text-decoration: none; }
.footer-contact a:hover { color: var(--color-link); }
/* in the links' colour, the brand's light red on the dark footer (asked for, 2026-11-13: "make those icons have color") */
.footer-contact .icon { width: 1rem; height: 1rem; color: var(--color-link); }
.site-footer__about .social { grid-column: 1 / -1; margin-top: var(--space-2); }
.social { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-text); background: var(--color-surface);
}
.social .icon { width: 1rem; height: 1rem; }
.site-footer__base {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); justify-content: space-between;
  padding-block: var(--space-3); border-top: 1px solid var(--color-border); font-size: var(--text-small); color: var(--color-text-muted);
}
.site-footer__base p { margin: 0; }
.site-footer__base p a { color: var(--color-text-muted); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__about { grid-column: 1 / -1; }
  .site-footer__grid > nav:nth-of-type(2) { grid-column: 1; grid-row: 3; }
  .site-footer__grid > nav:last-of-type { grid-column: 2; grid-row: 2 / span 2; }
}

/* ---- Sections -------------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--color-bg-alt); }
.section--ruled { border-top: 1px solid var(--color-border); }
.section:not(.section--alt) + .section:not(.section--alt) { padding-top: 0; }
.section-head { max-width: 46rem; margin-bottom: var(--space-y-max); }
.section-head h2 { margin: 0 0 var(--space-3); }
.section-head p { margin: 0; color: var(--color-text-muted); font-size: var(--text-lead); line-height: 1.55; }

/* ---- The fox's pieces, wherever they are drawn ----------------------------------------------- */
.shard { transition: fill var(--duration) ease, transform var(--duration) var(--ease-out), opacity var(--duration) ease; }
.shard--ear { fill: var(--shard-ear); }
.shard--face { fill: var(--shard-face); }
.shard--cheek { fill: var(--shard-cheek); }
.shard--nose { fill: var(--shard-nose); }
.shard--idle { fill: var(--shard-idle); }
.badge { width: 2rem; height: 2rem; flex: none; display: block; }

/* ---- Home: the hero and the labelled map of the fox ------------------------------------------ */
.hero { padding-block: var(--space-y-max); overflow-x: clip; }
.hero--page { padding-bottom: 0; }
.hero__words { max-width: 64rem; }
/* as foxshard-brand's type specimen sets it: the label, two lines of display type, one line, and the buttons */
.hero__eyebrow { margin: 0 0 var(--space-4); }
.eyebrow__sep { margin-inline: 0.9em; }
.hero__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--text-display); line-height: 1.05; letter-spacing: -0.025em; }
.hero__line { display: block; text-wrap: balance; }
.hero__title--page { font-size: var(--text-h1); line-height: 1.1; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; }
.hero__lead { margin: var(--space-y-max) 0 0; max-width: 40rem; font-size: var(--text-lead); line-height: 1.55; color: var(--color-text-muted); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin: var(--space-y-max) 0 0; }
.hero__mono { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-mono); font-size: var(--text-small); color: var(--color-text-muted); text-decoration: none; }
.hero__mono:focus-visible { text-decoration: underline; }
.button--wide { padding-inline: 2rem; }
.button .icon--arrow-right, .button .icon--arrow-down, .button .icon--send { width: 1.125rem; height: 1.125rem; }
/* the arrow in a button nudges the way it points when the button is pointed at or focused */
@media (prefers-reduced-motion: no-preference) {
  .button .icon--arrow-right, .button .icon--arrow-down, .button .icon--send { transition: translate var(--duration-fast) var(--ease-out); }
  .button:focus-visible .icon--arrow-right { translate: 3px 0; }
  .button:focus-visible .icon--arrow-down { translate: 0 3px; }
  .button:focus-visible .icon--send { translate: 2px -2px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover .icon--arrow-right { translate: 3px 0; }
  .button:hover .icon--arrow-down { translate: 0 3px; }
  .button:hover .icon--send { translate: 2px -2px; }
}

/* the fox at the right of the opening (fragments/fox :: hero), as the earlier site's about page sets its K: turned a
   little, on a soft glow inside a thin ring, over a note of where the company is. Under the words on phones and beside
   them from 48rem; the home page's headline keeps its two lines beside it from about 69rem, and takes three before */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-y-max) var(--space-6); align-items: center; }
.hero__visual { --fox: 11rem; --ring: 0.5; display: grid; gap: var(--space-y-max) var(--space-5); justify-self: center; }
.hero__art { position: relative; isolation: isolate; justify-self: center; }
.hero__art::before { content: ""; position: absolute; inset: -22% -30%; z-index: -2; background: radial-gradient(closest-side, var(--hero-glow), transparent); pointer-events: none; }
/* the ring is drawn in the units of its own box: --ring keeps its line about a pixel wide at each size of the fox */
.hero__ring { position: absolute; top: 50%; left: 50%; z-index: -1; width: 118%; height: auto; aspect-ratio: 1; translate: -36% -57%; overflow: visible; pointer-events: none; }
.hero__ring circle { fill: none; stroke: var(--hero-ring); stroke-width: var(--ring); transform: rotate(-90deg); transform-origin: 50% 50%; }
/* site.js sets --turn-x and --turn-y as the pointer moves: the fox turns its head toward it */
.hero__fox { display: block; height: var(--fox); width: auto; aspect-ratio: 94 / 97; rotate: -8deg; filter: var(--hero-fox-shadow);
  transform: perspective(40rem) rotateX(var(--turn-x, 0deg)) rotateY(var(--turn-y, 0deg)); transition: transform var(--duration-turn) var(--ease-out); }
.hero__note { margin: 0; padding-top: var(--space-3); border-top: 1px solid var(--color-border); font-size: var(--text-small); line-height: 1.45; color: var(--color-text-muted); }
.hero__note-label, .hero__note-place, .hero__note-time { display: block; }
.hero__note-place { margin-top: var(--space-1); font-size: 1rem; font-weight: 600; color: var(--color-text); }
@media (min-width: 48rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__visual { justify-self: end; }
}
@media (min-width: 64rem) { .hero__visual { --fox: 13rem; --ring: 0.42; } }
@media (min-width: 75rem) { .hero__visual { --fox: 14rem; --ring: 0.39; } }
@media (min-width: 90rem) { .hero__visual { --fox: 18rem; --ring: 0.3; } }
.fox-whole { display: none; width: min(15rem, 60vw); height: auto; margin: 0 auto; }

/* the opening's one moment (2026-11-13: "flowing in slowly and nicely, like broken pieces ... maybe for two seconds"):
   the six pieces drift in from apart, each turning as a broken shard would, and settle softly into the fox, one after
   another; then its ring is drawn round them */
@media screen and (prefers-reduced-motion: no-preference) {
  .hero__fox .shard { transform-box: fill-box; transform-origin: 50% 50%; animation: shard-in var(--duration-assemble) var(--ease-settle) both; }
  .hero__fox .piece--face { --from: translate(0, -30px) rotate(-14deg); animation-delay: 0ms; }
  .hero__fox .piece--left-ear { --from: translate(-34px, -30px) rotate(-38deg); animation-delay: 110ms; }
  .hero__fox .piece--right-ear { --from: translate(34px, -30px) rotate(36deg); animation-delay: 220ms; }
  .hero__fox .piece--left-cheek { --from: translate(-40px, 14px) rotate(28deg); animation-delay: 330ms; }
  .hero__fox .piece--right-cheek { --from: translate(40px, 14px) rotate(-30deg); animation-delay: 440ms; }
  .hero__fox .piece--nose { --from: translate(0, 38px) rotate(24deg); animation-delay: 550ms; }
  .hero__ring circle { stroke-dasharray: 100; animation: draw-round 900ms var(--ease-out) 1300ms both; }

  /* the two ways', when they come into view: each red line drawn from its first dot to the other, which then shows */
  .ways.is-waiting .way-art__link { stroke-dasharray: 100; stroke-dashoffset: 100; }
  .ways.is-waiting .way-art__dot--end { opacity: 0; }
  .ways.is-shown .way-art__link { animation: draw-out 1100ms var(--ease-settle) 250ms forwards; }
  .ways.is-shown .way-art__dot--end { animation: appear var(--duration-slow) ease-out 1150ms forwards; }
  .ways.is-shown .way--dark .way-art__link { animation-delay: 550ms; }
  .ways.is-shown .way--dark .way-art__dot--end { animation-delay: 1450ms; }
}
@keyframes shard-in { 0% { transform: var(--from); opacity: 0; } 35% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes draw-round { from { stroke-dashoffset: 100; } }
@keyframes draw-out { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

/* ---- The consultancy: offshore and onshore, and what its engineers do ------------------------------ */
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--space-y-max) var(--space-5); }
.model { display: flex; flex-direction: column; padding: var(--space-y-max) var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.model__name { margin: 0 0 var(--space-2); font-size: var(--text-h3); }
.model__line { margin: 0; color: var(--color-text-muted); }
.model__points { margin: var(--space-4) 0 0; padding-left: 1.25rem; display: grid; gap: var(--space-2); }
.model__suits { margin: auto 0 0; padding-top: var(--space-y-max); font-size: var(--text-small); }

/* ---- Home: how we work with you, in its design of 2026-11-13 (the owner's image and words) ------------------ */
.ways-head { max-width: 62rem; margin: 0 0 var(--space-y-max); }
.ways-head__title { margin: 0; font: 600 var(--text-display)/1.05 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.ways-head__lead { margin: var(--space-4) 0 0; max-width: 46rem; font-size: var(--text-lead); line-height: 1.55; color: var(--color-text-muted); text-wrap: pretty; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--space-y-max) var(--space-5); }
.way { display: flex; flex-direction: column; min-width: 0; padding: var(--space-y-max) var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.way--dark { border-color: transparent; background: var(--ink-card); }
.way__art { margin: calc(-1 * var(--space-2)) 0 var(--space-y-max); }
.way-art { display: block; width: 100%; max-width: 30rem; height: auto; margin-inline: auto; overflow: visible; }
.way__heading { margin: 0; }
.way__label { display: block; margin-bottom: var(--space-2); font: 600 1.125rem/1.3 var(--font-display); }
.way__title { display: block; font: 600 var(--text-h1)/1.08 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.way__text { margin: var(--space-4) 0 0; max-width: 34rem; color: var(--color-text-muted); text-wrap: pretty; }
/* a card's link to the contact form (2026-11-13, in place of the section's own link), kept at the card's foot
   however long its text; underlined when pointed at, and its arrow nudges the way it points, as a button's does */
.way__more { margin: auto 0 0; padding-top: var(--space-y-max); }
.way__action { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font: 600 1.125rem/1.3 var(--font-display); color: var(--color-link); text-decoration: none; }
.way__action .icon { width: 1.25rem; height: 1.25rem; }
.way__action:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.way__action:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: no-preference) {
  .way__action .icon--arrow-right { transition: translate var(--duration-fast) var(--ease-out); }
  .way__action:focus-visible .icon--arrow-right { translate: 3px 0; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .way__action:hover .icon--arrow-right { translate: 3px 0; }
}
/* the drawings: the tools' windows, and the floors seen from above, in the card's own colours; the red lines brand red */
.way-art__window rect:first-child { fill: var(--color-surface); stroke: color-mix(in srgb, var(--color-text) 55%, transparent); stroke-width: 1.5; }
.way-art__window circle { fill: color-mix(in srgb, var(--color-text) 60%, transparent); }
.way-art__rule { stroke: color-mix(in srgb, var(--color-text) 55%, transparent); stroke-width: 1.5; }
.way-art__text { fill: color-mix(in srgb, var(--color-text) 14%, transparent); }
.way-art__text--strong { fill: color-mix(in srgb, var(--color-text) 38%, transparent); }
.way-art__top { fill: color-mix(in srgb, var(--color-surface) 92%, var(--color-text)); stroke: color-mix(in srgb, var(--color-text) 70%, transparent); stroke-width: 1.25; stroke-linejoin: round; }
.way-art__side { fill: color-mix(in srgb, var(--color-text) 34%, transparent); }
.way-art__side--right { fill: color-mix(in srgb, var(--color-text) 22%, transparent); }
.way-art__grid { fill: none; stroke: color-mix(in srgb, var(--color-text) 34%, transparent); stroke-width: 1; }
.way-art__link { fill: none; stroke: var(--fox-red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.way-art__dot { fill: var(--fox-red); }
@media (min-width: 64rem) { .way { padding: var(--space-y-max) var(--space-7); } }

.model__line + .model__suits, .model__points + .model__suits { margin-top: var(--space-y-max); border-top: 1px solid var(--color-border); padding-top: var(--space-4); }
.model__suits strong { font-weight: 600; margin-right: var(--space-2); }

/* ---- Home: the sections that follow the earlier site's home page (2026-11-14) --------------------- */
/* a section's label in red over its heading, numbered as the earlier site's are; a heading beside its lead from 48rem; a heading
   of several lines a line for each, and its end red where it has one (fragments/heading) */
.home-eyebrow { max-width: none; margin: 0 0 var(--space-2); font-size: var(--text-small); font-weight: 600; line-height: 1.5; color: var(--color-link); }
.home-head { display: grid; gap: var(--space-3) var(--space-8); align-items: end; margin-bottom: var(--space-y-max); }
.home-head > div { min-width: 0; }
.home-head__title { margin: 0; font-size: var(--text-h1); line-height: 1.08; letter-spacing: -0.02em; }
.home-head__lead { max-width: 30rem; margin: 0; font-size: var(--text-lead); line-height: 1.55; color: var(--color-text-muted); text-wrap: pretty; }
.heading__line:not(:only-child) { display: block; }
.heading__red { color: var(--color-accent); }
@media (min-width: 48rem) { .home-head { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); } }

/* the products, as the earlier site's "What we build": the tabs in two rows, the applications and the platforms, each under its
   name, a rule between two tabs and the chosen one red and underlined; then the product chosen, its picture at the
   left from 64rem. A page whose script will make the choice shows the first alone until it has; without a script they
   stand one under another, a rule between two */
.products__group + .products__group { margin-top: var(--space-3); }
.products__group-name { margin: 0 0 var(--space-1); font: 600 var(--text-caption)/1.5 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.products__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--color-border); }
.products__tab { position: relative; display: flex; align-items: center; gap: var(--space-3); min-width: 0; min-height: 3rem; padding: var(--space-3) var(--space-4); color: var(--color-text-muted); font-weight: 500; text-decoration: none; transition: color var(--duration-fast) ease; }
.products__tab[aria-selected="true"] { color: var(--color-link); }
.products__tab[aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--color-link); }
.products__tab:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.products__no { flex: none; font: 600 var(--text-caption)/1.2 var(--font-mono); letter-spacing: 0.06em; }
.products__name { min-width: 0; }
.products__panels { padding-top: var(--space-y-max); }
.product-panel { display: grid; gap: var(--space-y-max) var(--space-8); align-items: center; }
.js [data-tabs]:not([data-tabs-ready]) .product-panel ~ .product-panel { display: none; }
[data-tabs]:not([data-tabs-ready]) .product-panel + .product-panel { margin-top: var(--space-y-max); padding-top: var(--space-y-max); border-top: 1px solid var(--color-border); }
.product-panel__picture { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; padding: var(--space-y-max) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.product-panel__picture > :not(.product-panel__label, .app) { display: grid; place-items: center; flex: 1; min-width: 0; }
.product-panel__picture > .app { align-self: center; margin-block: auto; }
.product-panel__picture .hero-art, .product-panel__picture .film { width: 100%; }
.product-panel__label { order: -1; align-self: flex-start; padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); background: var(--color-bg-alt); font: 500 var(--text-caption)/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--color-text-muted); }
.product-panel__detail { min-width: 0; }
.product-panel__title { margin: 0 0 var(--space-3); font-size: var(--text-h2); }
.product-panel__text { max-width: 32rem; margin: 0; color: var(--color-text-muted); }
.product-points { list-style: none; margin: var(--space-3) 0 var(--space-4); padding: 0; }
.product-points li { display: flex; align-items: baseline; gap: var(--space-4); padding-block: var(--space-3); }
.product-points li + li { border-top: 1px solid var(--color-border); }
.product-points__no { flex: none; font: 600 var(--text-caption)/1.2 var(--font-mono); color: var(--color-link); }
@media (max-width: 39.99rem) {
  .products__tab:nth-child(even) { border-left: 1px solid var(--color-border); }
  .products__tab:nth-child(n + 3) { border-top: 1px solid var(--color-border); }
  .products__tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 40rem) {
  .product-panel__picture { padding-inline: var(--space-6); }
  .products__tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .products__tab + .products__tab { border-left: 1px solid var(--color-border); }
}
@media (min-width: 64rem) {
  .product-panel { grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); }
  .product-panel__picture { aspect-ratio: 4 / 3; }
}

/* the products as their screens (fragments/screens.html, 2026-11-14): a sample screen of each in a window as wide as
   its picture inside the picture's padding (asked for: "fill that box width while leaving some good padding"), in the
   site's colours so that it follows the theme; its fields side by side where the window is wide enough and one under
   another where it is not */
.app { container: app / inline-size; display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-panel); font-size: var(--text-small); line-height: 1.45; text-align: left; color: var(--color-text); }
.app p { margin: 0; }
.app__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-4); border-bottom: 1px solid var(--color-border); background: var(--color-bg-alt); font: 500 var(--text-caption)/1.4 var(--font-mono); }
.app__name { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; }
.app__name .badge { flex: none; width: 1rem; height: 1rem; }
.app__note { color: var(--color-text-muted); text-align: right; }
.app__body { display: grid; gap: var(--space-3); padding: var(--space-4); }
.app__title { font: 600 1.0625rem/1.3 var(--font-display); }
.app__muted { color: var(--color-text-muted); }
.app__center { text-align: center; }
.app__amount { font: 600 1.75rem/1.15 var(--font-display); letter-spacing: -0.01em; }
.app__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.app__lines { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.app__total { padding-top: var(--space-2); border-top: 1px solid var(--color-border); font-weight: 600; }
.app__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.app__field { display: grid; gap: var(--space-1); min-width: 0; }
.app__label { font: 600 var(--text-caption)/1.4 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-muted); }
.app__input { overflow: hidden; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); white-space: nowrap; text-overflow: ellipsis; }
.app__button { display: block; padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); background: var(--color-button-bg); color: var(--color-button-text); font-weight: 600; text-align: center; }
.app__button--quiet { border: 1px solid var(--color-border); background: none; color: var(--color-text); }
.app__choices { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.app__choices--even > * { flex: 1; text-align: center; }
.app__choices--tabs { padding: var(--space-1); border-radius: var(--radius-md); background: var(--color-bg-alt); }
.app__choices--tabs > * { flex: 1; text-align: center; border-color: transparent; }
.app__choice { padding: var(--space-1) var(--space-3); border: 1px solid var(--color-border); border-radius: 999px; }
.app__choice.is-on { border-color: var(--color-link); background: color-mix(in srgb, var(--fox-red) 8%, var(--color-surface)); color: var(--color-link); font-weight: 600; }
.app__tag { flex: none; padding: 0 var(--space-2); border-radius: 999px; background: color-mix(in srgb, var(--fox-red) 10%, var(--color-surface)); font: 600 var(--text-caption)/1.6 var(--font-mono); color: var(--color-link); }
.app__steps { display: inline-flex; gap: var(--space-3); font: 500 var(--text-caption)/1.4 var(--font-mono); color: var(--color-text-muted); }
.app__steps .is-on { color: var(--color-link); font-weight: 600; }
.app__stepper { display: inline-flex; align-items: center; gap: var(--space-2); }
.app__stepper span { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text-muted); }
.app__stepper b { min-width: 1ch; text-align: center; }
.app__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.app__photos span { height: 3.75rem; border: 1px dashed var(--color-border); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--map-park) 18%, var(--color-surface)); }
.app__chat { display: grid; gap: var(--space-2); }
.app__message { justify-self: start; max-width: 85%; padding: var(--space-2) var(--space-3); border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0; background: var(--color-bg-alt); }
.app__message--mine { justify-self: end; border-radius: var(--radius-md) var(--radius-md) 0 var(--radius-md); background: color-mix(in srgb, var(--fox-red) 12%, var(--color-surface)); }
.app__who { display: block; font: 600 var(--text-caption)/1.4 var(--font-mono); color: var(--color-link); }
.app__compose .app__input { flex: 1; }
.app__send { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-button-bg); color: var(--color-button-text); }
.app__send .icon { width: 1rem; height: 1rem; }
.app__step { display: grid; align-content: start; gap: var(--space-3); min-width: 0; }
.app__step--next { padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-bg-alt); }
.app__code { display: flex; gap: var(--space-2); }
.app__code span { display: grid; place-items: center; flex: 1; max-width: 2.25rem; height: 2.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); font: 600 1rem/1 var(--font-mono); }
@container app (min-width: 28rem) { .app__body--two { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; } }
@container app (max-width: 20rem) { .app__steps { display: none; } }
@container app (max-width: 16rem) { .app__fields { grid-template-columns: minmax(0, 1fr); } }

/* the sample workflow, as the earlier site's "Explore an example": the stages a row over the window on a phone and a column at
   its left where the section is wide enough; the window's table a list of small cards where the window is too narrow
   for columns. Its layout follows the width of its own column, not the window's (a container query), so that text
   made larger still fits */
.tour-wrap { container: tour / inline-size; }
.tour__note { font-weight: 600; color: var(--color-text); }
.tour { display: grid; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg-alt); overflow: hidden; }
.tour__rail { min-width: 0; border-bottom: 1px solid var(--color-border); }
.tour__label { display: none; margin: 0; padding: 0 var(--space-5) var(--space-3); font: 600 var(--text-caption)/1.5 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.tour__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tour__step { display: block; min-width: 0; padding: var(--space-3) var(--space-4); border-bottom: 3px solid transparent; color: var(--color-text-muted); text-decoration: none; transition: color var(--duration-fast) ease, background-color var(--duration-fast) ease; }
.tour__no { display: block; margin-bottom: var(--space-1); font: 600 var(--text-caption)/1.3 var(--font-mono); letter-spacing: 0.06em; }
.tour__name { display: block; font-weight: 600; }
.tour__step[aria-selected="true"] { border-bottom-color: var(--color-link); background: var(--color-surface); color: var(--color-link); }
.tour__step:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.tour__screens { min-width: 0; padding: var(--space-3); }
.tour__stage { display: grid; gap: var(--space-3); }
.js [data-tabs]:not([data-tabs-ready]) .tour__stage ~ .tour__stage { display: none; }
[data-tabs]:not([data-tabs-ready]) .tour__stage + .tour__stage { margin-top: var(--space-y-max); padding-top: var(--space-y-max); border-top: 1px solid var(--color-border); }
.window { container: window / inline-size; display: flex; flex-direction: column; min-width: 0; min-height: 20rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); box-shadow: var(--shadow-panel); }
.window__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-1) var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); font: 500 var(--text-caption)/1.4 var(--font-mono); letter-spacing: 0.02em; }
.window__brand { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; color: var(--color-text); }
.window__mark .fox-whole { display: block; width: 1rem; height: auto; margin: 0; }
.window__note { color: var(--color-text-muted); }
.window__body { flex: 1; padding: var(--space-4); }
.window__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }
.window__top > div { min-width: 0; }
.window__title { margin: 0; font-size: var(--text-h4); }
.window__subtitle { margin: var(--space-1) 0 0; font-size: var(--text-small); color: var(--color-text-muted); }
.window__status { flex: none; padding: var(--space-1) var(--space-3); border-radius: 999px; background: color-mix(in srgb, var(--fox-red) 10%, var(--color-surface)); font: 600 var(--text-caption)/1.4 var(--font-mono); color: var(--color-link); }
.window__table { width: 100%; margin-top: var(--space-3); border-collapse: collapse; font-size: var(--text-small); }
.window__table th { padding: var(--space-2) var(--space-3); background: var(--color-bg-alt); text-align: left; font: 600 var(--text-caption)/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); }
.window__table td { padding: var(--space-3); border-bottom: 1px solid var(--color-border); overflow-wrap: anywhere; }
.window__table tbody tr:last-child td { border-bottom: 0; }
.window__reference, .window__owner, .window__state { white-space: nowrap; }
.window__reference { font-family: var(--font-mono); }
.window__badge { display: inline-block; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: var(--color-bg-alt); font-weight: 500; }
@container window (max-width: 27rem) {
  .window__table th:nth-child(3), .window__table td:nth-child(3) { display: none; }
  .window__table th, .window__table td { padding-inline: var(--space-2); }
}
@container window (max-width: 21rem) {
  .window__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .window__table tr { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); padding-block: var(--space-2); }
  .window__table tbody tr + tr { border-top: 1px solid var(--color-border); }
  .window__table tbody tr:first-child { padding-top: 0; }
  .window__table td { padding: 0; border-bottom: 0; }
  .window__reference { order: 1; }
  .window__state { order: 2; }
  .window__request { order: 3; flex-basis: 100%; }
}
.tour__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); }
.tour__caption { min-width: 0; margin: 0; font-size: var(--text-small); color: var(--color-text-muted); }
.tour__controls { display: inline-flex; gap: var(--space-2); }
.tour__arrow { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-link); cursor: pointer; }
.tour__arrow:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@container tour (min-width: 34rem) {
  .tour__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tour__screens { padding: var(--space-y-max); }
  .window__body { padding: var(--space-y-max) var(--space-5); }
}
@container tour (min-width: 41rem) {
  .tour { grid-template-columns: 17rem minmax(0, 1fr); }
  .tour__rail { padding-block: var(--space-y-max); border-right: 1px solid var(--color-border); border-bottom: 0; }
  .tour__label { display: block; }
  .tour__steps { grid-template-columns: minmax(0, 1fr); }
  .tour__step { padding: var(--space-4) var(--space-5); border-bottom: 0; border-left: 3px solid transparent; }
  .tour__step[aria-selected="true"] { border-left-color: var(--color-link); }
  .window { min-height: 22rem; }
}

/* how a project runs, as the earlier site's "Our approach": the heading and its paragraph, and beside them from 48rem the four
   steps, a rule between two, each opening to say what happens in it, its plus turned to a cross while it is open */
.approach { display: grid; gap: var(--space-y-max) var(--space-8); align-items: start; }
.approach__words, .process { min-width: 0; }
.approach__text { max-width: 26rem; margin: var(--space-4) 0 0; color: var(--color-text-muted); }
.process__item + .process__item { border-top: 1px solid var(--color-border); }
.process__summary { display: flex; align-items: center; gap: var(--space-y-max); min-height: 3.5rem; padding-block: var(--space-3); list-style: none; cursor: pointer; font: 600 var(--text-h4)/1.35 var(--font-display); }
.process__summary::-webkit-details-marker { display: none; }
.process__item:first-child > .process__summary { min-height: 2.75rem; padding-top: 0; }
.process__summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.process__no { flex: none; min-width: 1.5rem; font: 600 var(--text-caption)/1.2 var(--font-mono); color: var(--color-link); }
.process__name { flex: 1; min-width: 0; }
.process__summary .icon { flex: none; color: var(--color-link); }
.process__item[open] .process__summary .icon { rotate: 45deg; }
.process__answer { padding: 0 var(--space-4) var(--space-3) calc(1.5rem + var(--space-y-max)); }
.process__answer p { max-width: 36rem; margin: 0; color: var(--color-text-muted); }
.process__item:last-child > .process__answer { padding-bottom: 0; }
@media (min-width: 48rem) { .approach { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .process__answer { padding-right: var(--space-7); } }
@media (prefers-reduced-motion: no-preference) { .process__summary .icon { transition: rotate var(--duration-fast) var(--ease-out); } }

/* what a client can count on, as the earlier site's: on the pale band, the heading and its paragraph, and beside them from 48rem
   the three, each with its number, a rule between two */
.principles { display: grid; gap: var(--space-y-max) var(--space-8); align-items: start; }
.principles__words, .numbered { min-width: 0; }
.principles__text { max-width: 28rem; margin: var(--space-4) 0 0; color: var(--color-text-muted); }
.numbered { margin: 0; padding: 0; list-style: none; }
.numbered__item { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--space-2); padding-block: var(--space-4); }
.numbered__item:first-child { padding-top: 0; }
.numbered__item:last-child { padding-bottom: 0; }
.numbered__item + .numbered__item { border-top: 1px solid var(--color-border); }
.numbered__no { padding-top: var(--space-1); font: 600 var(--text-caption)/1.5 var(--font-mono); color: var(--color-link); }
.numbered__title { margin: 0; font-size: var(--text-h4); }
.numbered__text { max-width: 34rem; margin: var(--space-1) 0 0; color: var(--color-text-muted); }
@media (min-width: 48rem) { .principles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* the closing call, as the earlier site's: on the dark band the product pages close on, a large faint fox behind the words at
   the right where the earlier site had its K; the button and the address under the words, or beside them from 48rem */
.closing-call { position: relative; isolation: isolate; overflow: hidden; }
.closing-call__fox { position: absolute; z-index: -1; top: 50%; right: 2%; translate: 0 -50%; opacity: 0.14; pointer-events: none; }
.closing-call__fox .fox-whole { display: block; width: auto; height: 26rem; margin: 0; }
.closing-call__grid { display: grid; gap: var(--space-y-max) var(--space-8); align-items: end; }
.closing-call__words { min-width: 0; }
.closing-call__title { margin: 0 0 var(--space-3); font-size: var(--text-h1); line-height: 1.08; letter-spacing: -0.02em; color: var(--color-text); }
.closing-call__text { max-width: 38rem; margin: 0; color: var(--color-text-muted); }
.closing-call__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.closing-call__email { margin: 0; font-size: var(--text-small); color: var(--color-text-muted); }
.closing-call__email a { color: var(--color-text); }
@media (min-width: 48rem) { .closing-call__grid { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---- Home and products: reasons, and the closing band ---------------------------------------- */
/* Why work with FoxShard (2026-11-13, from the owner's design "FoxShard's blueprint for better software"): the heading
   over two lines with the name in red and the drawing under it, and the reasons down the right between rules */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-y-max) var(--space-8); align-items: start; }
.why__title { margin: 0; font-size: var(--text-h1); line-height: 1.05; letter-spacing: -0.02em; }
.why__line { display: block; }
.why__line--brand { color: var(--color-accent); }
.why__head .drawing { max-width: 30rem; margin-top: var(--space-y-max); }
.reasons { list-style: none; margin: 0; padding: 0; }
.reasons li { padding-block: var(--space-3); border-top: 1px solid var(--color-border); }
.reasons li:first-child { padding-top: 0; border-top: 0; }
.reasons li:last-child { padding-bottom: 0; }
.reason__title { margin: 0 0 var(--space-1); font-size: var(--text-h4); }
.reason__text { margin: 0; color: var(--color-text-muted); }
@media (max-width: 767.98px) { .why { grid-template-columns: minmax(0, 1fr); } .why__head .drawing { max-width: 22rem; } }

.closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-y-max) var(--space-6); align-items: center; }
.closing h2 { margin: 0 0 var(--space-2); }
.closing p { margin: 0; color: var(--color-text-muted); }
/* the button as far from the words as the band's edges are from it (asked for, 2026-11-13: "add equal padding so
   the cta is not close to the text") */
.closing .actions { margin-top: var(--space-y-max); }
.closing .fox-whole { display: block; width: 7rem; height: auto; }
.closing > .badge { width: 7rem; height: 7rem; }
@media (max-width: 767.98px) { .closing { grid-template-columns: 1fr; } .closing .fox-whole, .closing > .badge { display: none; } }
.closing + .wrap { margin-top: var(--space-y-max); }

/* ---- A product's page ------------------------------------------------------------------------ */

.product-hero { padding-block: var(--space-y-max) var(--section-y); background: var(--color-bg-alt); }
.product-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-y-max) clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
/* every product opens with its name and kind in red, without the fox (2026-11-14, from the owner's design for
   TicketDesk, for every product page) */
.product-eyebrow { display: flex; align-items: center; flex-wrap: wrap; margin: 0 0 var(--space-4); font-size: var(--text-small); font-weight: 600; color: var(--color-link); }
.product-hero h1 { margin: 0; font-size: var(--text-h1); text-wrap: balance; }
/* each sentence of a headline on a line of its own: "Sell tickets." over "Welcome your crowd." (2026-11-14) */
.product-hero__line { display: block; }
.product-hero__lead { margin: var(--space-y-max) 0 0; font-size: var(--text-lead); line-height: 1.55; color: var(--color-text-muted); }
.facts { list-style: none; margin: var(--space-y-max) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.facts li { display: grid; grid-template-columns: 1.25rem 1fr; gap: var(--space-2); align-items: start; }
.facts .icon { width: 1.25rem; height: 1.25rem; color: var(--color-accent); margin-top: 0.15rem; }
/* the points a product's design gives its opening in place of the facts, side by side, and the note under the buttons
   (2026-11-14, TicketDesk) */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--space-4) var(--space-6); margin: var(--space-y-max) 0 0; }
.point dt { font: 600 1.125rem/1.3 var(--font-display); }
.point dd { margin: var(--space-1) 0 0; color: var(--color-text-muted); }
.product-hero__note { margin: var(--space-3) 0 0; font-size: var(--text-small); color: var(--color-text-muted); }
/* "See how it works" as a link with an arrow, in the text's colour with the arrow red (2026-11-14) */
.arrow-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font: 600 0.9375rem/1.3 var(--font-sans); color: var(--color-text); text-decoration: none; }
.arrow-link .icon { width: 1.25rem; height: 1.25rem; color: var(--color-link); }
.arrow-link:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.arrow-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: no-preference) {
  .arrow-link .icon { transition: translate var(--duration-fast) var(--ease-out); }
  .arrow-link:hover .icon, .arrow-link:focus-visible .icon { translate: 3px 0; }
}
@media (max-width: 767.98px) { .product-hero__grid { grid-template-columns: minmax(0, 1fr); } }

/* the product at work: a request to an API, or a piece of the application */
.visual { margin: 0; }
.visual__caption { margin-top: var(--space-3); font-size: var(--text-small); color: var(--color-text-muted); }
.code {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-code-bg); color: var(--color-code-text);
  border: 1px solid var(--color-code-bg);
}
:root[data-theme="dark"] .code { border-color: var(--border-dark); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .code { border-color: var(--border-dark); } }
.code__part + .code__part { border-top: 1px solid rgba(244, 245, 247, 0.12); }
.code__label { margin: 0; padding: var(--space-3) var(--space-5) 0; font: 500 var(--text-caption)/1.4 var(--font-sans); letter-spacing: 0.01em; color: var(--fog); }
.code pre { margin: 0; padding: var(--space-2) var(--space-5) var(--space-y-max); border-radius: 0; background: transparent; font-size: 0.8125rem; line-height: 1.65; overflow-x: auto; tab-size: 2; }
.code pre:focus-visible { outline: 2px solid var(--light-red); outline-offset: -2px; }

/* FoodToGo and FoxShard Hospitality: a journey through its stages, one of them now */
.journey { border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); padding: var(--space-y-max) var(--space-6); }
.journey__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-y-max); }
.journey__title { margin: 0; font: 600 var(--text-h4)/1.3 var(--font-display); }
.journey__meta { margin: 0; color: var(--color-text-muted); font-size: var(--text-small); }
.journey__stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.stage { position: relative; display: grid; grid-template-columns: 1.5rem 1fr; gap: var(--space-3); padding-bottom: var(--space-4); }
.stage:last-child { padding-bottom: 0; }
.stage::before { content: ""; position: absolute; left: calc(0.75rem - 1px); top: 1.5rem; bottom: 0; width: 2px; background: var(--color-border); }
.stage:last-child::before { display: none; }
.stage__dot { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid var(--color-border); background: var(--color-surface); display: grid; place-items: center; }
.stage--done .stage__dot { border-color: var(--color-text); background: var(--color-text); color: var(--color-bg); }
.stage--done .stage__dot .icon { width: 0.875rem; height: 0.875rem; stroke-width: 2.5; }
.stage--now .stage__dot { border-color: var(--color-accent); box-shadow: 0 0 0 4px var(--red-tint); }
:root[data-theme="dark"] .stage--now .stage__dot { box-shadow: 0 0 0 4px rgba(255, 122, 102, 0.18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stage--now .stage__dot { box-shadow: 0 0 0 4px rgba(255, 122, 102, 0.18); } }
.stage--done::before { background: var(--color-text); }
.stage__name { margin: 0; font-weight: 600; line-height: 1.5rem; }
.stage__note { margin: 0; font-size: var(--text-small); color: var(--color-text-muted); }
.stage--later .stage__name { color: var(--color-text-muted); font-weight: 500; }

/* HomeHunt's sketch of a listing (2026-11-13): a drawing of the home, then what it is, where, its rent and bedrooms */
.listing { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.listing__photo { display: grid; place-items: center; padding: var(--space-y-max) var(--space-6); border-bottom: 1px solid var(--color-border); background: var(--color-bg-alt); }
.listing__house { display: block; width: min(12rem, 60%); height: auto; overflow: visible; }
.listing__line { fill: none; stroke: color-mix(in srgb, var(--color-text) 60%, transparent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.listing__window { fill: color-mix(in srgb, var(--color-text) 14%, transparent); }
.listing__door { fill: var(--color-accent); }
.listing__body { padding: var(--space-y-max) var(--space-6); }
.listing__title { margin: 0; font: 600 var(--text-h3)/1.2 var(--font-display); }
.listing__place { margin: var(--space-1) 0 var(--space-4); color: var(--color-text-muted); }
.listing__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-5); margin: 0; }
.listing__fields dt { font-size: var(--text-caption); color: var(--color-text-muted); font-weight: 500; }
.listing__fields dd { margin: 0; font-weight: 600; }

/* who it is for, what it does, how it works */
/* The consultancy page's offers, each with a red mark, in two columns between rules */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-7); }
.feature { display: grid; grid-template-columns: 1rem 1fr; gap: var(--space-3); padding: var(--space-y-max) 0; border-top: 1px solid var(--color-border); }
.feature__mark { width: 0.875rem; height: 0.875rem; margin-top: 0.3rem; fill: var(--color-accent); }
.feature__name { margin: 0 0 var(--space-1); font: 600 1.0625rem/1.4 var(--font-sans); }
.feature__text { margin: 0; color: var(--color-text-muted); }
@media (max-width: 767.98px) { .features { grid-template-columns: 1fr; } }

/* The product pages' cards, after the earlier site's clinic-management page (2026-11-13): who it is for in a row, what
   you get and what it does in rows of three, each with its icon on a tile of the brand's red */
.tile-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.tile-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-cards--fit { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.tile-card { display: grid; align-content: start; gap: var(--space-2); padding: var(--space-y-max); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.tile-card--row { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-4); align-items: start; }
.tile-card__name { margin: 0; font: 600 1.0625rem/1.4 var(--font-sans); }
.tile-card__text { margin: var(--space-1) 0 0; color: var(--color-text-muted); }
.icon-tile { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md); background: color-mix(in srgb, var(--fox-red) 12%, var(--color-surface)); color: var(--color-link); }
.icon-tile .icon { width: 1.375rem; height: 1.375rem; }
@media (max-width: 1023.98px) { .tile-cards--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .tile-cards, .tile-cards--three, .tile-cards--fit { grid-template-columns: minmax(0, 1fr); } }
/* a section after another white one, with a rule between: its words keep their space below the rule */
.section:not(.section--alt) + .section.section--ruled:not(.section--alt), .section:not(.section--alt) + .section.closing-band:not(.section--alt) { padding-top: var(--section-y); }

/* How it works: the steps down the page, each under a rule, with its number in red beside it (2026-11-13, from the
   owner's design "FoxShard Rhapta patient care journey"); Rhapta's own are in its journey (2026-11-14) */
.steps { list-style: none; margin: 0; padding: 0; max-width: 52rem; counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: var(--space-4); padding-block: var(--space-3); border-top: 1px solid var(--color-border); }
.step:first-child { padding-top: 0; border-top: 0; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step); grid-column: 1; grid-row: 1 / span 2;
  font: 500 2rem/1 var(--font-display); color: var(--color-accent); font-variant-numeric: tabular-nums;
}
.step > * { grid-column: 2; }
.step__name { margin: 0 0 var(--space-1); font: 600 var(--text-h4)/1.3 var(--font-display); }
.step__text { margin: 0; color: var(--color-text-muted); }

/* "Who it is for" with a heading of its own (2026-11-14, the owner's design for TicketDesk): the audiences in plain
   columns under it, four abreast where there is room */
.who-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--space-y-max) var(--space-6); }
.who-cols__name { margin: 0; font: 600 var(--text-h4)/1.3 var(--font-display); }
.who-cols__text { margin: var(--space-1) 0 0; color: var(--color-text-muted); }

/* A product's explorer in place of its "What it does" cards (2026-11-14, the owner's design "TicketDesk gate scanning
   feature explorer", the picture on the left as the owner asked): the owner's painting of it at work, the capabilities
   as a list, the chosen one red with its arrow, and its panel; on a phone the picture, the capabilities as a row to swipe and the
   panel. Without a script the list links to the panels, which stand one under another. */
.explorer { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-y-max); column-gap: var(--space-8); }
.explorer__art { margin: 0; }
.explorer__caption { margin-top: var(--space-2); font-size: var(--text-small); color: var(--color-text-muted); }
.explorer__label { margin: 0 0 var(--space-2); font: 600 var(--text-caption)/1.5 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); }
.explorer__tabs { display: grid; }
.explorer__tab { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 44px; font: 500 1.0625rem/1.3 var(--font-sans); color: var(--color-text); text-decoration: none; }
.explorer__tab .icon { flex: none; width: 1.125rem; height: 1.125rem; color: var(--color-link); visibility: hidden; }
.explorer__tab:hover { color: var(--color-link); }
.explorer__tab[aria-selected="true"] { color: var(--color-link); font-weight: 600; }
.explorer__tab[aria-selected="true"] .icon { visibility: visible; }
.explorer__tab:focus-visible, .explorer__panel:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-sm); }
.explorer:not([data-explorer-ready]) .explorer__panel + .explorer__panel { margin-top: var(--space-y-max); }
.explorer__kicker { margin: 0 0 var(--space-2); font: 600 var(--text-small)/1.5 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-link); }
.explorer__title { margin: 0; font: 600 var(--text-h2)/1.12 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.explorer__text { margin: var(--space-3) 0 0; color: var(--color-text-muted); }
.explorer__demo { margin-top: var(--space-y-max); }
.explorer__status { margin: var(--space-3) 0 0; min-height: 2.8em; font-size: var(--text-small); color: var(--color-text-muted); }
@media (min-width: 64rem) {
  .explorer { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.7fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 63.99rem) {
  .explorer__art { width: min(100%, 26rem); justify-self: center; }
  [data-explorer-ready] .explorer__tabs { display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: var(--space-2); scroll-snap-type: x proximity; }
  [data-explorer-ready] .explorer__tab { flex: none; padding-inline: var(--space-4); border: 1px solid var(--color-border); border-radius: 999px; font-size: var(--text-small); white-space: nowrap; scroll-snap-align: start; }
  [data-explorer-ready] .explorer__tab .icon { display: none; }
  [data-explorer-ready] .explorer__tab[aria-selected="true"] { border-color: currentColor; background: color-mix(in srgb, var(--fox-red) 8%, var(--color-surface)); }
}

/* A product's overview in place of its "What it does" cards (2026-11-14, the owner's designs "Connected hospital care
   platform overview" and, for phones, "Connected care for modern hospitals"): its name in red over the heading, the
   illustration with its caption, and its features a line each. A phone names their parts over them; a wide screen
   centres the heading and sets them beside the illustration in two columns of four, without rules, as the owner's
   later design ("Hospital care management overview") has them, with the parts' names for screen readers only. The
   illustration stands on white; the dark theme shows its dark version (fragments/illustrations), whose ground is
   clear, so the white behind it goes. */
.section-head .overview__eyebrow, .section-head .pathway__eyebrow, .section-head .who__eyebrow, .section-head .explorer__eyebrow { max-width: none; margin: 0 0 var(--space-2); font-size: var(--text-small); font-weight: 600; line-height: 1.5; color: var(--color-link); }
.overview__body { display: grid; row-gap: var(--space-y-max); column-gap: var(--space-8); }
.overview__art { margin: 0; }
.illustration img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); background: var(--white); }
:root[data-theme="dark"] .illustration img { background: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .illustration img { background: none; } }
.overview__caption { margin-top: var(--space-2); font-size: var(--text-small); color: var(--color-text-muted); }
.overview__part + .overview__part { margin-top: var(--space-y-max); }
.overview__part-name { margin: 0 0 var(--space-1); font: 600 var(--text-caption)/1.5 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-link); }
.overview__list { list-style: none; margin: 0; padding: 0; }
.overview__item { padding-block: var(--space-2); }
.overview__name { margin: 0; font: 600 var(--text-h4)/1.3 var(--font-display); }
.overview__line { margin: 0.125rem 0 0; color: var(--color-text-muted); }
@media (min-width: 64rem) {
  .overview__head { margin-inline: auto; text-align: center; }
  .overview__body { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); align-items: center; }
  .overview__part-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .overview__part + .overview__part { margin-top: 0; }
  /* the features as the cells of one grid, down the first column and then the second, so that each lines up with
     the one beside it even where a name takes two lines; the parts and their lists give way to it (display: contents) */
  .overview__parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; column-gap: var(--space-6); row-gap: var(--space-y-max); }
  .overview__parts[data-rows="3"] { grid-template-rows: repeat(3, auto); }
  .overview__parts[data-rows="4"] { grid-template-rows: repeat(4, auto); }
  .overview__part, .overview__list { display: contents; }
  .overview__item { padding-block: 0; }
  .overview__name { font-size: 1.125rem; }
}

/* A product's journey in place of its "What you get" and "How it works" (2026-11-14, the owner's design "Connected
   care from check-in to payment", for Rhapta, and the owner's choice for wide screens): words in red over the heading,
   the illustration with what a client gets beside it, then the steps from check-in to payment, down the page on a
   phone and in a row on a wide screen, read from left to right, each under a rule. A phone shows the illustration
   over what a client gets, as the design does; a wide screen puts it on the right (the owner, 2026-11-14: "put the
   illustration to the right"), so that it and the overview's hospital below sit on opposite sides. */
.pathway__top { display: grid; row-gap: var(--space-y-max); column-gap: var(--space-8); }
.pathway__art { min-width: 0; }
.pathway__gains, .pathway__steps { list-style: none; margin: 0; padding: 0; display: grid; row-gap: var(--space-y-max); }
.pathway__name { margin: 0; font: 600 var(--text-h4)/1.3 var(--font-display); }
.pathway__text { margin: 0.125rem 0 0; color: var(--color-text-muted); }
.pathway__steps-title { margin: var(--space-y-max) 0 var(--space-3); font: 600 var(--text-small)/1.5 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-link); }
@media (min-width: 64rem) {
  .pathway__head { margin-inline: auto; text-align: center; }
  .pathway__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
  .pathway__art { grid-column: 2; grid-row: 1; }
  .pathway__gains { grid-column: 1; grid-row: 1; }
  .pathway__steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: var(--space-5); }
  .pathway__steps > li { padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
  .pathway__steps .pathway__name { font-size: 1.125rem; }
}

/* The drawings (fragments/drawings.html): ink lines and paper fills mixed from the text and surface colours, so they
   follow the theme, and red for what matters */
.drawing { display: block; width: 100%; height: auto; overflow: visible; }
.drawing__paper { fill: var(--color-surface); stroke: color-mix(in srgb, var(--color-text) 70%, transparent); stroke-width: 1.5; stroke-linejoin: round; }
.drawing__sheet { fill: var(--color-surface); stroke: color-mix(in srgb, var(--color-text) 35%, transparent); stroke-width: 1.25; stroke-linejoin: round; }
.drawing__frame { fill: none; stroke: color-mix(in srgb, var(--color-text) 55%, transparent); stroke-width: 1.5; }
.drawing__line { fill: none; stroke: color-mix(in srgb, var(--color-text) 60%, transparent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.drawing__line--soft { stroke: color-mix(in srgb, var(--color-text) 32%, transparent); }
.drawing__grid { fill: none; stroke: color-mix(in srgb, var(--color-text) 9%, transparent); stroke-width: 1; }
.drawing__crease { fill: none; stroke: color-mix(in srgb, var(--color-text) 18%, transparent); stroke-width: 1; }
.drawing__shade { fill: color-mix(in srgb, var(--color-text) 8%, transparent); }
.drawing__text { fill: color-mix(in srgb, var(--color-text) 16%, transparent); }
.drawing__text--strong { fill: color-mix(in srgb, var(--color-text) 40%, transparent); }
.drawing__dot { fill: color-mix(in srgb, var(--color-text) 55%, transparent); }
.drawing__ink { fill: color-mix(in srgb, var(--color-text) 85%, transparent); }
.drawing__keys { fill: none; stroke: color-mix(in srgb, var(--color-text) 30%, transparent); stroke-width: 3; stroke-dasharray: 8 4; }
.drawing__red { fill: var(--fox-red); }
.drawing__tint { fill: color-mix(in srgb, var(--fox-red) 24%, transparent); }
.drawing__link { fill: none; stroke: var(--fox-red); stroke-width: 2.5; stroke-linecap: round; }

.faqs { max-width: 50rem; border-top: 1px solid var(--color-border); }
.faq { border-bottom: 1px solid var(--color-border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  min-height: 3.5rem; padding: var(--space-4) 0; cursor: pointer; list-style: none;
  font: 600 1.0625rem/1.45 var(--font-sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq summary .icon { transition: transform var(--duration) var(--ease-out); }
.faq[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 0 var(--space-y-max); max-width: 68ch; }
.faq__answer p { margin: 0; color: var(--color-text-muted); }

.questions { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-y-max) var(--space-8); align-items: start; }
.others-card { padding: var(--space-y-max); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.others-card__title { margin: 0 0 var(--space-2); font: 600 var(--text-h4)/1.3 var(--font-display); }
.others { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-4); }
.others a { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; color: var(--color-text); text-decoration: none; font-size: var(--text-small); font-weight: 500; }
.others a:hover { color: var(--color-link); }
.others .badge { width: 1.75rem; height: 1.75rem; }
@media (max-width: 767.98px) { .questions { grid-template-columns: minmax(0, 1fr); } }
/* the closing band, dark as the footer it sits on, with a rule between them */
.closing-band { background: var(--footer-bg); }
main:has(.closing-band) + .site-footer { border-top-color: var(--border-dark); }

/* Rhapta at work, beside its headline (2026-11-14): a minute of the app itself on its demo data, from check-in to
   payment, looping without sound. site.js plays it unless the visitor asked for less motion or to save data, and shows
   the button in its corner, which pauses and plays it (WCAG 2.2.2). The app is light whatever the site's theme. */
.film { position: relative; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-panel); }
/* a product whose design opens on white (TicketDesk, 2026-11-14): its band is the page's own ground, and its
   illustration stands on it unframed, fading into it as the picture fades to white at its edges (the owner: "I dont
   want that physical card outline on hero, let it fade into the white"); on the dark theme its dark version fades into
   the dark the same way */
.product-hero--plain { background: var(--color-bg); }
.hero-art .illustration img { border-radius: 0; background: none; }
.film__video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.film__toggle { position: absolute; top: var(--space-2); right: var(--space-2); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 72%, transparent); color: var(--white); cursor: pointer; }
.film__toggle[hidden] { display: none; }
.film__toggle .icon { width: 1rem; height: 1rem; }
.film__toggle:hover { background: var(--ink); }
.film__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.film.is-playing .icon--play, .film:not(.is-playing) .icon--pause { display: none; }

code { padding: 0.1em 0.35em; border-radius: 4px; background: var(--color-bg-alt); border: 1px solid var(--color-border); font-size: 0.85em; }
.code code, pre code { padding: 0; border: 0; background: none; font-size: inherit; }

/* ---- Contact: the page (2026-11-13, after its design, FoxShard_Contact.html) ------------------- */
/* On laptops and desktops the page fills the window and no more: the form's card and the aside share the height
   under the heading, and the message box takes what is left, so that only the footer lies below the fold. A window
   too short for that lets the page grow and scroll, before the message box is shorter than about four lines. */
.contact-page { background: var(--contact-bg); padding-block: var(--space-y-max); }
/* its corners, all of them, 6px (2026-11-13: "lets have a rounded 4px", then "try rounded 6") */
.contact-page { --radius-sm: 6px; --radius-md: 6px; --radius-lg: 6px; }
.contact-page__grid { display: grid; gap: var(--space-y-max) var(--space-5); }
.contact-intro h1 { margin: 0; font-size: var(--text-h1); }
.contact-intro p { margin: var(--space-2) 0 0; max-width: 46rem; font-size: var(--text-lead); color: var(--color-text-muted); text-wrap: pretty; }
.card { min-width: 0; padding: var(--space-y-max) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.card__title { margin: 0 0 var(--space-3); font: 600 var(--text-h4)/1.25 var(--font-display); letter-spacing: -0.01em; }
.card--ink { border-color: transparent; background: var(--ink-card); }
.contact-aside { display: grid; gap: var(--space-y-max) var(--space-5); align-content: start; }
@media (min-width: 48rem) {
  .card { padding: var(--space-y-max) var(--space-6); }
  .contact-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .contact-page { padding-block: 0; }
  .contact-page__grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: var(--space-4) var(--space-5);
    padding-block: var(--space-y-max);
    min-height: calc(100vh - var(--header-h) - 1px);
    min-height: min(calc(100svh - var(--header-h) - 1px), 64rem);
  }
  .contact-intro { grid-area: 1 / 1 / 2 / 3; }
  .contact-form { grid-area: 2 / 1; display: flex; flex-direction: column; }
  .contact-form .form { flex: 1; display: flex; flex-direction: column; gap: var(--space-4); }
  .contact-form .form__row { gap: var(--space-4); }
  .contact-form .field__control { min-height: 2.75rem; padding-block: var(--space-2); }
  .contact-form .field--message { flex: 1; display: flex; flex-direction: column; gap: var(--space-2); }
  .contact-form .field--message textarea { flex: 1 1 0; min-height: 7.5rem; resize: none; }
  .contact-form .rich[data-rich-ready] .rich__frame { flex: 1 1 0; min-height: 0; }
  .contact-form .rich[data-rich-ready] .rich__editor { flex: 1 1 0; min-height: 5rem; max-height: none; }
  .contact-page .card { padding: var(--space-4) var(--space-5); }
  .steps { gap: var(--space-2); }
  .contact-aside { grid-area: 2 / 2; display: flex; flex-direction: column; }
  .contact-aside > :last-child { flex: 1; }
}
/* a window not much taller than the page (most laptops): a little tighter all round, so that the page still fits */
@media (min-width: 64rem) and (max-height: 60rem) {
  .contact-page__grid { padding-block: var(--space-3); gap: var(--space-3) var(--space-5); }
  .contact-intro h1 { font-size: clamp(2rem, 1.6rem + 1.5vw, 2.5rem); }
  .contact-page .card { padding: var(--space-3) var(--space-5); }
  .contact-page .card__title { margin-bottom: var(--space-2); }
  .contact-form .form, .contact-form .form__row { gap: var(--space-3); }
  .contact-aside { gap: var(--space-2); }
  .steps { gap: 0.375rem; }
  .steps li { line-height: 1.4; }
}

/* ---- Forms ----------------------------------------------------------------------------------- */
.page-head { padding-block: var(--space-y-max); }
.page-head h1 { margin: 0; }
.page-head p { margin: var(--space-4) 0 0; font-size: var(--text-lead); color: var(--color-text-muted); max-width: 40rem; }

.form { display: grid; gap: var(--space-y-max) var(--space-5); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-y-max) var(--space-5); align-items: start; }
@media (max-width: 767.98px) { .form__row { grid-template-columns: 1fr; } }
@media (min-width: 48rem) { .form__row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field__label { font-weight: 500; }
.field__optional { color: var(--color-text-muted); font-weight: 400; }
.field__hint { margin: 0; font-size: var(--text-small); color: var(--color-text-muted); }
.field__control {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-surface); color: var(--color-text);
  font: 400 1rem/1.5 var(--font-sans);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.field__control:hover { border-color: var(--color-text-muted); }
.field__control:focus { outline: none; border-color: var(--color-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-focus) 25%, transparent); }
.field__control::placeholder { color: var(--color-text-placeholder); }
.field__control[aria-invalid="true"] { border-color: var(--color-error); }
textarea.field__control { min-height: 10rem; resize: vertical; }
select.field__control {
  appearance: none; padding-right: 2.75rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9rem) 50%;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem; background-repeat: no-repeat;
}
.field__error { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; color: var(--color-error); font-size: var(--text-small); font-weight: 500; }
.field__error .icon { width: 1.125rem; height: 1.125rem; margin-top: 0.1rem; }
.field__control[type="file"] { min-height: auto; padding: var(--space-3); }
.field__control[type="file"]::file-selector-button {
  margin-right: var(--space-3); padding: var(--space-2) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-bg-alt); color: var(--color-text); font: 500 0.9375rem/1.4 var(--font-sans); cursor: pointer;
}
/* the documents: the file box itself is hidden from sight (not from the keyboard), and its label is the button */
.upload { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-2) var(--space-3); border: 1px dashed var(--color-border); border-radius: var(--radius-md); }
.upload__button {
  display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 var(--space-4); white-space: nowrap; cursor: pointer;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg-alt); color: var(--color-text); font: 500 0.9375rem/1.4 var(--font-sans);
}
.upload__input:focus-visible + .upload__button { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.upload__input[aria-invalid="true"] + .upload__button { border-color: var(--color-error); }
.upload .field__hint { flex: 1 1 14rem; }
.files-chosen { list-style: none; margin: 0; padding: 0; font-size: var(--text-small); display: grid; gap: var(--space-1); }
.files-chosen:empty { display: none; }
.files-chosen li { display: flex; align-items: center; gap: var(--space-3); color: var(--color-text-muted); }
.files-chosen__name { flex: 1; min-width: 0; color: var(--color-text); overflow-wrap: anywhere; }
.files-chosen__remove {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--color-text-muted); font: 400 1.25rem/1 var(--font-sans); cursor: pointer;
}
.files-chosen__remove:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.files-chosen .is-wrong { color: var(--color-error); }
@media (pointer: coarse) { .upload__button, .files-chosen__remove { min-height: 44px; min-width: 44px; } }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); border: 1px solid; }
.alert:focus { outline: none; }
.alert:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.alert--error { background: var(--color-error-bg); border-color: color-mix(in srgb, var(--color-error) 40%, transparent); color: var(--color-text); }
.alert--success { background: var(--color-success-bg); border-color: color-mix(in srgb, var(--color-success) 40%, transparent); }
.alert__title { margin: 0 0 var(--space-2); font-weight: 600; }
.alert ul { margin: 0; padding-left: 1.25rem; }
.alert p { margin: var(--space-2) 0 0; }
.form__submit { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); align-items: center; }

/* the topic as its design draws it (2026-11-13, "FoxShard topic dropdown menu"; site.js): the select's choices in
   their groups, each its name over what it is; the one pointed at, or reached by the keys, on a tint, its name red */
.topic { position: relative; }
.topic__button { display: flex; align-items: center; gap: var(--space-3); text-align: left; cursor: pointer; color: var(--color-text-placeholder); user-select: none; }
.topic.has-value .topic__button { color: var(--color-text); }
.topic__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topic__button .icon { flex: none; width: 1.125rem; height: 1.125rem; color: var(--color-text-muted); transition: rotate var(--duration) var(--ease-out); }
.topic.is-open .topic__button .icon { rotate: 180deg; }
.topic.is-open .topic__button { border-color: var(--color-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-focus) 25%, transparent); }
.topic__button[aria-invalid="true"] { border-color: var(--color-error); }
.topic__panel {
  position: absolute; top: calc(100% + 0.375rem); left: 0; right: 0; z-index: 25; overflow-y: auto; overscroll-behavior: contain;
  padding: var(--space-2) 0; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-panel);
}
.topic.is-up .topic__panel { top: auto; bottom: calc(100% + 0.375rem); }
.topic__group + .topic__group, .topic__group + .topic__option { margin-top: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--color-border); }
.topic__heading { padding: var(--space-2) var(--space-4) var(--space-1); font: 600 0.9375rem/1.4 var(--font-sans); color: var(--color-text); }
.topic__option { display: grid; padding: var(--space-2) var(--space-4) var(--space-2) var(--space-6); cursor: pointer; }
.topic__option--plain { padding-left: var(--space-4); }
.topic__option strong { font: 600 0.9375rem/1.4 var(--font-sans); color: var(--color-text); }
.topic__option span { font-size: var(--text-small); line-height: 1.4; color: var(--color-text-muted); }
.topic__option.is-active { background: color-mix(in srgb, var(--color-link) 9%, transparent); }
.topic__option.is-active strong, .topic__option[aria-selected="true"] strong { color: var(--color-link); }

/* the message written in a box with a few marks (site.js; the earlier site's box): without the script the textarea,
   with it a frame round a bar of marks (bold, the two lists, a link) and the box. No italic and no underline */
.rich[data-rich-ready] .rich__frame {
  display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.rich[data-rich-ready] .rich__frame:focus-within { border-color: var(--color-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-focus) 25%, transparent); }
.rich[data-rich-ready]:has(textarea[aria-invalid="true"]) .rich__frame { border-color: var(--color-error); }
.rich__frame [hidden] { display: none; }
.rich__toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.125rem; padding: 0.25rem; border-bottom: 1px solid var(--color-border);
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0; background: var(--color-bg-alt);
}
.rich__tool {
  display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem; padding: 0 0.5rem;
  border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--color-text-muted); cursor: pointer;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}
.rich__tool .icon { width: 1.125rem; height: 1.125rem; }
.rich__tool[aria-pressed="true"], .rich__tool[aria-expanded="true"], .rich__tool.is-on { background: var(--color-callout-bg); color: var(--color-link); }
.rich__tool:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.rich__link { display: grid; gap: var(--space-2); padding: var(--space-3); border-bottom: 1px solid var(--color-border); background: var(--color-bg-alt); }
.rich__link-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.rich__link-input {
  flex: 1 1 12rem; min-width: 0; min-height: 2.5rem; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-text); font: 400 1rem/1.5 var(--font-sans);
}
.rich__link-input::placeholder { color: var(--color-text-placeholder); }
.rich__link-input:focus { outline: none; border-color: var(--color-focus); box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-focus) 25%, transparent); }
.rich__link-button {
  flex: none; min-height: 2.5rem; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-sm);
  background: var(--color-button-bg); color: var(--color-button-text); font: 600 0.9375rem/1 var(--font-sans); cursor: pointer;
}
.rich__link-button--quiet { background: transparent; color: var(--color-link); }
.rich__link-close {
  display: grid; flex: none; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--color-text-muted); cursor: pointer;
}
.rich__link-close .icon { width: 1.125rem; height: 1.125rem; }
.rich__link-button:focus-visible, .rich__link-close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.rich__link .field__error { margin: 0; }
.rich__editor {
  position: relative; min-height: 8rem; max-height: 20rem; overflow-y: auto; padding: var(--space-3) var(--space-4);
  color: var(--color-text); font: 400 1rem/1.5 var(--font-sans); overflow-wrap: anywhere; outline: none;
}
.rich__editor ul, .rich__editor ol { margin: 0; padding-left: 1.5rem; }
.rich__editor ul { list-style: disc; }
.rich__editor ol { list-style: decimal; }
.rich__editor a { color: var(--color-link); }
.rich__editor.is-empty::before {
  content: attr(data-placeholder); position: absolute; top: var(--space-3); left: var(--space-4); right: var(--space-4);
  color: var(--color-text-placeholder); pointer-events: none;
}
@media (pointer: coarse) { .rich__tool { min-width: 2.75rem; height: 2.75rem; } .rich__link-input, .rich__link-button, .rich__link-close { min-height: 2.75rem; } }

/* where we are (2026-11-14, the owner's design "Minimal corporate office location card"): a drawing of the streets
   marked as a preview, the pin on the place with its name, and under it the address and Google Maps in a tab of its
   own; in the page that fills the window the drawing takes what height the aside has left */
.map-card { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.map-card__view { position: relative; flex: 1; min-height: 11rem; background: var(--color-bg-alt); }
.map-card__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card__ground { fill: color-mix(in srgb, var(--color-bg-alt) 55%, var(--color-surface)); }
.map-card__blocks { fill: color-mix(in srgb, var(--color-border) 35%, var(--color-bg-alt)); }
.map-card__houses { fill: color-mix(in srgb, var(--color-border) 85%, var(--color-bg-alt)); }
.map-card__parks { fill: color-mix(in srgb, var(--map-park) 30%, var(--color-bg-alt)); }
.map-card__road { fill: none; stroke: color-mix(in srgb, var(--color-surface) 85%, var(--map-road)); stroke-width: 18; stroke-linecap: round; }
.map-card__chip {
  position: absolute; top: var(--space-3); left: var(--space-3); padding: 0.125rem 0.625rem; border: 1px solid var(--color-border);
  border-radius: 999px; background: color-mix(in srgb, var(--color-surface) 88%, transparent); color: var(--color-text-muted);
  font-size: var(--text-caption); font-weight: 500; line-height: 1.6;
}
.map-card__halo {
  position: absolute; left: 50%; top: 50%; width: 3rem; height: 3rem; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--fox-red) 26%, transparent) 0 38%, color-mix(in srgb, var(--fox-red) 11%, transparent) 40% 100%);
}
.map-card__pin { position: absolute; left: 50%; top: 50%; width: 2.25rem; height: 2.25rem; translate: -50% -94%; filter: var(--hero-fox-shadow); }
.map-card__pin-body { fill: var(--fox-red); }
.map-card__pin-dot { fill: var(--white); }
.map-card__tag {
  position: absolute; left: calc(50% + 1.125rem); bottom: calc(50% + 1.75rem); padding: 0.25rem 0.625rem; border-radius: var(--radius-sm);
  background: var(--color-surface); color: var(--color-text); font: 600 0.8125rem/1.35 var(--font-sans); white-space: nowrap;
  box-shadow: 0 1px 2px rgba(13, 17, 23, 0.08), 0 4px 12px rgba(13, 17, 23, 0.1);
}
.map-card__tag::after { content: ""; position: absolute; left: 0.5rem; bottom: -4px; width: 9px; height: 9px; background: inherit; rotate: 45deg; }
.map-card__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: var(--space-3) var(--space-4); border-top: 1px solid var(--color-border);
}
.map-card__title { margin: 0; font: 600 var(--text-h4)/1.25 var(--font-display); letter-spacing: -0.01em; }
.map-card__place { margin: 0; font-size: var(--text-small); color: var(--color-text-muted); }
.map-card__open { min-height: 2.5rem; padding-inline: 0.875rem; font-size: var(--text-small); }
.map-card__open .icon { width: 1rem; height: 1rem; }
@media (min-width: 64rem) { .map-card__view { min-height: 8.5rem; } .contact-page .map-card { padding: 0; } }
@media (min-width: 64rem) and (max-height: 60rem) { .map-card__view { min-height: 7rem; } .map-card__bar { padding-block: var(--space-2); } }

/* the other ways to reach us, on the dark card; and the steps after a message, numbered on a tint */
/* each way on a row of its own (2026-11-14, the owner's design): its icon on a tile, the label, then the value, a
   little smaller; in a narrow card the label sits over the value */
.contact-ways { container: ways / inline-size; list-style: none; margin: 0; padding: 0; }
.contact-way {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: var(--space-3); align-items: center;
  padding-block: var(--space-2); border-top: 1px solid var(--color-border);
}
.contact-way:first-child { padding-top: 0; border-top: 0; }
.contact-way:last-child { padding-bottom: 0; }
.contact-way__tile { grid-row: span 2; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-md); background: color-mix(in srgb, var(--paper) 7%, transparent); color: var(--color-link); }
.contact-way__tile .icon { width: 1.125rem; height: 1.125rem; }
.contact-way__label { grid-column: 2; font-size: var(--text-caption); color: var(--color-text-muted); }
.contact-way__value { grid-column: 2; min-width: 0; font-size: 0.9375rem; font-weight: 500; color: var(--color-text); overflow-wrap: anywhere; }
a.contact-way__value { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); text-decoration: none; }
a.contact-way__value:hover > span { text-decoration: underline; text-underline-offset: 0.2em; }
a.contact-way__value .icon { flex: none; width: 1.125rem; height: 1.125rem; color: var(--color-text-muted); }
a.contact-way__value:hover .icon { color: var(--color-link); }
.contact-way__value--lines > span { display: block; }
@media (pointer: coarse) { a.contact-way__value { min-height: 44px; } }
/* in the page that fills the window, a little tighter; tighter still in a window not much taller than the page */
@media (min-width: 64rem) { .contact-way { padding-block: 0.375rem; } }
@media (min-width: 64rem) and (max-height: 60rem) { .contact-way { padding-block: 0.1875rem; } .contact-way__tile { width: 1.875rem; height: 1.875rem; } }
@container ways (min-width: 22.5rem) {
  .contact-way { grid-template-columns: 2.25rem 7rem minmax(0, 1fr); }
  .contact-way__tile { grid-row: auto; }
  .contact-way__label { grid-column: auto; font-size: 0.9375rem; }
  .contact-way__value { grid-column: auto; font-size: var(--text-small); }
}
.next-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: var(--space-3); align-items: start; font-size: var(--text-small); color: var(--color-text-muted); }
.next-steps li::before { content: counter(step); display: grid; place-items: center; height: 1.75rem; border-radius: var(--radius-sm); background: var(--color-callout-bg); color: var(--color-callout-text); font-weight: 600; }
.next-steps strong { display: block; font-size: 0.9375rem; color: var(--color-text); }

/* ---- Prose: the legal pages and the thank-you page ------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { margin: var(--space-y-max) 0 var(--space-3); font-size: var(--text-h3); }
.prose h3 { margin: var(--space-y-max) 0 var(--space-2); font-size: var(--text-h4); }
.prose p, .prose li { color: var(--color-text); }
.prose li + li { margin-top: var(--space-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-small); margin: var(--space-4) 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: var(--space-3); border-bottom: 1px solid var(--color-border); }
.updated { color: var(--color-text-muted); font-size: var(--text-small); }

/* ---- Errors ---------------------------------------------------------------------------------- */
.oops { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-y-max) var(--space-7); align-items: center; padding-block: var(--section-y); }
.oops__code { margin: 0 0 var(--space-3); font: 500 var(--text-small)/1.4 var(--font-sans); color: var(--color-text-muted); }
.oops h1 { margin: 0; }
.oops p { margin: var(--space-4) 0 0; font-size: var(--text-lead); color: var(--color-text-muted); }
.oops .fox-whole { display: block; width: 11rem; }
@media (max-width: 767.98px) { .oops { grid-template-columns: 1fr; } .oops .fox-whole { display: none; } }

/* ---- The admin area -------------------------------------------------------------------------- */
.admin-bar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; padding-block: var(--space-y-max); }
.admin-bar h1 { margin: 0; font-size: var(--text-h2); }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.admin-table { width: 100%; border-collapse: collapse; font-size: var(--text-small); font-variant-numeric: tabular-nums; }
.admin-table th, .admin-table td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.admin-table th { font-weight: 600; white-space: nowrap; background: var(--color-bg-alt); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table a { font-weight: 600; }
.tag { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: var(--text-caption); font-weight: 600; background: var(--color-bg-alt); border: 1px solid var(--color-border); }
.tag--NEW { background: var(--red-tint); color: var(--deep-red); border-color: transparent; }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-text); text-decoration: none; font-size: var(--text-small); }
.filters a[aria-current="true"] { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.pager { display: flex; gap: var(--space-3); align-items: center; margin-top: var(--space-4); font-size: var(--text-small); }
.pager a, .admin-table a { display: inline-flex; align-items: center; min-height: 44px; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-5); margin: 0; }
.details dt { color: var(--color-text-muted); font-size: var(--text-small); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.message-box, .message-body { overflow-wrap: anywhere; padding: var(--space-y-max) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.admin-panel { display: grid; gap: var(--space-y-max) var(--space-5); padding: var(--space-y-max) var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-y-max) var(--space-6); align-items: start; padding-bottom: var(--space-y-max); }
@media (max-width: 767.98px) { .admin-grid { grid-template-columns: 1fr; } }
.sign-in { max-width: 26rem; margin: 0 auto; padding-block: var(--section-y); }


/* ---- What a pointer that hovers adds; touch screens get the same pages without it ------------- */
@media (hover: hover) {
  .hero__mono:hover { text-decoration: underline; }
  .nav-link:hover, .nav-button:hover { background: var(--color-bg-alt); }
  .menu-item:hover { background: var(--color-bg-alt); }
  .social a:hover { border-color: var(--color-text-muted); }
  .has-tip:hover .tip { opacity: 1; }
  .products__tab:hover, .tour__step:hover { color: var(--color-text); }
  .tour__arrow:hover { background: var(--color-bg-alt); }
  .others a:hover { border-color: var(--color-text-muted); }
  .upload__button:hover { border-color: var(--color-text-muted); }
  .rich[data-rich-ready] .rich__frame:hover:not(:focus-within) { border-color: var(--color-text-muted); }
  .rich__tool:hover { background: var(--color-bg); color: var(--color-text); }
  .rich__tool[aria-pressed="true"]:hover, .rich__tool.is-on:hover { background: var(--color-callout-bg); color: var(--color-link); }
  .rich__link-button:hover { background: var(--color-button-bg-hover); }
  .rich__link-button--quiet:hover { background: var(--color-callout-bg); }
  .rich__link-close:hover { background: var(--color-bg); color: var(--color-text); }
  .files-chosen__remove:hover { background: var(--color-callout-bg); color: var(--color-link); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0ms !important; }
}
@media print {
  .site-header, .site-footer, .actions, .closing { display: none; }
}
