/* ============================================================
   Maria Busquets · Roig de Coure
   Disseny editorial: serif d’alt contrast, aire i moviment.
   ============================================================ */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-variable.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #eeecea;
  --paper: #f7f5f2;
  --ink: #1a1818;
  --muted: #6f6b66;
  --line: rgba(26, 24, 24, 0.16);
  --line-soft: rgba(26, 24, 24, 0.09);
  --dark: #141312;
  --light: #f5f3f0;
  --max: 1440px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --serif: "Instrument Serif", "Times New Roman", Times, serif;
  --sans: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, figure, blockquote, dl, dd, ol { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.no-scroll { overflow: hidden; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; }
h1 em, h2 em, h3 em, .serif em { font-style: italic; }

/* ---------- utilitats ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 14px; }

.label,
.kicker {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--light { color: rgba(245, 243, 240, 0.7); }

.link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 3px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s var(--ease), letter-spacing 0.4s var(--ease);
}
.link:hover,
.text-link:hover { opacity: 0.55; letter-spacing: 0.2em; }
.arrow { font-family: var(--sans); font-size: 0.9em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--light { border-color: rgba(245, 243, 240, 0.55); color: var(--light); }
.btn--light:hover { background: var(--light); border-color: var(--light); color: var(--ink); }
.btn--small { padding: 0.6rem 0.9rem; font-size: 8px; }
.btn[disabled],
.btn.is-disabled { opacity: 0.35; pointer-events: none; }

.frame { background: rgba(26, 24, 24, 0.05); overflow: hidden; }

/* ---------- entrada / revelats ---------- */

.js [data-reveal]:not(.is-visible),
.js .reveal-img:not(.is-visible) {
  opacity: 0;
  transform: translateY(34px);
}
[data-reveal],
.reveal-img {
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.js [data-reveal]:not(.is-visible) .frame img {
  transform: scale(1.08);
}
[data-reveal] .frame img {
  transition: transform 1.3s var(--ease-out);
}

/* ---------- capçalera ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--pad);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(238, 236, 234, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.site-header.is-hidden { transform: translateY(-100%); }

body[data-header="over"] .site-header:not(.is-scrolled) { color: var(--light); }
body[data-header="over"] .site-header:not(.is-scrolled) .brand small { color: rgba(245, 243, 240, 0.65); }
body[data-header="over"] .site-header:not(.is-scrolled) .cart-btn,
body[data-header="over"] .site-header:not(.is-scrolled) .menu-btn { color: var(--light); }

.brand { display: block; line-height: 1.15; }
.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.brand small {
  display: block;
  margin-top: 4px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: none; }

.header-actions { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.cart-btn,
.menu-btn {
  border: 0;
  background: none;
  padding: 0;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.3s var(--ease);
}
.cart-btn:hover,
.menu-btn:hover { opacity: 0.55; }
.menu-btn {
  display: block;
  writing-mode: vertical-rl;
  line-height: 1;
  letter-spacing: 0.24em;
  padding: 4px 0;
}
.menu-btn::before {
  content: "";
  display: block;
  width: 1px;
  height: 26px;
  margin: 0 auto 10px;
  background: currentColor;
  opacity: 0.55;
}

/* ---------- preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.js .preloader { display: flex; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { width: 44px; height: 44px; opacity: 0.85; }
.preloader__label {
  position: absolute;
  left: var(--pad);
  bottom: 40px;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.preloader__count {
  position: absolute;
  right: var(--pad);
  bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.preloader__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  animation: loadbar 1.5s var(--ease) forwards;
}
@keyframes loadbar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--dark);
  color: var(--light);
  isolation: isolate;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  transform: scale(1.12);
  transition: transform 9s linear;
}
.hero__slide.is-active img { transform: scale(1); }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 19, 18, 0.52) 0%, rgba(20, 19, 18, 0.18) 48%, rgba(20, 19, 18, 0) 78%),
    linear-gradient(180deg, rgba(20, 19, 18, 0.4) 0%, rgba(20, 19, 18, 0.1) 38%, rgba(20, 19, 18, 0.58) 100%);
}
.hero__frame {
  position: absolute;
  inset: 24px;
  z-index: 2;
  border: 1px solid rgba(245, 243, 240, 0.32);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  padding-left: calc(var(--pad) + clamp(0px, 6vw, 90px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__content { max-width: min(780px, 100%); }
.hero__content .label { display: block; margin-bottom: 2rem; color: rgba(245, 243, 240, 0.72); }
.hero__title {
  font-size: clamp(3.6rem, 9.4vw, 9.4rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
  color: var(--light);
  max-width: 12ch;
}
.hero__sub {
  margin-top: 1.8rem;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(245, 243, 240, 0.78);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }
.hero__side {
  position: absolute;
  z-index: 4;
  right: calc(var(--pad) - 6px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  justify-items: center;
  gap: 22px;
  color: var(--light);
}
.hero__side button {
  border: 0;
  background: none;
  padding: 6px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1;
  color: inherit;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.hero__side button:hover { opacity: 0.6; transform: translateY(-2px); }
.hero__counter {
  font-size: 9px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.hero__vertical {
  position: absolute;
  z-index: 4;
  right: calc(var(--pad) - 18px);
  bottom: 34px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 243, 240, 0.6);
}
.hero__caption {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  bottom: 34px;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 243, 240, 0.68);
  transition: opacity 0.5s var(--ease);
}
.hero__caption.is-swapping { opacity: 0; }

/* entrada esglaonada del hero (espera el preloader) */

.js .hero__content > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.js .hero__content > *:nth-child(2) { transition-delay: 0.12s; }
.js .hero__content > *:nth-child(3) { transition-delay: 0.22s; }
.js .hero__content > *:nth-child(4) { transition-delay: 0.32s; }
html.is-loaded .hero__content > * { opacity: 1; transform: none; }
.js .hero__side,
.js .hero__caption,
.js .hero__vertical,
.js .hero__frame { opacity: 0; transition: opacity 1.2s var(--ease) 0.4s; }
html.is-loaded .hero__side,
html.is-loaded .hero__caption,
html.is-loaded .hero__vertical,
html.is-loaded .hero__frame { opacity: 1; }

/* ---------- capçaleres de secció ---------- */

.section { padding: clamp(80px, 12vw, 170px) 0; }
.section--tight { padding: clamp(56px, 8vw, 110px) 0; }
.section--line { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: clamp(48px, 7vw, 96px);
  text-align: center;
}
.section-head .label { color: var(--muted); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.3;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin: 26px auto 0;
  background: var(--ink);
  opacity: 0.5;
}
.section-head p:not(.label) {
  max-width: 54ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section-foot { display: flex; justify-content: center; margin-top: clamp(48px, 7vw, 90px); }

/* compatibilitat amb antics caps de secció */

.section__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  margin-bottom: 40px;
}
.section__head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.01em; }

/* ---------- graella d’obres ---------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 8vw, 130px) clamp(24px, 5vw, 80px);
  align-items: start;
}
.work { padding: 0; }
.works-grid > .work:nth-child(even) { margin-top: clamp(40px, 7vw, 110px); }
.work__link { display: block; }
.work .frame { aspect-ratio: 4 / 5; overflow: hidden; }
.work img { transition: transform 1.4s var(--ease-out); }
.work__link:hover img { transform: scale(1.045); }
.work__meta {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2px;
  padding-top: 20px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: 0.005em;
}
.work__meta > span:last-child {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.work__meta .sold { color: var(--muted); }
.work__sub {
  padding-top: 4px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.work--sold img,
.work--reserved img { opacity: 0.62; }

/* graella de 4 destacats a l’inici */

.grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- manifest ---------- */

.manifest {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--bg);
}
.manifest__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(56px, 8vw, 120px) clamp(28px, 5vw, 80px) clamp(56px, 8vw, 120px) var(--pad);
}
.manifest__title {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 12ch;
}
.manifest__lead { max-width: 46ch; font-size: 15px; line-height: 1.8; }
.manifest__body p:not(.label):not(.manifest__lead) { max-width: 48ch; color: var(--muted); font-size: 13px; }
.manifest__body .link { align-self: flex-start; margin-top: 12px; }
.manifest__media {
  position: relative;
  min-height: clamp(420px, 68vh, 760px);
  overflow: hidden;
}
.manifest__media img { transition: transform 1.8s var(--ease-out); }
.manifest:hover .manifest__media img { transform: scale(1.03); }
.manifest__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(24px, 4vw, 56px);
  color: var(--light);
  background: linear-gradient(180deg, rgba(20, 19, 18, 0) 0%, rgba(20, 19, 18, 0.62) 100%);
}
.manifest__caption .label { color: rgba(245, 243, 240, 0.75); }
.manifest__caption h3 {
  margin-top: 10px;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.05;
}

