/* Páginas interiores: fondo papel, mismo sistema tipográfico que la portada */
body.page { background: #faf8f4; color: #1c1a17; font-family: "EB Garamond", Georgia, serif; margin: 0; -webkit-font-smoothing: antialiased; }
.page-top { max-width: 1040px; margin: 0 auto; padding: 1.6rem 1.75rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.page-top .home-link { font-variant-caps: small-caps; font-size: 1.05rem; letter-spacing: .03em; color: #1c1a17; text-decoration: none; border-bottom: 1px solid transparent; }
.page-top .home-link:hover { border-color: #1c1a17; }
.page-top .menu-trigger { display: inline-flex; align-items: center; gap: .6rem; background: none; border: none; cursor: pointer; font-family: inherit; font-variant-caps: small-caps; font-size: 1.05rem; color: #1c1a17; padding: .3rem .1rem; }
.page-main { max-width: 1040px; margin: 0 auto; padding: 2.4rem 1.75rem 3rem; }
.kicker { font-variant-caps: small-caps; font-style: italic; font-size: 1.05rem; color: #57534a; margin: 0 0 .5rem; }
.page-title { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.1; margin: 0 0 1rem; }
.lede { font-size: 1.15rem; line-height: 1.7; color: #57534a; max-width: 62ch; margin: 0 0 2.2rem; }
.prose { font-size: 1.1rem; line-height: 1.8; max-width: 66ch; }
.prose p { margin: 0 0 1.1rem; }
.prose h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.45rem; margin: 2rem 0 .7rem; }
.num { font-variant-numeric: oldstyle-nums; font-family: "Playfair Display", Georgia, serif; font-style: italic; color: #57534a; }
.meta { font-variant-caps: small-caps; font-size: .95rem; color: #8a8477; letter-spacing: .02em; }
.photo-slot { background: #f2efe8; border: 1px solid #e5e1d6; aspect-ratio: 4 / 5; max-width: 360px; display: flex; align-items: center; justify-content: center; color: #8a8477; font-style: italic; }
.two-col { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 3rem; align-items: start; }
.entry-list { list-style: none; margin: 0; padding: 0; }
.entry-list li { border-top: 1px solid #e5e1d6; padding: 1.4rem 0; }
.entry-list li:last-child { border-bottom: 1px solid #e5e1d6; }
.entry-list h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.3rem; margin: .3rem 0 .4rem; }
.entry-list h3 a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; }
.entry-list h3 a:hover { background-size: 100% 1px; }
.entry-list p { margin: 0; color: #57534a; line-height: 1.6; }
.pager { display: flex; justify-content: space-between; margin-top: 2rem; font-variant-caps: small-caps; font-size: 1.05rem; }
.pager a { color: #1c1a17; text-decoration: none; border-bottom: 1px solid #1c1a17; padding-bottom: .15rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin: 1.5rem 0 2.4rem; }
.service { border-top: 1px solid #1c1a17; padding-top: 1rem; }
.service h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.2rem; margin: .2rem 0 .5rem; }
.service p { margin: 0; color: #57534a; line-height: 1.6; }
.form-block { max-width: 560px; }
.field { margin: 0 0 1.4rem; }
.field label { display: block; font-variant-caps: small-caps; font-size: 1rem; color: #57534a; margin-bottom: .35rem; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: none; border-bottom: 1px solid #8a8477; font: inherit; font-size: 1.1rem; color: #1c1a17; padding: .4rem 0; outline: none; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-bottom-color: #1c1a17; }
.btn-line { background: none; border: none; border-bottom: 1px solid #1c1a17; font: inherit; font-variant-caps: small-caps; font-size: 1.1rem; color: #1c1a17; padding: .2rem 0; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.news-box { border-top: 1px solid #1c1a17; border-bottom: 1px solid #1c1a17; padding: 2rem 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: baseline; justify-content: space-between; }
.news-box h2 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.5rem; margin: 0; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } .page-main { padding-top: 1.6rem; } }
/* Menú sobre páginas interiores: capa fija que no ocupa espacio en el flujo */
.page-menu { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 50; border: 0; box-shadow: none; background: none; }
.page-menu .drawer { pointer-events: auto; }
.page-menu.is-open .live-scrim { pointer-events: auto; }
/* Logotipo en cabecera de páginas interiores y pie del panel */
.page-top .home-link { display: inline-block; line-height: 0; border-bottom: 0; }
.site-logo { display: block; width: clamp(130px, 16vw, 180px); height: auto; }
.site-logo-foot { display: block; width: 140px; height: auto; margin: 0 0 0 0; }
.drawer-foot .site-logo-foot { display: inline-block; }
/* Mismo contenedor que la portada: 1180px, marco fino y sombra */
body.page .live-frame { max-width: 1180px; margin: 0 auto 1rem; padding: 0 1.75rem; }
body.page .page-frame { background: #faf8f4; border: 1px solid var(--line, #d9d4c7); box-shadow: 0 1px 2px rgba(28,26,23,.06), 0 24px 48px -28px rgba(28,26,23,.28); overflow: hidden; }
body.page .page-top, body.page .page-main { max-width: none; margin: 0; }
body.page .page-top { padding: 1.6rem clamp(1.1rem,4vw,2.5rem) 0; }
body.page .page-main { padding: 2.4rem clamp(1.1rem,4vw,2.5rem) 3.5rem; }
body.page .page-menu { position: fixed; }
/* Foto de retrato en Sobre mí */
.photo-portrait { display: block; width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border: 1px solid #e5e1d6; }
/* Logotipos más pequeños: cabecera de interiores y panel deslizante */
.site-logo { width: clamp(100px, 11vw, 130px); }
.site-logo-foot { width: 100px; }
/* Papel — páginas de lectura (Sobre mí, Cuaderno, Ficción): cálido, no blanco puro */
body.page.papel .page-frame { background: #faf8f4; }
/* Según el documento: sin borde ni sombra en el contenedor de las interiores; se funde con el papel */
body.page .page-frame { border: none; box-shadow: none; }
/* Móvil (<560px): el papel ocupa todo el ancho, con el padding lateral de texto */
@media (max-width: 560px) {
  body.page .live-frame { padding: 0; margin: 0; max-width: none; }
  body.page .page-frame { border: none; box-shadow: none; }
}
