/* ==========================================================================
   Theme: atelier

   The Atelier look: editorial craft for considered B2B. Pale paper tinted by the realm's hue, one
   accent that follows the hue, Source Serif 4 headlines over Inter body, generous space, real
   buttons. The logo and the art behind the hero belong to the realm, not to this look: see
   docs/brand-assets.md.

   Ported from archetype/atelier.css, but self-contained: it needs no Atelier-only class and no
   archetype, only the semantic markup the blocks already have. Every rule is scoped to
   [data-theme="atelier"] (docs/theming.md).
   ========================================================================== */

[data-theme="atelier"] {
  /* Colour: none. The app's colour tokens are the realm's palette, light and dark. The text on
     Primary is the colour Brands calculated for it. */
  --radius: 10px;

  --theme-font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --theme-font-serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --theme-font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* The emphasis phrase is italic serif in the accent */
  --theme-emphasis-font: var(--theme-font-serif);
  --theme-emphasis-style: italic;
  --theme-emphasis-weight: 400;
  --theme-emphasis-color: var(--primary);
  --theme-emphasis-decoration: none;
  --theme-emphasis-background: transparent;
  --theme-emphasis-padding: 0;
  --theme-emphasis-radius: 0;

  --theme-card-gap: 0.625rem;
  --theme-card-padding: 1.5rem;
  --theme-card-border: 1px solid var(--border);
  --theme-card-rule: 1px solid var(--border);
  --theme-card-radius: 14px;
  --theme-card-background: var(--card);
  --theme-card-text-color: color-mix(in oklab, var(--foreground) 78%, var(--card));

  /* Steps: a large mono 01 02 03 in the accent, no badge */
  --theme-number-style: decimal-leading-zero;
  --theme-number-suffix: "";
  --theme-number-size: 2rem;
  --theme-number-font-size: 1.5rem;
  --theme-number-radius: 0;
  --theme-number-background: transparent;
  --theme-number-color: var(--primary);

  --theme-stat-size: 3rem;
  --theme-stat-color: var(--primary);

  --theme-band-padding: 3rem 2.5rem;
  --theme-band-radius: 14px;
  --theme-band-background: color-mix(in oklab, var(--primary) 10%, var(--background));
  --theme-band-color: inherit;
  --theme-band-text-color: var(--muted-foreground);

  --theme-callout-padding: 1.25rem 1.5rem;
  --theme-callout-border: 1px solid color-mix(in oklab, var(--primary) 18%, var(--background));
  --theme-callout-rule: 3px solid var(--primary);
  --theme-callout-radius: 10px;
  --theme-callout-background: color-mix(in oklab, var(--primary) 10%, var(--background));

  --theme-faq-rule: 1px solid var(--border);
  --theme-faq-marker-closed: "+";
  --theme-faq-marker-open: "\2212";

  --theme-blog-rule: 1px solid var(--border);
  --theme-page-width: 80rem;
  --theme-page-gutter: 3rem;

  --theme-field-padding: 0.625rem 0.875rem;
  --theme-field-border: 1px solid var(--border);
  --theme-field-radius: 10px;
  --theme-field-background: var(--card);

  --theme-table-rule: 1px solid var(--border);
  --theme-table-head-rule: 1px solid var(--primary);

  --theme-header-padding: 1.25rem 3rem;
  --theme-header-rule: 1px solid var(--border);
  --theme-header-background: var(--background);
  --theme-footer-padding: 3.5rem 3rem 2rem;
  --theme-footer-rule: 1px solid var(--border);
  --theme-footer-background: color-mix(in oklab, var(--primary) 6%, var(--background));
  --theme-footer-heading-tracking: 0.16em;
  --theme-footer-legal-rule: 1px solid var(--border);
}

/* ---------- type: serif headlines, mono small print ---------- */

