/*
Theme Name: Atelier Makeup Lite
Theme URI: https://themes.thepuigberts.com/atelier-makeup-lite
Author: Joan Puigbert Carreras
Author URI: https://thepuigberts.com
Description: A light editorial block theme for make-up artists, beauty studios and creative portfolios. Magazine layout with a serif display face, a warm nude and gold palette you edit in the Site Editor, twelve hand built block patterns, a cover hero, a recent work grid and an Atelier notes grid. Standard WordPress content only: no custom post types, no shortcodes and no plugin dependencies, so switching themes never costs you anything.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atelier-makeup-lite
Domain Path: /languages
Tags: portfolio, blog, featured-images, full-width-template, custom-logo, custom-menu, block-styles, wide-blocks, translation-ready, editor-styles, one-column, threaded-comments

Copyright (C) 2026 Joan Puigbert Carreras
This theme is distributed under the terms of the GNU General Public License v2 or later.

Atelier Makeup Lite is original work by Joan Puigbert Carreras. It is not derived from
a starter theme and it ships no third-party JavaScript or CSS library.

Third-party assets:
  · No webfonts are loaded and no external resource is ever requested: the font
    stacks in theme.json prefer faces already installed on the visitor's computer
    and fall back to Georgia and system-ui. Owners can add their own files with the
    native Font Library (Appearance > Editor > Styles > Typography).
  · The bundled SVG illustrations (assets/img) are original drawings by
    Joan Puigbert Carreras, released under GNU GPL v2 or later.

Everything the theme needs is written by hand, including the hundred or so lines of
front-end behaviour in assets/js/theme.js, published under GPL.

The extended version of this theme (online booking, a payment gateway, a CV section,
invoicing, machine translation and a 360° viewer) is distributed from
https://themes.thepuigberts.com/atelier-makeup
*/

/* =========================================================
   1. TOKENS
   ========================================================= */
:root {
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --line: 1px solid var(--wp--preset--color--line);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 80px -40px rgba(20,20,20,0.35);
  --header-h: 76px;
}
/* =========================================================
   2. RESET + BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  background: var(--wp--preset--color--bg);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* xarxeta: cap decoració fora del marc (hero, slider) fa scroll horitzontal al mòbil */
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--wp--preset--color--gold);
  outline-offset: 3px;
}

/* =========================================================
   3. SECCIONS
   ---------------------------------------------------------
   L'ample de contenidor el donen els layouts del theme.json i dels
   propis blocs; aquestes dues classes només aporten el ritme vertical.
   ========================================================= */
.section { padding-block: clamp(4rem, 10vw, 8rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 5rem); }

/* =========================================================
   4. TIPOGRAFIA
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--wp--preset--font-family--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--wp--preset--color--ink);
}
h1 { font-size: clamp(2.75rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--wp--preset--font-family--sans);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--wp--preset--color--muted);
  font-weight: 500;
  margin-bottom: 1rem;
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--wp--preset--color--muted);
  max-width: 60ch;
}

/* =========================================================
   5. HEADER STICKY
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--wp--preset--color--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--line);
  min-height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  min-height: var(--header-h);
}
.site-brand { display: flex; align-items: center; gap: .85rem; }
.site-brand .custom-logo-link img { max-height: 44px; width: auto; }
.site-brand .wp-block-site-title { font-family: var(--wp--preset--font-family--serif); font-size: 1.35rem; font-weight: 500; }
.site-brand .wp-block-site-title a { text-decoration: none; }

.site-nav .wp-block-navigation-item__content {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding-block: .35rem;
}

/* ---- 5c. MENÚ PRINCIPAL (wp:navigation) i DESPLEGABLES ---- */
.site-nav .wp-block-navigation__container { gap: 1.6rem; }
.site-nav .wp-block-navigation-item__content {
  position: relative; color: var(--wp--preset--color--ink); transition: color .25s var(--ease);
}
.site-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--gold); }
/* Subratllat daurat que creix d'esquerra a dreta */
.site-nav .wp-block-navigation-item:not(.has-child) > .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: .1rem; height: 1px;
  background: var(--wp--preset--color--gold); transition: right .3s var(--ease);
}
.site-nav .wp-block-navigation-item:not(.has-child) > .wp-block-navigation-item__content:hover::after,
.site-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content::after { right: 0; }
.site-nav .current-menu-item > .wp-block-navigation-item__content,
.site-nav .current-menu-ancestor > .wp-block-navigation-item__content { color: var(--wp--preset--color--gold); }
/* Fletxa «té fills» més discreta */
.site-nav .wp-block-navigation__submenu-icon svg { width: 1em; height: 1em; }

