:root {
  color-scheme: light;
  --paper: #f8f0e5;
  --ink: #1b1713;
  --accent: #9d360f;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); }
h1, h2, p, blockquote { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
[id] { scroll-margin-top: 1rem; }
.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; padding: .75rem; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.masthead { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem clamp(1rem, 2vw, 2.5rem); padding: .65rem 2.55%; }
.wordmark { text-decoration: none; font-size: clamp(2rem, 3.6vw, 4.6rem); line-height: 1; letter-spacing: -.065em; white-space: nowrap; }
.motto { font-style: italic; padding: .55rem 0 .55rem clamp(.85rem, 1.75vw, 2.25rem); border-left: 1px solid #74695f; font-size: clamp(.95rem, 1.15vw, 1.4rem); }
nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(.55rem, 1.2vw, 1.8rem); }
nav a, .button, summary, button { font-family: var(--sans); font-size: .875rem; font-weight: 650; text-transform: uppercase; letter-spacing: .035em; }
nav a { display: inline-block; padding: .65rem 0; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .28em; }
.hero { position: relative; isolation: isolate; min-height: clamp(27rem, 32vw, 47rem); display: grid; align-items: center; }
.hero-photo { position: absolute; inset: 0 0 0 35%; z-index: -1; background: linear-gradient(90deg, var(--paper), #f8f0e500 43%), url('assets/retrato.jpg?v=2x') right center / cover no-repeat; }
.intro { padding: clamp(2.2rem, 4.5vw, 7rem) 3.2%; }
.intro h1 { font-weight: 500; font-size: clamp(2.9rem, 5.65vw, 8rem); line-height: .9; letter-spacing: -.067em; }
.intro h1 em { font-size: .89em; }
.intro h1::after, .tile h2::after { content: ''; display: block; width: 2.25em; height: .08em; margin-top: .24em; background: var(--accent); border-radius: 90% 12% 85% 15%; transform: rotate(-1deg); }
.intro p { max-width: 29em; width: 46%; font-size: clamp(1.06rem, 1.28vw, 1.7rem); line-height: 1.24; margin: .8em 0 1.05em; }
.button { display: inline-block; background: var(--accent); color: #fff8ee; padding: .85em 1.55em; text-decoration: none; }
.button:focus-visible { outline-color: var(--ink); }
.button:hover { background: #792706; }
.editorial { padding: .5rem 1.6% 0; }
.row { display: grid; gap: clamp(.55rem, .8vw, 1.1rem); }
.first { grid-template-columns: 1.02fr 1.15fr .93fr; }
.second { grid-template-columns: 1.12fr 1.12fr .76fr; margin-top: clamp(.65rem, 2.1vw, 2.8rem); }
.tile, .quote { position: relative; isolation: isolate; padding: clamp(1rem, 1.7vw, 2.2rem); background-color: #ede0d0; min-width: 0; }
.tile { display: flex; flex-direction: column; align-items: flex-start; min-height: clamp(13rem, 12.7vw, 18rem); }
.tile::before { content: ''; position: absolute; z-index: -1; inset: 0 0 0 40%; background: linear-gradient(90deg, #ede0d0, #ede0d000 45%), var(--picture) right center / cover no-repeat; }
.chair { --picture: url('assets/silla.jpg?v=2x'); }
.street { --picture: url('assets/calle.jpg?v=2x'); }
.tree { --picture: url('assets/arbol.jpg?v=2x'); }
.mic { --picture: url('assets/microfono.jpg?v=2x'); color: #fff4e7; background-color: #181614; }
.mic::before { background-image: linear-gradient(90deg,#181614,#18161400 55%), var(--picture); }
.tile h2, .info h2 { font-size: clamp(1.85rem, 2.8vw, 3.9rem); line-height: .96; letter-spacing: -.045em; font-weight: 500; }
.tile h2::after { width: 1.6em; margin-bottom: .24em; }
.tile > p { font-size: clamp(1.06rem, 1.32vw, 1.85rem); line-height: 1.13; background: #ede0d0; box-shadow: .24em 0 #ede0d0, -.12em 0 #ede0d0; }
.mic > p { background: #181614; box-shadow: .24em 0 #181614, -.12em 0 #181614; }
.tile details { margin-top: auto; padding-top: .5rem; max-width: 100%; }
summary { cursor: pointer; padding: .45rem .5rem; background: #ede0d0; }
.mic summary { background: #181614; }
details > p { margin-top: .4rem; background: var(--paper); color: var(--ink); padding: .65rem; font: .95rem/1.4 var(--sans); }
.tile:target, .info section:target { outline: 2px solid var(--accent); outline-offset: -2px; }
.books::before { content: none; }
.book-stack { position: absolute; z-index: -1; bottom: 0; right: 4%; width: 51%; height: 90%; overflow: hidden; }
.book-stack i { display: block; position: absolute; bottom: -8%; height: 95%; width: 42%; left: var(--left); transform: rotate(var(--angle)); border-left: .48rem solid #241b1860; background: linear-gradient(140deg,#fff4,#0003), var(--cover); box-shadow: .26rem .24rem .55rem #1b17134d; }
.book-stack i:nth-child(1) { --left: 54%; --angle: 9deg; --cover: #c69449; }
.book-stack i:nth-child(2) { --left: 40%; --angle: 1deg; --cover: #264857; }
.book-stack i:nth-child(3) { --left: 23%; --angle: -5deg; --cover: #ae5428; }
.book-stack i:nth-child(4) { --left: 9%; --angle: -12deg; --cover: #353d42; }
.quote { display: grid; align-content: center; background: #e8d5c1; text-align: center; font-size: clamp(1.15rem, 1.5vw, 2rem); font-style: italic; line-height: 1.15; }
.quote::before { content: '“'; font-size: 3em; line-height: .48; color: var(--accent); text-align: left; }
.newsletter { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.15rem clamp(1rem, 7vw, 10rem); color: var(--paper); background: #1b1815; }
.newsletter h2 { font-size: clamp(1.55rem, 2vw, 2.8rem); font-weight: 500; }
.newsletter p { margin-top: .2rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-wrap: wrap; }
input, button { border: 0; border-radius: 0; padding: .75rem; min-height: 2.75rem; }
input { font: .95rem var(--sans); min-width: 0; width: clamp(12rem, 17vw, 21rem); background: #f8f0e5; color: #54483c; }
input::placeholder { color: #54483c; opacity: 1; }
button { background: #833715; color: #fff6eb; }
.status { font: .875rem/1.5 var(--sans); }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(1rem, 3vw, 3rem); }
.info section { border-top: 1px solid #aa9683; padding: 1rem 0; }
.info p { margin-top: .5rem; }

@media (max-width: 1100px) { nav { width: 100%; margin-left: 0; } }
@media (max-width: 850px) {
  .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .first .mic, .quote { grid-column: 1 / -1; }
  .mic::before { left: 48%; }
}
@media (max-width: 600px) {
  .masthead { padding: .9rem 5%; }
  .motto { border: 0; padding: 0; }
  nav { column-gap: 1rem; }
  nav a { padding: .45rem 0; }
  .hero { display: flex; flex-direction: column; }
  .hero-photo { position: relative; inset: auto; z-index: auto; width: 100%; aspect-ratio: 1.9; background: url('assets/retrato.jpg?v=2x') right 43% / cover no-repeat; }
  .intro { width: 100%; padding: 1.65rem 5% 1.85rem; }
  .intro h1 { font-size: clamp(2.05rem, 8.8vw, 3.3rem); line-height: .98; }
  .intro p { width: 100%; }
  .editorial { padding: 0 4%; }
  .row, .info { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 12.5rem; }
  .newsletter { margin-top: .65rem; padding: 1.2rem 5%; }
  .quote { min-height: 9rem; }
  .info { padding: 1.2rem 5%; }
}

@media (min-width: 1101px) and (max-width: 1450px) {
  .masthead { column-gap: 1rem; }
  .wordmark { font-size: 3.3vw; }
  .motto { padding-left: 1rem; }
  nav { column-gap: .7rem; }
  .intro { padding-block: 3.2vw; }
  .intro p { max-width: 31em; width: 49%; }
}

.tile-link {
  margin-top: auto;
  padding: .55rem 0;
  font: 650 .875rem var(--sans);
  letter-spacing: .035em;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}
nav [aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .38em; }
.interior-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  min-height: clamp(27rem, 35vw, 42rem);
  border-top: 1px solid #d9c8b7;
}
.interior-text { align-content: center; padding: clamp(2rem, 6vw, 7rem); }
.interior-home { font: 650 .875rem var(--sans); text-underline-offset: .3em; }
.interior-text h1 {
  margin: .23em 0 .21em;
  font-size: clamp(2.8rem, 7vw, 8rem);
  line-height: .96;
  font-weight: 500;
  letter-spacing: -.06em;
}
.interior-text h1::after {
  content: '';
  display: block;
  width: 1.5em;
  height: .065em;
  margin-top: .18em;
  border-radius: 90% 10% 85% 15%;
  background: var(--accent);
}
.interior-lead { max-width: 19em; font-size: clamp(1.4rem, 2.25vw, 2.6rem); font-style: italic; }
.interior-copy { max-width: 32em; margin-top: 1.2rem; }
.quien-soy .interior-copy { font-size: clamp(1.1rem, 1.45vw, 1.5rem); line-height: 1.45; }
.interior-art { position: relative; isolation: isolate; background: #e7d7c4 var(--art, none) right center / cover no-repeat; }
.podcast .interior-art { background-position: center; background-color: #1b1815; }
.interior-books .book-stack { right: 13%; width: 72%; }
.contacto .interior-feature { grid-template-columns: 1fr; }
@media (max-width: 700px) {
  .interior-feature { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .interior-text { padding: 2.1rem 5%; }
  .interior-art { min-height: clamp(13rem, 52vw, 22rem); }
}

.home-contact {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.4rem, 5vw, 5rem);
  margin: clamp(1.6rem, 4vw, 4rem) 1.6% 0;
  padding: clamp(1.5rem, 4.4vw, 5rem);
  border-top: 1px solid #aa9683;
}
.contact-intro h2 {
  font-size: clamp(2.7rem, 5vw, 6rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 500;
}
.contact-intro h2::after {
  content: '';
  display: block;
  width: 1.55em;
  height: .065em;
  margin: .18em 0 .28em;
  border-radius: 90% 10% 85% 15%;
  background: var(--accent);
}
.contact-intro p { font-size: clamp(1.25rem, 2vw, 2rem); font-style: italic; }
.contact-form fieldset { display: block; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-message { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: .35rem; font: 650 .875rem var(--sans); }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid #9d8977;
  border-radius: 0;
  padding: .7rem;
  background: #fff9f1;
  color: var(--ink);
  font: 1rem/1.4 var(--sans);
}
.contact-form textarea { resize: vertical; }
.contact-form :is(input, textarea, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-form button { margin: 1rem 0 .45rem; padding-inline: 1.3rem; }
.contact-form button:disabled { background: #dad0c3; color: #493e34; }
@media (max-width: 700px) {
  .home-contact { grid-template-columns: minmax(0, 1fr); margin-inline: 4%; padding-inline: 1%; }
}
@media (max-width: 440px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
}

.contact-letter { margin-top: 1.5rem; }
.contact-letter h3 {
  margin: 0 0 .25rem;
  font-size: clamp(1.2rem, 1.7vw, 1.75rem);
  font-weight: 500;
}
.contact-letter p { font-size: clamp(1rem, 1.3vw, 1.35rem); }

.quien-soy .interior-feature {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr);
}
.quien-soy .interior-text { width: min(55%, 58rem); }
@media (max-width: 700px) {
  .quien-soy .hero-photo {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    aspect-ratio: 1.9;
    background: linear-gradient(0deg, var(--paper), #f8f0e500 35%),
      url('assets/retrato.jpg?v=2x') right 43% / cover no-repeat;
  }
  .quien-soy .interior-text { width: 100%; padding-top: .85rem; }
}

.interior-art {
  background:
    linear-gradient(90deg, var(--paper), #f8f0e500 28%),
    var(--art, none) var(--art-position, right center) / cover no-repeat,
    var(--art-fill, #e7d7c4);
}
.podcast .interior-art { --art-position: 70% center; --art-fill: #1b1815; }
.cronicas .interior-art { --art-position: 82% center; }
.etereogenios .interior-art { --art-position: 66% center; }
.contacto .interior-feature { grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr); }
.interior-books { overflow: hidden; }

@media (max-width: 700px) {
  .contacto .interior-feature { grid-template-columns: minmax(0, 1fr); }
  .interior-art {
    grid-row: 1;
    min-height: clamp(11rem, 47vw, 19rem);
    background:
      linear-gradient(0deg, var(--paper), #f8f0e500 33%),
      var(--art, none) var(--art-position, right center) / cover no-repeat,
      var(--art-fill, #e7d7c4);
  }
  .interior:has(.interior-art) .interior-text { padding-top: .9rem; }
}
