/* Theme "clean" — éditorial moderne. Manrope display + Inter text, left-aligned
   sections, pill buttons, tinted surfaces, soft layered shadows. For services,
   agencies, health, tech, consulting. */

.theme-clean {
  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --btn-radius: 999px;
  --heading-weight: 800;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px -12px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, 0.05), 0 28px 60px -18px rgba(16, 24, 40, 0.20);
}

.theme-clean h1, .theme-clean h2 { letter-spacing: -0.025em; }
.theme-clean h3 { font-weight: 700; letter-spacing: -0.01em; }
.theme-clean .brand { font-weight: 800; letter-spacing: -0.02em; }

/* Left-aligned editorial section headings with a gradient accent bar. */
.theme-clean .section-heading {
  text-align: left;
  margin-inline: 0;
  max-width: 52rem;
}
.theme-clean .section-heading h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 5px;
  border-radius: 3px;
  margin-bottom: 1.2rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}
.theme-clean .section-intro {
  text-align: left;
  margin-inline: 0;
}

/* Tinted alternating sections instead of flat grey — reads as a designed system. */
.theme-clean .section.alt {
  background: color-mix(in srgb, var(--color-primary) 4.5%, var(--color-surface));
}

/* Buttons: pills with a soft colored glow and a nudging arrow. */
.theme-clean .btn::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.55em;
  transition: transform 0.2s ease;
}
.theme-clean .btn:hover::after { transform: translateX(4px); }
.theme-clean .nav-cta::after { content: none; }