/* Desplegables només en escriptori (el mòbil usa l'acordió natiu del bloc) */
@media (min-width: 961px) {
  .site-nav .wp-block-navigation-item.has-child { position: relative; }
  .site-nav .wp-block-navigation__submenu-container {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 220px; margin: 0; padding: .6rem; list-style: none;
    background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 4px;
    box-shadow: 0 20px 44px -26px rgba(20,20,20,.45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .site-nav .wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-container,
  .site-nav .wp-block-navigation-item.has-child:focus-within > .wp-block-navigation__submenu-container {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
  .site-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    text-transform: none; letter-spacing: .02em; font-size: .85rem; padding: .6rem .85rem;
    color: var(--wp--preset--color--ink); border-radius: 3px; white-space: nowrap;
  }
  .site-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
  .site-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background: color-mix(in srgb, var(--wp--preset--color--nude) 40%, var(--wp--preset--color--surface)); color: var(--wp--preset--color--ink);
  }
}
/* CTA de la capçalera: el bloc de botons fa de contenidor i tot l'estil
   va a l'enllaç real (.wp-block-button__link), que és el que pinta WordPress. */
.header-cta-wrap { flex: 0 0 auto; }
.header-cta { margin: 0; }
.header-cta .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.35rem;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--bg);
  font-size: .72rem !important;
  text-transform: uppercase;
  letter-spacing: .16em;
  border: 1px solid var(--wp--preset--color--ink);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.header-cta .wp-block-button__link:hover {
  background: transparent;
  color: var(--wp--preset--color--ink);
}
@media (max-width: 600px) {
  .header-cta .wp-block-button__link { padding: .6rem 1rem; letter-spacing: .12em; }
}

/* =========================================================
   6. HERO
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(4rem, 10vw, 8rem);
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% -30% auto;
  width: 55%; height: 130%;
  background: radial-gradient(ellipse at 60% 40%, color-mix(in srgb, var(--wp--preset--color--gold) 7%, transparent), transparent 68%);
  pointer-events: none; z-index: 0;
}
.hero__copy { display: flex; flex-direction: column; gap: 1.6rem; position: relative; z-index: 1; animation: hero-enter .85s var(--ease) both; }
.hero__copy > * { animation: hero-stagger .6s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .09s; }
.hero__copy > *:nth-child(3) { animation-delay: .18s; }
.hero__copy > *:nth-child(4) { animation-delay: .27s; }
.hero__copy > *:nth-child(5) { animation-delay: .36s; }
.hero__title { max-width: 14ch; background: linear-gradient(135deg, var(--wp--preset--color--ink) 60%, var(--wp--preset--color--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .6rem .8rem;
  padding-top: 1.25rem; border-top: var(--line);
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .14em; color: var(--wp--preset--color--muted);
}
.hero__meta span {
  padding: .4rem .9rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 999px;
  transition: border-color .25s, color .25s;
}
.hero__meta span:hover { border-color: var(--wp--preset--color--gold); color: var(--wp--preset--color--gold); }
.hero__media { position: relative; z-index: 1; }
.hero__media img, .hero__media video {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  box-shadow: var(--shadow);
  border-radius: 3px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.hero__media:hover img, .hero__media:hover video { transform: translateY(-4px); box-shadow: 0 40px 90px -40px rgba(20,20,20,.45); }
.hero__media::after {
  content: ""; position: absolute; inset: auto -1.1rem -1.1rem auto;
  width: 52%; height: 52%; border: 1px solid var(--wp--preset--color--gold); z-index: -1;
  transition: transform .4s var(--ease);
}
.hero__media::before {
  content: ""; position: absolute; inset: -0.7rem auto auto -0.7rem;
  width: 35%; height: 35%; border: 1px solid color-mix(in srgb, var(--wp--preset--color--gold) 40%, transparent); z-index: -1;
}
.hero__media:hover::after { transform: translate(4px, 4px); }
@keyframes hero-enter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hero-stagger { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media::after, .hero__media::before { display: none; }
  .hero::before { display: none; }
}

/* =========================================================
   7. BOTONS
   ========================================================= */