/* ---------- monogràfics a l’inici ---------- */

.mono-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}
.mono-card__link { display: block; }
.mono-card .frame { aspect-ratio: 3 / 4; }
.mono-card h3 {
  margin: 22px 0 4px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
}
.mono-card p {
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono-card img { transition: transform 1.4s var(--ease-out); }
.mono-card__link:hover img { transform: scale(1.045); }

/* ---------- bloc de retrat / sobre ---------- */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: center;
  padding: clamp(64px, 10vw, 150px) 0;
  border-top: 1px solid var(--line);
}
.feature__media .frame { aspect-ratio: 4 / 5; max-width: 520px; }
.feature__body h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 18px 0 26px;
  max-width: 18ch;
}
.feature__body p { max-width: 52ch; margin-bottom: 16px; color: var(--muted); }
.feature__body p:first-of-type { color: var(--ink); font-size: 15px; }
.feature__body .link { margin-top: 14px; }

/* ---------- bafarada de contacte ---------- */

.contact-strip {
  border-top: 1px solid var(--line);
}
.contact-box {
  margin: clamp(64px, 10vw, 140px) 0;
  padding: clamp(48px, 8vw, 110px) clamp(24px, 5vw, 80px);
  border: 1px solid var(--line);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 20px;
}
.contact-box h2 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.contact-box__mail {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.contact-box__mail:hover { border-color: var(--ink); }
.contact-box p { color: var(--muted); max-width: 46ch; font-size: 13px; }
.contact-box .btn { margin-top: 10px; }

/* ---------- capçaleres de pàgina ---------- */

.page-hero {
  position: relative;
  min-height: clamp(520px, 78vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--light);
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--page-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 2.4s var(--ease-out);
}
.page-hero--obra::before { background-image: url("../img/bosc-08.webp"); }
.page-hero--mono::before { background-image: url("../img/bosc-04.webp"); }
.page-hero--sobre::before { background-image: url("../img/bosc-02.webp"); }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 19, 18, 0.52) 0%, rgba(20, 19, 18, 0.14) 58%, rgba(20, 19, 18, 0.2) 100%),
    linear-gradient(180deg, rgba(20, 19, 18, 0.4) 0%, rgba(20, 19, 18, 0.06) 36%, rgba(20, 19, 18, 0.68) 100%);
}
.page-hero__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}
.page-hero__title {
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-top: 18px;
}
.page-hero__intro {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(245, 243, 240, 0.8);
}
.page-hero__intro a { border-bottom: 1px solid currentColor; }
.page-hero__meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  padding-bottom: 8px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 243, 240, 0.78);
  text-align: right;
}
.page-hero .label { color: rgba(245, 243, 240, 0.7); }