/* Colour hero (no photo): light airy mesh with dark text and huge display type. */
.theme-clean .hero:not(.has-image) {
  background:
    radial-gradient(52rem 30rem at 82% -10%, color-mix(in srgb, var(--color-accent) 17%, transparent), transparent 60%),
    radial-gradient(44rem 30rem at -8% 108%, color-mix(in srgb, var(--color-primary) 13%, transparent), transparent 58%),
    color-mix(in srgb, var(--color-primary) 3%, var(--color-surface));
}
.theme-clean .hero:not(.has-image)::after { content: none; }
.theme-clean .hero:not(.has-image) h1,
.theme-clean .hero:not(.has-image) h2 {
  color: var(--color-text);
  text-shadow: none;
  background: linear-gradient(105deg, var(--color-text) 55%, var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-clean .hero:not(.has-image) .hero-sub {
  color: var(--color-text-muted);
  text-shadow: none;
}
.theme-clean .hero:not(.has-image) .btn {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}
.theme-clean .hero.has-image .hero-content { border-radius: 22px; }

/* Cards: borderless, layered shadows, primary-tinted hover ring. */
.theme-clean .card {
  border-color: color-mix(in srgb, var(--color-border) 55%, transparent);
  background: var(--color-surface);
}
.theme-clean .section:not(.alt) .card { background: var(--color-surface); }
.theme-clean .card:hover {
  border-color: color-mix(in srgb, var(--color-primary) 30%, var(--color-border));
}
.theme-clean .card-body { padding: 1.75rem; }

/* Cards without images get a slim accent bar on top so text-only grids
   still look designed. */
.theme-clean .card > .card-body:first-child {
  border-top: 4px solid color-mix(in srgb, var(--color-primary) 75%, var(--color-accent));
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* Stats: gradient numerals. */
.theme-clean .stat-value {
  background: linear-gradient(115deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Testimonials: soft borderless quote cards. */
.theme-clean .testimonial {
  border-color: color-mix(in srgb, var(--color-border) 55%, transparent);
  background: var(--color-surface);
}
.theme-clean .section:not(.alt) .testimonial { background: var(--color-surface); }
.theme-clean .testimonial blockquote { font-style: normal; }

/* CTA banner: floating rounded island instead of a full-bleed band. */
.theme-clean .cta-banner {
  max-width: min(var(--container), calc(100% - 2.5rem));
  margin: calc(var(--section-pad) * 0.55) auto;
  border-radius: 28px;
  box-shadow: 0 30px 70px -22px color-mix(in srgb, var(--color-primary) 55%, transparent);
}
.theme-clean .cta-banner .btn { background: #ffffff; color: var(--color-primary); }

/* Forms & FAQ pick up the rounded language. */
.theme-clean .contact-form input, .theme-clean .contact-form textarea { border-radius: 12px; }
.theme-clean .faq-list details { border-radius: var(--radius-lg); }
.theme-clean .faq-list summary { font-weight: 700; }
/* Left-aligned headings pull the narrow blocks with them. */
.theme-clean .faq-list, .theme-clean .hours-table { margin-inline: 0; }
.theme-clean .hours-note { text-align: left; }

.theme-clean .site-footer {
  background: color-mix(in srgb, var(--color-primary) 4.5%, var(--color-surface));
}

/* Theme "warm" — maison artisanale. Fraunces display serif + Inter text, cream
   grain, keyline-framed photos, ornamental dividers, drop caps, dark-roast
   footer. For food, crafts, hospitality, beauty. */

.theme-warm {
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --btn-radius: 8px;
  --heading-weight: 600;
  --shadow: 0 2px 4px rgba(80, 50, 25, 0.05), 0 14px 34px -14px rgba(80, 50, 25, 0.16);
  --shadow-lg: 0 3px 6px rgba(80, 50, 25, 0.06), 0 28px 60px -20px rgba(80, 50, 25, 0.26);
}

/* Subtle paper grain over plain sections (opaque sections cover it). */
.theme-warm {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.045'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

.theme-warm h1, .theme-warm h2 { letter-spacing: 0; }
.theme-warm h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); }
.theme-warm h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; }
.theme-warm .brand { font-family: var(--font-heading); font-weight: 600; }

/* Ornamental divider under centered section headings: line ◆ line,
   masked so it always takes the palette's accent color. */
.theme-warm .section-heading h2::after {
  content: "";
  display: block;
  width: 150px;
  height: 9px;
  margin: 1.1rem auto 0;
  background: var(--color-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='9' viewBox='0 0 150 9'%3E%3Cline x1='0' y1='4.5' x2='60' y2='4.5' stroke='black' stroke-width='1'/%3E%3Crect x='71' y='0.5' width='8' height='8' transform='rotate(45 75 4.5)' fill='black'/%3E%3Cline x1='90' y1='4.5' x2='150' y2='4.5' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='9' viewBox='0 0 150 9'%3E%3Cline x1='0' y1='4.5' x2='60' y2='4.5' stroke='black' stroke-width='1'/%3E%3Crect x='71' y='0.5' width='8' height='8' transform='rotate(45 75 4.5)' fill='black'/%3E%3Cline x1='90' y1='4.5' x2='150' y2='4.5' stroke='black' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}

.theme-warm .section.alt {
  background: color-mix(in srgb, var(--color-accent) 9%, var(--color-surface));
}

/* Colour hero: deep, candle-lit gradient with an italic Fraunces headline. */
.theme-warm .hero:not(.has-image) {
  background:
    radial-gradient(46rem 30rem at 88% -12%, color-mix(in srgb, var(--color-accent) 55%, transparent), transparent 62%),
    linear-gradient(140deg, color-mix(in srgb, var(--color-primary) 78%, #221008), var(--color-primary) 55%, color-mix(in srgb, var(--color-accent) 70%, var(--color-primary)));
}
.theme-warm .hero h1, .theme-warm .hero.has-image .hero-content h2 { font-style: italic; font-weight: 550; }
.theme-warm .hero .hero-sub { font-weight: 350; }
.theme-warm .hero.has-image .hero-content {
  background: rgba(44, 26, 16, 0.4);
  border: 1px solid rgba(255, 244, 230, 0.16);
}
.theme-warm .hero:not(.has-image) .btn { background: #fff8ef; color: color-mix(in srgb, var(--color-primary) 88%, black); }

/* Buttons: crafted, slightly squared, with a fine inner keyline. */
.theme-warm .btn {
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.28), 0 2px 6px rgba(80, 50, 25, 0.18);
  letter-spacing: 0.01em;
}

/* Photos get a fine inset keyline frame — the picture-frame effect. */
.theme-warm .about-grid img,
.theme-warm .gallery-grid img,
.theme-warm .card > img {
  outline: 1px solid rgba(255, 250, 240, 0.55);
  outline-offset: -9px;
}

/* The about photo becomes an arch — signature artisan shape. */
.theme-warm .about-grid.has-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  outline-offset: -12px;
}

/* Cards: warm keylines, serif titles. */
.theme-warm .card { border-color: color-mix(in srgb, var(--color-accent) 30%, var(--color-border)); }
.theme-warm .card:hover { border-color: color-mix(in srgb, var(--color-accent) 55%, var(--color-border)); }

/* Drop cap on free-form text — éditorial de métier. */
.theme-warm .prose > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 3.3em;
  float: left;
  line-height: 0.82;
  padding: 0.08em 0.14em 0 0;
  color: var(--color-primary);
}

/* Testimonials: large serif quotes under an oversized quotation mark. */
.theme-warm .testimonial {
  position: relative;
  padding-top: 3rem;
  border-color: color-mix(in srgb, var(--color-accent) 30%, var(--color-border));
}
.theme-warm .testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.6rem;
  left: 1.4rem;
  font-family: var(--font-heading);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--color-accent);
}
.theme-warm .testimonial blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 450;
  font-size: 1.18rem;
  line-height: 1.55;
}

.theme-warm .stat-value { font-weight: 550; }

.theme-warm .faq-list summary { font-family: var(--font-heading); font-weight: 600; font-size: 1.06rem; }
.theme-warm .faq-list details { border-color: color-mix(in srgb, var(--color-accent) 30%, var(--color-border)); }

.theme-warm .hours-table td { border-bottom: 1px dashed color-mix(in srgb, var(--color-accent) 45%, var(--color-border)); }
.theme-warm .hours-table tr:last-child td { border-bottom: none; }

.theme-warm .cta-banner {
  background:
    radial-gradient(40rem 26rem at 12% 120%, color-mix(in srgb, var(--color-accent) 60%, transparent), transparent 60%),
    linear-gradient(120deg, color-mix(in srgb, var(--color-primary) 82%, #221008), var(--color-primary));
}
.theme-warm .cta-banner h2 { font-style: italic; }
.theme-warm .cta-banner .btn { background: #fff8ef; color: color-mix(in srgb, var(--color-primary) 88%, black); }

/* Dark-roast footer: inverted, cocoa-toned, serif brand. */
.theme-warm .site-footer {
  background: color-mix(in srgb, var(--color-text) 92%, black);
  border-top: none;
}
.theme-warm .footer-name { color: #f7efe4; font-weight: 550; }
.theme-warm .site-footer h4 { color: color-mix(in srgb, #f7efe4 55%, transparent); }
.theme-warm .footer-tagline, .theme-warm .site-footer li { color: color-mix(in srgb, #f7efe4 72%, transparent); }
.theme-warm .site-footer a { color: color-mix(in srgb, #f7efe4 78%, transparent); }
.theme-warm .site-footer a:hover { color: #ffffff; }
.theme-warm .footer-bottom {
  border-top-color: rgba(247, 239, 228, 0.14);
  color: color-mix(in srgb, #f7efe4 55%, transparent);
}

/* Theme "bold" — atelier industriel. Archivo Black display, uppercase headings,
   sharp corners, hard offset shadows, numbered sections, hazard-stripe accents.
   For trades, garages, fitness, construction. */

.theme-bold {
  --font-heading: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 0px;
  --radius-lg: 0px;
  --btn-radius: 0px;
  --heading-weight: 400; /* Archivo Black has a single (very heavy) weight */
  --shadow: none;
  --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, 0.5);
}

.theme-bold h1, .theme-bold h2 {
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
}
.theme-bold h1 { font-size: clamp(2.4rem, 6.5vw, 4.2rem); }
/* Sub-headings drop to heavy Inter — Archivo Black is display-only. */
.theme-bold h3, .theme-bold h4 {
  font-family: var(--font-body);
  font-weight: 800;
}
.theme-bold .card-body h3 { text-transform: uppercase; font-size: 1.02rem; letter-spacing: 0.04em; }
.theme-bold .brand { text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.03em; }
.theme-bold ::selection { background: color-mix(in srgb, var(--color-primary) 45%, transparent); }

/* Numbered, left-aligned section headings — the industrial index. */
.theme-bold main { counter-reset: bold-sec; }
.theme-bold .section-heading {
  text-align: left;
  margin-inline: 0;
  max-width: 54rem;
}
.theme-bold .section-heading h2::before {
  counter-increment: bold-sec;
  content: "0" counter(bold-sec);
  display: block;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.theme-bold .section-intro { text-align: left; margin-inline: 0; }
/* Left-aligned headings pull the narrow blocks with them. */
.theme-bold .faq-list, .theme-bold .hours-table { margin-inline: 0; }
.theme-bold .hours-note { text-align: left; }

/* Free-standing headings get a heavy side bar. */
.theme-bold .about-grid h2, .theme-bold .prose h2 {
  border-left: 8px solid var(--color-primary);
  padding-left: 0.55em;
}

.theme-bold .section.alt {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Nav: uppercase micro-tracking. */
.theme-bold .site-nav a {
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background-size: 0% 3px;
}
.theme-bold .site-nav a:hover, .theme-bold .site-nav a[aria-current="page"] { background-size: 100% 3px; }

/* Buttons: square slabs with a hard offset shadow that pops on hover. */
.theme-bold .btn {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  padding: 1em 2em;
  box-shadow: 5px 5px 0 color-mix(in srgb, var(--color-text) 85%, transparent);
}
.theme-bold .btn:hover {
  filter: none;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--color-text) 85%, transparent);
}
.theme-bold .btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 color-mix(in srgb, var(--color-text) 85%, transparent); }
.theme-bold .nav-cta { box-shadow: 3px 3px 0 color-mix(in srgb, var(--color-text) 85%, transparent); padding: 0.6em 1.2em; }

/* Hazard-stripe signature edge along the bottom of every hero. */
.theme-bold .hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  z-index: 1;
  background: repeating-linear-gradient(-45deg, var(--color-primary) 0 14px, transparent 14px 28px);
}

/* Colour hero: blueprint grid over dark surfaces, kicker bar, huge type. */
.theme-bold .hero:not(.has-image) {
  background:
    linear-gradient(color-mix(in srgb, var(--color-border) 55%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-border) 55%, transparent) 1px, transparent 1px),
    radial-gradient(50rem 32rem at 85% -15%, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent 60%),
    linear-gradient(135deg, var(--color-surface-alt), var(--color-surface));
  background-size: 44px 44px, 44px 44px, auto, auto;
}
.theme-bold .hero:not(.has-image)::after { content: none; }
.theme-bold .hero:not(.has-image) h1,
.theme-bold .hero:not(.has-image) h2 { color: var(--color-text); text-shadow: none; }
.theme-bold .hero:not(.has-image) .hero-sub { color: var(--color-text-muted); text-shadow: none; }
.theme-bold .hero:not(.has-image) .btn { background: var(--color-primary); color: var(--color-primary-contrast); }
.theme-bold .hero-content h1::before, .theme-bold .hero-content h2::before {
  content: "";
  display: block;
  width: 64px;
  height: 10px;
  background: var(--color-primary);
  margin-bottom: 1.3rem;
}

/* Photo hero: sharp solid panel with a heavy accent flank instead of frosted glass. */
.theme-bold .hero.has-image .hero-content {
  background: rgba(9, 10, 13, 0.78);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  border-left: 8px solid var(--color-primary);
  box-shadow: none;
}
.theme-bold .hero.has-image .hero-content h1::before,
.theme-bold .hero.has-image .hero-content h2::before { content: none; }

/* Cards: heavy 2px frames; hover shifts the slab off a colored offset shadow. */
.theme-bold .card {
  border: 2px solid var(--color-border);
  background: var(--color-surface-alt);
}
.theme-bold .section:not(.alt) .card, .theme-bold .section.alt .card { background: var(--color-surface-alt); }
.theme-bold .card:hover {
  transform: translate(-4px, -4px);
  border-color: color-mix(in srgb, var(--color-primary) 60%, var(--color-border));
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--color-primary) 70%, transparent);
}
.theme-bold .card .role { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.08em; }

/* Stats: display numerals straight from the poster. */
.theme-bold .stat-value { font-weight: 400; letter-spacing: 0; }
.theme-bold .stat-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.theme-bold .testimonial {
  border: 2px solid var(--color-border);
  border-left: 6px solid var(--color-primary);
  background: var(--color-surface-alt);
}
.theme-bold .section:not(.alt) .testimonial { background: var(--color-surface-alt); }
.theme-bold .testimonial blockquote { font-style: normal; font-weight: 500; }
.theme-bold .testimonial figcaption { text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.06em; }

.theme-bold .faq-list details { border-width: 2px; }
.theme-bold .faq-list summary::after { border-radius: 0; }

/* Gallery: tight industrial mosaic, colour on hover. */
.theme-bold .gallery-grid { gap: 6px; }
.theme-bold .gallery-grid img { filter: grayscale(30%) contrast(1.04); }
.theme-bold .gallery-grid img:hover { filter: none; }

.theme-bold .about-grid img { box-shadow: 12px 12px 0 color-mix(in srgb, var(--color-primary) 55%, transparent); }

/* CTA banner: hazard tape top and bottom. */
.theme-bold .cta-banner::before, .theme-bold .cta-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.35) 0 14px, transparent 14px 28px);
}
.theme-bold .cta-banner::before { top: 0; }
.theme-bold .cta-banner::after { bottom: 0; }
.theme-bold .cta-banner .btn { box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.4); }
.theme-bold .cta-banner .btn:hover { box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.4); }

.theme-bold .map-wrap { border-width: 2px; }

.theme-bold .site-footer {
  background: color-mix(in srgb, var(--color-surface) 70%, black);
  border-top: 4px solid var(--color-primary);
}
.theme-bold .footer-name { text-transform: uppercase; font-size: 1.15rem; }

/* Theme "raffine" — understated luxury. Cormorant Garamond display serif + Inter
   text, centred headings with a fine rule, italic serif intros, generous
   whitespace, hairline frames, refined uppercase buttons. For beauty, spa,
   wellness, florists, jewellery, high-end or legal services. */

.theme-raffine {
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --btn-radius: 2px;
  --heading-weight: 600;
  --section-pad: clamp(5rem, 11vw, 9rem);
  --shadow: 0 1px 2px rgba(46, 42, 34, 0.03), 0 18px 40px -22px rgba(46, 42, 34, 0.12);
  --shadow-lg: 0 2px 6px rgba(46, 42, 34, 0.05), 0 40px 80px -30px rgba(46, 42, 34, 0.20);
}

/* Cormorant runs small and light — enlarge the display scale and keep tracking open. */
.theme-raffine h1 { font-size: clamp(2.8rem, 6.5vw, 4.6rem); font-weight: 600; letter-spacing: 0; }
.theme-raffine h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 600; letter-spacing: 0; }
.theme-raffine h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; }
.theme-raffine .brand { font-family: var(--font-heading); font-weight: 600; font-size: 1.55rem; letter-spacing: 0.01em; }

/* Centred heading with a short hairline underneath — quiet and formal. */
.theme-raffine .section-heading h2 { position: relative; padding-bottom: 1.1rem; }
.theme-raffine .section-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 54px;
  height: 1px;
  background: color-mix(in srgb, var(--color-primary) 60%, transparent);
}
/* Section intros set in italic serif read as a considered flourish. */
.theme-raffine .section-intro {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-text-muted);
}