[data-theme="atelier"] h1,
[data-theme="atelier"] h2,
[data-theme="atelier"] h3,
[data-theme="atelier"] h4 {
  font-family: var(--theme-font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}
[data-theme="atelier"] .card-badge,
[data-theme="atelier"] .site-footer-heading,
[data-theme="atelier"] .stat-label,
[data-theme="atelier"] .comparison-header {
  font-family: var(--theme-font-mono);
}
[data-theme="atelier"] .stat-strip-items .stat-value,
[data-theme="atelier"] .card-list-items .card-title {
  font-family: var(--theme-font-serif);
}
[data-theme="atelier"] .card-list-numbered .card-list-items .card::before { justify-content: flex-start; line-height: 1; }

/* ---------- hero: the smell lines, drawn behind ---------- */

/* The page is drawn edge to edge: the curves and the bands below run past the content column, so the
   shell clips the sideways overflow (clip, not hidden: it makes no scroll container). */
[data-theme="atelier"] { overflow-x: clip; }

/* A left aligned, editorial hero: the heading in a narrow column, the lead under it, buttons in a row. */
[data-theme="atelier"] .hero {
  isolation: isolate;
  overflow: visible;
  border-radius: 0;
  text-align: left;
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}
[data-theme="atelier"] .hero-eyebrow {
  color: var(--primary);
  font-family: var(--theme-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
[data-theme="atelier"] .hero-heading {
  font-size: clamp(2.5rem, 6vw, 4.875rem);
  font-weight: 500;
  line-height: 1.04;
  max-width: 18ch;
}
[data-theme="atelier"] .hero-subheading {
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 56ch;
  margin-left: 0;
  margin-right: 0;
}
[data-theme="atelier"] .hero-actions { justify-content: flex-start; }
/* The vertical rhythm is set here: the block's own spacing utilities are too tight for this size of type. */
[data-theme="atelier"] .hero-eyebrow { margin-bottom: 2rem; }
[data-theme="atelier"] .hero-heading { margin-bottom: 1.75rem; }
[data-theme="atelier"] .hero-tagline {
  font-family: var(--theme-font-body);
  font-size: 1.3125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  max-width: 30ch;
  margin-bottom: 1.25rem;
}
[data-theme="atelier"] .hero-subheading { margin-bottom: 2.75rem; }

/* The art behind the hero is the realm's, not the theme's: the realm names its SVG shapes (brand,
   docs/brand-assets.md) and the shell draws them (shell.css). What the theme decides is where and in
   which colour. Here the art spans the viewport rather than the content column, in a quiet tint of
   the realm's hue, with the accent layer in the accent. A realm with no art gets nothing. */
[data-theme="atelier"].themed-shell[data-hero-art] .hero::before,
[data-theme="atelier"].themed-shell[data-hero-art-accent] .hero::after {
  inset: 0 auto;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
}
[data-theme="atelier"].themed-shell[data-hero-art] .hero::before {
  background-color: color-mix(in oklab, var(--primary) 30%, var(--background));
  opacity: 0.55;
}

/* ---------- section edges: a hairline of smell between sections ---------- */

[data-theme="atelier"] section + section { border-top: 1px solid var(--theme-section-rule, color-mix(in oklab, var(--foreground) 8%, var(--background))); }

/* ---------- real buttons, in the accent ---------- */

[data-theme="atelier"] .hero a,
[data-theme="atelier"] .cta-band-actions a {
  border-radius: var(--radius);
  padding: 0.8rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
/* The filled button ends in an arrow; the outline one (it carries the border class) does not. */
[data-theme="atelier"] .hero a:not(.border) {
  gap: 0.625rem;
  box-shadow: 0 1px 0 color-mix(in oklab, var(--primary) 40%, transparent);
}
[data-theme="atelier"] .hero a:not(.border)::after { content: "\2192"; }
[data-theme="atelier"] .hero a:not(.border):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in oklab, var(--primary) 32%, transparent);
}
[data-theme="atelier"] .hero a.border,
[data-theme="atelier"] .cta-band-actions a.border { border-color: var(--border); background: transparent; }
[data-theme="atelier"] .hero a.border:hover { border-color: var(--muted-foreground); background: var(--secondary); }

/* ---------- header and footer ---------- */

/* The realm's mark is its own image (brand.logo); the theme only sets the room it gets. */
[data-theme="atelier"] .site-brand { gap: 0.75rem; }
[data-theme="atelier"] .site-brand-mark:not(.site-brand-mark-ascii) { width: 1.75rem; height: 1.75rem; }
[data-theme="atelier"] .site-brand-name { font-family: var(--theme-font-serif); font-style: italic; font-weight: 500; font-size: 1.1875rem; letter-spacing: -0.015em; }
[data-theme="atelier"] .site-nav a { font-weight: 450; }
[data-theme="atelier"] .site-footer-tagline { font-family: var(--theme-font-serif); font-style: italic; }
[data-theme="atelier"] .site-footer-heading { color: var(--primary); }

/* ---------- a walkthrough: a numbered card list drawn as a timeline ---------- */

/* A section holding a numbered list sits on a tinted band that runs edge to edge. The shadow paints
   the band past the content column and the clip keeps it from spilling above or below the section. */
[data-theme="atelier"] section:has(.card-list-numbered) {
  --atelier-band: color-mix(in oklab, var(--primary) 8%, var(--background));
  background-color: var(--atelier-band);
  box-shadow: 0 0 0 100vmax var(--atelier-band);
  clip-path: inset(0 -100vmax);
  padding-block: 6rem;
}
/* The list uses the page's own column, as every other section does; the lines of text keep their own
   measure (card-text, below), so a wide band does not make long lines. */
[data-theme="atelier"] .card-list-numbered { width: 100%; }
/* A section's own title (the page's section field) is the heading of the band or the list under it:
   large italic serif, in the same column. */
[data-theme="atelier"] section > h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
}
[data-theme="atelier"] section:has(.faq) > h2 {
  max-width: 47.5rem;
  margin-inline: auto;
  width: 100%;
}
[data-theme="atelier"] .card-list-numbered .card-list-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-style: italic;
  line-height: 1.12;
  margin-bottom: 1rem;
}
[data-theme="atelier"] .card-list-numbered .card-list-intro { font-size: 1.0625rem; line-height: 1.6; }
[data-theme="atelier"] .card-list-numbered .card-list-items {
  display: block;
  position: relative;
  margin-top: 4rem;
}
/* The hairline joining the numbers */
[data-theme="atelier"] .card-list-numbered .card-list-items::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 3.5rem;
  bottom: 3.5rem;
  width: 1px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 20%, var(--background)), var(--border));
  opacity: 0.6;
}
[data-theme="atelier"] .card-list-numbered .card-list-items .card {
  padding: 2.5rem 0 2.5rem 4.75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  gap: 0.75rem;
}
[data-theme="atelier"] .card-list-numbered .card-list-items .card + .card {
  border-top: 1px solid color-mix(in oklab, var(--primary) 10%, var(--background));
}
[data-theme="atelier"] .card-list-numbered .card-list-items .card::before {
  position: absolute;
  left: 0;
  top: 2.5rem;
  z-index: 1;
  width: 46px;
  height: 46px;
  min-width: 0;
  border: 1px solid color-mix(in oklab, var(--primary) 20%, var(--background));
  border-radius: 50%;
  background: var(--card);
  justify-content: center;
  font-family: var(--theme-font-serif);
  font-style: italic;
  font-weight: 400;
}
[data-theme="atelier"] .card-list-numbered .card-list-items .card-title {
  font-size: 1.625rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.012em;
}
[data-theme="atelier"] .card-list-numbered .card-list-items .card-text {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 56ch;
}

