:root {
  color-scheme: light;
  --papel: #f8f6f1;
  --tinta: #2c211c;
  --linea: #ccc1b7;
  --margen: clamp(1.35rem, 6vw, 7rem);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 1rem/1.5 Arial, sans-serif; }
header, footer { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem var(--margen); }
a { color: inherit; text-underline-offset: .35em; }
a:focus-visible { outline: 3px solid #ae673b; outline-offset: 4px; }
.firma, h1, h2, figcaption { font-family: Georgia, serif; font-weight: normal; }
.firma { font-size: 1.6rem; letter-spacing: -.055em; text-decoration: none; }
nav a, footer a { font-size: .9rem; }

.portada { display:grid; grid-template-columns:54% 46%; min-height: min(82svh,55rem); background:#33241d; color:#f9f3e9; }
.texto { align-self:center; padding:clamp(3rem,6vw,7rem) clamp(1.6rem,5.4vw,6.4rem); }
h1 { margin:0; font-size:clamp(4rem,8.6vw,10.2rem); font-weight:400; letter-spacing:-.065em; line-height:.96; }
h1 i { display:inline-block; color:#e9cdb6; font-weight:400; }
.texto p { margin:clamp(1.5rem,2.6vw,3rem) 0 clamp(2.25rem,6vw,6rem); font-size:clamp(1.35rem,2.3vw,2.65rem); line-height:1.15; letter-spacing:-.035em; }
.enlace { display:inline-block; padding:0 0 .65rem; border-bottom:1px solid #ddc4ae; font-size:clamp(1rem,1.55vw,1.65rem); line-height:1.4; text-decoration:none; }
.enlace:hover { color:#e9cdb6; }
.estudio { display:block; height:100%; min-height:0; width:100%; object-fit:cover; object-position:center 68%; }
.portada { grid-template-rows: minmax(0, min(82svh,55rem)); }
@media (min-width:681px) and (max-height:540px) { .portada { grid-template-rows:minmax(27rem,auto); } }
#coleccion { padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3.6vw, 5rem) clamp(3rem, 7vw, 7rem); }
#coleccion h2 { font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.12; letter-spacing: -.045em; margin: 0 0 1.5rem .4rem; }
.filtros { display: flex; flex-wrap: wrap; gap: .65rem .9rem; margin: 0 .4rem 2.25rem; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #b3632e; outline-offset: 3px; }
.filtros button { border: 1px solid #bcafa4; background: transparent; border-radius: 2rem; padding: .48rem 1.25rem; }
.filtros button[aria-pressed="true"] { background: #322824; border-color: #322824; color: white; }
.categorias, .piezas { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .55rem; }
.tarjeta { position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio:  .765; border: 0; padding: 0; text-align: left; background: #453629; color: white; }
.tarjeta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tarjeta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 45%, rgb(28 18 10 / .78)); }
.rotulo { position: absolute; bottom: 7%; left: 9%; right: 17%; }
.rotulo strong,.seleccion h3 { display: block; font: normal clamp(1.65rem, 3.6vw, 3.5rem)/1.1 Georgia, serif; }
.rotulo > span { display: block; max-width: 21ch; margin-top: .4rem; line-height: 1.35; }
.flecha { position: absolute; bottom: 8%; right: 7%; font-size: 1.45rem; }
.seleccion h3 { margin: 0 0 1rem; }
.piezas { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 55rem; gap: 1.4rem; }
.piezas figure { margin: 0; }
.piezas img { width: 100%; height: auto; display: block; }
.piezas figcaption { margin: .65rem 0; font-size: 1.25rem; }
[hidden] { display: none !important; }
@media (max-width: 680px) {
  .categorias, .piezas { grid-template-columns: 1fr; }
  .filtros { gap: .5rem; margin-bottom: 1.4rem; }
  .filtros button { padding: .45rem .9rem; }
  .tarjeta { aspect-ratio: .95; }
}
footer { border-top: 1px solid var(--linea); }
@media (max-width:680px) {
.portada { grid-template-columns:1fr; grid-template-rows:auto auto; min-height:0; }
.texto { padding:2.8rem 7vw 2.5rem; }
h1 { font-size:clamp(3.75rem,14vw,6rem); }
.texto p { margin:1.25rem 0 1.9rem; }
.estudio { height:auto; aspect-ratio:1.35; }
}

header { position:absolute; z-index:2; inset:0 0 auto; padding:1.2vw 5vw; color:#35251a; font-family:Georgia,serif; }
header nav { display:flex; gap:clamp(1rem,3.8vw,4.3rem); align-items:center; }
header nav a { text-decoration:none; padding:.3em 0; font-size:clamp(.95rem,1.56vw,1.4rem); }
header nav a:first-child,header nav a:hover { border-bottom:1px solid; }
header .firma { font-size:clamp(1.3rem,2.3vw,2.4rem); }
.portada { isolation:isolate; position:relative; display:flex; align-items:center; min-height:0; aspect-ratio:16/9; overflow:hidden; color:#382619; background:#eee3d5; font-family:Georgia,serif; }
.portada .estudio { position:absolute; z-index:-1; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.portada .texto { padding:5vw 0 0 6.45vw; }
.portada h1 { font:normal 8.68vw/.80 Georgia,serif; letter-spacing:-.055em; margin:0; }
.portada h1 i { color:#9e6039; font-weight:normal; }
.portada .lema { margin:2.8vw 0 1.6vw; font:italic 2.85vw/1.2 Georgia,serif; letter-spacing:.22em; }
.portada .bajada { margin:0; font:normal 1.95vw/1.45 Georgia,serif; letter-spacing:.015em; }
.portada .enlace { margin-top:3.35vw; padding:0 0 .25em; color:inherit; border-color:currentColor; font:normal 1.92vw/1.45 Georgia,serif; }
.portada .enlace:hover { color:#85502e; }
.editorial { display:grid; grid-template-columns:1fr 1fr; gap:6vw; padding:4rem var(--margen); border-top:1px solid var(--linea); }
.editorial h2 { font-size:2.2rem; margin:0; }
.editorial p { max-width:42ch; }
@media(max-width:680px) {
header { position:relative; flex-wrap:wrap; gap:.35rem; padding:.8rem 6vw; background:#eee4d7; }
header nav { width:100%; justify-content:space-between; gap:.5rem; }
header nav a { font-size:.9rem; }
.portada { display:block; aspect-ratio:auto; }
.portada .texto { padding:2.3rem 7vw 1.7rem; background:linear-gradient(100deg,#f5eadf,#eadac6); }
.portada h1 { font-size:clamp(3.8rem,13vw,5.4rem); line-height:.85; }
.portada .lema { font-size:1.35rem; margin:1.4rem 0 .65rem; }
.portada .bajada,.portada .enlace { font-size:1.02rem; }
.portada .enlace { margin-top:1.3rem; }
.portada .estudio { position:relative; display:block; height:auto; aspect-ratio:1.5; object-fit:cover; object-position:right center; }
.editorial { grid-template-columns:1fr; gap:2rem; }
}

.contacto { display:grid; grid-template-columns:1fr 1fr; gap:6vw; padding:clamp(3rem,7vw,7rem) var(--margen); background:#f5eee4; border-top:1px solid var(--linea); }
.contacto h2 { margin:0; font:normal clamp(3rem,6vw,5.5rem)/1 Georgia,serif; letter-spacing:-.06em; }
.contacto p { max-width:33ch; margin:1.25rem 0 0; font:normal 1.18rem/1.55 Georgia,serif; }
.contacto address { font-style:normal; min-width:0; }
.contacto-principal { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem 1.25rem; margin-bottom:1.2rem; }
.boton-contacto { display:inline-block; padding:.85rem 1.15rem; background:#855030; color:white; border-radius:.2rem; text-decoration:none; }
.boton-contacto:hover { background:#693d26; }
.contacto-dato { display:flex; flex-wrap:wrap; gap:.25rem 1rem; justify-content:space-between; padding:.85rem 0; border-top:1px solid var(--linea); }
.contacto-dato a { overflow-wrap:anywhere; }
@media(max-width:680px) { .contacto { grid-template-columns:1fr; gap:1.75rem; } }
