@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/space-grotesk-400.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-700.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk fallback"; font-style: normal; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 106.88%; ascent-override: 91.69%; descent-override: 27.13%; line-gap-override: 0%; }
@font-face { font-family: "Space Grotesk fallback"; font-style: normal; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 101.9%; ascent-override: 96.17%; descent-override: 28.46%; line-gap-override: 0%; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope fallback"; font-style: normal; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 100.19%; ascent-override: 106.8%; descent-override: 29.94%; line-gap-override: 0%; }
@font-face { font-family: "Manrope fallback"; font-style: normal; font-weight: 500; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 102.09%; ascent-override: 104.81%; descent-override: 29.39%; line-gap-override: 0%; }
@font-face { font-family: "Manrope fallback"; font-style: normal; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 100.32%; ascent-override: 106.65%; descent-override: 29.9%; line-gap-override: 0%; }
:root {
  --c-primary: #4338ca;
  --c-on-primary: #ffffff;
  --c-secondary: #141a2e;
  --c-on-secondary: #ffffff;
  --c-bg: #fafbff;
  --c-text: #0f1424;
  --font-heading: "Space Grotesk", "Space Grotesk fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Manrope", "Manrope fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --space-section: clamp(4rem, 2.89rem + 4.57vw, 7rem);
  --band-btn-bg: #ffffff;
  --band-btn-fg: #141a2e;
  --dark-accent: #fafbff;
  --dark-on-accent: #000000;
  --primary-band-text: #ffffff;
  --brand-primary: #4338ca;
  --brand-on-primary: #ffffff;
  --brand-secondary: #141a2e;
  --brand-on-secondary: #ffffff;
  --brand-bg: #fafbff;
  --brand-text: #0f1424;
  --hue-red-page: #dc2626;
  --hue-orange-page: #ea580c;
  --hue-gold-page: #b67c04;
  --hue-green-page: #159b46;
  --hue-teal-page: #0d9488;
  --hue-blue-page: #2563eb;
  --hue-violet-page: #7c3aed;
  --hue-pink-page: #db2777;
  --hue-red-dark: #dc2626;
  --hue-orange-dark: #ea580c;
  --hue-gold-dark: #ca8a04;
  --hue-green-dark: #16a34a;
  --hue-teal-dark: #0d9488;
  --hue-blue-dark: #2563eb;
  --hue-violet-dark: #7c3aed;
  --hue-pink-dark: #db2777;
  --hue-red-primary: #ec8888;
  --hue-orange-primary: #f08a55;
  --hue-gold-primary: #cf961d;
  --hue-green-primary: #45b56e;
  --hue-teal-primary: #4aafa6;
  --hue-blue-primary: #7ca1f3;
  --hue-violet-primary: #b793f5;
  --hue-pink-primary: #e97dad;
  --hue-red-secondary: #dc2626;
  --hue-orange-secondary: #ea580c;
  --hue-gold-secondary: #ca8a04;
  --hue-green-secondary: #16a34a;
  --hue-teal-secondary: #0d9488;
  --hue-blue-secondary: #2563eb;
  --hue-violet-secondary: #7c3aed;
  --hue-pink-secondary: #db2777;
  --hue-red: var(--hue-red-page);
  --hue-orange: var(--hue-orange-page);
  --hue-gold: var(--hue-gold-page);
  --hue-green: var(--hue-green-page);
  --hue-teal: var(--hue-teal-page);
  --hue-blue: var(--hue-blue-page);
  --hue-violet: var(--hue-violet-page);
  --hue-pink: var(--hue-pink-page);
}

:root {
  --c-muted: color-mix(in srgb, var(--c-text) 68%, var(--c-bg));
  --c-surface: color-mix(in srgb, var(--c-text) 4%, var(--c-bg));
  --c-border: color-mix(in srgb, var(--c-text) 12%, var(--c-bg));
  --c-primary-soft: color-mix(in srgb, var(--c-primary) 10%, var(--c-bg));
  --container: 76rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --heading-weight: 650;
  --heading-tracking: -0.015em;
  --heading-scale: 1;
  --button-transform: none;
  --button-weight: 600;
  /*
   * Type scale: every size in the stylesheets is one of these. Fluid sizes go from a 390 px
   * phone to a 1440 px screen. The banner title (display) is set per style (styles.css.ts).
   */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9rem;
  --fs-body: clamp(1rem, 0.96rem + 0.19vw, 1.0625rem);
  --fs-md: 1.125rem;
  --fs-lead: clamp(1.125rem, 1.08rem + 0.38vw, 1.3125rem);
  --fs-h3: clamp(1.2rem, 1.13rem + 0.29vw, 1.4rem);
  --fs-xl: 1.5rem;
  --fs-quote: clamp(1.5rem, 1.13rem + 1.52vw, 2.5rem);
  --fs-figure: calc(clamp(2.25rem, 1.79rem + 1.9vw, 3.5rem) * var(--heading-scale));
  --fs-h2: calc(clamp(1.875rem, 1.46rem + 1.71vw, 3rem) * var(--heading-scale));
  --fs-h1: calc(clamp(2.25rem, 1.69rem + 2.29vw, 3.75rem) * var(--heading-scale));
  --fs-display: clamp(2.375rem, 1.77rem + 2.48vw, 4rem);
  --lh-tight: 1.1;
  --lh-display: 1.04;
  --lh-body: 1.6;
  --display-tracking: -0.02em;
  /* Air: reading width of a paragraph, gaps of the grids, space under a section's head. */
  --measure: 65ch;
  --gap: clamp(1.25rem, 0.79rem + 1.9vw, 2.5rem);
  --space-head: clamp(2rem, 1.63rem + 1.52vw, 3.5rem);
}
/* Per-style overrides: styles.css.ts. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  /* Any content the schema allows must fit: long words break instead of overflowing. */
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
/* Keyboard use: a link to skip the menu, shown when it has the focus; a clear focus everywhere. */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; border-radius: var(--radius); background: var(--c-text); color: var(--c-bg); font-weight: 600; text-decoration: none; transition: top 0.15s; }
.skip-link:focus { top: 1rem; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid color-mix(in srgb, var(--c-primary) 60%, transparent); outline-offset: 2px; }
main:focus { outline: none; }
/* A short page (a new page holding one or two products) keeps its footer at the bottom of the screen. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main { flex: 1 0 auto; }
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  line-height: var(--lh-tight);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0; text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-section) 0; scroll-margin-top: 4rem; }
.section-head { max-width: 40rem; margin-bottom: var(--space-head); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 1rem; color: var(--c-muted); font-size: var(--fs-md); }
.eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--c-primary);
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: var(--button-weight); text-transform: var(--button-transform);
  max-width: 100%; text-align: center; text-decoration: none; line-height: 1.2; cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease;
}
.btn-primary { background: var(--c-primary); color: var(--c-on-primary); }
.btn-primary:hover { filter: brightness(0.92); }
.btn-secondary { border-color: var(--c-border); color: var(--c-text); background: transparent; }
.btn-secondary:hover { background: var(--c-surface); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-primary) 50%, transparent); outline-offset: 2px; }

/* Header / footer */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--c-bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-border); }
.site-header .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.site-nav { flex: 1; min-width: 0; display: flex; justify-content: flex-end; }
.site-langs { display: flex; gap: 0.6rem; margin: 0; padding: 0; list-style: none; font-size: 0.85em; }
.site-langs a { color: inherit; text-decoration: none; opacity: 0.75; }
.site-langs a[aria-current] { opacity: 1; font-weight: 600; }
.nav-links { display: none; min-width: 0; margin: 0; padding: 0; list-style: none; gap: 1.25rem; }
.nav-links li { min-width: 0; }
.nav-links a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--c-muted); font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--c-primary); }
.nav-links a[aria-current] { color: var(--c-text); }
@media (min-width: 900px) {
  .site-nav:not(.many) .nav-links { display: flex; }
  .site-nav:not(.many) .nav-menu { display: none; }
}
.nav-menu summary { list-style: none; cursor: pointer; white-space: nowrap; padding: 0.45rem 0.8rem; border: 1px solid var(--c-border); border-radius: var(--radius); font-weight: 600; font-size: var(--fs-sm); }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu ul { position: absolute; top: 100%; right: var(--gutter); z-index: 20; min-width: 14rem; max-width: calc(100vw - 2 * var(--gutter)); margin: 0.5rem 0 0; padding: 0.4rem; list-style: none; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: 0 16px 40px -24px color-mix(in srgb, var(--c-text) 50%, transparent); }
.nav-menu ul a { display: block; padding: 0.6rem 0.75rem; border-radius: var(--radius); text-decoration: none; }
.nav-menu ul a:hover { background: var(--c-surface); }
.nav-menu ul a[aria-current] { color: var(--c-primary); font-weight: 600; }
.brand { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--fs-md); text-decoration: none; }
.site-header .btn { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: var(--fs-sm); }
/* The phone in the header: its number on a wide screen; on a phone, where the name, the menu and
   the number do not fit on one row, a round button with the icon, the number still its name. */
.header-call { flex-shrink: 0; white-space: nowrap; }
.header-call .icon { display: none; flex-shrink: 0; width: 1.15rem; height: 1.15rem; }
@media (max-width: 560px) {
  /* Above the styles' and finishes' padding on every button (body[data-style] .btn…). */
  body[data-site] .site-header .header-call { width: 2.5rem; padding: 0; border-radius: 999px; }
  .header-call .icon { display: block; }
  .header-call-number { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--c-border); color: var(--c-muted); font-size: var(--fs-sm); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: inherit; }
/* Keyboard use: a link to skip the menu, shown when it has the focus; a clear focus everywhere. */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; border-radius: var(--radius); background: var(--c-text); color: var(--c-bg); font-weight: 600; text-decoration: none; transition: top 0.15s; }
.skip-link:focus { top: 1rem; }
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid color-mix(in srgb, var(--c-primary) 60%, transparent); outline-offset: 2px; }
main:focus { outline: none; }

/* Hero */
.hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--display-tracking); }
.hero h1 + p { margin-top: 1.5rem; font-size: var(--fs-lead); color: var(--c-muted); max-width: 36rem; }
/* Display type is for a few words: a title that is a sentence is set smaller, and a little looser. */
.hero[data-title-length] h1 { font-size: calc(var(--fs-display) * 0.82); line-height: calc(var(--lh-display) + 0.06); }
.hero[data-title-length="longer"] h1 { font-size: calc(var(--fs-display) * 0.68); line-height: calc(var(--lh-display) + 0.1); }
.hero .actions { margin-top: 2rem; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
/* centered: a lot of air, the image below, wide */
.hero--centered { text-align: center; padding-top: calc(var(--space-section) * 1.3); }
.hero--centered h1, .hero--centered h1 + p { margin-left: auto; margin-right: auto; max-width: 52rem; }
.hero--centered h1 + p { max-width: 36rem; }
.hero--centered .actions, .hero--centered .chips { justify-content: center; }
.hero--centered .hero-media { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero--centered .hero-media img { aspect-ratio: 4 / 3; }
@media (min-width: 720px) { .hero--centered .hero-media img { aspect-ratio: 21 / 9; } }
/* split and local-business: an asymmetric grid, the text wider than the image */
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 5vw, 5.5rem); } }
.hero--split .hero-media img { aspect-ratio: 4 / 5; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.chips li { max-width: 100%; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--c-primary-soft); font-size: var(--fs-sm); font-weight: 500; }
.chips li::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--c-primary); }
.hero--local-business { background: var(--c-surface); }
/* local-business: the card of facts laid on the photo (below it on a phone) */
.hero-visual { position: relative; }
.hero-visual.has-photo > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.hero-visual.has-photo .contact-card { position: relative; margin: -4rem 1rem 0; }
@media (min-width: 900px) {
  .hero-visual.has-photo .contact-card { position: absolute; left: clamp(-4rem, -4vw, -2rem); right: auto; bottom: 2rem; width: min(22rem, 90%); margin: 0; }
}
.contact-card { padding: 2rem; border-radius: var(--radius-lg); background: var(--c-bg); border: 1px solid var(--c-border); box-shadow: 0 20px 50px -30px color-mix(in srgb, var(--c-text) 45%, transparent); }
.contact-card .label { color: var(--c-muted); font-size: var(--fs-sm); }
/* A phone number is read in one piece: it never breaks, and shrinks to the card instead. */
.contact-card { container-type: inline-size; }
.contact-card .phone { display: block; margin: 0.25rem 0 1.25rem; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: min(var(--fs-quote), 11cqw); white-space: nowrap; font-variant-numeric: tabular-nums; text-decoration: none; color: var(--c-primary); }
.contact-card .btn { width: 100%; }
.contact-card .area { margin-top: 1rem; color: var(--c-muted); font-size: var(--fs-sm); text-align: center; }
/* editorial: a very large title across the page, the text in the margin, a smaller image offset beside it */
.editorial-grid { display: grid; gap: 2rem; }
.hero--editorial h1 { font-size: calc(var(--fs-display) * 1.1); }

.hero--statement { padding-top: calc(var(--space-section) * 1.4); padding-bottom: calc(var(--space-section) * 1.2); }
.hero--statement h1 { max-width: none; font-size: calc(var(--fs-display) * 1.25); line-height: 0.98; letter-spacing: calc(var(--display-tracking) * 2); overflow-wrap: anywhere; }
@media (min-width: 900px) { .hero--statement h1 { font-size: calc(var(--fs-display) * 1.75); max-width: 18ch; } }
.hero--statement h1 + p { margin-top: 2rem; max-width: 40rem; }
/* The pill in every direction: the directions restyle .eyebrow, the statement keeps its shape. */
body[data-style] .hero--statement .statement-pill { display: inline-block; margin-bottom: 1.75rem; padding: 0.4rem 1rem; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 999px; }
body[data-style] .hero--statement .statement-pill::before { content: none; }
/* One line on a phone: premium's wide tracking would break the pill in two. */
@media (max-width: 719px) { body[data-style] .hero--statement .statement-pill { letter-spacing: 0.06em; } }

/* product: a drawn card of the trade beside the title. Filled in every direction (minimal and
   premium make .card transparent), the terminal inverted like the bands. */