.btn, .wp-block-button__link, .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.75rem;
  font-family: var(--wp--preset--font-family--sans);
  font-size: .75rem !important; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  border-radius: 0 !important;
  border: 1px solid var(--wp--preset--color--ink);
  background: transparent; color: var(--wp--preset--color--ink);
  cursor: pointer; transition: all .3s var(--ease); text-decoration: none;
}
.btn:hover, .wp-block-button__link:hover, .wp-element-button:hover {
  background: var(--wp--preset--color--ink); color: var(--wp--preset--color--bg);
}
.btn--gold { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: #fff; }
.btn--gold:hover { background: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.btn--ghost { border-color: var(--wp--preset--color--line); }
.btn--ghost:hover { border-color: var(--wp--preset--color--ink); }

/* =========================================================
   8. SERVEIS
   ========================================================= */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--wp--preset--color--line);
  border-block: 1px solid var(--wp--preset--color--line);
}
.service {
  background: var(--wp--preset--color--bg);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; gap: 1rem;
  position: relative;
  transition: background .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service::before {
  content: ""; position: absolute; top: 0; left: 0; right: 100%; height: 3px;
  background: var(--wp--preset--color--gold);
  transition: right .4s var(--ease);
}
.service:hover { background: color-mix(in srgb, var(--wp--preset--color--nude) 30%, var(--wp--preset--color--bg)); transform: translateY(-6px); box-shadow: 0 20px 50px -20px rgba(20,20,20,.12); }
.service:hover::before { right: 0; }
.service__icon {
  width: 44px; height: 44px; padding: 10px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wp--preset--color--gold) 12%, var(--wp--preset--color--bg));
  color: var(--wp--preset--color--gold);
  transition: background .3s, color .3s;
}
.service:hover .service__icon { background: var(--wp--preset--color--gold); color: #fff; }
.service__num { font-size: .75rem; letter-spacing: .22em; color: var(--wp--preset--color--gold); font-weight: 500; }
.service h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.service p { color: var(--wp--preset--color--muted); font-size: .95rem; }
.service__link {
  margin-top: auto; padding-top: 1rem;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--wp--preset--color--ink);
  border-bottom: 1px solid var(--wp--preset--color--ink);
  align-self: flex-start; padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.service__link:hover { color: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }



.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.portfolio-item { grid-column: span 4; transition: opacity .3s, transform .3s; }
.portfolio-item.is-hidden { display: none; }
.portfolio-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.portfolio-item a:hover img { transform: scale(1.03); filter: brightness(0.94); }
.portfolio-item__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 1rem; margin-top: 1rem; border-top: var(--line);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--wp--preset--color--muted);
}
.portfolio-item__title {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.15rem; margin-top: .5rem;
}
@media (max-width: 900px) { .portfolio-item { grid-column: span 6; } }
@media (max-width: 600px) { .portfolio-item { grid-column: span 12; } }

/* =========================================================
   9. CV FACTS
   ========================================================= */
.cv-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--wp--preset--color--line);
  border: 1px solid var(--wp--preset--color--line);
}
.cv-fact { background: var(--wp--preset--color--bg); padding: 1.75rem; }
.cv-fact__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; color: var(--wp--preset--color--muted); margin-bottom: .5rem; }
.cv-fact__value { font-family: var(--wp--preset--font-family--serif); font-size: 1.5rem; line-height: 1.1; }

/* =========================================================
   10. FOOTER
   ========================================================= */
.site-footer { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--bg); padding-block: clamp(3rem, 6vw, 5rem) 2rem; margin-top: clamp(4rem, 8vw, 8rem); }
.site-footer a { color: inherit; opacity: .8; transition: opacity .2s, color .2s; }
.site-footer a:hover { opacity: 1; color: var(--wp--preset--color--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { color: var(--wp--preset--color--bg); font-family: var(--wp--preset--font-family--sans); font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 500; margin-bottom: 1.25rem; opacity: .5; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; }
.footer-bottom { margin-top: clamp(2rem, 4vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .78rem; opacity: .6; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } }



/* =========================================================
   11. GRAIN · SELECCIÓ · PACIÈNCIA  (detalls "luxe")
   ========================================================= */
::selection { background: var(--wp--preset--color--gold); color: #fff; }
body::after {
  content: ""; position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .04; mix-blend-mode: multiply;
  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.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Enllaços: subratllat animat */
p a, .footer-grid a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .35s var(--ease);
}
p a:hover, .footer-grid a:hover { background-size: 100% 1px; }

/* =========================================================
   12. HEADER QUE ES MINVA + BACK TO TOP
   ========================================================= */
.site-header { transition: box-shadow .35s var(--ease), background-color .35s var(--ease); }
.site-header.is-scrolled {
  box-shadow: 0 8px 30px -18px rgba(20,20,20,.35);
  --header-h: 64px;
}
body { display: flow-root; } /* conté el float del layout clàssic legacy */

.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--wp--preset--color--ink); color: var(--wp--preset--color--bg);
  border: 1px solid var(--wp--preset--color--ink);
  font-size: 1.1rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .35s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); }