/* Buttons: sharp, letter-spaced small caps rather than loud pills. */
.theme-raffine .btn {
  border-radius: var(--btn-radius);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 1.1em 2.4em;
  box-shadow: none;
}
.theme-raffine .btn:hover { transform: none; filter: brightness(1.06); box-shadow: none; }
.theme-raffine .nav-cta { letter-spacing: 0.1em; }

/* Colour hero (no photo): a soft tonal wash, centred serif headline, dark text. */
.theme-raffine .hero .container { text-align: center; }
.theme-raffine .hero-content { margin-inline: auto; }
.theme-raffine .hero:not(.has-image) {
  background:
    radial-gradient(60rem 40rem at 50% -25%, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent 62%),
    var(--color-surface);
}
.theme-raffine .hero:not(.has-image)::after { content: none; }
.theme-raffine .hero:not(.has-image) h1,
.theme-raffine .hero:not(.has-image) h2 { color: var(--color-text); text-shadow: none; }
.theme-raffine .hero:not(.has-image) .hero-sub { color: var(--color-text-muted); text-shadow: none; }
.theme-raffine .hero:not(.has-image) .btn { background: var(--color-primary); color: var(--color-primary-contrast); }
.theme-raffine .hero h1 { font-size: clamp(3rem, 7vw, 5rem); }
.theme-raffine .hero.has-image .hero-content { border-radius: var(--radius-lg); }