body[data-style] .hero--product .product-card { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
.product-card-title { margin: 0 0 1.25rem; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--fs-h3); }
.product-card-lines { list-style: none; margin: 0; padding: 0; }
.product-card-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; font-size: var(--fs-md); overflow-wrap: anywhere; }
.product-card-value { flex-shrink: 0; font-weight: 600; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.product-card--fiche .product-card-lines li + li { border-top: 1px solid var(--c-border); }
/* the ticket: dotted rules, the last line its total */
.product-card--ticket .product-card-lines li + li { border-top: 1px dashed var(--c-border); }
.product-card--ticket .product-card-lines li:last-child { margin-top: 0.5rem; border-top: 2px solid var(--c-text); font-weight: 700; }
.product-card--terminal {
  --c-bg: var(--brand-text); --c-text: var(--brand-bg); --hue-red: var(--hue-red-dark); --hue-orange: var(--hue-orange-dark); --hue-gold: var(--hue-gold-dark); --hue-green: var(--hue-green-dark); --hue-teal: var(--hue-teal-dark); --hue-blue: var(--hue-blue-dark); --hue-violet: var(--hue-violet-dark); --hue-pink: var(--hue-pink-dark);
  --c-muted: color-mix(in srgb, var(--brand-bg) 72%, var(--brand-text));
  --c-border: color-mix(in srgb, var(--brand-bg) 18%, var(--brand-text));
  --c-surface: var(--brand-text);
  --c-primary: var(--dark-accent);
}
.product-card--terminal .product-card-lines li { display: block; padding: 0.3rem 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: var(--fs-sm); color: var(--c-muted); }
.product-card--terminal .product-card-lines li:first-child { color: var(--c-text); }
.product-card--terminal .product-card-lines li:first-child::before { content: "$ "; color: var(--c-primary); }
.product-card--terminal .product-card-title { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: var(--fs-sm); color: var(--c-muted); }

/* device: the image in a frame drawn by CSS, a browser window or a phone. The frame is the
   picture's own edge, so the image finishes (arch, organic…) are not applied inside it. */
.device-frame { position: relative; margin: 0 auto; width: 100%; background: var(--c-surface); border: 1px solid var(--c-border); box-shadow: 0 1.5rem 3rem -1.5rem color-mix(in srgb, var(--c-text) 35%, transparent); }
.device-frame img, .device-frame .device-screen { display: block; width: 100%; object-fit: cover; object-position: top; }
.device-frame--screen { padding-top: 2.25rem; border-radius: var(--radius-lg); overflow: hidden; }
/* three dots on the window's bar, from the theme's own border colour */
.device-frame--screen::before { content: ""; position: absolute; top: 0.85rem; left: 1rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--c-border); box-shadow: 1rem 0 0 var(--c-border), 2rem 0 0 var(--c-border); }
.device-frame--screen img, .device-frame--screen .device-screen { aspect-ratio: 16 / 10; }
.device-frame--phone { max-width: 18rem; padding: 0.75rem; border: 0; border-radius: 2.75rem; background: var(--brand-text); }
.device-frame--phone::before { content: ""; position: absolute; z-index: 1; top: 1.25rem; left: 50%; width: 4.5rem; height: 1.1rem; border-radius: 1rem; background: var(--brand-text); transform: translateX(-50%); }
.device-frame--phone img, .device-frame--phone .device-screen { aspect-ratio: 9 / 19; border-radius: 2.1rem; }
.device-frame .device-screen { min-height: 12rem; }

/* gradient: glows of the theme's own colours behind a centered title. Light enough for the text
   to keep its contrast; it drifts only with the theme's motion (motion.ts). */
.hero--gradient { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-block: calc(var(--space-section) * 1.5); }
.hero--gradient h1, .hero--gradient h1 + p { margin-left: auto; margin-right: auto; max-width: 52rem; }
.hero--gradient h1 + p { max-width: 36rem; }
.hero--gradient .actions, .hero--gradient .chips { justify-content: center; }
.gradient-glow { position: absolute; inset: -25%; z-index: -1; pointer-events: none; filter: blur(48px);
  background:
    radial-gradient(38% 42% at 22% 32%, color-mix(in srgb, var(--c-primary) 30%, transparent), transparent 70%),
    radial-gradient(34% 40% at 78% 26%, color-mix(in srgb, var(--brand-secondary) 26%, transparent), transparent 70%),
    radial-gradient(42% 46% at 58% 86%, color-mix(in srgb, var(--c-primary) 20%, transparent), transparent 70%); }
@keyframes yolo-glow-drift { to { transform: translate3d(5%, -4%, 0) rotate(10deg) scale(1.08); } }
.editorial-aside p { font-size: var(--fs-lead); color: var(--c-muted); max-width: 32rem; }
.editorial-aside .actions { margin-top: 2rem; }
.editorial-notes { list-style: none; counter-reset: note; max-width: 32rem; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--c-border); }
.editorial-notes li { counter-increment: note; display: flex; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--c-border); font-weight: 500; }
.editorial-notes li::before { content: counter(note, decimal-leading-zero); color: var(--c-primary); font-family: var(--font-heading); font-variant-numeric: tabular-nums; }
.editorial-media img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .editorial-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .editorial-head { grid-column: 1 / -1; }
  .editorial-aside { grid-column: 1 / 6; }
  .editorial-media { grid-column: 8 / 13; margin-top: clamp(2rem, 6vw, 6rem); }
  .hero--editorial:not(.has-media) .editorial-aside { grid-column: 1 / 8; }
}

/* Services */
.cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.card { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.75rem; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
.card p { color: var(--c-muted); }
.card .price { margin-top: auto; padding-top: 0.75rem; font-weight: 600; color: var(--c-primary); }
/* featured: one card set apart on the dark band colours, slightly taller on wide screens */
@media (min-width: 900px) {
  .services-featured[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
  .services-featured[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; }
  .services-featured .card--featured { padding-block: calc(1.75rem + var(--gap)); }
}
.card--featured {
  --c-bg: var(--brand-text); --c-text: var(--brand-bg); --hue-red: var(--hue-red-dark); --hue-orange: var(--hue-orange-dark); --hue-gold: var(--hue-gold-dark); --hue-green: var(--hue-green-dark); --hue-teal: var(--hue-teal-dark); --hue-blue: var(--hue-blue-dark); --hue-violet: var(--hue-violet-dark); --hue-pink: var(--hue-pink-dark);
  --c-muted: color-mix(in srgb, var(--brand-bg) 78%, var(--brand-text));
  --c-border: color-mix(in srgb, var(--brand-bg) 22%, var(--brand-text));
  --c-primary: var(--dark-accent); --c-on-primary: var(--dark-on-accent);
  background: var(--c-bg); color: var(--c-text); border-color: var(--c-bg);
}
/* Every direction keeps it a filled block, even those whose cards are transparent (minimal, premium). */
body[data-style] .services-featured .card--featured { background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-bg); border-radius: var(--radius-lg); padding-inline: 1.75rem; }
/* bento: a mosaic, the main service large on the dark band colours with the section's button; the
   renderer sizes the other tiles so that every row closes, on four columns as on two */
.services-bento .card--featured { justify-content: flex-end; }
.services-bento .card--featured p { font-size: var(--fs-lead); max-width: 30rem; }
.services-bento .card--featured .price { margin-top: 0; }
.services-bento .card--featured .actions { padding-top: 0.75rem; }
@media (min-width: 720px) {
  .services-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
  .services-bento :is(.bento-main, .bento-solo, .bento-wide, .bento-tall) { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .services-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(9.5rem, auto); }
  .services-bento .bento-main { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .services-bento .bento-tall { grid-row: span 2; }
  .services-bento .bento-solo { grid-column: 1 / -1; }
}
/* Every direction keeps the main tile a filled block, and a tile a tile: without a frame (minimal, premium) the mosaic is lost. */
body[data-style] .services-bento .card--featured { background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-bg); border-radius: var(--radius-lg); padding: 1.75rem; }
body[data-style] .services-bento .card--featured h3 { font-size: var(--fs-h2); line-height: 1.15; }
body:is([data-style="minimal"], [data-style="premium"]):not([data-cards]) .services-bento .card:not(.card--featured) { border: 1px solid var(--c-border); padding: 1.75rem; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-border); }
.service-list li { display: grid; gap: 0.35rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--c-border); }
/* Fixed tracks: every row is its own grid, so columns only align if no track is content-sized. */
@media (min-width: 720px) {
  .service-list li { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 10rem); align-items: baseline; }
  .service-list .price { text-align: right; }
}
.service-list p { color: var(--c-muted); }
.service-list .price { font-weight: 600; color: var(--c-primary); }
.services .section-foot { margin-top: 2.5rem; }

/* CTA */
.cta--banner .cta-box { display: grid; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: var(--c-secondary); color: var(--c-on-secondary); }
@media (min-width: 800px) { .cta--banner .cta-box { grid-template-columns: 1fr auto; } }
.cta--banner p { margin-top: 0.75rem; opacity: 0.85; font-size: var(--fs-md); }
.cta--banner .cta-box .btn-primary { background: var(--band-btn-bg); color: var(--band-btn-fg); }
.cta--banner .btn-secondary { color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.cta--banner .btn-secondary:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.cta--simple { text-align: center; }
.cta--simple h2 { max-width: 40rem; margin: 0 auto; }
.cta--simple p { margin: 1rem auto 0; max-width: 36rem; color: var(--c-muted); font-size: var(--fs-md); }
.cta--simple .actions { justify-content: center; margin-top: 2rem; }

/* Shared layouts */
.two-col { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.2fr; } }
.split { display: grid; gap: 2.5rem 4rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.prose { max-width: 44rem; }
.prose h2 { margin-bottom: 1.25rem; }
.prose p { font-size: var(--fs-md); max-width: var(--measure); }
.prose p + p { margin-top: 1rem; }
.prose .paragraphs { font-size: var(--fs-md); max-width: var(--measure); white-space: pre-line; }
.icon-badge { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--radius); background: var(--c-primary-soft); color: var(--c-primary); }
.icon-badge.small { width: 2.5rem; height: 2.5rem; }
.icon-badge.small .icon { width: 20px; height: 20px; }

/* Benefits */
.benefit-grid { --cols: 3; display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr; }
.benefit-grid[data-count="2"], .benefit-grid[data-count="4"] { --cols: 2; }
@media (min-width: 560px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .benefit-grid { grid-template-columns: repeat(var(--cols), 1fr); }
  .benefit-grid[data-count="4"] { --cols: 4; }
  .benefit-grid[data-count="2"] { max-width: 48rem; margin: 0 auto; }
}
.benefit { text-align: center; }
.benefit .icon-badge { margin-bottom: 1rem; }
.benefit p { margin-top: 0.5rem; color: var(--c-muted); }
.benefit-list { list-style: none; margin: 0; padding: 0; }
.benefit-list li { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--c-border); }
.benefit-list li:first-child { padding-top: 0; }
.benefit-list p { margin-top: 0.25rem; color: var(--c-muted); }

/* About */
.about--text .prose { margin: 0 auto; }

/* Testimonials */
figure { margin: 0; }
blockquote { margin: 0; }
.stars { color: #e8a317; letter-spacing: 0.1em; font-size: var(--fs-body); }
.stars-off { color: var(--c-border); }
.testimonial blockquote { flex-grow: 1; }
/* Testimonials, wall: columns of cards at their own heights; one column under 720 px. */
.testimonials-wall { columns: 3 18rem; column-gap: var(--gap); }
.testimonials-wall .testimonial { display: block; margin: 0 0 var(--gap); break-inside: avoid; }
.testimonial figcaption, .quote-hero figcaption, .quote-row figcaption { display: flex; flex-direction: column; margin-top: 0.75rem; }
figcaption span { color: var(--c-muted); font-size: var(--fs-sm); }
.testimonials--highlight { background: var(--c-surface); }
.quote-hero blockquote { margin-top: 1rem; max-width: 52rem; font-family: var(--font-heading); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking); font-size: var(--fs-quote); line-height: 1.25; text-wrap: balance; }
.quote-hero figcaption { margin-top: 1.5rem; }
.quote-row { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--c-border); }
.quote-row blockquote { color: var(--c-muted); }

/* Gallery */
/* Gallery filters (GalleryFilters): a link per tag to an empty target; the targeted one hides the
   other tags' photos. Fixed rules for the eight filters a gallery may have, for every site. */
.gallery-target { display: block; scroll-margin-top: 6rem; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.gallery-filters a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1.1rem; border: 1px solid var(--c-border); border-radius: 999px; color: var(--c-text); font-weight: 600; text-decoration: none; }
.gallery-filters a:hover { border-color: var(--c-primary); }
.section.gallery:not(:has(.gallery-target:target)) .gallery-filters .f0 { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }
.gallery-target.f1:target ~ :is(.gallery-grid, .gallery-carousel, .gallery-masonry) > :not([data-f="1"]) { display: none; }
.gallery-target.f1:target ~ .gallery-filters .f1 { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }
.gallery-target.f2:target ~ :is(.gallery-grid, .gallery-carousel, .gallery-masonry) > :not([data-f="2"]) { display: none; }
.gallery-target.f2:target ~ .gallery-filters .f2 { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }
.gallery-target.f3:target ~ :is(.gallery-grid, .gallery-carousel, .gallery-masonry) > :not([data-f="3"]) { display: none; }
.gallery-target.f3:target ~ .gallery-filters .f3 { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }
.gallery-target.f4:target ~ :is(.gallery-grid, .gallery-carousel, .gallery-masonry) > :not([data-f="4"]) { display: none; }
.gallery-target.f4:target ~ .gallery-filters .f4 { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }
.gallery-target.f5:target ~ :is(.gallery-grid, .gallery-carousel, .gallery-masonry) > :not([data-f="5"]) { display: none; }
.gallery-target.f5:target ~ .gallery-filters .f5 { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }
.gallery-target.f6:target ~ :is(.gallery-grid, .gallery-carousel, .gallery-masonry) > :not([data-f="6"]) { display: none; }
.gallery-target.f6:target ~ .gallery-filters .f6 { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }
.gallery-target.f7:target ~ :is(.gallery-grid, .gallery-carousel, .gallery-masonry) > :not([data-f="7"]) { display: none; }
.gallery-target.f7:target ~ .gallery-filters .f7 { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }
.gallery-target.f8:target ~ :is(.gallery-grid, .gallery-carousel, .gallery-masonry) > :not([data-f="8"]) { display: none; }
.gallery-target.f8:target ~ .gallery-filters .f8 { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }

/* A published photo is a link to itself (GalleryPhoto): the link takes the photo's cell. */
.zoom { display: block; min-width: 0; border-radius: var(--radius); }
.zoom img { display: block; }
:is(.gallery-mosaic, .gallery-editorial) > .zoom { height: 100%; }
.gallery-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
/* Few photos fill the row instead of leaving one alone under four: three or six in threes, five as two then three. */
@media (min-width: 720px) {
  .gallery-grid:has(> :nth-child(3):last-child), .gallery-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-grid:has(> :nth-child(2):last-child), .gallery-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery-grid:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .gallery-grid:has(> :nth-child(5):last-child) > :nth-child(-n + 2) { grid-column: span 3; }
  .gallery-grid:has(> :nth-child(5):last-child) > :nth-child(-n + 2) img { aspect-ratio: 3 / 2; }
}
.gallery-mosaic { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 10rem; }
.gallery-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery-mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 720px) {
  .gallery-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 12rem; }
  .gallery-mosaic[data-count="1"] > :first-child { grid-column: span 4; }
  .gallery-mosaic[data-count="2"] > * { grid-column: span 2; grid-row: span 2; }
  .gallery-mosaic[data-count="3"] > :not(:first-child) { grid-column: span 2; }
  .gallery-mosaic[data-count="4"] > :nth-child(2) { grid-column: span 2; }
}

/* Gallery, masonry: columns of photos whose heights alternate by rank (not by file: nothing moves
   when the photos load), their caption over them on hover or focus, always where nothing hovers. */