@media (max-width: 900px) { .back-to-top { bottom: 6.5rem; } }

/* =========================================================
   13. BOTONS: FLETXA QUE SE'LIXA (SVG emmascarat: hereta currentColor)
   ========================================================= */
.btn::after {
  content: ""; display: inline-block; vertical-align: -.18em;
  width: 1.05em; height: 1.05em; margin-left: .45rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='m13.5 6.5 5.8 5.5-5.8 5.5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='m13.5 6.5 5.8 5.5-5.8 5.5'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .3s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }

/* =========================================================
   14. MARQUEE (cinta infinita de paraules clau)
   ========================================================= */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: var(--line);
  background: var(--wp--preset--color--nude);
  padding-block: 1.1rem;
}
.marquee-track { display: inline-flex; }
.marquee-row { display: inline-flex; align-items: center; animation: marquee-scroll 36s linear infinite; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-item {
  font-family: var(--wp--preset--font-family--serif);
  font-style: italic; font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--wp--preset--color--ink); padding-inline: 2.2rem;
}
.marquee-star { color: var(--wp--preset--color--gold); display: inline-flex; align-items: center; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; } .marquee-track > .marquee-row[aria-hidden="true"] { display: none; } }

/* =========================================================
   15. PORTFOLI · HOVER PREMIUM
   ========================================================= */
/* La imatge destacada del projecte: el <figure> que genera el bloc
   post-featured-image porta la classe portfolio-item__media. */
.portfolio-item__media { margin: 0; position: relative; overflow: hidden; }
.portfolio-item__media a { display: block; }
.portfolio-item__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,.18), transparent 45%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.portfolio-item__media:hover::after { opacity: 1; }

/* =========================================================
   16. TESTIMONIS
   ========================================================= */
.testimonials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 1px; background: var(--wp--preset--color--line);
  border-block: 1px solid var(--wp--preset--color--line);
}
.testimoni-card {
  background: var(--wp--preset--color--bg);
  margin: 0; padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; gap: 1.25rem;
  position: relative;
  transition: background .3s var(--ease);
}
.testimoni-card::before {
  content: "\201C"; position: absolute; top: .6rem; left: 1.2rem;
  font-family: var(--wp--preset--font-family--serif);
  font-size: 4.5rem; line-height: 1; color: var(--wp--preset--color--gold); opacity: .18;
  pointer-events: none;
}
.testimoni-card:hover { background: color-mix(in srgb, var(--wp--preset--color--nude) 20%, var(--wp--preset--color--bg)); }
.testimoni-stars { display: inline-flex; gap: .3em; color: var(--wp--preset--color--gold); font-size: .95rem; }
.testimoni-text {
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.35; margin: 0; flex: 1;
}
.testimoni-meta span { color: var(--wp--preset--color--muted); font-size: .82rem; margin-left: .5rem; }
.testimoni-meta strong { font-family: var(--wp--preset--font-family--serif); font-size: 1.1rem; font-weight: 500; }

/* =========================================================
   17. FAQ (details natiu)
   ========================================================= */
.faq { display: grid; gap: .5rem; border-block: var(--line); }
.faq-item {
  border-bottom: var(--line);
  background: transparent;
  padding: 0;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  cursor: pointer; list-style: none;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--wp--preset--color--gold); }
.faq-icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--wp--preset--color--gold);
  transition: transform .3s var(--ease); flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 3rem 1.5rem 0; color: var(--wp--preset--color--muted); max-width: 70ch; }