/* ---------- questions: serif questions on a quiet list ---------- */

[data-theme="atelier"] .faq {
  max-width: 51rem;
  margin-inline: auto;
}
[data-theme="atelier"] .faq-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-style: italic;
  line-height: 1.12;
  margin-bottom: 2.5rem;
}
[data-theme="atelier"] .faq-question {
  padding: 1.375rem 0.25rem;
  font-family: var(--theme-font-serif);
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}
[data-theme="atelier"] .faq-question:hover { color: var(--primary); }
[data-theme="atelier"] .faq-question::after {
  font-family: var(--theme-font-body);
  font-size: 1.375rem;
  font-style: normal;
  color: var(--muted-foreground);
}
[data-theme="atelier"] .faq-item[open] > .faq-question::after { color: var(--primary); }
[data-theme="atelier"] .faq-answer {
  padding: 0 0.25rem 1.625rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  max-width: 70ch;
}

/* ---------- pricing: quiet cards, the highlighted one in the accent ---------- */

[data-theme="atelier"] .pricing-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-style: italic;
  font-weight: 500;
  text-align: left;
}
[data-theme="atelier"] .pricing-intro { text-align: left; font-size: 1.0625rem; }
[data-theme="atelier"] .plan {
  border-radius: 14px;
  background: var(--card);
  box-shadow: none;
}
[data-theme="atelier"] .plan.border-primary { box-shadow: 0 8px 24px color-mix(in oklab, var(--primary) 14%, transparent); }
[data-theme="atelier"] .plan-kicker {
  font-family: var(--theme-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
[data-theme="atelier"] .plan-price,
[data-theme="atelier"] .plan-price-fixed { font-family: var(--theme-font-serif); }

/* ---------- header: brand left, links in the middle, actions right ---------- */

@media (min-width: 48rem) {
  [data-theme="atelier"] .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0 2rem;
  }
  [data-theme="atelier"] .site-header-primary { display: contents; }
  [data-theme="atelier"] .site-brand { grid-column: 1; grid-row: 1; justify-self: start; }
  [data-theme="atelier"] .site-nav { grid-column: 2; grid-row: 1; margin-top: 0; gap: 0.5rem 2.25rem; }
  [data-theme="atelier"] .site-actions { grid-column: 3; grid-row: 1; justify-self: end; }
  [data-theme="atelier"] .site-draft-note { grid-column: 1 / -1; }
}
[data-theme="atelier"] .site-nav { color: var(--muted-foreground); }
[data-theme="atelier"] .site-nav a:hover { color: var(--foreground); }
[data-theme="atelier"] section:has(.faq) { padding-block: 6rem; }
[data-theme="atelier"] section:has(.card-list-numbered),
[data-theme="atelier"] section:has(.card-list-numbered) + section { border-top: 0; }

/* ==========================================================================
   Every other handle of the blocks (docs/theming.md, the classes table). A test fails when a
   handle has no rule in this sheet, so a new block is not done until Atelier draws it.
   Atelier is editorial craft: paper tinted by the hue, an italic serif for anything said with
   feeling, mono for small print and labels, round cards on a hairline, real buttons.
   Nothing here adds a word; every content value is a mark (docs/theming.md, *Rules*).
   ========================================================================== */

/* ---------- hero: the emphasis phrase, set in the italic serif ---------- */

[data-theme="atelier"] .hero-emphasis { font-style: italic; letter-spacing: -0.01em; }

/* ---------- block titles: large italic serif, left aligned, intros in the muted ink ---------- */

[data-theme="atelier"] .card-list-title,
[data-theme="atelier"] .testimonials-title,
[data-theme="atelier"] .stat-strip-title,
[data-theme="atelier"] .page-list-title,
[data-theme="atelier"] .contact-form-heading,
[data-theme="atelier"] .comparison-caption {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
  text-align: left;
}
[data-theme="atelier"] .card-list-intro,
[data-theme="atelier"] .testimonials-intro,
[data-theme="atelier"] .page-list-intro,
[data-theme="atelier"] .contact-form-intro {
  max-width: 44rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* ---------- card lists: round cards on paper, a tinted icon tile, a link with an arrow ---------- */

[data-theme="atelier"] .card-list { padding-block: 4rem; }
[data-theme="atelier"] .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: color-mix(in oklab, var(--primary) 10%, var(--background));
  color: var(--primary);
}
[data-theme="atelier"] .card-code {
  padding: 0.125rem 0.5rem;
  border-radius: 6px;
  background: color-mix(in oklab, var(--primary) 6%, var(--background));
  font-family: var(--theme-font-mono);
  font-size: 0.8125rem;
}
[data-theme="atelier"] .card-link { font-weight: 500; color: var(--primary); }
[data-theme="atelier"] .card-link::after { content: " \2192"; }
[data-theme="atelier"] .card-link:hover { text-decoration: underline; text-underline-offset: 0.3em; }

/* ---------- testimonials: paper cards, an italic serif quote, the author under a hairline ---------- */

[data-theme="atelier"] .testimonials { padding-block: 4rem; }
[data-theme="atelier"] .testimonials-items { gap: 1.25rem; }
[data-theme="atelier"] .testimonials-items .testimonial {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}
[data-theme="atelier"] .testimonials-items .testimonial-figure { gap: 1.25rem; }
[data-theme="atelier"] .testimonials-items .testimonial-rating { letter-spacing: 0.15em; }
[data-theme="atelier"] .testimonials-items .testimonial-star { font-size: 0.875rem; color: var(--border); }
[data-theme="atelier"] .testimonials-items .testimonial-star-on { color: var(--primary); }
[data-theme="atelier"] .testimonials-items .testimonial-quote {
  font-family: var(--theme-font-serif);
  font-size: 1.3125rem;
  font-style: italic;
  line-height: 1.5;
}
[data-theme="atelier"] .testimonials-items .testimonial-quote::before { content: "\201C"; color: var(--primary); }
[data-theme="atelier"] .testimonials-items .testimonial-quote::after { content: "\201D"; color: var(--primary); }
[data-theme="atelier"] .testimonials-items .testimonial-author {
  gap: 0.25rem 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
[data-theme="atelier"] .testimonials-items .testimonial-avatar { border-radius: 9999px; box-shadow: 0 0 0 2px color-mix(in oklab, var(--primary) 10%, var(--background)); }
[data-theme="atelier"] .testimonials-items .testimonial-author-name { font-weight: 500; }
[data-theme="atelier"] .testimonials-items .testimonial-author-role {
  font-family: var(--theme-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ---------- stat strip: big accent serif figures with a short accent tick over each ---------- */

[data-theme="atelier"] .stat-strip { padding-block: 4rem; }
[data-theme="atelier"] .stat-strip-items { gap: 2rem 3rem; }
[data-theme="atelier"] .stat-strip-items .stat {
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
[data-theme="atelier"] .stat-strip-items .stat::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: -1.0625rem;
  margin-bottom: 0.75rem;
  background: var(--primary);
}
[data-theme="atelier"] .stat-strip-items .stat-label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- call to action band: a rounded tinted panel, a serif italic heading ---------- */

[data-theme="atelier"] .cta-band { gap: 1.25rem; text-align: left; }
[data-theme="atelier"] .cta-band-heading {
  font-family: var(--theme-font-serif);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
}
[data-theme="atelier"] .cta-band-text { max-width: 44rem; font-size: 1.0625rem; line-height: 1.65; }

/* ---------- callout: a tinted panel with an accent edge, a serif italic title ---------- */

[data-theme="atelier"] .callout { line-height: 1.65; }
[data-theme="atelier"] .callout-title {
  font-family: var(--theme-font-serif);
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 500;
}
[data-theme="atelier"] .callout-body { color: var(--muted-foreground); }

/* ---------- FAQ: the rows between hairlines ---------- */

[data-theme="atelier"] .faq-items { border-top: var(--theme-faq-rule); }

/* ---------- pricing: round paper plans, a mono small print, a serif name ---------- */

[data-theme="atelier"] .pricing { padding-block: 4rem; }
[data-theme="atelier"] .pricing-footnote {
  font-family: var(--theme-font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
[data-theme="atelier"] .plan-name { font-family: var(--theme-font-serif); font-size: 1.5rem; font-style: italic; font-weight: 500; }
[data-theme="atelier"] .plan-tagline { line-height: 1.65; color: var(--muted-foreground); }
[data-theme="atelier"] .plan-meta {
  font-family: var(--theme-font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- page list: hairline lines, round paper cards, round image blocks ---------- */

[data-theme="atelier"] .page-list { padding-block: 4rem; }
[data-theme="atelier"] .page-list-eyebrow {
  color: var(--primary);
  font-family: var(--theme-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
[data-theme="atelier"] .page-list-items { gap: 1.5rem; }
[data-theme="atelier"] .page-list-links .page-list-items { gap: 0; max-width: 51rem; }
[data-theme="atelier"] .page-list-link { padding: 1.125rem 0; border-bottom: 1px solid var(--border); }
[data-theme="atelier"] .page-list-link-title {
  font-family: var(--theme-font-serif);
  font-size: 1.3125rem;
  font-style: italic;
  font-weight: 500;
}
[data-theme="atelier"] .page-list-link:hover .page-list-link-title { color: var(--primary); }
[data-theme="atelier"] .page-list-link-title::after { content: " \2192"; color: var(--primary); }
[data-theme="atelier"] .page-list-cards .page-list-items { gap: 1.25rem; }
[data-theme="atelier"] .page-list-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  transition: border-color 0.15s, box-shadow 0.15s;
}
[data-theme="atelier"] .page-list-card:hover {
  border-color: color-mix(in oklab, var(--primary) 20%, var(--background));
  box-shadow: 0 8px 24px color-mix(in oklab, var(--primary) 12%, transparent);
}
[data-theme="atelier"] .page-list-card-title { font-family: var(--theme-font-serif); font-size: 1.3125rem; font-style: italic; font-weight: 500; }
[data-theme="atelier"] .page-list-card-summary { line-height: 1.65; color: var(--muted-foreground); }
[data-theme="atelier"] .page-list-image-cards .page-list-items { gap: 2rem 1.25rem; }
[data-theme="atelier"] .page-list-image-card { gap: 0.875rem; }
[data-theme="atelier"] .page-list-image-card-link { gap: 0.875rem; }
[data-theme="atelier"] .page-list-image-card-link:hover .page-list-image-card-caption { color: var(--primary); }
[data-theme="atelier"] .page-list-image { border-radius: 14px; }
[data-theme="atelier"] .page-list-image-placeholder {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, color-mix(in oklab, var(--primary) 10%, var(--background)), color-mix(in oklab, var(--foreground) 4%, var(--background)));
}
[data-theme="atelier"] .page-list-image-card-caption { font-family: var(--theme-font-serif); font-size: 1.25rem; font-style: italic; font-weight: 500; line-height: 1.25; }
[data-theme="atelier"] .page-list-date {
  font-family: var(--theme-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
[data-theme="atelier"] .page-list-empty {
  padding: 1.5rem;
  border: 1px dashed var(--border);
  border-radius: 14px;
  font-family: var(--theme-font-serif);
  font-style: italic;
  color: var(--muted-foreground);
}

/* ---------- blog post: a big serif title, an italic summary, a roomy body ---------- */

[data-theme="atelier"] .blog-post { padding-block: 3rem; }
[data-theme="atelier"] .blog-back { font-family: var(--theme-font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--primary); }
[data-theme="atelier"] .blog-back::before { content: "\2190 "; }
[data-theme="atelier"] .blog-post-header { padding-bottom: 2rem; }
[data-theme="atelier"] .blog-post-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
[data-theme="atelier"] .blog-post-meta {
  font-family: var(--theme-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
[data-theme="atelier"] .blog-post-summary {
  font-family: var(--theme-font-serif);
  font-size: 1.4375rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--muted-foreground);
}
[data-theme="atelier"] .blog-post-body { font-size: 1.125rem; line-height: 1.8; }
[data-theme="atelier"] .blog-post-body h2,
[data-theme="atelier"] .blog-post-body h3 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
[data-theme="atelier"] .blog-post-body a { color: var(--primary); text-underline-offset: 0.3em; }
[data-theme="atelier"] .blog-post-body blockquote {
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary);
  font-family: var(--theme-font-serif);
  font-size: 1.3125rem;
  font-style: italic;
}
[data-theme="atelier"] .blog-post-body code,
[data-theme="atelier"] .blog-post-body pre {
  font-family: var(--theme-font-mono);
  background: color-mix(in oklab, var(--primary) 6%, var(--background));
  border-radius: 8px;
}
[data-theme="atelier"] .blog-post-body code { padding: 0.1em 0.4em; font-size: 0.875em; }
[data-theme="atelier"] .blog-post-body pre { padding: 1.25rem 1.5rem; overflow-x: auto; }
[data-theme="atelier"] .blog-post-body pre code { padding: 0; background: transparent; }

/* ---------- contact form: round paper fields, an accent ring on focus, a real button ---------- */

[data-theme="atelier"] .contact-form { padding-block: 4rem; }
[data-theme="atelier"] .contact-form-form { gap: 1.25rem; max-width: 38rem; }
[data-theme="atelier"] .contact-form-field label {
  font-family: var(--theme-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
[data-theme="atelier"] .contact-form-input { transition: border-color 0.15s, box-shadow 0.15s; }
[data-theme="atelier"] .contact-form-input:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 12%, var(--background));
}
[data-theme="atelier"] .contact-form-error { font-size: 0.9375rem; line-height: 1.6; }
[data-theme="atelier"] .contact-form-thanks {
  font-family: var(--theme-font-serif);
  font-size: 1.3125rem;
  font-style: italic;
  line-height: 1.5;
}
[data-theme="atelier"] .contact-form-actions { padding-top: 0.5rem; }
[data-theme="atelier"] .contact-form-submit {
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: 0 1px 0 color-mix(in oklab, var(--primary) 40%, transparent);
  transition: transform 0.15s, box-shadow 0.15s;
}
[data-theme="atelier"] .contact-form-submit::after { content: " \2192"; }
[data-theme="atelier"] .contact-form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in oklab, var(--primary) 32%, transparent);
}

/* ---------- header and footer parts ---------- */

[data-theme="atelier"] .site-actions { gap: 0.5rem 1.5rem; font-size: 0.9375rem; }
[data-theme="atelier"] .site-action { font-weight: 450; }
[data-theme="atelier"] .site-action:hover { color: var(--primary); }
[data-theme="atelier"] .site-footer { font-size: 0.9375rem; }
[data-theme="atelier"] .site-footer-main { gap: 3rem 5rem; }
[data-theme="atelier"] .site-footer-brand { color: var(--foreground); }
[data-theme="atelier"] .site-footer-nav { gap: 2.5rem 4rem; }
[data-theme="atelier"] .site-footer-column { min-width: 10rem; }
[data-theme="atelier"] .site-footer-links { gap: 0.75rem; }
[data-theme="atelier"] .site-footer-links a:hover { color: var(--primary); }
[data-theme="atelier"] .site-footer-legal { gap: 0.25rem 2rem; line-height: 1.7; color: var(--muted-foreground); }
[data-theme="atelier"] .site-footer-company { font-family: var(--theme-font-mono); font-size: 0.75rem; letter-spacing: 0.04em; }

/* ---------- comparison table: hairline rows, an accent rule under the headers, tinted groups ---------- */

[data-theme="atelier"] .comparison { padding-block: 4rem; }
[data-theme="atelier"] .comparison-caption { margin-bottom: 1rem; }
[data-theme="atelier"] .comparison-table { font-size: 0.9375rem; }
[data-theme="atelier"] .comparison-corner { font-family: var(--theme-font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; }
[data-theme="atelier"] .comparison-header { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
[data-theme="atelier"] .comparison-group th {
  background: color-mix(in oklab, var(--primary) 6%, var(--background));
  font-family: var(--theme-font-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
}
[data-theme="atelier"] .comparison-group-body .comparison-row:last-child > * { border-bottom-color: var(--border); }
[data-theme="atelier"] .comparison-row { transition: background-color 0.15s; }
[data-theme="atelier"] .comparison-row:hover { background-color: color-mix(in oklab, var(--foreground) 4%, var(--background)); }
[data-theme="atelier"] .comparison-row-label { font-weight: 500; }
[data-theme="atelier"] .comparison-cell { color: var(--muted-foreground); }
[data-theme="atelier"] .comparison-cell-empty { color: var(--border); }