.gallery-masonry { columns: 3; column-gap: 0.75rem; }
@media (max-width: 719px) { .gallery-masonry { columns: 2; } }
@media (max-width: 479px) { .gallery-masonry { columns: 1; } }
.gallery-masonry > * { position: relative; display: block; margin: 0 0 0.75rem; break-inside: avoid; }
.gallery-masonry img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.gallery-masonry > :nth-child(6n + 2) img { aspect-ratio: 1; }
.gallery-masonry > :nth-child(6n + 3) img { aspect-ratio: 3 / 4; }
.gallery-masonry > :nth-child(6n + 4) img { aspect-ratio: 4 / 3; }
.gallery-masonry > :nth-child(6n + 5) img { aspect-ratio: 2 / 3; }
.gallery-masonry > :nth-child(6n + 6) img { aspect-ratio: 5 / 4; }
.photo-caption { position: absolute; inset: auto 0 0; padding: 2rem 0.9rem 0.75rem; background: linear-gradient(transparent, color-mix(in srgb, var(--brand-text) 78%, transparent)); color: var(--brand-bg); font-size: var(--fs-sm); line-height: 1.35; border-radius: 0 0 var(--radius) var(--radius); opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.gallery-masonry > :is(:hover, :focus-visible) .photo-caption { opacity: 1; }
@media (hover: none) { .photo-caption { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .photo-caption { transition: none; } }

/* Gallery, editorial: rows of alternating widths on a 12-column grid, by sevens (7/5, 4/4/4, 5/7) */
.gallery-editorial { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 38vw, 14rem); }
.gallery-editorial img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery-editorial > :nth-child(3n + 1) { grid-column: span 2; }
@media (max-width: 719px) { .gallery-editorial > :last-child:nth-child(3n + 2) { grid-column: span 2; } }
@media (min-width: 720px) {
  .gallery-editorial { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(12rem, 22vw, 20rem); }
  .gallery-editorial > :nth-child(3n + 1) { grid-column: auto; }
  .gallery-editorial > :nth-child(7n + 1), .gallery-editorial > :nth-child(7n + 7) { grid-column: span 7; }
  .gallery-editorial > :nth-child(7n + 2), .gallery-editorial > :nth-child(7n + 6) { grid-column: span 5; }
  .gallery-editorial > :nth-child(7n + 3), .gallery-editorial > :nth-child(7n + 4), .gallery-editorial > :nth-child(7n + 5) { grid-column: span 4; }
  /* A lone photo at the end of a row fills it. */
  .gallery-editorial > :last-child:nth-child(7n + 1), .gallery-editorial > :last-child:nth-child(7n + 6) { grid-column: span 12; }
  .gallery-editorial > :last-child:nth-child(7n + 3) { grid-column: span 12; }
  .gallery-editorial > :last-child:nth-child(7n + 4) { grid-column: span 8; }
}

/* Contact */
.contact-simple { display: grid; gap: 2rem; max-width: 56rem; margin: 0 auto; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-items: start; }
.contact-simple .hours { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
.contact-forms { margin-top: 1.75rem; }
.contact-simple + .contact-forms { justify-content: center; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; min-width: 0; }
.contact-list li > div { min-width: 0; }
.contact-list .label { display: block; color: var(--c-muted); font-size: var(--fs-sm); }
.contact-list a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-list address { font-style: normal; overflow-wrap: anywhere; }
.hours h3 { margin-bottom: 0.75rem; }
.hours dl { margin: 0; }
.hours dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--c-border); }
.hours dd { margin: 0; font-weight: 600; white-space: nowrap; }
.hours .hours-note { margin-top: 1rem; color: var(--c-primary); font-weight: 600; }

/* Events */
.date-badge { display: inline-flex; flex: none; flex-direction: column; align-items: center; justify-content: center; width: 4.25rem; height: 4.25rem; border-radius: var(--radius); background: var(--c-primary); color: var(--c-on-primary); line-height: 1; }
.date-badge .day { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--fs-xl); }
.date-badge .month { margin-top: 0.2rem; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.meta { color: var(--c-muted); font-size: var(--fs-sm); }
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-border); }
.event { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem 1.5rem; align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--c-border); }
.event-body { display: grid; gap: 0.35rem; min-width: 0; }
.event-action { grid-column: 2; }
@media (min-width: 760px) {
  .event { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .event-action { grid-column: auto; }
}
.event-card .date-badge { margin-bottom: 0.5rem; }

/* Content: free text in five layouts (content--<variant>). */
.content-grid { display: grid; gap: 2rem 4rem; align-items: center; }
.content-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.content-body { min-width: 0; }
.content-body :is(p, .paragraphs) { max-width: var(--measure); }
.content-body .actions { margin-top: 1.5rem; }
.content--text .content-body { margin-inline: auto; }
.content--image-top .content-media img { aspect-ratio: 21 / 9; }
.content--image-top .content-body { max-width: 48rem; }
@media (min-width: 900px) {
  .content--image-left.has-media .content-grid, .content--image-right.has-media .content-grid { grid-template-columns: 1fr 1fr; }
  .content--image-right .content-media { order: 2; }
}
.content--banner.has-media .content-grid { position: relative; isolation: isolate; min-height: clamp(20rem, 45vw, 30rem); align-items: end; overflow: hidden; border-radius: var(--radius-lg); }
.content--banner.has-media .content-media { position: absolute; inset: 0; z-index: -1; }
.content--banner.has-media .content-media img { height: 100%; aspect-ratio: auto; border-radius: 0; }
.content--banner.has-media .content-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.15)); }
.content--banner.has-media .content-body { padding: clamp(1.5rem, 4vw, 3rem); color: #fff; }
.content--banner.has-media .content-body :is(h2, p, .paragraphs) { color: #fff; }

/* Phones: a bar fixed at the bottom to call or get directions. */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 50; display: flex; gap: 0.5rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: var(--c-bg); border-top: 1px solid var(--c-border); box-shadow: 0 -6px 20px rgb(0 0 0 / 0.08); }
  .mobile-bar .btn { flex: 1; justify-content: center; }
  body:has(.mobile-bar) { padding-bottom: 4.5rem; }
}

/* Badges: logos with their names, in a row or scrolling past (marquee). */
.badges-track { overflow: hidden; }
.badges-move { display: flex; width: max-content; max-width: 100%; }
.badges-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; margin: 0; padding: 0; list-style: none; }
.badge, .badge a { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--c-muted); font-size: var(--fs-sm); text-decoration: none; text-align: center; }
.badge img { height: 3.5rem; width: auto; max-width: 9rem; object-fit: contain; }
.badges--marquee .badges-move { max-width: none; }
.badges--marquee .badges-list { flex-wrap: nowrap; padding-right: 2.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .badges--marquee .badges-move { animation: yolo-marquee 30s linear infinite; }
  .badges--marquee .badges-track:hover .badges-move { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .badges--marquee .badges-list { flex-wrap: wrap; }
  .badges--marquee .badges-list[aria-hidden] { display: none; }
}
@keyframes yolo-marquee { to { transform: translateX(-50%); } }

/* Strips that scroll past by themselves (notice ticker, testimonials marquee; the badges share the
   edges and the pause): the content twice in a row, moved by half its width, at a constant pace
   whatever its length (--n items), paused under the pointer or the keyboard, its edges fading.
   They move in the editor too, and stop while the pointer is over the section or a text in it is
   being edited; the editor's « ▶ Animations » plays everything again. Still under reduced motion,
   scrollable by hand. */
.marquee-track { overflow: hidden; }
.marquee-move { display: flex; width: max-content; }
:is(.marquee-track, .badges--marquee .badges-track) {
  --marquee-fade: clamp(1.5rem, 6vw, 5rem);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--marquee-fade), #000 calc(100% - var(--marquee-fade)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--marquee-fade), #000 calc(100% - var(--marquee-fade)), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .section .marquee-move { animation: yolo-marquee calc(var(--n, 6) * var(--marquee-step, 5s)) linear infinite; }
  :is(.marquee-track, .badges--marquee .badges-track):is(:hover, :focus-within) :is(.marquee-move, .badges-move) { animation-play-state: paused; }
  .section[data-section-id]:is(:hover, :has([contenteditable])) :is(.marquee-move, .badges-move) { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { overflow-x: auto; }
  :is(.marquee-track, .badges--marquee .badges-track) { -webkit-mask-image: none; mask-image: none; }
  .marquee-move > [aria-hidden] { display: none; }
}

/* Notice ticker: short messages in a band, one sign between them. */
/* A strip stays a strip, whatever the section's spacing (appearance.spacing is for content). */
main > .section.notice.notice--ticker { padding-block: 0.8rem; }
.section.notice--ticker:not([data-bg]) { background: var(--c-primary); color: var(--c-on-primary); --c-text: var(--c-on-primary); --hue-red: var(--hue-red-primary); --hue-orange: var(--hue-orange-primary); --hue-gold: var(--hue-gold-primary); --hue-green: var(--hue-green-primary); --hue-teal: var(--hue-teal-primary); --hue-blue: var(--hue-blue-primary); --hue-violet: var(--hue-violet-primary); --hue-pink: var(--hue-pink-primary); }
.notice--ticker .notice-box { display: block; }
.ticker-list { display: flex; margin: 0; padding: 0; list-style: none; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--fs-md); white-space: nowrap; }
.ticker-list li { display: flex; align-items: center; }
.ticker-list li::after { content: "✦"; margin-inline: 1.5rem; opacity: 0.7; font-size: var(--fs-xs); }
.notice--ticker { --marquee-step: 3s; }

/* Testimonials marquee: cards of one width in a row across the page. */
.testimonials--marquee { --marquee-step: 7s; }
.marquee-row { display: flex; gap: var(--gap); padding-right: var(--gap); padding-block: 0.5rem; }
.marquee-row .testimonial { flex: none; width: min(22rem, 78vw); margin: 0; }

/* Columns: two or three cells of their own kinds. */
.columns-grid { display: grid; gap: var(--gap); align-items: stretch; }
@media (min-width: 720px) {
  .columns--two .columns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .columns--three .columns-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.column { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.column h3 { margin: 0; }
.column p { margin: 0; }
.column .actions { margin-top: auto; padding-top: 0.5rem; }
.column--figure { justify-content: center; text-align: center; }
.column--image figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 0.5rem; }
.column--image img { width: 100%; flex: 1; min-height: 12rem; object-fit: cover; border-radius: var(--radius-lg); }
.column--image figcaption { color: var(--c-muted); font-size: var(--fs-sm); }
[data-day][hidden], .section[hidden] { display: none; }
/* Announcement: a strip under the menu, or a framed message in the flow. */
.notice-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.notice-text { display: grid; gap: 0.25rem; min-width: 0; flex: 1 1 18rem; }
.notice-text p { margin: 0; }
.notice-period { color: var(--c-muted); font-size: var(--fs-sm); }
.section.notice--bar { padding-block: 0.85rem; }
.section.notice--bar:not([data-bg]) { background: var(--c-primary-soft); }
.section.notice--bar.notice--warning:not([data-bg]) { background: color-mix(in srgb, #f59e0b 18%, var(--c-bg)); }
.notice--card .notice-box { padding: 1.25rem 1.5rem; border: 1px solid var(--c-border); border-left: 4px solid var(--c-primary); border-radius: var(--radius, 0.5rem); background: var(--c-surface); }
.notice--card.notice--warning .notice-box { border-left-color: #f59e0b; }
.events-empty { color: var(--c-muted); }
.card-foot { margin-top: auto; padding-top: 0.75rem; }

/* News */
.news-list { display: grid; gap: 2.5rem; }
.news-item { display: grid; gap: 1.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--c-border); }
.news-item:last-child { padding-bottom: 0; border-bottom: 0; }
.news-text { display: grid; gap: 0.5rem; max-width: 44rem; min-width: 0; }
@media (min-width: 860px) { .news-item.has-image { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.news-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.news-body { max-width: var(--measure); white-space: pre-line; }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 0.5rem; }

/* Team */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); }
.team-grid .person { text-align: center; display: grid; justify-items: center; gap: 0.3rem; align-content: start; }
.team-grid .avatar { margin-bottom: 0.5rem; }
.avatar { width: 6.5rem; height: 6.5rem; flex: none; border-radius: 50%; overflow: hidden; background: var(--c-primary-soft); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.initials { display: flex; align-items: center; justify-content: center; color: var(--c-primary); font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--fs-xl); }
.person .role { color: var(--c-primary); font-weight: 600; font-size: var(--fs-sm); }
.person p:not(.role) { color: var(--c-muted); font-size: var(--fs-sm); }
.team-list { list-style: none; margin: 0; padding: 0; }
.team-list .person { display: flex; gap: 1.25rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--c-border); }
.team-list .person > div { min-width: 0; }
.team-list .avatar { width: 4rem; height: 4rem; }
.team-list .avatar.initials { font-size: var(--fs-md); }

/* Links */
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-border); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--c-border); text-decoration: none; }
.link-list a > span:first-child { display: grid; gap: 0.2rem; min-width: 0; }
.link-list .description { color: var(--c-muted); font-size: var(--fs-sm); }
.link-list a:hover strong { color: var(--c-primary); }
.arrow { flex: none; color: var(--c-primary); font-weight: 700; transition: transform 0.15s ease; }
a:hover > .arrow { transform: translateX(3px); }
.link-card { text-decoration: none; }
.link-card .arrow { margin-top: auto; padding-top: 0.5rem; }
.link-card:hover { border-color: var(--c-primary); }

/* Logo in the header: a fixed height, whatever the file */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { display: block; height: 2.5rem; width: auto; max-width: min(12rem, 45vw); object-fit: contain; }

/* Editor preview only (the renderer emits these in preview mode): where an image can be added */
.add-image { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 10rem; border: 2px dashed var(--c-border); border-radius: var(--radius-lg); color: var(--c-muted); font: 600 0.95rem/1.2 system-ui, sans-serif; cursor: pointer; text-align: center; }
.add-image:hover { border-color: var(--c-primary); color: var(--c-primary); }
.add-image-row { min-height: 3rem; margin-top: 1rem; }
.hero--centered .add-image.hero-media { margin-top: 3rem; min-height: 12rem; }
.avatar[data-add-image] { cursor: pointer; }

/* Text marks: an accent word in a title, links in texts (underlined in the primary colour, the text keeping its own colour for contrast) */
.accent { color: var(--text-accent, var(--c-primary)); }
.rich-link { color: inherit; text-decoration: underline; text-decoration-color: var(--c-primary); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.rich-link:hover { color: var(--c-primary); }

/* Image framing (image.position): which part of a cropped photo stays visible */
img.pos-top { object-position: 50% 0; }
img.pos-bottom { object-position: 50% 100%; }
img.pos-left { object-position: 0 50%; }
img.pos-right { object-position: 100% 50%; }

/* Questions fréquentes: a list, or <details> opened by the visitor */
.faq-list { display: grid; gap: 0.75rem; max-width: 48rem; margin: 0 auto; }
.faq-item { padding: 1rem 1.25rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); }
.faq-item dt, .faq-item summary { font-weight: 700; }
.faq-item dd { margin: 0.5rem 0 0; }
.faq-item summary { cursor: pointer; }
.faq-item .faq-answer { margin-top: 0.75rem; }

/* Banner over its image (hero fullbleed): a veil keeps the text readable on any photo. */
main > .section.hero.has-cover { padding: clamp(0.5rem, 1.2vw, 1.25rem) clamp(0.5rem, 1.2vw, 1.25rem) 0; }
.hero-cover {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end;
  min-height: min(86vh, 52rem); padding: clamp(6rem, 16vw, 10rem) 0 clamp(3rem, 7vw, 5.5rem); border-radius: var(--radius-lg);
  --c-text: #fff; --c-muted: rgba(255, 255, 255, 0.86); --c-border: rgba(255, 255, 255, 0.45); --hue-red: var(--hue-red-dark); --hue-orange: var(--hue-orange-dark); --hue-gold: var(--hue-gold-dark); --hue-green: var(--hue-green-dark); --hue-teal: var(--hue-teal-dark); --hue-blue: var(--hue-blue-dark); --hue-violet: var(--hue-violet-dark); --hue-pink: var(--hue-pink-dark);
  color: var(--c-text);
}
.hero-cover > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.32) 55%, rgba(0, 0, 0, 0.12)); }
.hero-cover h1 { max-width: 48rem; }
.hero-cover h1 + p { max-width: 32rem; }
.hero-cover .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
/* The eyebrow over a photo is the banner's light text: an accent colour on a picture is not read. */
body:not([data-style="friendly"]):not([data-style="bold"]) .hero-cover .eyebrow { color: var(--c-muted); }
body[data-style="friendly"] .hero-cover .eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hero-cover .chips li { background: rgba(255, 255, 255, 0.16); }