/* =========================================================
   18. BANDA CTA FINAL
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--bg);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.cta-band::before {
  content: ""; position: absolute; inset: auto auto -18% -6%;
  width: 45%; height: 70%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184,148,95,.4), transparent 70%);
  animation: cta-orb 8s ease-in-out infinite alternate;
}
.cta-band::after {
  content: ""; position: absolute; inset: -10% -5% auto auto;
  width: 30%; height: 55%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(184,148,95,.2), transparent 65%);
  animation: cta-orb 12s ease-in-out infinite alternate-reverse;
}
@keyframes cta-orb { from { transform: translate(0,0) scale(1); } to { transform: translate(20px, -15px) scale(1.08); } }
.cta-band h2 { color: var(--wp--preset--color--bg); max-width: 18ch; margin-bottom: 2rem; font-size: clamp(2rem, 5vw, 3.8rem); }
.cta-band .btn { border-color: var(--wp--preset--color--bg); color: var(--wp--preset--color--bg); }
.cta-band .btn--gold { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); color: #fff; }
.cta-band .btn--gold:hover { background: var(--wp--preset--color--bg); color: var(--wp--preset--color--ink); }

/* =========================================================
   19. XIFRES (stats band)
   ========================================================= */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--wp--preset--color--line);
  border-block: 1px solid var(--wp--preset--color--line);
  position: relative;
}
.stats::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--wp--preset--color--gold) 30%, var(--wp--preset--color--gold) 70%, transparent);
}
.stat {
  background: var(--wp--preset--color--bg);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.stat__icon { width: 28px; height: 28px; color: var(--wp--preset--color--gold); margin-bottom: .3rem; }
.stat__value { font-family: var(--wp--preset--font-family--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: var(--wp--preset--color--gold); }
.stat__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .2em; color: var(--wp--preset--color--muted); margin-top: .4rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   20. SCROLL REVEAL (classe toggled per theme.js)
   ========================================================= */
.reveal-init { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-init.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-init { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   21. PINZELL DECORATIU (hero) — assets/img/brush-stroke.svg
   ========================================================= */
.hero__underline {
  display: block;
  width: clamp(200px, 32%, 380px);
  height: auto;
  margin-top: .25rem;
  margin-left: -2px;
}
@media (max-width: 700px) {
  .hero__underline { display: none; }
}

/* =========================================================
   22. NOTES DE L'ATELIER (graella d'articles)
   ---------------------------------------------------------
   La portada i l'arxiu mostren els articles amb aquesta graella;
   el markup el genera el patró notes-grid.php.
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 2.25rem;
  margin: 2.5rem 0 0;
}

.blog-card {
  display: flex; flex-direction: column;
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--wp--preset--color--gold);
  box-shadow: 0 12px 28px rgba(20,20,20,.08);
}
.blog-card__media {
  display: block; aspect-ratio: 3 / 2; overflow: hidden;
  background: var(--wp--preset--color--nude);
}
.blog-card__cat {
  display: inline-block;
  padding: 3px 10px; border-radius: 999px;
  background: var(--wp--preset--color--gold);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease;
}
.blog-card__cat:hover { background: color-mix(in srgb, var(--wp--preset--color--gold) 84%, #000); color: #fff; }
.blog-card__date { color: var(--wp--preset--color--muted); }
.blog-card__title {
  margin: 0; font-size: 1.32em; line-height: 1.25;
}
.blog-card__title a {
  color: var(--wp--preset--color--ink); text-decoration: none;
  transition: color .2s ease;
}
.blog-card__title a:hover { color: var(--wp--preset--color--gold); }
.blog-card__excerpt {
  margin: 0; color: var(--wp--preset--color--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 782px) {
  .blog-grid { gap: 1.5rem; }
}

/* =========================================================
   23. PÀGINA 404
   ========================================================= */
.atelier-404 { padding: 3rem 0 5rem; }
.atelier-404__body { text-align: center; }
@media (min-width: 860px) {
  .atelier-404__body { text-align: left; }
}
.atelier-404__code {
  font-family: var(--wp--preset--font-family--serif, Georgia, serif);
  font-size: clamp(72px, 12vw, 148px);
  line-height: .9;
  color: var(--wp--preset--color--gold);
  letter-spacing: -.02em;
  margin: 0 0 .4rem;
}
.atelier-404__title {
  font-family: var(--wp--preset--font-family--serif, Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  color: var(--wp--preset--color--ink);
  margin: .4rem 0 1rem;
}
.atelier-404__text {
  color: var(--wp--preset--color--ink-soft, #6E675F);
  max-width: 46ch;
  margin: 0 auto 1.8rem;
}
@media (min-width: 860px) {
  .atelier-404__text { margin-left: 0; }
}
.atelier-404__actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
@media (min-width: 860px) {
  .atelier-404__actions { justify-content: flex-start; }
}

/* =========================================================
   24. ICONES SVG I IL·LUSTRACIONS PREDEFINIDES
   ---------------------------------------------------------
   Dos camins, segons on calgui el dibuix:
     · Inline  -> icones petites (atelier_icon() i plantilles). Hereten
                  currentColor, o sia: prenen la paleta d'Atelier - Colors.
     · Fitxer  -> il·lustracions grans dins d'<img> (assets/img/placeholders/).
                  Aquí el color va gravat al dibuix, perque un <img> no pot
                  heretar el corrent de text.
   ========================================================= */

/* Base de tota icona generada per atelier_makeup_lite_icon(). */
.atelier-makeup-lite-icon {
  display: inline-block;
  width: 1.15em; height: 1.15em;
  vertical-align: -.22em;
  flex: 0 0 auto;
}

/* Icones grans de servei (home, portada i pagina de serveis). */
.service__icon {
  width: clamp(2.2rem, 3vw, 2.9rem); height: clamp(2.2rem, 3vw, 2.9rem);
  color: var(--wp--preset--color--gold);
  stroke-width: 1.1;
}
.service:hover .service__icon { transform: translateY(-2px); transition: transform .4s var(--ease); }

/* Icona de cada xifra de la banda d'estadistiques. */
.stat__icon {
  width: 1.5rem; height: 1.5rem; margin-bottom: .7rem;
  color: var(--wp--preset--color--muted);
}

/* Icona minuscula dins l'eyebrow (va al mateix color que el text). */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; }

/* Icona dins d'un boto (CTA d'estat buit, per exemple). */
.btn__icon { width: 1.1em; height: 1.1em; margin-right: .5em; }

/* Botó de contacte de l'estat buit, amb icona. */
.cv-fact__hint { color: var(--wp--preset--color--muted); font-size: .85rem; margin-top: .35rem; }

/* Pou del CV i fitxa de dades del projecte: label + icona. */
.cv-fact__label { display: flex; align-items: center; gap: .5em; }
.cv-fact__icon { width: 1.1em; height: 1.1em; color: var(--wp--preset--color--gold); }

/* Peu de pagina: marca de la casa amb icones. */
.footer-icon {
  width: 18px; height: 18px; flex: 0 0 auto;
  color: var(--wp--preset--color--gold);
}
.footer-brand__mark { display: flex; align-items: center; gap: .8rem; color: var(--wp--preset--color--gold); }
.footer-brand__mark .footer-icon { width: 22px; height: 22px; }
.blog-card__date { display: inline-flex; align-items: center; }

/* Marquee i testimonis: el glif de text passa a dibuix. */
.marquee-star svg { width: 1rem; height: 1rem; }
.testimoni-star { width: .95em; height: .95em; fill: currentColor; stroke: none; }

/* FAQ: el mes/es menys ja no es un caracter, es un creu que gira. */
.faq-icon svg { width: 1.25rem; height: 1.25rem; display: block; }

/* Back to top: fletxa SVG en lloc del caracter &#8593;. */
.back-to-top svg { width: 20px; height: 20px; }

/* ESTAT BUIT: il·lustracio predefinida + text + crida a l'acio. */
.empty-state {
  display: grid; justify-items: center; gap: 1.4rem;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  border: 1px dashed var(--wp--preset--color--line);
  background: color-mix(in srgb, var(--wp--preset--color--nude) 35%, var(--wp--preset--color--bg));
}
.empty-state__img {
  width: min(320px, 60vw); height: auto;
  border-radius: 2px;
  box-shadow: 0 18px 40px -28px rgba(20, 20, 20, .35);
}
.empty-state__text {
  max-width: 46ch; margin: 0;
  color: var(--wp--preset--color--muted);
  font-family: var(--wp--preset--font-family--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45;
}

/* =========================================================
   25. SECCIÓ DIVISÒRIA I CITA EDITORIAL
   ========================================================= */
.section-divider-wrap { padding-block: clamp(1.5rem, 4vw, 3rem); }
.section-divider {
  border: none; height: 1px; opacity: 1;
  background: linear-gradient(to right, transparent, var(--wp--preset--color--gold) 30%, var(--wp--preset--color--gold) 70%, transparent);
}

/* Cita editorial destacada entre seccions */
.quote-section {
  text-align: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  position: relative;
  background: linear-gradient(180deg, var(--wp--preset--color--bg), color-mix(in srgb, var(--wp--preset--color--nude) 25%, var(--wp--preset--color--bg)) 50%, var(--wp--preset--color--bg));
}
.quote-section blockquote {
  font-family: var(--wp--preset--font-family--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.3;
  color: var(--wp--preset--color--ink);
  max-width: 680px; margin: 0 auto;
  position: relative; padding: 0 2rem;
}
.quote-section blockquote::before {
  content: "\201C"; position: absolute; top: -.4em; left: -.2em;
  font-size: 4em; line-height: 1; color: var(--wp--preset--color--gold); opacity: .22;
}
.quote-section cite {
  display: block; margin-top: 1.2rem;
  font-style: normal;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--wp--preset--color--muted);
}

/* Portfoli: heading amb accent daurat lateral */
.section__header {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem;
}
.section__header h2 { position: relative; }
.section__header h2::after {
  content: ""; position: absolute; bottom: -.4rem; left: 0;
  width: 3rem; height: 2px; background: var(--wp--preset--color--gold);
}

/* Millora graella portfoli: alternate offset */
.portfolio-grid .portfolio-item:nth-child(2) { margin-top: clamp(2rem, 4vw, 4rem); }
.portfolio-grid .portfolio-item:nth-child(5) { margin-top: clamp(2rem, 4vw, 4rem); }
/* Al mòbil cada projecte ja ocupa una columna sencera: sense desplaçament altern. */
@media (max-width: 600px) {
  .portfolio-grid .portfolio-item:nth-child(2),
  .portfolio-grid .portfolio-item:nth-child(5) { margin-top: 0; }
}

/* Marquee: aspecte més premium amb gradient fade als extrems */
.marquee { position: relative; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(2rem, 8vw, 6rem); z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--wp--preset--color--nude), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--wp--preset--color--nude), transparent); }

/* FAQ: fons subtil i icones més elegants */
.faq { background: color-mix(in srgb, var(--wp--preset--color--nude) 12%, var(--wp--preset--color--bg)); border-radius: 4px; padding-inline: clamp(1rem, 3vw, 2rem); }

/* =========================================================
   26. ESTRUCTURA PRÒPIA DEL LITE
   ---------------------------------------------------------
   Classes que només existeixen en aquest tema: les generen els
   patrons de bloc i les plantilles natives, on abans hi havia un
   shortcode. Són disseny pur: hereten la paleta i l'escala
   tipogràfica del tema, de manera que es poden editar des de l'
   Editor del lloc sense tocar aquest fitxer.
   ========================================================= */

/* «Sobre mi»: retrat a l'esquerra, text a la dreta. */
.about__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 3px; box-shadow: var(--shadow);
}
.about__copy { display: flex; flex-direction: column; gap: 1.15rem; }
.about__copy h2 { max-width: 20ch; }
.about__copy p { color: var(--wp--preset--color--muted); max-width: 62ch; }
@media (max-width: 900px) { .about__media { max-width: 420px; } }

/* Banda final: el contingut, per sobre dels orbes decoratius. */
.cta-band__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
}

/* Peu: columnes editables amb blocs natius. */
.footer-col { min-width: 0; }
.footer-col--brand { flex: 1 1 280px; }
.footer-col--brand .wp-block-site-title { font-family: var(--wp--preset--font-family--serif); }
.footer-col__title {
  font-family: var(--wp--preset--font-family--sans);
  font-size: .7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em;
  opacity: .5; margin-bottom: 1.1rem;
}
.footer-list {
  display: flex; flex-direction: column; gap: .6rem;
  margin: 0; padding: 0; list-style: none;
  font-size: .9rem;
}
.footer-list li { margin: 0; }
.footer-social { margin-top: .9rem; }

/* Arxiu i cerca: capçalera de llista amb filete editorial. */
.archive-head {
  display: flex; flex-direction: column; gap: .9rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: var(--line);
}
.archive-head h1 { max-width: 18ch; }
.notes-archive .lead { max-width: 62ch; }
.blog-grid-wrap { padding-block: 0 clamp(3rem, 6vw, 5rem); }
.section-note { max-width: 70ch; color: var(--wp--preset--color--muted); }
.section__more {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .18em;
  align-self: flex-end;
}
.section__more a { border-bottom: 1px solid var(--wp--preset--color--line); padding-bottom: 3px; }
.section__more a:hover { color: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); }