/* Cards & panels: hairline framing, minimal shadow, unhurried hover. */
.theme-raffine .card {
  border-color: color-mix(in srgb, var(--color-border) 85%, transparent);
  box-shadow: none;
  background: var(--color-surface);
}
.theme-raffine .section:not(.alt) .card { background: var(--color-surface); }
.theme-raffine .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.theme-raffine .card-body h3 { font-size: 1.4rem; }

/* Alt sections: a barely-there accent wash. */
.theme-raffine .section.alt { background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface)); }

/* Stats & pricing numerals stay in the elegant serif. */
.theme-raffine .stat-value { color: var(--color-primary); font-weight: 600; }
.theme-raffine .pricing-amount { font-weight: 600; }
.theme-raffine .menu-category,
.theme-raffine .pricing-name { font-family: var(--font-heading); font-weight: 600; }

/* Testimonials: large serif italic, no card chrome. */
.theme-raffine .testimonial { box-shadow: none; border-color: color-mix(in srgb, var(--color-border) 80%, transparent); }
.theme-raffine .testimonial blockquote { font-family: var(--font-heading); font-style: italic; font-size: 1.35rem; }

/* CTA banner: quiet, no glow. */
.theme-raffine .cta-banner .btn { background: var(--color-surface); color: var(--color-primary); }