/* Services as numbered steps */
.service-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap) calc(var(--gap) * 1.5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.service-steps li { display: grid; gap: 0.4rem; align-content: start; }
/* Four steps, or a count that would leave one alone on the last row: two by two, or four across. */
@media (min-width: 640px) { .service-steps:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .service-steps:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); } }
.service-steps .step-number { font-family: var(--font-heading); font-size: var(--fs-figure); font-weight: 700; line-height: 1; color: var(--c-primary); opacity: 0.85; }
.service-steps p { margin: 0; color: var(--c-muted); }
.service-steps .price { font-weight: 600; color: var(--c-primary); }

/* Services as a timeline: a line with a marker per step; down the left edge on a phone, across on wide screens */
.service-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.service-timeline li { position: relative; display: grid; gap: 0.4rem; align-content: start; padding: 0 0 var(--gap) 1.75rem; border-left: 2px solid var(--c-border); }
.service-timeline li::before { content: ""; position: absolute; left: -7px; top: 0.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 18%, transparent); }
.service-timeline li:last-child { padding-bottom: 0; }
.service-timeline .timeline-number { font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: var(--heading-weight); line-height: 1; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.service-timeline p { margin: 0; color: var(--c-muted); }
.service-timeline .price { font-weight: 600; color: var(--c-primary); }
@media (min-width: 900px) {
  .service-timeline { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); column-gap: var(--gap); }
  .service-timeline[data-count="2"] { --steps: 2; }
  .service-timeline[data-count="3"] { --steps: 3; }
  .service-timeline li { padding: 1.75rem 0 0; border-left: 0; border-top: 2px solid var(--c-border); }
  .service-timeline li::before { left: 0; top: -7px; }
}

/* Carousels: one row scrolled sideways, snapped to each item, no script; the page never scrolls. */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(85%, 22rem); gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 0.25rem 0.25rem 1rem; scrollbar-width: thin; }
.carousel > * { scroll-snap-align: start; }
.carousel:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-primary) 50%, transparent); outline-offset: 2px; }
.gallery-carousel { grid-auto-columns: min(82%, 28rem); }
.gallery-carousel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* About: the text on a card overlapping the image, on wide screens */
.overlap { display: grid; gap: 1.5rem; }
.overlap-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.overlap-text { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--c-bg); border-radius: var(--radius-lg); box-shadow: 0 24px 60px -36px color-mix(in srgb, var(--c-text) 55%, transparent); }
@media (min-width: 900px) {
  .overlap { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .overlap-media { grid-column: 1 / 9; grid-row: 1; }
  .overlap-text { grid-column: 7 / 13; grid-row: 1; z-index: 1; }
}

/* Key figures: a row or cards; the value counts up as it appears (motion script) */
.stats-list { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); text-align: center; }
.stat-figure { margin: 0; font-family: var(--font-heading); font-size: var(--fs-figure); font-weight: 700; line-height: 1.1; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.stat-label { margin: 0.4rem 0 0; color: var(--c-muted); }
.stats-cards .stat { padding: 1.75rem 1.25rem; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
/* band: the head on the left, the figures beside it, large, left-aligned, set apart by rules */
.stats--band { border-block: 1px solid var(--c-border); }
.stats-band { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .stats-band.has-head { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 4vw, 4rem); } }
.stats-band .section-head { margin-bottom: 0; }
.stats-band-list { gap: 0; text-align: left; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.stats-band-list .stat { padding: 0.75rem 1rem; border-left: 1px solid var(--c-border); }
/* A figure never breaks: « 1 200 » on one line or not at all. */
.stats-band-list .stat-figure { line-height: 1; white-space: nowrap; }

/* Plan d'accès: the address, the way there, the map once located */
.map-frame { display: block; width: 100%; min-height: 20rem; border: 0; border-radius: var(--radius-lg); background: var(--c-surface); }
.map-frame-preview { display: grid; place-content: center; justify-items: center; gap: 0.75rem; padding: 1.5rem; border: 1px dashed var(--c-border); color: var(--c-muted); font-size: var(--fs-sm); text-align: center; }
.map-frame-preview p { margin: 0; }
.map-split { align-items: stretch; }
.map-address { display: flex; gap: 0.75rem; align-items: center; margin: 0 0 1.25rem; font-weight: 600; }
.map-directions .actions { margin-bottom: 1.5rem; }
.map-wide-foot { display: grid; gap: 1.5rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }

/* Lists (business modules): a menu, or cards, by group */
.list-group + .list-group { margin-top: 2.5rem; }
.list-group h3 { margin: 0 0 1rem; }
.list-menu { max-width: 48rem; margin: 0 auto; }
.list-menu ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-border); }
.list-menu li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--c-border); }
.list-menu .list-name { font-weight: 600; }
.list-menu .price { font-weight: 600; color: var(--c-primary); }
.list-menu p { grid-column: 1 / -1; margin: 0; color: var(--c-muted); }
.list-empty { color: var(--c-muted); font-style: italic; }

/* Forms (business modules): plain POST, confirmation shown by the #…-merci fragment */
.form-card { max-width: 40rem; margin: 0 auto; padding: 2rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); }
.form-split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 860px) { .form-split { grid-template-columns: 1fr 1fr; } }
.site-form { display: grid; gap: 1rem; }
.form-field { display: grid; gap: 0.35rem; font-weight: 600; }
.form-field input, .form-field textarea { font: inherit; font-weight: 400; width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-bg); color: var(--c-text); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--c-primary); outline-offset: 1px; }
.site-form .btn { justify-self: start; cursor: pointer; }
.site-form .btn:disabled { opacity: 0.55; cursor: not-allowed; }
/* A choice field: its answers as pills, the native input kept for the keyboard and the form */
.form-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-choice legend { padding: 0; margin-bottom: 0.6rem; font-weight: 600; }
.form-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.form-pill { position: relative; display: inline-flex; }
.form-pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.form-pill span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.55rem 1.1rem; border: 1px solid var(--c-border); border-radius: 999px; background: var(--c-bg); font-weight: 500; }
.form-pill:hover span { border-color: var(--c-primary); }
.form-pill input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.form-pill input:focus-visible + span { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.form-pill input:disabled + span { opacity: 0.55; }

/* Form, questions: the text beside a card of numbered questions, then the visitor's details */
.form-questions { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .form-questions { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; } }
.form-questions__text h2 { margin: 0.4rem 0 0; }
.form-questions__text p { color: var(--c-muted); }
.form-questions__card { padding: 2rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
@media (max-width: 719px) { .form-questions__card { padding: 1.25rem; } }
.form-steps { display: grid; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.form-step { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.85rem; align-items: start; }
.form-step__n { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); font-weight: 700; font-size: var(--fs-sm); }
.form-step .form-choice legend { font-size: var(--fs-md); line-height: 2rem; margin-bottom: 0.75rem; }
.form-details { margin: 0.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--c-border); font-weight: 700; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--c-muted); font-size: var(--fs-sm); }
/* A field answers while it is filled in, once the visitor has left it: the browser's own validity, no script. */
.form-check { display: none; color: var(--c-text); font-weight: 600; }
.form-field :is(input, textarea):user-invalid { border-color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-text); }
.form-field :is(input, textarea):user-invalid ~ .form-check { display: block; }
.form-field :is(input, textarea):user-valid { border-color: var(--c-primary); }
@media (prefers-reduced-motion: no-preference) {
  .form-field :is(input, textarea) { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
  .form-field :is(input, textarea):user-invalid ~ .form-check { animation: yolo-hint 0.22s ease both; }
  form .btn[type="submit"]:active { transform: scale(0.98); }
}
@keyframes yolo-hint { from { opacity: 0; transform: translateY(-4px); } }
.form-success { display: none; margin-bottom: 1rem; padding: 1rem 1.25rem; background: var(--c-primary-soft); border-radius: var(--radius); font-weight: 600; }
.form-success:target { display: block; }

/* Storefront (business module): the articles as the page shows them, cart or no cart */
.shop-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-top: 2rem; }
.shop-item { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
.shop-item .shop-media { margin: -1.5rem -1.5rem 0.4rem; }
.shop-item .shop-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.shop-item .shop-text { display: grid; gap: 0.6rem; }
.shop-item .shop-buy, .shop-item .shop-sold-out { margin-top: auto; }

.shop-rows { display: grid; gap: 1.5rem; margin-top: 2rem; }
.shop-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; padding-bottom: 1.5rem; border-bottom: 1px solid var(--c-border); }
.shop-row:last-of-type { padding-bottom: 0; border-bottom: 0; }
.shop-row .shop-media { flex: 0 0 8rem; }
.shop-row .shop-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.shop-row .shop-text { flex: 1 1 14rem; display: grid; gap: 0.4rem; }
.shop-row .shop-aside { display: grid; gap: 0.6rem; justify-items: end; margin-left: auto; }

.shop-item h3, .shop-row h3 { margin: 0; }
.shop-item p, .shop-row p { margin: 0; color: var(--c-muted); }
.shop-price { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: baseline; margin: 0; }
.shop-price .price { font-weight: 600; color: var(--c-primary); }
.shop-left { color: var(--c-muted); font-size: var(--fs-sm); }
.shop-sold-out { font-weight: 600; color: var(--c-muted); }
.is-sold-out .shop-media img { filter: grayscale(1); opacity: 0.6; }

/* Ordering one article, which is what the page does without the cart script */
.shop-buy > summary { display: inline-block; padding: 0.7rem 1.25rem; background: var(--c-primary); color: var(--c-on-primary); border-radius: var(--radius); font-weight: 600; list-style: none; cursor: pointer; }
.shop-buy > summary::-webkit-details-marker { display: none; }
.shop-buy[open] > summary { margin-bottom: 1rem; }

@media (max-width: 54rem) {
  .shop-row .shop-media { flex-basis: 5rem; }
  .shop-row .shop-aside { justify-items: start; margin-left: 0; }
}

/* A visitor's request (/-/suivi/…): one column, the thanks first and largest, the site's tokens throughout. */
.follow { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.follow-col { display: flex; flex-direction: column; gap: 1.5rem; max-width: 40rem; margin-inline: auto; }
.follow .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.follow-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; font-weight: 600; color: var(--c-text); text-decoration: none; }
.follow-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.follow-card { padding: 1.75rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
.follow-hero { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.follow-check { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.follow-hero h1 { margin: 0; font-size: min(var(--fs-h2), 2rem); line-height: 1.2; text-wrap: balance; }
.follow-lead { margin: 0; font-size: 1.0625rem; color: var(--c-muted); }
.follow-status { display: flex; align-items: center; justify-content: center; gap: 0.55rem; margin: 0.25rem 0 0; padding-top: 1rem; width: 100%; border-top: 1px solid var(--c-border); font-weight: 600; }
.follow-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); }
.follow-dot--done { background: var(--c-text); }
.follow-dot--off { background: var(--c-muted); }
.follow-estimate { width: 100%; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--c-primary-soft); text-align: left; }
.follow-estimate p { margin: 0; }
.follow-note { margin-top: 0.35rem !important; font-size: var(--fs-sm); color: var(--c-muted); }
.follow-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding: 1rem 1.25rem; }
.follow-link p { margin: 0; font-size: 0.9375rem; }
.follow-url { flex: 1 1 16rem; min-height: 2.75rem; padding: 0 0.75rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-bg); color: var(--c-text); font: inherit; font-size: var(--fs-sm); }
.follow-sent > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; cursor: default; pointer-events: none; }
.follow-sent > summary::-webkit-details-marker { display: none; }
.follow-sent h2 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.follow-toggle { display: none; }
.follow-group { margin-top: 1.25rem; }
.follow-kicker { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-muted); }
.follow-list { margin: 0; padding: 0; }
.follow-list > div { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--c-border); }
.follow-list dt { font-size: 0.875rem; color: var(--c-muted); }
.follow-list dd { margin: 0; font-size: 1rem; white-space: pre-line; overflow-wrap: anywhere; }
.follow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.follow-actions form { margin: 0; }
@media (max-width: 40rem) {
  .follow-card { padding: 1.25rem; }
  .follow-list > div { grid-template-columns: 1fr; gap: 0.15rem; }
  /* On a phone the detail folds behind its button; the open state is the page's, kept as the visitor left it. */
  .follow-sent > summary { flex-direction: column; align-items: flex-start; gap: 0.35rem; cursor: pointer; pointer-events: auto; min-height: 2.75rem; }
  .follow-toggle { display: inline; font-weight: 600; font-size: 0.9375rem; color: var(--c-primary); }
  .follow-sent[open] .follow-toggle { display: none; }
  .follow-actions .btn { flex: 1 1 100%; justify-content: center; min-height: 2.75rem; }
}

/* ───────────── minimal ───────────── */
body[data-style="minimal"] {
  --heading-weight: 500; --heading-tracking: -0.025em; --heading-scale: 1.04;
  --fs-display: clamp(2.375rem, 1.86rem + 2.1vw, 3.75rem); --display-tracking: -0.035em; --lh-display: 1.02;
}
body[data-style="minimal"] .eyebrow { color: var(--c-muted); font-weight: 500; letter-spacing: 0.16em; font-size: var(--fs-xs); }
body[data-style="minimal"] .eyebrow::before { content: ""; display: inline-block; width: 1.5rem; height: 1px; margin-right: 0.6rem; vertical-align: middle; background: currentColor; }
body[data-style="minimal"] .section + .section { border-top: 1px solid var(--c-border); }
body[data-style="minimal"] .hero--local-business, body[data-style="minimal"] .testimonials--highlight { background: transparent; }
body[data-style="minimal"] .card { background: transparent; border: 0; border-top: 1px solid var(--c-text); border-radius: 0; padding: 1.5rem 0 0; }
body[data-style="minimal"] .contact-card { box-shadow: none; }
body[data-style="minimal"] .chips li { background: transparent; border: 1px solid var(--c-border); }
body[data-style="minimal"] .chips li::before { display: none; }
body[data-style="minimal"] .icon-badge { background: transparent; border: 1px solid var(--c-border); color: var(--c-text); }
body[data-style="minimal"] .btn-secondary { border-color: transparent; padding-left: 0; padding-right: 0; text-decoration: underline; text-underline-offset: 0.3em; }
body[data-style="minimal"] .btn-secondary:hover { background: transparent; text-decoration-thickness: 2px; }
body[data-style="minimal"] .cta--banner .cta-box { background: transparent; color: var(--c-text); border: 1px solid var(--c-border); border-radius: var(--radius); }
body[data-style="minimal"] .cta--banner .btn-secondary { border-color: transparent; }
/* no band in minimal: the primary button is the regular one */
body[data-style="minimal"] .cta--banner .cta-box .btn-primary { background: var(--c-primary); color: var(--c-on-primary); }
body[data-style="minimal"] .quote-hero blockquote { font-weight: 400; }
body[data-style="minimal"] .site-header { backdrop-filter: none; background: var(--c-bg); }