/* Entrada individual. */
.single-note__head { display: flex; flex-direction: column; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.single-note__title { max-width: 22ch; }
.single-note__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--wp--preset--color--muted);
}
.single-note__media img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 3px; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.single-note__footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: var(--line);
}
.single-note__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.single-note__tags a {
  padding: .35rem .8rem; border: 1px solid var(--wp--preset--color--line);
  font-size: .68rem; text-transform: uppercase; letter-spacing: .12em;
}
.single-note__tags a:hover { border-color: var(--wp--preset--color--gold); color: var(--wp--preset--color--gold); }
.single-note__comments { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Blocs natius de la Query Loop: sense llistes ni markers del navegador. */
.wp-block-query .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.wp-block-query .wp-block-post-template.is-layout-grid { gap: clamp(1.5rem, 3vw, 2.5rem); }

/* Cercador: mateixa tipografia que els camps editorials. */
.atelier-search .wp-block-search__input {
  font: inherit; padding: .85rem 1rem;
  border: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--ink); border-radius: 0;
}
.atelier-search .wp-block-search__input:focus { border-color: var(--wp--preset--color--ink); outline: none; }
.atelier-search .wp-block-search__button { margin-left: .5rem; }

/* Figures que només són imatge: sense el margin lateral del <figure> natiu,
   si no, la graella de la portada es desplaca. */