.theme-raffine .site-footer { background: var(--color-surface-alt); }
.theme-raffine .footer-name { font-family: var(--font-heading); font-weight: 600; }

/* Theme "studio" — creative editorial. Space Grotesk oversized grotesque + Inter
   text, monochrome with one accent, sharp corners, grayscale-to-colour imagery,
   an accent full-stop after headings. For photographers, architects, designers,
   creative studios and portfolios. */

.theme-studio {
  --font-heading: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 0;
  --radius-lg: 0;
  --btn-radius: 0;
  --heading-weight: 700;
  --shadow: none;
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, 0.28);
}

.theme-studio h1, .theme-studio h2 { letter-spacing: -0.03em; line-height: 1.02; }
.theme-studio h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 700; }
.theme-studio h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
.theme-studio h3 { font-weight: 600; letter-spacing: -0.01em; }
.theme-studio .brand { text-transform: uppercase; letter-spacing: -0.01em; font-weight: 700; }
.theme-studio .site-nav a { text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.04em; }

/* Left-aligned editorial headings, closed with an accent full-stop. */
.theme-studio .section-heading { text-align: left; margin-inline: 0; max-width: 60rem; }
.theme-studio .section-heading h2::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.14em;
  vertical-align: baseline;
  background: var(--color-primary);
}
.theme-studio .section-intro { text-align: left; margin-inline: 0; }