/* ───────────── premium ───────────── */
body[data-style="premium"] {
  --heading-weight: 400; --heading-tracking: -0.01em; --heading-scale: 1.14;
  --button-transform: uppercase; --button-weight: 500;
  --fs-display: clamp(2.5rem, 1.57rem + 3.81vw, 5rem); --display-tracking: -0.015em; --lh-display: 1.04; --lh-tight: 1.08;
}
body[data-style="premium"] .eyebrow { letter-spacing: 0.3em; font-weight: 500; font-size: var(--fs-xs); }
/* full-width section heads are centered; one in a column (.two-col) stays aligned with it */
body[data-style="premium"] .container > .section-head { margin-left: auto; margin-right: auto; text-align: center; }
body[data-style="premium"] .section-head h2::after { content: ""; display: block; width: 3rem; height: 1px; margin-top: 1.25rem; background: var(--c-primary); }
body[data-style="premium"] .container > .section-head h2::after { margin-left: auto; margin-right: auto; }
body[data-style="premium"] .btn { letter-spacing: 0.16em; font-size: var(--fs-xs); padding: 0.9rem 1.8rem; border-radius: 0; border-width: 1px; }
body[data-style="premium"] .btn-secondary { border-color: currentColor; }
body[data-style="premium"] .site-header { background: var(--c-bg); }
body[data-style="premium"] .brand { letter-spacing: 0.04em; font-size: var(--fs-h3); }
body[data-style="premium"] .hero--local-business, body[data-style="premium"] .testimonials--highlight,
body[data-style="premium"] .site-footer { background: var(--brand-secondary); color: var(--brand-on-secondary); }
body[data-style="premium"] .hero--local-business, body[data-style="premium"] .testimonials--highlight {
  --c-bg: var(--brand-secondary); --c-text: var(--brand-on-secondary); --hue-red: var(--hue-red-secondary); --hue-orange: var(--hue-orange-secondary); --hue-gold: var(--hue-gold-secondary); --hue-green: var(--hue-green-secondary); --hue-teal: var(--hue-teal-secondary); --hue-blue: var(--hue-blue-secondary); --hue-violet: var(--hue-violet-secondary); --hue-pink: var(--hue-pink-secondary);
  --c-muted: color-mix(in srgb, var(--brand-on-secondary) 75%, var(--brand-secondary));
  --c-border: color-mix(in srgb, var(--brand-on-secondary) 22%, var(--brand-secondary));
  --c-primary-soft: color-mix(in srgb, var(--brand-on-secondary) 12%, var(--brand-secondary));
}
body[data-style="premium"] .hero--local-business .eyebrow, body[data-style="premium"] .testimonials--highlight .eyebrow { color: var(--c-muted); }
body[data-style="premium"] .site-footer { border-top: 0; }
body[data-style="premium"] .site-footer, body[data-style="premium"] .site-footer a { color: color-mix(in srgb, var(--brand-on-secondary) 80%, var(--brand-secondary)); }
body[data-style="premium"] .hero--local-business .contact-card {
  --c-bg: var(--brand-bg); --c-text: var(--brand-text); --hue-red: var(--hue-red-page); --hue-orange: var(--hue-orange-page); --hue-gold: var(--hue-gold-page); --hue-green: var(--hue-green-page); --hue-teal: var(--hue-teal-page); --hue-blue: var(--hue-blue-page); --hue-violet: var(--hue-violet-page); --hue-pink: var(--hue-pink-page);
  --c-muted: color-mix(in srgb, var(--brand-text) 68%, var(--brand-bg));
  --c-border: color-mix(in srgb, var(--brand-text) 12%, var(--brand-bg));
  color: var(--c-text); border-radius: 0; box-shadow: none;
}
body[data-style="premium"] .card { background: transparent; border-radius: 0; padding: 2.25rem; }
body[data-style="premium"] .card h3 { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--fs-xl); }
body[data-style="premium"] .chips li { background: transparent; border-radius: 0; border: 1px solid var(--c-border); letter-spacing: 0.06em; }
body[data-style="premium"] .chips li::before { border-radius: 0; width: 0.35rem; height: 0.35rem; transform: rotate(45deg); }
body[data-style="premium"] .icon-badge { background: transparent; border: 1px solid var(--c-primary); border-radius: 50%; }
/* framed photos: a hairline inset frame, drawn inside the image */
body[data-style="premium"] .hero-media img, body[data-style="premium"] .split-media img, body[data-style="premium"] .gallery-mosaic > :first-child img, body[data-style="premium"] .gallery-mosaic > img:first-child {
  outline: 1px solid color-mix(in srgb, #fff 70%, transparent); outline-offset: -14px;
}
body[data-style="premium"] blockquote { font-style: italic; }
body[data-style="premium"] .cta--banner .cta-box { border-radius: 0; text-align: center; grid-template-columns: 1fr; justify-items: center; }
body[data-style="premium"] .cta--banner .actions { justify-content: center; }

/* ───────────── friendly ───────────── */
body[data-style="friendly"] {
  --heading-weight: 700; --heading-tracking: -0.015em; --heading-scale: 1.02;
  --button-weight: 700;
  --fs-display: clamp(2.375rem, 1.77rem + 2.48vw, 4rem); --display-tracking: -0.025em; --lh-display: 1.06; --lh-body: 1.7;
}
/* the alternating tint, unless the owner chose a background for that section */
body[data-style="friendly"] main > .section:nth-child(even):not(.cta):not([data-bg]) { background: var(--c-primary-soft); }
body[data-style="friendly"] main > .section:nth-child(even):not([data-bg]) .card,
body[data-style="friendly"] main > .section:nth-child(even):not([data-bg]) .hours { background: var(--c-bg); }
body[data-style="friendly"] .hero { background: radial-gradient(48rem 28rem at 90% 0%, var(--c-primary-soft), transparent 70%), var(--c-bg); }
body[data-style="friendly"] .hero--local-business { background: radial-gradient(48rem 28rem at 90% 0%, color-mix(in srgb, var(--c-primary) 16%, var(--c-bg)), transparent 70%), var(--c-surface); }
body[data-style="friendly"] .eyebrow { padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--c-primary-soft); text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); font-weight: 600; }
body[data-style="friendly"] .btn { border-radius: 999px; padding-left: 1.6rem; padding-right: 1.6rem; }
body[data-style="friendly"] .btn-primary { box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--c-primary) 80%, transparent); }
body[data-style="friendly"] .btn-primary:hover { filter: none; transform: translateY(-1px); }
body[data-style="friendly"] .card { border: 0; background: var(--c-bg); box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--c-text) 55%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--c-text) 12%, transparent); border-radius: max(var(--radius-lg), 20px); }
body[data-style="friendly"] .contact-card { border: 0; border-radius: max(var(--radius-lg), 24px); }
body[data-style="friendly"] .icon-badge { width: 3.5rem; height: 3.5rem; border-radius: 50%; }
body[data-style="friendly"] .icon-badge.small { width: 2.75rem; height: 2.75rem; }
body[data-style="friendly"] .hero-media img, body[data-style="friendly"] .split-media img,
body[data-style="friendly"] .gallery-grid img, body[data-style="friendly"] .gallery-mosaic img, body[data-style="friendly"] .gallery-editorial img, body[data-style="friendly"] .gallery-masonry img { border-radius: max(var(--radius-lg), 24px); }
body[data-style="friendly"] .cta--banner .cta-box { border-radius: max(var(--radius-lg), 28px); }
body[data-style="friendly"] .site-header { border-bottom-color: transparent; box-shadow: 0 6px 24px -18px color-mix(in srgb, var(--c-text) 40%, transparent); }
body[data-style="friendly"] .nav-links a:hover { color: var(--c-primary); }
body[data-style="friendly"] .stars { color: var(--c-primary); }

/* ───────────── bold ───────────── */
body[data-style="bold"] {
  --heading-weight: 800; --heading-tracking: -0.025em; --heading-scale: 1.16;
  --button-transform: uppercase; --button-weight: 800;
  --c-border: var(--c-text);
  --hard: 6px 6px 0 var(--c-text);
  --fs-display: clamp(2.5rem, 1.48rem + 4.19vw, 5.25rem); --display-tracking: -0.03em; --lh-display: 0.98; --lh-tight: 1.02;
}
body[data-style="bold"] h1, body[data-style="bold"] h2 { text-transform: uppercase; }
body[data-style="bold"] .section-head h2::after { content: ""; display: block; width: 4.5rem; height: 0.45rem; margin-top: 1rem; background: var(--c-primary); }
body[data-style="bold"] .section-head.center h2::after { margin-left: auto; margin-right: auto; }
body[data-style="bold"] .eyebrow { padding: 0.25rem 0.6rem; background: var(--brand-secondary); color: var(--brand-on-secondary); letter-spacing: 0.1em; font-weight: 800; }
body[data-style="bold"] .hero { background: var(--brand-primary); color: var(--brand-on-primary);
  --c-bg: var(--brand-primary); --c-text: var(--brand-on-primary); --hue-red: var(--hue-red-primary); --hue-orange: var(--hue-orange-primary); --hue-gold: var(--hue-gold-primary); --hue-green: var(--hue-green-primary); --hue-teal: var(--hue-teal-primary); --hue-blue: var(--hue-blue-primary); --hue-violet: var(--hue-violet-primary); --hue-pink: var(--hue-pink-primary);
  --c-muted: color-mix(in srgb, var(--brand-on-primary) 85%, var(--brand-primary));
  --c-border: var(--brand-on-primary);
  --c-primary: var(--brand-on-primary); --c-on-primary: var(--brand-primary);
  --c-primary-soft: color-mix(in srgb, var(--brand-on-primary) 16%, var(--brand-primary));
  --hard: 6px 6px 0 var(--brand-on-primary);
  border-bottom: 4px solid var(--brand-text);
}
body[data-style="bold"] .hero .contact-card {
  --c-bg: var(--brand-bg); --c-text: var(--brand-text); --hue-red: var(--hue-red-page); --hue-orange: var(--hue-orange-page); --hue-gold: var(--hue-gold-page); --hue-green: var(--hue-green-page); --hue-teal: var(--hue-teal-page); --hue-blue: var(--hue-blue-page); --hue-violet: var(--hue-violet-page); --hue-pink: var(--hue-pink-page);
  --c-primary: var(--brand-primary); --c-on-primary: var(--brand-on-primary);
  --c-muted: color-mix(in srgb, var(--brand-text) 68%, var(--brand-bg));
  --c-border: var(--brand-text); --hard: 6px 6px 0 var(--brand-text);
  color: var(--c-text);
}
body[data-style="bold"] .btn { border: 2px solid var(--c-text); box-shadow: 4px 4px 0 var(--c-text); transition: transform 0.1s ease, box-shadow 0.1s ease; }
body[data-style="bold"] .btn:hover { filter: none; transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--c-text); }
body[data-style="bold"] .btn-secondary { background: var(--c-bg); }
body[data-style="bold"] .card, body[data-style="bold"] .contact-card, body[data-style="bold"] .contact-simple .hours {
  background: var(--c-bg); border: 3px solid var(--c-text); border-radius: var(--radius); box-shadow: var(--hard);
}
body[data-style="bold"] .chips li { background: var(--c-bg); color: var(--c-text); border: 2px solid var(--c-text); border-radius: 0; font-weight: 700; }
body[data-style="bold"] .chips li::before { border-radius: 0; }
body[data-style="bold"] .icon-badge { background: var(--brand-secondary); color: var(--brand-on-secondary); border: 2px solid var(--c-text); border-radius: 0; }
body[data-style="bold"] .hero-media img, body[data-style="bold"] .split-media img,
body[data-style="bold"] .gallery-grid img, body[data-style="bold"] .gallery-mosaic img, body[data-style="bold"] .gallery-editorial img, body[data-style="bold"] .gallery-masonry img { border: 3px solid var(--c-text); box-shadow: var(--hard); }
/* split: the title runs over the edge of the photo, on wide screens */
@media (min-width: 900px) { body[data-style="bold"] .hero--split h1 { position: relative; z-index: 1; margin-right: clamp(-5rem, -4vw, -2rem); } }
body[data-style="bold"] .hero-visual > img { border: 3px solid var(--c-text); box-shadow: var(--hard); }
body[data-style="bold"] .cta--banner .cta-box { border: 3px solid var(--brand-text); box-shadow: 8px 8px 0 var(--brand-text); }
body[data-style="bold"] .testimonials--highlight { background: var(--c-bg); border-top: 4px solid var(--c-text); border-bottom: 4px solid var(--c-text); }
body[data-style="bold"] .quote-hero blockquote { text-transform: uppercase; }
body[data-style="bold"] .service-list li { border-bottom-width: 2px; }
body[data-style="bold"] .service-list { border-top-width: 3px; }
body[data-style="bold"] .site-header { background: var(--c-bg); backdrop-filter: none; border-bottom: 3px solid var(--c-text); }
body[data-style="bold"] .brand { text-transform: uppercase; font-weight: 800; }
body[data-style="bold"] .site-footer { border-top: 3px solid var(--c-text); }

/* ───────────── a module's boxes ─────────────
   The form, the quote's questions and the shop's articles have boxes of their own: drawn like the
   style's cards, their padding kept (the article's photo bleeds to its edges). */
body[data-style="minimal"] :is(.form-card, .form-questions__card, .shop-item) { background: transparent; border: 0; border-top: 1px solid var(--c-text); border-radius: 0; }
body[data-style="minimal"] .shop-item .shop-media img { border-radius: 0; }
body[data-style="premium"] :is(.form-card, .form-questions__card, .shop-item) { background: transparent; border-radius: 0; }
body[data-style="premium"] .shop-item .shop-media img { border-radius: 0; }
body[data-style="friendly"] :is(.form-card, .form-questions__card, .shop-item) {
  border: 0; background: var(--c-bg); border-radius: max(var(--radius-lg), 20px);
  box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--c-text) 55%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--c-text) 12%, transparent);
}
body[data-style="friendly"] .shop-item .shop-media img { border-radius: max(var(--radius-lg), 20px) max(var(--radius-lg), 20px) 0 0; }
body[data-style="bold"] :is(.form-card, .form-questions__card, .shop-item) { background: var(--c-bg); border: 3px solid var(--c-text); border-radius: var(--radius); box-shadow: var(--hard); }
body[data-style="bold"] .shop-item .shop-media img { border-radius: max(calc(var(--radius) - 3px), 0px) max(calc(var(--radius) - 3px), 0px) 0 0; }
body[data-style="bold"] .form-field :is(input, textarea), body[data-style="bold"] .form-pill span { border: 2px solid var(--c-text); }

/* ───────────── a module's fields ─────────────
   The fields take the corners of the style's buttons, the step numbers the look of its icon badges.
   Never a background on a choice: the chosen one is told by its own. */
body[data-style="premium"] .form-field :is(input, textarea), body[data-style="premium"] .form-pill span { border-radius: 0; }
body[data-style="premium"] .form-step__n { background: transparent; border: 1px solid var(--c-primary); }
body[data-style="minimal"] .form-step__n { background: transparent; border: 1px solid var(--c-border); color: var(--c-text); }
body[data-style="friendly"] .form-field :is(input, textarea) { border-radius: max(var(--radius-lg), 16px); }