.hero__image,
.about__image { margin: 0; }
.about { align-items: center; }

/* Plantilles de pàgina: el layout (amplada i marges) ja el dona el bloc
   group. Aquí només es fixa l'escala del títol i la imatge destacada. */
.page-standard__title {
  max-width: 22ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.page-standard__media {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  border-radius: 3px;
}
.page-full-width__title {
  max-width: 26ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page-full-width__title::after {
  content: ""; display: block; width: 3rem; height: 2px; margin-top: 1rem;
  background: var(--wp--preset--color--gold);
}

/* Comentaris: el bloc natiu de comentaris porta la classe atelier-comments
   (templates/single.html). El markup intern és el de WordPress. */
.atelier-comments .comment-list,
.atelier-comments .children {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.5rem);
}
.atelier-comments .children {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  padding-left: clamp(1rem, 3vw, 2.5rem);
  border-left: var(--line);
}
.atelier-comments .comment {
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 4px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.atelier-comments .comment-author { font-size: 1rem; }
.atelier-comments .comment-author .fn {
  font-family: var(--wp--preset--font-family--serif);
  font-size: 1.15rem;
}
.atelier-comments .comment-author img.avatar { border-radius: 50%; float: left; margin-right: .9rem; }
.atelier-comments .comment-metadata,
.atelier-comments .comment-awaiting-moderation {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--wp--preset--color--muted);
}
.atelier-comments .comment-content { margin-top: .9rem; color: var(--wp--preset--color--muted); }
.atelier-comments .reply { margin-top: 1rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
.atelier-comments .comment-respond {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: var(--line);
}
.atelier-comments .comment-form { display: grid; gap: 1.1rem; }
.atelier-comments .comment-form p { margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.atelier-comments .comment-form label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--wp--preset--color--muted);
}
.atelier-comments input[type="text"],
.atelier-comments input[type="email"],
.atelier-comments input[type="url"],
.atelier-comments textarea {
  font: inherit; color: var(--wp--preset--color--ink);
  padding: .85rem 1rem;
  background: var(--wp--preset--color--bg);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 0;
}
.atelier-comments textarea { min-height: 160px; }
.atelier-comments input:focus,
.atelier-comments textarea:focus { border-color: var(--wp--preset--color--ink); outline: none; }
.atelier-comments .comment-notes,
.atelier-comments .comment-form-comment { grid-column: 1 / -1; }

/* Navegació entre entrades: la fletxa és text, no un glif de icona. */
.nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.nav-links a {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  border-bottom: 1px solid var(--wp--preset--color--line); padding-bottom: 3px;
}
.nav-links a:hover { color: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); }