/* Buttons: sharp slabs that flip to monochrome on hover. */
.theme-studio .btn {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none;
}
.theme-studio .btn:hover {
  transform: none;
  filter: none;
  background: var(--color-text);
  color: var(--color-surface);
  box-shadow: none;
}

/* Colour hero (no photo): oversized type on a plain surface with a hard rule. */
.theme-studio .hero:not(.has-image) {
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-text);
}
.theme-studio .hero:not(.has-image)::after { content: none; }
.theme-studio .hero:not(.has-image) h1,
.theme-studio .hero:not(.has-image) h2 { color: var(--color-text); text-shadow: none; font-size: clamp(3rem, 10vw, 6.5rem); }
.theme-studio .hero:not(.has-image) .hero-sub { color: var(--color-text-muted); text-shadow: none; }
.theme-studio .hero:not(.has-image) .btn { background: var(--color-primary); color: var(--color-primary-contrast); }
.theme-studio .hero.has-image .hero-content { border-radius: 0; }

/* Cards & photos: hairline frame, no shadow, grayscale until hover. */
.theme-studio .card { border: 1px solid var(--color-border); border-radius: 0; box-shadow: none; }
.theme-studio .section:not(.alt) .card { background: var(--color-surface); }
.theme-studio .card:hover { transform: none; border-color: var(--color-text); box-shadow: none; }
.theme-studio .card img { filter: grayscale(1); transition: filter 0.45s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.theme-studio .card:hover img { filter: grayscale(0); }
.theme-studio .gallery-grid { gap: 0.4rem; }
.theme-studio .gallery-grid img { border-radius: 0; filter: grayscale(1); }
.theme-studio .gallery-grid img:hover { filter: grayscale(0); }
.theme-studio .about-grid img { border-radius: 0; box-shadow: none; }
.theme-studio .logo-item img { filter: grayscale(1) contrast(1.1); }

/* Stats: massive monochrome numerals. */
.theme-studio .stat-value { color: var(--color-text); font-weight: 700; letter-spacing: -0.03em; }

/* Steps: square numbered tiles instead of circles. */
.theme-studio .step::before { border-radius: 0; background: var(--color-text); color: var(--color-surface); }
.theme-studio .step:not(:last-child)::after { background: var(--color-border); }

/* Pricing / menu / forms pick up the sharp, chrome-free language. */
.theme-studio .pricing-card { border-radius: 0; box-shadow: none; }
.theme-studio .pricing-card:hover { transform: none; border-color: var(--color-text); }
.theme-studio .pricing-badge { border-radius: 0; }
.theme-studio .faq-list details,
.theme-studio .contact-form input,
.theme-studio .contact-form textarea,
.theme-studio .map-wrap { border-radius: 0; }
.theme-studio .testimonial { border-radius: 0; box-shadow: none; }

/* CTA banner: a solid monochrome block with the accent on the button only. */
.theme-studio .cta-banner { background: var(--color-text); }
.theme-studio .cta-banner h2, .theme-studio .cta-banner p { color: var(--color-surface); }
.theme-studio .cta-banner .btn { background: var(--color-primary); color: var(--color-primary-contrast); }

.theme-studio .site-footer { background: var(--color-surface); border-top: 2px solid var(--color-text); }

/* Theme "frais" — friendly & modern. Poppins rounded geometric + Inter text,
   soft pastel gradient heroes, big rounded cards, pill buttons with a soft glow.
   For coaches, wellness, childcare, personal services and modern small brands. */

.theme-frais {
  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --btn-radius: 999px;
  --heading-weight: 700;
  --shadow: 0 2px 6px rgba(22, 42, 60, 0.05), 0 16px 40px -18px rgba(22, 42, 60, 0.14);
  --shadow-lg: 0 4px 10px rgba(22, 42, 60, 0.06), 0 34px 70px -24px rgba(22, 42, 60, 0.22);
}

.theme-frais h1, .theme-frais h2 { letter-spacing: -0.02em; }
.theme-frais h3 { font-weight: 600; }
.theme-frais .brand { font-weight: 700; letter-spacing: -0.02em; }

/* Centred heading with a rounded gradient accent bar. */
.theme-frais .section-heading h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 6px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* Buttons: soft rounded pills with a coloured glow and a nudging arrow. */
.theme-frais .btn {
  font-weight: 600;
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--color-primary) 55%, transparent);
}
.theme-frais .btn::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.5em;
  transition: transform 0.2s ease;
}
.theme-frais .btn:hover::after { transform: translateX(4px); }
.theme-frais .nav-cta::after { content: none; }