/* ───────────── buttons ───────────── */
body[data-buttons="pill"] .btn { border-radius: 999px; padding-left: 1.6rem; padding-right: 1.6rem; }
body[data-buttons="rounded"] .btn { border-radius: max(var(--radius), 0.6rem); }
body[data-buttons="square"] .btn { border-radius: 0; }
body[data-buttons="outline"] .btn { border-radius: max(var(--radius), 0.4rem); }
body[data-buttons="outline"] .btn-primary { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
body[data-buttons="outline"] .btn-primary:hover { background: var(--c-primary); color: var(--c-on-primary); filter: none; }
/* a module's fields and choices take the corners chosen for the buttons, over the style's */
body[data-buttons="pill"] .form-field :is(input, textarea) { border-radius: max(var(--radius-lg), 16px); }
body[data-buttons="pill"] .form-pill span { border-radius: 999px; }
body[data-buttons="rounded"] .form-field :is(input, textarea), body[data-buttons="rounded"] .form-pill span { border-radius: max(var(--radius), 0.6rem); }
body[data-buttons="square"] .form-field :is(input, textarea), body[data-buttons="square"] .form-pill span { border-radius: 0; }
body[data-buttons="outline"] .form-field :is(input, textarea), body[data-buttons="outline"] .form-pill span { border-radius: max(var(--radius), 0.4rem); }

/* ───────────── cards ───────────── */
body[data-cards] .card, body[data-cards] .stats-cards .stat { padding: 1.75rem; border-radius: var(--radius-lg); box-shadow: none; }
body[data-cards="flat"] .card, body[data-cards="flat"] .stats-cards .stat { background: var(--c-surface); border: 0; }
body[data-cards="outlined"] .card, body[data-cards="outlined"] .stats-cards .stat { background: transparent; border: 1px solid var(--c-border); }
body[data-cards="raised"] .card, body[data-cards="raised"] .stats-cards .stat {
  background: var(--c-bg); border: 0;
  box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--c-text) 55%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--c-text) 12%, transparent);
}
body[data-cards="tinted"] .card, body[data-cards="tinted"] .stats-cards .stat { background: var(--c-primary-soft); border: 0; }
/* glass: what is behind shows through, blurred; mostly the card's own ground, so its texts keep their contrast on any photo */
body[data-cards="glass"] .card, body[data-cards="glass"] .stats-cards .stat {
  background: color-mix(in srgb, var(--c-bg) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent);
  box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--c-text) 50%, transparent);
}
/* a module's boxes (the form, the quote's questions, the shop's articles) as the cards, their padding kept */
body[data-cards] :is(.form-card, .form-questions__card, .shop-item) { border-radius: var(--radius-lg); box-shadow: none; }
body[data-cards] .shop-item .shop-media img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
body[data-cards="flat"] :is(.form-card, .form-questions__card, .shop-item) { background: var(--c-surface); border: 0; }
body[data-cards="outlined"] :is(.form-card, .form-questions__card, .shop-item) { background: transparent; border: 1px solid var(--c-border); }
body[data-cards="raised"] :is(.form-card, .form-questions__card, .shop-item) {
  background: var(--c-bg); border: 0;
  box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--c-text) 55%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--c-text) 12%, transparent);
}
body[data-cards="tinted"] :is(.form-card, .form-questions__card, .shop-item) { background: var(--c-primary-soft); border: 0; }
body[data-cards="glass"] :is(.form-card, .form-questions__card, .shop-item) {
  background: color-mix(in srgb, var(--c-bg) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--c-text) 14%, transparent);
  box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--c-text) 50%, transparent);
}

/* ───────────── headings ───────────── */
/* A heading choice replaces the style's own rule under the titles. */
body[data-headings] .section-head h2::after { content: none; }
body[data-headings="underline"] .section-head h2 {
  text-decoration: underline; text-decoration-color: var(--c-primary);
  text-decoration-thickness: 0.12em; text-underline-offset: 0.22em; text-decoration-skip-ink: auto;
}
body[data-headings="highlight"] .section-head h2 {
  display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--c-primary) 28%, transparent) 58%, color-mix(in srgb, var(--c-primary) 28%, transparent) 92%, transparent 92%);
}
body[data-headings="highlight"] .section-head h2 + * { margin-top: 1rem; }
body[data-headings="caps"] .section-head h2 { text-transform: uppercase; letter-spacing: 0.06em; font-size: calc(var(--fs-h2) * 0.8); }

/* ───────────── dividers ───────────── */
/* The bottom edge of every section but the last: invisible between two sections on the page's
   background, it shapes the passage from a tinted, dark or primary band to the next one. The edge
   stays within the section's bottom padding. */
body[data-dividers] main > .section:not(:last-child) { --edge: clamp(1.25rem, 3.5vw, 2.75rem); }
body[data-dividers="slant"] main > .section:not(:last-child) { mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--edge)) no-repeat, url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20100%2010'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%200H100V0L0%2010Z'%20fill%3D'%23000'%2F%3E%3C%2Fsvg%3E") bottom / 100% var(--edge) no-repeat; }
body[data-dividers="wave"] main > .section:not(:last-child) { mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--edge)) no-repeat, url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20100%2010'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%200H100V5C83%2010%2067%2010%2050%205S17%200%200%205Z'%20fill%3D'%23000'%2F%3E%3C%2Fsvg%3E") bottom / 100% var(--edge) no-repeat; }
body[data-dividers="curve"] main > .section:not(:last-child) { mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--edge)) no-repeat, url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20100%2010'%20preserveAspectRatio%3D'none'%3E%3Cpath%20d%3D'M0%200H100V0Q50%2020%200%200Z'%20fill%3D'%23000'%2F%3E%3C%2Fsvg%3E") bottom / 100% var(--edge) no-repeat; }

/* ───────────── images ───────────── */
body[data-images] :is(.hero-media, .hero-visual, .split-media, .overlap-media, .content-media, .column--image, .news-media, .gallery-grid, .gallery-mosaic, .gallery-carousel, .gallery-editorial, .gallery-masonry) img { box-shadow: none; outline: 0; }
body[data-images="square"] :is(.hero-media, .hero-visual, .split-media, .overlap-media, .content-media, .column--image, .news-media, .gallery-grid, .gallery-mosaic, .gallery-carousel, .gallery-editorial, .gallery-masonry) img { border-radius: 0; }
body[data-images="rounded"] :is(.hero-media, .hero-visual, .split-media, .overlap-media, .content-media, .column--image, .news-media, .gallery-grid, .gallery-mosaic, .gallery-carousel, .gallery-editorial, .gallery-masonry) img { border-radius: max(var(--radius-lg), 1.5rem); }
body[data-images="arch"] :is(.hero-media, .hero-visual, .split-media, .overlap-media, .content-media, .column--image, .news-media, .gallery-grid, .gallery-mosaic, .gallery-carousel, .gallery-editorial, .gallery-masonry) img { border-radius: 999px 999px var(--radius) var(--radius); }
body[data-images="framed"] :is(.hero-media, .hero-visual, .split-media, .overlap-media, .content-media, .column--image, .news-media, .gallery-grid, .gallery-mosaic, .gallery-carousel, .gallery-editorial, .gallery-masonry) img { border-radius: var(--radius); box-shadow: 0.7rem 0.7rem 0 var(--c-primary-soft); }
body[data-images="organic"] :is(.hero-media, .hero-visual, .split-media, .overlap-media, .news-media) img { border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%; }
body[data-images="organic"] :is(.gallery-grid, .gallery-mosaic, .gallery-carousel, .gallery-editorial, .gallery-masonry) img { border-radius: 2rem 0.5rem 2rem 0.5rem; }

/* ───────────── texture ───────────── */
/* Behind the sections that have no background of their own. */
body[data-texture="grain"] { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'160'%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.9'%20numOctaves%3D'2'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.07%200'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23n)'%2F%3E%3C%2Fsvg%3E"); }
body[data-texture="dots"] { background-image: radial-gradient(color-mix(in srgb, var(--c-text) 10%, transparent) 1px, transparent 1.6px); background-size: 22px 22px; }
body[data-texture="grid"] {
  background-image: linear-gradient(color-mix(in srgb, var(--c-text) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--c-text) 5%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Accents: details that move by themselves, never a text nor a button; still under reduced motion.
   In the editor (sections tagged data-section-id) they move too, and stop while the pointer is
   over the section or a text in it is being edited. The photo's frame floats, not the photo,
   which keeps its own depth animation under the lively motion. */
@media (prefers-reduced-motion: no-preference) {
  body[data-accents="float"] .section :is(.hero-media, .hero-visual.has-photo, .split-media, .overlap-media) { animation: yolo-float 6s ease-in-out infinite; }
  body[data-accents="float"] .section:nth-child(even) :is(.hero-media, .hero-visual.has-photo, .split-media, .overlap-media) { animation-delay: -3s; }
  body[data-accents="spin"] .section .benefit .icon-badge svg { animation: yolo-spin 20s linear infinite; }
  body[data-accents] .section[data-section-id]:is(:hover, :has([contenteditable])) :is(.hero-media, .hero-visual.has-photo, .split-media, .overlap-media, .benefit .icon-badge svg) { animation-play-state: paused; }
  /* The banner's photo also rises as the page opens (motion.ts): both, one after the other. */
  html.motion-ready:not(.hero-played) body[data-accents="float"][data-effects] main > .section.hero:first-child .hero-media { animation: yolo-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both, yolo-float 6s ease-in-out 1s infinite; }
}
@keyframes yolo-float { 50% { transform: translateY(-6px); } }
@keyframes yolo-spin { to { transform: rotate(1turn); } }

/* Spacing */
main > .section[data-space="compact"] { padding: clamp(3rem, 2.44rem + 2.29vw, 4.5rem) 0; }
main > .section[data-space="normal"] { padding: clamp(4rem, 2.89rem + 4.57vw, 7rem) 0; }
main > .section[data-space="spacious"] { padding: clamp(5rem, 3.33rem + 6.86vw, 9.5rem) 0; }

/* Title size */
main > .section[data-title="large"] h2 { font-size: var(--fs-h1); }
main > .section[data-title="large"] h1 { font-size: calc(var(--fs-display) * 1.15); }

/* Alignment of the section's heads (and of the text of the hero and the CTA) */
main > .section[data-align="center"] .section-head { margin-left: auto; margin-right: auto; text-align: center; }
main > .section[data-align="left"] .section-head { margin-left: 0; margin-right: 0; text-align: left; }
main > .section[data-align="center"].hero, main > .section[data-align="center"].cta { text-align: center; }
main > .section[data-align="center"].hero h1, main > .section[data-align="center"].hero h1 + p { margin-left: auto; margin-right: auto; }
main > .section[data-align="center"].hero .actions, main > .section[data-align="center"].hero .chips, main > .section[data-align="center"].cta .actions { justify-content: center; }
main > .section[data-align="left"].hero, main > .section[data-align="left"].cta { text-align: left; }
main > .section[data-align="left"].hero h1, main > .section[data-align="left"].hero h1 + p, main > .section[data-align="left"].cta h2, main > .section[data-align="left"].cta p { margin-left: 0; margin-right: 0; }
main > .section[data-align="left"].hero .actions, main > .section[data-align="left"].hero .chips, main > .section[data-align="left"].cta .actions { justify-content: flex-start; }

/* One text set apart (appearance.texts → data-text-* on the element that draws it): its size
   relative to how the theme already draws that text (zoom keeps its own font, weight and spacing,
   and a wider word wraps rather than overflows), its alignment, and the hue of its accent words. */
main .section [data-text-size="s"] { zoom: 0.85; }
main .section [data-text-size="l"] { zoom: 1.2; overflow-wrap: anywhere; }
main .section [data-text-size="xl"] { zoom: 1.45; overflow-wrap: anywhere; }
main .section [data-text-align="left"] { text-align: left; }
main .section [data-text-align="center"] { text-align: center; }
main .section [data-text-align="right"] { text-align: right; }
/* The hue of its accent words, in the shade of the background it sits on (tokens.ts, hueShades). */
main .section [data-text-accent="red"] { --text-accent: var(--hue-red); }
main .section [data-text-accent="orange"] { --text-accent: var(--hue-orange); }
main .section [data-text-accent="gold"] { --text-accent: var(--hue-gold); }
main .section [data-text-accent="green"] { --text-accent: var(--hue-green); }
main .section [data-text-accent="teal"] { --text-accent: var(--hue-teal); }
main .section [data-text-accent="blue"] { --text-accent: var(--hue-blue); }
main .section [data-text-accent="violet"] { --text-accent: var(--hue-violet); }
main .section [data-text-accent="pink"] { --text-accent: var(--hue-pink); }

/* Backgrounds */
/* Tinted is a light band: it re-points the whole palette to the page's own, like dark and primary
   do theirs. A style that draws this section as a dark band (premium's highlights) would otherwise
   leave its light text on the light tint (10 November 2026, white reviews on beige). */
main > .section[data-bg="tinted"] {
  --c-bg: color-mix(in srgb, var(--brand-primary) 7%, var(--brand-bg)); --c-text: var(--brand-text); --hue-red: var(--hue-red-page); --hue-orange: var(--hue-orange-page); --hue-gold: var(--hue-gold-page); --hue-green: var(--hue-green-page); --hue-teal: var(--hue-teal-page); --hue-blue: var(--hue-blue-page); --hue-violet: var(--hue-violet-page); --hue-pink: var(--hue-pink-page);
  --c-primary: var(--brand-primary); --c-on-primary: var(--brand-on-primary);
  background: var(--c-bg); color: var(--c-text);
  --c-muted: color-mix(in srgb, var(--c-text) 68%, var(--c-bg));
  --c-surface: color-mix(in srgb, var(--c-text) 4%, var(--c-bg));
  --c-border: color-mix(in srgb, var(--c-text) 12%, var(--c-bg));
  --c-primary-soft: color-mix(in srgb, var(--c-primary) 10%, var(--c-bg));
}
main > .section[data-bg="tinted"] :is(.card, .form-card, .form-questions__card, .shop-item), main > .section[data-bg="tinted"] .hours { background: var(--brand-bg); }

main > .section[data-bg="dark"], main > .section[data-bg="primary"] {
  background: var(--c-bg); color: var(--c-text);
  --c-muted: color-mix(in srgb, var(--c-text) 80%, var(--c-bg));
  --c-surface: color-mix(in srgb, var(--c-text) 8%, var(--c-bg));
  --c-border: color-mix(in srgb, var(--c-text) 24%, var(--c-bg));
  --c-primary-soft: color-mix(in srgb, var(--c-text) 14%, var(--c-bg));
  --hard: 6px 6px 0 var(--c-text);
}
main > .section[data-bg="dark"] {
  --c-bg: var(--brand-text); --c-text: var(--brand-bg); --hue-red: var(--hue-red-dark); --hue-orange: var(--hue-orange-dark); --hue-gold: var(--hue-gold-dark); --hue-green: var(--hue-green-dark); --hue-teal: var(--hue-teal-dark); --hue-blue: var(--hue-blue-dark); --hue-violet: var(--hue-violet-dark); --hue-pink: var(--hue-pink-dark);
  --c-primary: var(--dark-accent); --c-on-primary: var(--dark-on-accent);
}
main > .section[data-bg="primary"] {
  --c-bg: var(--brand-primary); --c-text: var(--primary-band-text); --hue-red: var(--hue-red-primary); --hue-orange: var(--hue-orange-primary); --hue-gold: var(--hue-gold-primary); --hue-green: var(--hue-green-primary); --hue-teal: var(--hue-teal-primary); --hue-blue: var(--hue-blue-primary); --hue-violet: var(--hue-violet-primary); --hue-pink: var(--hue-pink-primary);
  --c-primary: var(--primary-band-text); --c-on-primary: var(--brand-primary);
}
/* A photo behind the section, under a veil; dark and primary veils re-point the palette like the bands. */
main > .section[data-cover] { position: relative; isolation: isolate; overflow: hidden; }
.section-cover { position: absolute; inset: 0; z-index: -1; }
.section-cover > img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.section-cover::after { content: ""; position: absolute; inset: 0; }
main > .section[data-cover="dark"] .section-cover::after { background: linear-gradient(to top, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.55)); }
main > .section[data-cover="light"] .section-cover::after { background: color-mix(in srgb, var(--brand-bg) 84%, transparent); }
main > .section[data-cover="primary"] .section-cover::after { background: color-mix(in srgb, var(--brand-primary) 86%, transparent); }
main > .section[data-cover="dark"], main > .section[data-cover="primary"] {
  color: var(--c-text);
  --c-muted: color-mix(in srgb, var(--c-text) 85%, transparent);
  --c-surface: color-mix(in srgb, var(--c-text) 10%, transparent);
  --c-border: color-mix(in srgb, var(--c-text) 28%, transparent);
  --c-primary-soft: color-mix(in srgb, var(--c-text) 14%, transparent);
}
main > .section[data-cover="dark"] { --c-text: #ffffff; --c-primary: var(--dark-accent); --c-on-primary: var(--dark-on-accent); --hue-red: var(--hue-red-dark); --hue-orange: var(--hue-orange-dark); --hue-gold: var(--hue-gold-dark); --hue-green: var(--hue-green-dark); --hue-teal: var(--hue-teal-dark); --hue-blue: var(--hue-blue-dark); --hue-violet: var(--hue-violet-dark); --hue-pink: var(--hue-pink-dark); }
main > .section[data-cover="primary"] { --c-text: var(--primary-band-text); --c-primary: var(--primary-band-text); --c-on-primary: var(--brand-primary); --hue-red: var(--hue-red-primary); --hue-orange: var(--hue-orange-primary); --hue-gold: var(--hue-gold-primary); --hue-green: var(--hue-green-primary); --hue-teal: var(--hue-teal-primary); --hue-blue: var(--hue-blue-primary); --hue-violet: var(--hue-violet-primary); --hue-pink: var(--hue-pink-primary); }
main > .section[data-cover="light"] { --c-text: var(--brand-text); --hue-red: var(--hue-red-page); --hue-orange: var(--hue-orange-page); --hue-gold: var(--hue-gold-page); --hue-green: var(--hue-green-page); --hue-teal: var(--hue-teal-page); --hue-blue: var(--hue-blue-page); --hue-violet: var(--hue-violet-page); --hue-pink: var(--hue-pink-page); }
main > .section[data-cover] :is(.card, .form-card, .form-questions__card, .shop-item) { background: var(--brand-bg); color: var(--brand-text); --c-text: var(--brand-text); --c-muted: color-mix(in srgb, var(--brand-text) 68%, var(--brand-bg)); --hue-red: var(--hue-red-page); --hue-orange: var(--hue-orange-page); --hue-gold: var(--hue-gold-page); --hue-green: var(--hue-green-page); --hue-teal: var(--hue-teal-page); --hue-blue: var(--hue-blue-page); --hue-violet: var(--hue-violet-page); --hue-pink: var(--hue-pink-page); }

/* Patterns, over the section's own background: drawn from its --c-text and --c-primary, so they
   follow a dark or primary band like its text does. A cover photo keeps the section to itself. */
main > .section[data-pattern="grid"]:not([data-cover]) {
  background-image: linear-gradient(color-mix(in srgb, var(--c-text) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--c-text) 7%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
}
main > .section[data-pattern="dots"]:not([data-cover]) { background-image: radial-gradient(color-mix(in srgb, var(--c-text) 14%, transparent) 1.2px, transparent 1.8px); background-size: 20px 20px; }
main > .section[data-pattern="grain"]:not([data-cover]) { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'160'%3E%3Cfilter%20id%3D'n'%3E%3CfeTurbulence%20type%3D'fractalNoise'%20baseFrequency%3D'0.9'%20numOctaves%3D'2'%20stitchTiles%3D'stitch'%2F%3E%3CfeColorMatrix%20values%3D'0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.07%200'%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D'100%25'%20height%3D'100%25'%20filter%3D'url(%23n)'%2F%3E%3C%2Fsvg%3E"); }
main > .section[data-pattern="halo"]:not([data-cover]) { background-image: radial-gradient(60% 75% at 85% 0%, color-mix(in srgb, var(--c-primary) 22%, transparent), transparent 70%), radial-gradient(45% 60% at 0% 100%, color-mix(in srgb, var(--c-primary) 12%, transparent), transparent 70%); }
main > .section[data-pattern="lines"]:not([data-cover]) { background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c-text) 6%, transparent) 0 1px, transparent 1px 14px); }

/* Width and height */
main > .section[data-width="full"] > .container { max-width: none; }
main > .section[data-height="half"] { min-height: 55svh; display: grid; align-content: center; }
main > .section[data-height="screen"] { min-height: 100svh; display: grid; align-content: center; }

/* Cards that carry their own surface (the hero's phone card) keep the page palette. */
main > .section[data-bg="dark"] .contact-card, main > .section[data-bg="primary"] .contact-card {
  --c-bg: var(--brand-bg); --c-text: var(--brand-text); --hue-red: var(--hue-red-page); --hue-orange: var(--hue-orange-page); --hue-gold: var(--hue-gold-page); --hue-green: var(--hue-green-page); --hue-teal: var(--hue-teal-page); --hue-blue: var(--hue-blue-page); --hue-violet: var(--hue-violet-page); --hue-pink: var(--hue-pink-page);
  --c-primary: var(--brand-primary); --c-on-primary: var(--brand-on-primary);
  --c-muted: color-mix(in srgb, var(--brand-text) 68%, var(--brand-bg));
  --c-border: color-mix(in srgb, var(--brand-text) 12%, var(--brand-bg));
  --c-surface: color-mix(in srgb, var(--brand-text) 4%, var(--brand-bg));
  --hard: 6px 6px 0 var(--brand-text);
  color: var(--c-text);
}
/* A CTA banner on a coloured section: its box keeps the band, framed. */
main > .section[data-bg="dark"] .cta-box, main > .section[data-bg="primary"] .cta-box { outline: 1px solid var(--c-border); }

/* Header: a pill off the edges, sticky like the bar */
body[data-style][data-header="pill"] .site-header {
  top: 0.75rem; margin-top: 0.75rem; background: none; backdrop-filter: none; border-bottom: 0; box-shadow: none; pointer-events: none;
}
body[data-style][data-header="pill"] .site-header .container {
  pointer-events: auto; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter));
  min-height: 3.5rem; padding: 0.4rem 0.45rem 0.4rem 1.25rem;
  background: color-mix(in srgb, var(--c-bg) 86%, transparent); backdrop-filter: blur(14px);
  border: 1px solid var(--c-border); border-radius: calc(var(--radius-lg) * 2);
  box-shadow: 0 14px 34px -22px color-mix(in srgb, var(--c-text) 55%, transparent);
}
body[data-style="minimal"][data-header="pill"] .site-header .container { box-shadow: none; }
body[data-style="bold"][data-header="pill"] .site-header .container { border: 3px solid var(--c-text); box-shadow: 4px 4px 0 var(--c-text); }
body[data-header="pill"] .nav-menu ul { right: 0; }