.page-hero--plain {
  min-height: 0;
  padding: clamp(150px, 20vw, 240px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--bg);
}
.page-hero--plain::before,
.page-hero--plain::after { display: none; }
.page-hero--plain .page-hero__title { font-size: clamp(3rem, 8vw, 7rem); }
.page-hero--plain .page-hero__intro { color: var(--muted); }
.page-hero--plain .page-hero__meta { color: var(--muted); }
.page-hero--plain .label { color: var(--muted); }
.page-hero--plain .hero__actions { margin-top: 2rem; }
.contour { display: none; }

.page-head {
  padding: clamp(140px, 18vw, 220px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-head__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}
.page-head h1 { font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.95; margin-top: 16px; }
.page-head__aside { max-width: 36ch; color: var(--muted); font-size: 13px; text-align: right; }

/* ---------- obra ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.filters button {
  position: relative;
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.filters button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.filters button sup { font-size: 8px; margin-left: 4px; letter-spacing: 0.05em; }
.filters button.is-active { color: var(--ink); }
.filters button.is-active::after,
.filters button:hover::after { transform: scaleX(1); }
.filters button:hover { color: var(--ink); }
.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.availability input { accent-color: var(--ink); width: 13px; height: 13px; }

.catalogue { padding: clamp(48px, 7vw, 90px) 0 clamp(72px, 10vw, 140px); }
.catalogue__count { margin-bottom: clamp(32px, 5vw, 64px); }
.catalogue__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(56px, 8vw, 110px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.catalogue__note a { border-bottom: 1px solid currentColor; }
.works-empty { font-size: 14px; color: var(--muted); padding: 40px 0; }

/* ---------- fitxa d’obra ---------- */

.artwork-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform 0.65s var(--ease);
  overflow: hidden;
}
.artwork-panel.is-open { transform: none; }
.artwork-panel__media { position: relative; background: rgba(26, 24, 24, 0.05); overflow: hidden; }
.artwork-panel__media img { height: 100%; }
.artwork-panel__close {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  border: 1px solid rgba(26, 24, 24, 0.3);
  background: rgba(238, 236, 234, 0.9);
  padding: 9px 14px;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.artwork-panel__close:hover { background: var(--ink); color: var(--bg); }
.artwork-panel__nav {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 14px;
  background: rgba(238, 236, 234, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.artwork-panel__nav button {
  border: 0;
  background: none;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.artwork-panel__nav button[disabled] { opacity: 0.3; cursor: default; }
.artwork-panel__info {
  overflow-y: auto;
  padding: clamp(56px, 6vw, 88px) clamp(24px, 4vw, 56px) 48px;
}
.artwork-panel__eyebrow { display: flex; justify-content: space-between; gap: 1rem; }
.artwork-panel__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 26px 0 18px;
}
.artwork-panel__desc { font-size: 13px; color: var(--muted); margin-bottom: 30px; max-width: 46ch; }
.specs { border-top: 1px solid var(--line); }
.specs > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.specs dt { color: var(--muted); text-transform: uppercase; letter-spacing: 0.14em; font-size: 8px; }
.specs dd { text-align: right; }
.artwork-panel__buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 30px 0 20px;
}
.artwork-panel__price { font-family: var(--serif); font-size: 28px; letter-spacing: -0.01em; }
.artwork-panel__buy > div { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.artwork-panel__note { font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- monogràfics ---------- */

.monographs-page { padding: clamp(48px, 7vw, 90px) 0 40px; }
.mono-list { border-top: 1px solid var(--line); }
.mono-row {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(48px, 7vw, 92px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.mono-row__cover { display: block; }
.mono-row__cover .frame,
.mono-row__cover.mono-cover { position: relative; }
.mono-row__cover img { aspect-ratio: 3 / 4; height: auto; transition: transform 1.4s var(--ease-out); }
.mono-row__cover:hover img { transform: scale(1.04); }
.mono-row__body { max-width: 780px; }
.mono-row h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 10px 0 8px;
}
.mono-row__sub { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); margin-bottom: 20px; }
.mono-row__desc { font-size: 13px; color: var(--muted); max-width: 58ch; margin-bottom: 28px; }

.format-picker { display: flex; gap: 10px; margin-bottom: 22px; }
.format-option {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.format-option:has(input:checked) { border-color: var(--ink); }
.format-option:hover { border-color: rgba(26, 24, 24, 0.4); }
.format-option input { position: absolute; opacity: 0; pointer-events: none; }
.format-option strong { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.format-option span { font-size: 10px; color: var(--muted); }

.mono-row__buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mono-row__price { font-family: var(--serif); font-size: 24px; margin-right: 8px; }
.mono-row__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.bundle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin: clamp(40px, 6vw, 80px) 0 8px;
  padding: clamp(32px, 5vw, 64px);
  background: var(--dark);
  color: var(--light);
}
.bundle h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 14px 0 16px;
}
.bundle p { font-size: 13px; color: rgba(245, 243, 240, 0.68); max-width: 52ch; }
.bundle .label { color: rgba(245, 243, 240, 0.6); }
.bundle__buy { display: grid; gap: 14px; justify-items: end; text-align: right; }
.bundle__price { font-family: var(--serif); font-size: 30px; letter-spacing: -0.01em; }
.bundle__price s { font-family: var(--sans); font-size: 12px; color: rgba(245, 243, 240, 0.5); margin-left: 8px; }

/* ---------- sobre ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  padding: clamp(56px, 8vw, 110px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.about-grid__body h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin-bottom: 26px;
}
.about-grid__body p { max-width: 58ch; margin-bottom: 18px; font-size: 14px; line-height: 1.85; }
.about-grid__body p:last-child { margin-bottom: 0; }
.about-grid__media .frame { aspect-ratio: 4 / 5; max-width: 420px; margin-left: auto; }

.statement { padding: clamp(64px, 9vw, 130px) 0; border-bottom: 1px solid var(--line); }
.statement blockquote {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 26ch;
}
.statement blockquote em { font-style: italic; }
.statement cite {
  display: block;
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.process-list { border-top: 1px solid var(--line); }
.process-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.process-list span {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--muted);
}
.process-list h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}
.process-list p { color: var(--muted); font-size: 13px; max-width: 46ch; }

.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.process__num { font-size: 9px; color: var(--muted); letter-spacing: 0.22em; text-transform: uppercase; }
.process h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin: 10px 0 8px; }
.process p { font-size: 13px; color: var(--muted); max-width: 42ch; }

.cv {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(56px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}
.cv h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-top: 12px;
}
.cv__body p { max-width: 58ch; margin-bottom: 18px; font-size: 14px; }
.cv__list { margin-top: 24px; border-top: 1px solid var(--line); }
.cv__list li {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.cv__list span {
  flex: 0 0 70px;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.page-note {
  margin: 40px 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  max-width: 70ch;
}

.contact-page {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 7vw, 110px);
  padding: clamp(64px, 9vw, 130px) var(--gutter) 60px;
}
.contact-page__intro h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
}
.contact-page__intro > p { color: var(--muted); max-width: 42ch; margin-bottom: 28px; }
.contact-page__details { display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
.contact-page__details a {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  justify-self: start;
  padding-bottom: 2px;
}

/* ---------- formularis ---------- */

.contact-form,
.checkout-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form-note { font-size: 10px; color: var(--muted); max-width: 42ch; line-height: 1.7; }
.form-success { display: none; font-size: 12px; color: var(--ink); padding: 14px 0; border-top: 1px solid var(--line); }
.form-success.is-visible { display: block; }
.checkout-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- cistella ---------- */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(20, 19, 18, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform 0.6s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 26px 28px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -0.01em; }
.drawer__close { border: 0; background: none; font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 22px 28px 28px; display: grid; gap: 14px; }
.drawer__total { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; }
.drawer__total strong { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: 0; }
.drawer__note { font-size: 10px; color: var(--muted); }

.cart-item { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { aspect-ratio: 1; background: rgba(26, 24, 24, 0.05); overflow: hidden; }
.cart-item__title { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.cart-item__sub { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.cart-item__price { font-size: 12px; text-align: right; }
.cart-item__remove {
  border: 0;
  background: none;
  padding: 0;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.cart-item__qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 11px; }
.cart-item__qty button { border: 1px solid var(--line); background: none; width: 24px; height: 24px; line-height: 1; }
.cart-empty { display: grid; gap: 10px; padding: 40px 0; font-size: 13px; color: var(--muted); }

/* ---------- modals ---------- */

.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: grid; place-items: center; }
.modal__scrim { position: absolute; inset: 0; background: rgba(20, 19, 18, 0.5); }
.modal__dialog {
  position: relative;
  width: min(580px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
  animation: modalIn 0.6s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.modal--wide .modal__dialog { width: min(1000px, calc(100vw - 32px)); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 22px; }
.modal__head h2 { font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -0.01em; }
.modal__close { border: 0; background: none; font-size: 16px; padding: 0; }
.modal__intro { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.modal__note { font-size: 11px; color: var(--muted); }
.demo-badge { display: inline-block; border: 1px solid var(--ink); padding: 2px 6px; font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; margin-right: 6px; }

.checkout-summary { border-top: 1px solid var(--line); margin-bottom: 24px; }
.checkout-summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.checkout-summary__row--total { text-transform: uppercase; letter-spacing: 0.16em; font-size: 9px; }
.checkout-summary__row--total strong { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: 0; }
.checkout-reference { font-size: 11px; margin-bottom: 14px; }

.spread { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--bg); }
.spread__page { min-height: 360px; }
.spread__page--image { overflow: hidden; }
.spread__page--text { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.spread__folio,
.spread__caption { font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.spread__text { font-family: var(--serif); font-size: 17px; line-height: 1.6; }
.spread-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 18px;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.spread-nav button { border: 0; background: none; font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; }
.spread-nav button[disabled] { opacity: 0.3; cursor: default; }

/* ---------- menú ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: 26px var(--pad) 40px;
  background: var(--dark);
  color: var(--light);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.7s var(--ease), visibility 0.7s;
}
.menu.is-open { transform: none; visibility: visible; }
.menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.menu__head .label { color: rgba(245, 243, 240, 0.6); }
.menu__close {
  border: 0;
  background: none;
  color: var(--light);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.menu__nav { display: grid; margin: auto 0; }
.menu__nav a {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  padding: 0.16em 0;
  border-bottom: 1px solid rgba(245, 243, 240, 0.16);
  transition: opacity 0.3s var(--ease), padding-left 0.5s var(--ease);
}
.menu__nav a:first-child { border-top: 1px solid rgba(245, 243, 240, 0.16); }
.menu__nav a:hover { opacity: 0.6; padding-left: 0.18em; }
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 243, 240, 0.6);
}
.menu__foot a { border-bottom: 1px solid rgba(245, 243, 240, 0.4); padding-bottom: 2px; }
.menu__cart {
  border: 0;
  border-bottom: 1px solid rgba(245, 243, 240, 0.4);
  background: none;
  padding: 0 0 2px;
  color: inherit;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.menu__cart:hover { opacity: 0.6; }

.js .menu__nav a { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), padding-left 0.5s var(--ease); }
.js .menu.is-open .menu__nav a { opacity: 1; transform: none; }
.js .menu.is-open .menu__nav a:nth-child(1) { transition-delay: 0.12s; }
.js .menu.is-open .menu__nav a:nth-child(2) { transition-delay: 0.18s; }
.js .menu.is-open .menu__nav a:nth-child(3) { transition-delay: 0.24s; }
.js .menu.is-open .menu__nav a:nth-child(4) { transition-delay: 0.3s; }

/* ---------- avisos ---------- */

.toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 130;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: none; }

/* ---------- peu ---------- */

.footer { border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 90px); }
.footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: clamp(40px, 6vw, 80px);
}
.footer__mail {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.015em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), font-style 0.4s;
}
.footer__mail:hover { border-bottom-color: var(--line); font-style: italic; }
.footer__wordmark {
  font-family: var(--serif);
  font-size: clamp(4rem, 16vw, 16rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 24, 24, 0.18);
  padding: 0 var(--gutter) clamp(24px, 4vw, 48px);
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__bottom nav { display: flex; gap: 1.8rem; }
.footer__bottom a:hover { color: var(--ink); }

/* ---------- legal ---------- */

.legal { max-width: 800px; margin: 0 auto; padding: clamp(48px, 7vw, 90px) var(--gutter) clamp(72px, 10vw, 140px); }
.legal h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal p,
.legal li { font-size: 13px; line-height: 1.85; color: var(--muted); margin-bottom: 14px; }
.legal ul { list-style: none; margin-bottom: 14px; }
.legal li { padding-left: 18px; position: relative; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.legal a { color: var(--ink); border-bottom: 1px solid var(--line); }
.legal a:hover { border-color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .works-grid { gap: 64px 40px; }
  .manifest { grid-template-columns: 1fr 1fr; }
  .footer__wordmark { font-size: clamp(3.4rem, 15vw, 11rem); }
}

@media (max-width: 900px) {
  .site-header { height: 76px; }
  .brand strong { font-size: 19px; }
  .brand small { display: none; }

  .hero__inner { padding-left: var(--pad); }
  .hero__frame { inset: 14px; }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: clamp(3.2rem, 15vw, 6rem); }
  .hero__side { right: 18px; }
  .hero__vertical { display: none; }

  .manifest { grid-template-columns: 1fr; }
  .manifest__body { padding: clamp(48px, 10vw, 80px) var(--gutter); }
  .manifest__media { min-height: 62vh; }

  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature__media .frame { max-width: 100%; }

  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__meta { justify-items: start; text-align: left; }
  .page-head__grid { grid-template-columns: 1fr; }
  .page-head__aside { text-align: left; }

  .about-grid { grid-template-columns: 1fr; }
  .about-grid__media .frame { margin-left: 0; max-width: 100%; }
  .cv { grid-template-columns: 1fr; }
  .contact-page { grid-template-columns: 1fr; }

  .mono-grid { grid-template-columns: 1fr 1fr; gap: 48px 20px; }
  .mono-grid > .mono-card:last-child { grid-column: 1 / -1; max-width: 50%; }
  .process { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .process-list li { grid-template-columns: 52px minmax(0, 1fr); }
  .process-list p { grid-column: 2; }

  .bundle { grid-template-columns: 1fr; padding: 32px 24px; }
  .bundle__buy { justify-items: start; text-align: left; }

  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__top { align-items: flex-start; }

  .spread { grid-template-columns: 1fr; }
  .spread__page { min-height: 240px; }
}

@media (max-width: 1024px) {
  .artwork-panel { grid-template-columns: 1fr; width: min(680px, 100%); overflow-y: auto; }
  .artwork-panel__media { min-height: 48vh; }
  .artwork-panel__media img { height: 48vh; }
  .artwork-panel__info { overflow: visible; padding: 36px 24px 48px; }
}

@media (max-width: 700px) {
  body { font-size: 13px; }
  .works-grid { grid-template-columns: 1fr; gap: 56px; }
  .works-grid > .work:nth-child(even) { margin-top: 0; }
  .catalogue .works-grid { gap: 48px; }

  .hero { min-height: 560px; }
  .hero__caption { bottom: 22px; }
  .hero__side { gap: 12px; }

  .mono-grid { grid-template-columns: 1fr; gap: 48px; }
  .mono-grid > .mono-card:last-child { max-width: none; }

  .mono-row { grid-template-columns: 1fr; gap: 24px; }
  .mono-row__cover { max-width: 200px; }
  .format-picker { flex-wrap: wrap; }

  .process { grid-template-columns: 1fr; }
  .contact-page__details a { font-size: 19px; }
  .form-row { grid-template-columns: 1fr; }

  .filters { gap: 4px 14px; }
  .availability { margin-left: 0; width: 100%; padding-top: 8px; }

  .page-hero { min-height: 70vh; }
  .page-hero__title { font-size: clamp(2.8rem, 13vw, 4.6rem); }

  .footer__wordmark { display: none; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 2.9rem; }
  .hero__actions { gap: 10px; }
  .btn { padding: 0.85rem 1.1rem; }
  .cart-btn { font-size: 8px; letter-spacing: 0.14em; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal]:not(.is-visible),
  .js .reveal-img:not(.is-visible) { opacity: 1; transform: none; }
  .js .hero__content > * { opacity: 1; transform: none; }
  .js .hero__side,
  .js .hero__caption,
  .js .hero__vertical,
  .js .hero__frame { opacity: 1; }
  .hero__slide img { transition: none; transform: none; }
  .js .menu__nav a { opacity: 1; transform: none; }
}