/* Colour hero (no photo): soft pastel blobs, dark friendly text. */
.theme-frais .hero:not(.has-image) {
  background:
    radial-gradient(40rem 30rem at 12% 18%, color-mix(in srgb, var(--color-accent) 32%, transparent), transparent 55%),
    radial-gradient(38rem 30rem at 90% 88%, color-mix(in srgb, var(--color-primary) 24%, transparent), transparent 55%),
    var(--color-surface-alt);
}
.theme-frais .hero:not(.has-image)::after { content: none; }
.theme-frais .hero:not(.has-image) h1,
.theme-frais .hero:not(.has-image) h2 { color: var(--color-text); text-shadow: none; }
.theme-frais .hero:not(.has-image) .hero-sub { color: var(--color-text-muted); text-shadow: none; }
.theme-frais .hero:not(.has-image) .btn { background: var(--color-primary); color: var(--color-primary-contrast); }
.theme-frais .hero.has-image .hero-content { border-radius: var(--radius-lg); }

/* Cards & panels: big rounding, playful hover lift. */
.theme-frais .card { border-radius: var(--radius-lg); border-color: color-mix(in srgb, var(--color-border) 70%, transparent); }
.theme-frais .card:hover { transform: translateY(-6px); }
.theme-frais .about-grid img { border-radius: var(--radius-lg); }
.theme-frais .card-body { padding: 1.75rem; }