/* The page's layout (theme.chrome.layout), after the header's shapes so it wins over the pill's.
   A column and a split screen need a wide screen: below 1024 px the header is on top again, as
   the bar or the pill, with its drawer. */
.panel-photo { display: none; }
@media (min-width: 1024px) {
  body[data-layout="side"] { --side-w: clamp(14rem, 17vw, 17.5rem); }
  body[data-layout="split"] { --side-w: clamp(20rem, 34vw, 30rem); }
  body:is([data-layout="side"], [data-layout="split"]) { padding-left: var(--side-w); }
  body[data-style]:is([data-layout="side"], [data-layout="split"]) .site-header {
    position: fixed; inset: 0 auto 0 0; width: var(--side-w); margin: 0; overflow-y: auto; overscroll-behavior: contain;
    background: var(--c-bg); backdrop-filter: none; border: 0; border-right: 1px solid var(--c-border); box-shadow: none; pointer-events: auto;
  }
  body[data-style="bold"]:is([data-layout="side"], [data-layout="split"]) .site-header { border-right: 3px solid var(--c-text); }
  body[data-style]:is([data-layout="side"], [data-layout="split"]) .site-header .container {
    flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 2rem;
    width: 100%; max-width: none; min-height: 100%; margin: 0; padding: 2.25rem 1.75rem;
    background: none; backdrop-filter: none; border: 0; border-radius: 0; box-shadow: none;
  }
  body:is([data-layout="side"], [data-layout="split"]) .site-nav { flex: 0 0 auto; width: 100%; justify-content: flex-start; }
  body:is([data-layout="side"], [data-layout="split"]) .site-nav .nav-links { display: flex; flex-direction: column; gap: 0.15rem; width: 100%; }
  body:is([data-layout="side"], [data-layout="split"]) .site-nav .nav-menu { display: none; }
  body:is([data-layout="side"], [data-layout="split"]) .nav-links a { padding: 0.45rem 0; white-space: normal; }
  body:is([data-layout="side"], [data-layout="split"]) .site-search { flex-wrap: wrap; width: 100%; }
  body:is([data-layout="side"], [data-layout="split"]) .site-search input { flex: 1 1 8rem; width: auto; min-width: 0; }
  body:is([data-layout="side"], [data-layout="split"]) .header-call { margin-top: auto; }

  /* Split screen: the panel in the primary colour, re-pointed like a primary band, the name set large */
  body[data-layout="split"] .site-header {
    --c-bg: var(--brand-primary); --c-text: var(--primary-band-text); --c-primary: var(--primary-band-text); --c-on-primary: var(--brand-primary); --hue-red: var(--hue-red-primary); --hue-orange: var(--hue-orange-primary); --hue-gold: var(--hue-gold-primary); --hue-green: var(--hue-green-primary); --hue-teal: var(--hue-teal-primary); --hue-blue: var(--hue-blue-primary); --hue-violet: var(--hue-violet-primary); --hue-pink: var(--hue-pink-primary);
    --c-muted: color-mix(in srgb, var(--primary-band-text) 80%, var(--brand-primary));
    --c-border: color-mix(in srgb, var(--primary-band-text) 28%, var(--brand-primary));
    --c-surface: color-mix(in srgb, var(--primary-band-text) 10%, var(--brand-primary));
    color: var(--c-text);
  }
  body[data-style][data-layout="split"] .site-header .container { position: relative; z-index: 1; justify-content: center; gap: 2.5rem; padding: clamp(2.5rem, 6vh, 4.5rem) clamp(2rem, 3vw, 3.5rem); }
  body[data-layout="split"] .site-header .brand { font-size: clamp(2.25rem, 3.4vw, 3.75rem); line-height: 1.02; color: var(--c-text); }
  body[data-layout="split"] .brand-marked { flex-direction: column; align-items: flex-start; }
  body[data-layout="split"] .brand-marked .brand-mark svg { height: clamp(3.5rem, 6vw, 5.5rem); }
  body[data-layout="split"] .brand-logo { padding: 0.75rem 1rem; border-radius: var(--radius); background: var(--brand-bg); }
  body[data-layout="split"] .nav-links a { font-family: var(--font-heading); font-size: var(--fs-lg); color: var(--c-text); }
  body[data-layout="split"] .nav-links a[aria-current] { text-decoration: underline; text-underline-offset: 0.3em; }
  body[data-layout="split"] .panel-photo { display: block; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.12; filter: grayscale(1); pointer-events: none; }
}

/* Narrow column: the reading width for the whole page, the header centred above it */
body[data-layout="narrow"] { --container: 48rem; }
@media (min-width: 900px) {
  body[data-style][data-layout="narrow"] .site-header { position: relative; }
  body[data-style][data-layout="narrow"] .site-header .container { flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; padding-top: 1.75rem; padding-bottom: 1rem; }
  body[data-layout="narrow"] .site-nav { flex: 0 1 auto; justify-content: center; }
  body[data-layout="narrow"] .site-header .brand { flex-basis: 100%; display: flex; justify-content: center; font-size: var(--fs-h3); }
}

/* Curtain: the name and the Menu button on every screen; the menu opens over the whole page. Nothing
   blurred or moved around it, which would hold the open menu inside the header. */
body[data-layout="curtain"] .site-header .site-nav .nav-links { display: none; }
body[data-layout="curtain"] .site-header .site-nav .nav-menu { display: block; }
body[data-style][data-layout="curtain"] .site-header { background: var(--c-bg); }
body[data-style][data-layout="curtain"] :is(.site-header, .site-header .container) { backdrop-filter: none; }
body[data-layout="curtain"] .site-header:has(.nav-menu[open]) { z-index: 60; }
body[data-site][data-layout="curtain"] .nav-menu summary { position: relative; z-index: 31; }
body[data-site][data-layout="curtain"] .site-header .nav-menu[open] ul {
  position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  min-width: 0; max-width: none; margin: 0; padding: 5.5rem var(--gutter) 3rem; overflow-y: auto;
  background: var(--c-bg); border: 0; border-radius: 0; box-shadow: none;
}
/* Centred while the list fits, scrolled from its first page when it does not. */
body[data-layout="curtain"] .nav-menu ul li:first-child { margin-top: auto; }
body[data-layout="curtain"] .nav-menu ul li:last-child { margin-bottom: auto; }
body[data-layout="curtain"] .nav-menu ul a { font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: clamp(1.75rem, 4.5vw, 3rem); line-height: 1.1; padding: 0.3rem 1rem; text-align: center; }
body[data-layout="curtain"] .nav-menu[open] ul { transition: opacity 0.25s ease; }
@starting-style { body[data-layout="curtain"] .nav-menu[open] ul { opacity: 0; } }

/* Header over the banner: it rises under the header by the header's own height, so nothing moves */
body[data-over-hero] { --header-h: calc(4rem + 1px); }
body[data-over-hero][data-header="pill"] { --header-h: calc(4.25rem + 2px); }
body[data-over-hero] .site-header { margin-bottom: calc(-1 * var(--header-h)); }
body[data-over-hero][data-header="pill"] .site-header { margin-bottom: calc(-1 * var(--header-h) + 0.75rem); }
body[data-over-hero] main > .section.hero:first-child:not(.has-cover) { padding-top: calc(var(--space-section) + var(--header-h)); }
body[data-over-hero] main > .section.hero--centered:first-child:not(.has-cover) { padding-top: calc(var(--space-section) * 1.3 + var(--header-h)); }
body[data-over-hero] main > .section.hero.has-cover:first-child .hero-cover { padding-top: calc(clamp(6rem, 16vw, 10rem) + var(--header-h) * 0.5); }

/* The phone menu as a drawer, with a chosen header: wide, roomy, sliding in */
@media (max-width: 899px) {
  body[data-header] .nav-menu ul { left: var(--gutter); right: var(--gutter); min-width: 0; padding: 0.5rem; }
  body[data-header="pill"] .nav-menu ul { left: 0; right: 0; }
  body[data-header] .nav-menu ul a { padding: 0.85rem 1rem; font-size: var(--fs-md); }
}
body[data-header] .nav-menu[open] ul { transition: opacity 0.2s ease, transform 0.2s ease; }
@starting-style { body[data-header] .nav-menu[open] ul { opacity: 0; transform: translateY(-0.5rem); } }
@media (prefers-reduced-motion: reduce) { body:is([data-header], [data-layout]) .nav-menu[open] ul { transition: none; } }

/* Footer: centred */
body[data-footer="centered"] .site-footer .container { flex-direction: column; align-items: center; text-align: center; }
body[data-footer="centered"] .footer-nav { justify-content: center; }

/* Footer: in columns (pages, contact, opening hours), the copyright and the legal pages below */
.site-footer.footer-columns { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer.footer-columns .container { display: block; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.footer-name { margin: 0 0 1rem; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: var(--fs-h3); color: var(--c-text); }
.footer-title, .footer-col .hours h3 { margin: 0 0 1rem; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text); }
.footer-links { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; overflow-wrap: anywhere; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--c-text); text-decoration: underline; }
.footer-col .hours { padding: 0; background: none; border: 0; }
.footer-col .hours dl > div { padding: 0.35rem 0; }
.footer-col .hours dd { font-weight: 500; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border); }

/* Footer as a band: the palette re-pointed like the dark and primary sections */
body[data-style][data-footer-tone] .site-footer {
  background: var(--c-bg); color: var(--c-muted); border-top: 0;
  --c-muted: color-mix(in srgb, var(--c-text) 78%, var(--c-bg));
  --c-border: color-mix(in srgb, var(--c-text) 22%, var(--c-bg));
  --c-surface: color-mix(in srgb, var(--c-text) 8%, var(--c-bg));
}
body[data-style][data-footer-tone] .site-footer a { color: inherit; }
body[data-footer-tone="dark"] .site-footer { --c-bg: var(--brand-text); --c-text: var(--brand-bg); --c-primary: var(--dark-accent); --c-on-primary: var(--dark-on-accent); --hue-red: var(--hue-red-dark); --hue-orange: var(--hue-orange-dark); --hue-gold: var(--hue-gold-dark); --hue-green: var(--hue-green-dark); --hue-teal: var(--hue-teal-dark); --hue-blue: var(--hue-blue-dark); --hue-violet: var(--hue-violet-dark); --hue-pink: var(--hue-pink-dark); }
body[data-footer-tone="primary"] .site-footer { --c-bg: var(--brand-primary); --c-text: var(--primary-band-text); --c-primary: var(--primary-band-text); --c-on-primary: var(--brand-primary); --hue-red: var(--hue-red-primary); --hue-orange: var(--hue-orange-primary); --hue-gold: var(--hue-gold-primary); --hue-green: var(--hue-green-primary); --hue-teal: var(--hue-teal-primary); --hue-blue: var(--hue-blue-primary); --hue-violet: var(--hue-violet-primary); --hue-pink: var(--hue-pink-primary); }

/* Motion: hidden until the section enters the screen (html.motion-ready is set by the script) */
.motion-ready main > .section[data-motion] { transition: opacity 0.7s ease, transform 0.7s ease; }
.motion-ready main > .section[data-motion]:not(.is-in) { opacity: 0; }
.motion-ready main > .section[data-motion="slide"]:not(.is-in) { transform: translateY(2.5rem); }
.motion-ready main > .section[data-motion="zoom"]:not(.is-in) { transform: scale(0.95); }
/* One by one: a section with a list stays, its title then each of its items rise one after the
   other, 70 ms apart, the eighth and the rest together. Without :has(), the section as a whole. */
.motion-ready main > .section[data-motion]:not([data-stagger]):has(:is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]):not(.is-in) { opacity: 1; transform: none; }
.motion-ready main > .section[data-motion]:not([data-stagger]) :is(.section-head > *, :is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]) { transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.motion-ready main > .section[data-motion]:not([data-stagger]):not(.is-in) :is(.section-head > *, :is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]) { opacity: 0; transform: translateY(1.5rem); }
.motion-ready main > .section[data-motion="fade"]:not([data-stagger]):not(.is-in) :is(.section-head > *, :is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]) { transform: translateY(0.75rem); }
.motion-ready main > .section[data-motion="zoom"]:not([data-stagger]):not(.is-in) :is(.section-head > *, :is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]) { transform: scale(0.94); }
.motion-ready main > .section[data-motion]:not([data-stagger]) .section-head > :nth-child(2) { transition-delay: 70ms; }
.motion-ready main > .section[data-motion]:not([data-stagger]) :is(:is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]):nth-child(1) { transition-delay: 140ms; }
.motion-ready main > .section[data-motion]:not([data-stagger]) :is(:is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]):nth-child(2) { transition-delay: 210ms; }
.motion-ready main > .section[data-motion]:not([data-stagger]) :is(:is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]):nth-child(3) { transition-delay: 280ms; }
.motion-ready main > .section[data-motion]:not([data-stagger]) :is(:is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]):nth-child(4) { transition-delay: 350ms; }
.motion-ready main > .section[data-motion]:not([data-stagger]) :is(:is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]):nth-child(5) { transition-delay: 420ms; }
.motion-ready main > .section[data-motion]:not([data-stagger]) :is(:is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]):nth-child(6) { transition-delay: 490ms; }
.motion-ready main > .section[data-motion]:not([data-stagger]) :is(:is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]):nth-child(7) { transition-delay: 560ms; }
.motion-ready main > .section[data-motion]:not([data-stagger]) :is(:is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]):nth-child(n + 8) { transition-delay: 630ms; }
/* A strip that scrolls past arrives in one piece: its copy carries no item to stagger. */
.motion-ready main > .section[data-motion]:not(.is-in) :is(.marquee-move, .badges-move) [data-role="item"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .motion-ready main > .section[data-motion], .motion-ready main > .section[data-motion] :is(.section-head > *, :is(.cards, .stats-list, .columns-grid, .service-list, .service-steps) > *, [data-role="item"]) { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Effects, with the theme's motion (body[data-effects]): CSS only, so the editor shows them too. */
@media (prefers-reduced-motion: no-preference) {
  body[data-effects] .hero--gradient .gradient-glow { animation: yolo-glow-drift 18s ease-in-out infinite alternate; }
  /* The hero's text and buttons rise one after the other as the page opens (html.motion-ready: the
     script ran; html.hero-played: the editor's preview has already played it, an edit does not replay it). */
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child :is(.eyebrow, h1, h1 + p, .editorial-aside > p, .chips, .editorial-notes, .actions, .hero-media, .hero-visual > img, .contact-card, .product-card, .device-frame) {
    animation: yolo-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 { animation-delay: 0.08s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child :is(h1 + p, .editorial-aside > p) { animation-delay: 0.16s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child :is(.hero-media, .hero-visual > img, .contact-card, .product-card, .device-frame) { animation-delay: 0.2s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child :is(.chips, .editorial-notes, .actions) { animation-delay: 0.26s; }
  html.motion-ready:not(.hero-played) body[data-effects="lively"] main > .section.hero:first-child :is(.eyebrow, h1, h1 + p, .editorial-aside > p, .chips, .editorial-notes, .actions, .hero-media, .hero-visual > img, .contact-card, .product-card, .device-frame) {
    animation-name: yolo-rise-lively; animation-duration: 1s;
  }
  html.motion-ready:not(.hero-played) body[data-effects="lively"] main > .section.hero:first-child h1 { animation-delay: 0.16s; }
  html.motion-ready:not(.hero-played) body[data-effects="lively"] main > .section.hero:first-child :is(h1 + p, .editorial-aside > p) { animation-delay: 0.32s; }
  html.motion-ready:not(.hero-played) body[data-effects="lively"] main > .section.hero:first-child :is(.hero-media, .hero-visual > img, .contact-card, .product-card, .device-frame) { animation-delay: 0.4s; }
  html.motion-ready:not(.hero-played) body[data-effects="lively"] main > .section.hero:first-child :is(.chips, .editorial-notes, .actions) { animation-delay: 0.52s; }

  /* The banner's title arrives word by word where the published page gave each word its span;
     the title itself then stays put, and the preview, which keeps it whole, raises it in one piece. */
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1:has(.tw) { animation: none; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw { display: inline-block; animation: yolo-word 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  html.motion-ready:not(.hero-played) body[data-effects="lively"] main > .section.hero:first-child h1 .tw { animation-name: yolo-word-lively; animation-duration: 0.9s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-1 { animation-delay: 0.08s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-2 { animation-delay: 0.15s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-3 { animation-delay: 0.22s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-4 { animation-delay: 0.29s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-5 { animation-delay: 0.36s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-6 { animation-delay: 0.43s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-7 { animation-delay: 0.50s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-8 { animation-delay: 0.57s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-9 { animation-delay: 0.64s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-10 { animation-delay: 0.71s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-11 { animation-delay: 0.78s; }
  html.motion-ready:not(.hero-played) body[data-effects] main > .section.hero:first-child h1 .tw-12 { animation-delay: 0.85s; }

  /* From one page of the site to the next (PAGE_TRANSITION_CSS): a short fade, the header staying in place. */
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.25s; }
  body[data-effects] .site-header { view-transition-name: site-header; }

  /* Menu links underlined from left to right on hover. */
  body[data-effects] .nav-links a, body[data-effects] .footer-nav a {
    background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
    text-decoration: none; padding-bottom: 2px; transition: background-size 0.25s ease, color 0.15s ease;
  }
  body[data-effects] .nav-links a:hover, body[data-effects] .footer-nav a:hover { background-size: 100% 2px; }
  /* Buttons lift a little (bold keeps its pressed look). */
  body[data-effects]:not([data-style="bold"]) .btn { transition: filter 0.15s ease, background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
  body[data-effects]:not([data-style="bold"]) .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--c-text) 60%, transparent); }

  /* What answers the pointer, on a screen that has one: a card lifts, a photo comes closer inside
     its frame, a link card shows where it goes. Bold keeps its hard shadow and moves towards it. */
  @media (hover: hover) {
    body[data-effects] .cards > .card { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease; }
    body[data-effects]:not([data-style="bold"]) .cards > .card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px color-mix(in srgb, var(--c-text) 55%, transparent); }
    body[data-effects][data-style="bold"] .cards > .card:hover { transform: translate(-2px, -2px); }
    body[data-effects] .cards > .link-card:hover { border-color: var(--c-primary); }
    /* The photo grows whole, its shape with it (an arch stays an arch), over its neighbours. */
    body[data-effects] .zoom { position: relative; }
    body[data-effects] .zoom:is(:hover, :focus-visible) { z-index: 1; }
    body[data-effects] .zoom img { transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s ease; }
    body[data-effects] .zoom:is(:hover, :focus-visible) img { transform: scale(1.03); box-shadow: 0 22px 40px -28px color-mix(in srgb, var(--c-text) 60%, transparent); }
    body[data-effects="lively"] .zoom:is(:hover, :focus-visible) img { transform: scale(1.05) rotate(-0.6deg); }
  }

  /* The title of a section gets its accent as the section arrives: the underline rises into place
     under the words, the marker is drawn from the left (both are there at once without the script). */
  html.motion-ready body[data-effects][data-headings="underline"] main > .section[data-motion] .section-head h2 { transition: text-decoration-color 0.6s ease 0.25s, text-underline-offset 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s; }
  html.motion-ready body[data-effects][data-headings="underline"] main > .section[data-motion]:not(.is-in) .section-head h2 { text-decoration-color: transparent; text-underline-offset: 0.5em; }
  html.motion-ready body[data-effects][data-headings="highlight"] main > .section[data-motion] .section-head h2 { background-repeat: no-repeat; background-size: 100% 100%; transition: background-size 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s; }
  html.motion-ready body[data-effects][data-headings="highlight"] main > .section[data-motion]:not(.is-in) .section-head h2 { background-size: 0 100%; }

  /* Lively: depth as the page scrolls, where the browser drives animations by scrolling. */
  @supports (animation-timeline: view()) {
    body[data-effects="lively"] :is(.hero-cover, .section-cover) > img { animation: yolo-depth linear both; animation-timeline: view(); animation-range: exit; }
    body[data-effects="lively"] :is(.hero-media, .split-media, .overlap-media) img { animation: yolo-drift linear both; animation-timeline: view(); }
    /* A photo of a gallery opens from the bottom as it comes up the screen. */
    body[data-effects="lively"] :is(.gallery-grid, .gallery-mosaic, .gallery-editorial, .gallery-masonry) > * { animation: yolo-unveil linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes yolo-depth { to { transform: translateY(16%) scale(1.06); } }
@keyframes yolo-rise { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes yolo-word { from { opacity: 0; transform: translateY(0.4em); } }
@keyframes yolo-word-lively { from { opacity: 0; transform: translateY(0.6em) rotate(2deg); filter: blur(6px); } }
@keyframes yolo-rise-lively { from { opacity: 0; transform: translateY(2.5rem) scale(0.97); } }
@keyframes yolo-drift { from { transform: translateY(3%); } to { transform: translateY(-3%); } }
/* Wider than the photo on the three other sides, and all round once open: a hovered photo grows past its cell. */
@keyframes yolo-unveil { from { clip-path: inset(22% -20% -20% -20%); } to { clip-path: inset(-20%); } }

/* Gallery photos enlarge on click or tap (published pages, with the script). */
a.zoom { cursor: zoom-in; }
dialog.lightbox { max-width: min(92vw, 80rem); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
dialog.lightbox::backdrop { background: rgb(0 0 0 / 0.86); }
dialog.lightbox .lb-figure { margin: 0; }
/* pan-y: a horizontal swipe is the lightbox's, a vertical one still scrolls. */
dialog.lightbox img { display: block; max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--radius); object-fit: contain; touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
dialog.lightbox figcaption { display: flex; justify-content: center; gap: 1rem; margin: 0.75rem 0 0; color: #fff; text-align: center; }
dialog.lightbox .lb-count { color: rgb(255 255 255 / 0.7); font-variant-numeric: tabular-nums; white-space: nowrap; }
dialog.lightbox[open], dialog.lightbox[open]::backdrop { transition: opacity 0.2s ease, transform 0.2s ease; }
@starting-style { dialog.lightbox[open] { opacity: 0; transform: scale(0.97); } dialog.lightbox[open]::backdrop { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { dialog.lightbox[open], dialog.lightbox[open]::backdrop { transition: none; } }
dialog.lightbox button { position: fixed; top: 50%; translate: 0 -50%; width: 3rem; height: 3rem; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.16); color: #fff; font-size: var(--fs-xl); line-height: 1; cursor: pointer; }
dialog.lightbox button:hover, dialog.lightbox button:focus-visible { background: rgb(255 255 255 / 0.3); }
dialog.lightbox .lb-prev { left: 1rem; }
dialog.lightbox .lb-next { right: 1rem; }
dialog.lightbox .lb-close { top: 1.5rem; right: 1rem; translate: none; }
dialog.lightbox.lb-single :is(.lb-prev, .lb-next) { display: none; }

/* Before/after: side by side; with the script, one over the other and a slider. */
.ba-list { display: grid; gap: 2.5rem; }
.ba { margin: 0; }
.ba-frame { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ba-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.ba-labels { display: flex; justify-content: space-between; margin-top: 0.6rem; color: var(--c-muted); font-size: var(--fs-sm); }
.ba-live .ba-frame { display: block; position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.ba-live .ba-frame img { border-radius: 0; }
.ba-live .ba-after { position: absolute; inset: 0; height: 100%; clip-path: inset(0 0 0 var(--ba, 50%)); }
.ba-live .ba-frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); width: 3px; translate: -50% 0; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.25); pointer-events: none; }
.ba-live .ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-live:focus-within .ba-frame { outline: 3px solid var(--c-primary); outline-offset: 3px; }

/* Menu tabs: links to each group; with the script, one group at a time. */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.tab { padding: 0.5rem 1.1rem; border: 1px solid var(--c-border); border-radius: 999px; color: var(--c-text); font-weight: 600; text-decoration: none; }
.tab:hover { border-color: var(--c-primary); }
.tabs-live .tab[aria-selected="true"] { background: var(--c-primary); border-color: transparent; color: var(--c-on-primary); }
.tabs-live .tab-panel[hidden] { display: none; }
.tabs-live .tab-panel h3 { display: none; }
.tabs-live .tab-panel + .tab-panel { margin-top: 0; }

.shop-live .shop-buy { display: none; }
.shop-add { align-self: flex-start; }
.shop-item .shop-add { margin-top: auto; }
.shop-cart { margin-top: 3rem; padding: 1.75rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); }
.shop-cart h3 { margin: 0 0 1rem; }
.shop-cart-lines { display: grid; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.shop-cart-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: baseline; }
.shop-cart-lines .price { font-weight: 600; color: var(--c-primary); }
.shop-drop { padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-sm); color: var(--c-muted); text-decoration: underline; cursor: pointer; }
.shop-cart-empty { color: var(--c-muted); font-style: italic; }
.shop-cart-total { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.5rem; padding-top: 0.75rem; border-top: 1px solid var(--c-border); font-weight: 600; }
.shop-note { margin: 1rem 0 0; color: var(--c-muted); font-size: var(--fs-sm); }