/* Alt sections: gentle primary wash. */
.theme-frais .section.alt { background: color-mix(in srgb, var(--color-primary) 6%, var(--color-surface)); }

/* Stats: friendly primary numerals. */
.theme-frais .stat-value { color: var(--color-primary); }

/* Steps: soft gradient number circles (base circle + a little more presence). */
.theme-frais .step::before { box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--color-primary) 55%, transparent); }

/* Pricing: rounded featured card with a soft ring. */
.theme-frais .pricing-card { border-radius: var(--radius-lg); }
.theme-frais .pricing-card.featured { box-shadow: 0 0 0 2px var(--color-primary), var(--shadow-lg); }

/* FAQ / forms follow the rounded language. */
.theme-frais .faq-list details { border-radius: var(--radius); }
.theme-frais .contact-form input, .theme-frais .contact-form textarea { border-radius: var(--radius); }

/* CTA banner: a floating rounded island. */
.theme-frais .cta-banner {
  max-width: min(var(--container), calc(100% - 2.5rem));
  margin: calc(var(--section-pad) * 0.5) auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -24px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-frais .cta-banner .btn { background: var(--color-surface); color: var(--color-primary); }

.theme-frais .site-footer { background: color-mix(in srgb, var(--color-primary) 5%, var(--color-surface-alt)); }
