/* ── INNER PAGE STYLES ── */

body {
  padding-top: var(--nav-h);
}

/* ── ABOUT / BIO ── */
.two-col-bio {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.bio-text p {
  margin-bottom: 1.3rem;
  font-size: 15px;
  line-height: 1.8;
  color: #2e2b27;
  font-weight: 300;
}

.bio-text p em {
  font-style: italic;
  color: var(--text);
}

.bio-sidebar {
  padding-top: 0.5rem;
}

.sidebar-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid rgba(26,24,20,0.1);
}

.sidebar-block:last-child {
  border-bottom: none;
}

.sidebar-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burnt);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.sidebar-list {
  list-style: none;
  padding: 0;
}

.sidebar-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: 0.5px solid rgba(26,24,20,0.06);
  font-weight: 300;
  line-height: 1.4;
}

.sidebar-list li:last-child { border-bottom: none; }

/* ── RESEARCH ── */
.research-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border: 0.5px solid rgba(26,24,20,0.2);
  border-radius: 2px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--mono);
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--burnt);
  color: var(--burnt);
  background: rgba(139,74,47,0.05);
}

.paper-list {
  list-style: none;
}

.paper-item {
  padding: 1.5rem 0;
  border-bottom: 0.5px solid rgba(26,24,20,0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.paper-item:first-child { padding-top: 0; }

.paper-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.paper-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.paper-title a:hover { color: var(--burnt); }

.paper-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
}

.paper-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burnt);
  border: 0.5px solid var(--burnt);
  padding: 2px 7px;
  border-radius: 1px;
  white-space: nowrap;
  font-weight: 500;
}

/* ── BOOKS / FICTION ── */
.books-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}

.book-full-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.book-full-cover {
  width: 100px;
  height: 140px;
  border-radius: 2px;
  flex-shrink: 0;
  object-fit: cover;
}

.book-full-cover-placeholder {
  width: 100px;
  height: 140px;
  border-radius: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-style: italic;
  font-family: var(--serif);
  color: rgba(255,255,255,0.3);
}

.book-full-meta { flex: 1; }

.book-full-title {
  font-family: var(--display);
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.book-full-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-weight: 300;
  line-height: 1.4;
}

.book-full-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 1rem;
}

.book-buy-link {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burnt);
  text-decoration: none;
  border-bottom: 0.5px solid var(--burnt);
  padding-bottom: 1px;
  transition: opacity 0.2s;
  font-weight: 500;
}

.book-buy-link:hover { opacity: 0.7; }

/* ── FICTION HERO ── */
.fiction-featured {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 0.5px solid rgba(26,24,20,0.1);
  align-items: start;
}

.fiction-featured-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}

.fiction-featured-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.fiction-featured-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burnt);
  margin-bottom: 1rem;
  font-weight: 500;
}

.fiction-featured-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.fiction-featured-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: var(--serif);
}

.fiction-featured-desc {
  font-size: 14px;
  color: #3a3733;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* ── MEDIA ── */
.media-tabs {
  display: flex;
  gap: 0;
  border-bottom: 0.5px solid rgba(26,24,20,0.12);
  margin-bottom: 2.5rem;
}

.media-tab {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--sans);
  border-bottom: 2px solid transparent;
  margin-bottom: -0.5px;
  transition: all 0.2s;
}

.media-tab:hover { color: var(--text); }

.media-tab.active {
  color: var(--burnt);
  border-bottom-color: var(--burnt);
}

.media-panel { display: none; }
.media-panel.active { display: block; }

.column-section {
  margin-bottom: 2.5rem;
}

.column-section-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.5px solid rgba(26,24,20,0.1);
}

.column-list {
  list-style: none;
}

.column-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 0.5px solid rgba(26,24,20,0.06);
}

.column-title a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
  font-weight: 400;
}

.column-title a:hover { color: var(--burnt); }

.column-outlet {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 400;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.video-card {
  border: 0.5px solid rgba(26,24,20,0.1);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: border-color 0.2s;
}

.video-card:hover { border-color: var(--burnt); }

.video-thumb {
  aspect-ratio: 16/9;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2C2B28;
}

.video-play {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
}

.video-info {
  padding: 1rem 1.2rem;
}

.video-title {
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.video-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 300;
}

.video-featured {
  grid-column: 1 / -1;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-weight: 300;
}

.contact-detail a {
  color: var(--burnt);
  text-decoration: none;
}

.contact-detail a:hover { text-decoration: underline; }

.contact-form-area {
  background: rgba(26,24,20,0.03);
  border: 0.5px solid rgba(26,24,20,0.1);
  border-radius: 2px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  font-family: var(--mono);
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 0.5px solid rgba(26,24,20,0.2);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--burnt);
}

.form-textarea {
  height: 120px;
  resize: vertical;
}

/* Re-assert language toggle here: inner.css loads after style.css,
   so any class here with an explicit display value would otherwise
   win the cascade over the [data-lang] rule defined in style.css. */
[data-lang="en"] { display: none !important; }
body.lang-en [data-lang="es"] { display: none !important; }
body.lang-en [data-lang="en"] { display: revert !important; }

/* Modular hubs for reviews, launch material, excerpts and future books */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 4rem;
}
.resource-card {
  min-height: 190px;
  padding: 1.35rem;
  border: 1px solid rgba(23,18,15,0.12);
  border-radius: 22px;
  background: rgba(255,255,255,0.22);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.resource-card-dark {
  background: linear-gradient(135deg, rgba(18,15,13,0.92), rgba(61,37,27,0.86));
  color: var(--bone);
}
.resource-card h3 {
  font-family: var(--display);
  font-size: clamp(20px, 3vw, 34px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0.8rem 0 0.65rem;
}
.resource-card p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 520px;
}
.resource-card-dark p { color: rgba(243,237,226,0.72); }
@media (max-width: 760px) {
  .resource-grid { grid-template-columns: 1fr; }
}

/* v3 inner pages */
.page-hero { display:none; }
.inner-intro {
  display:grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 2rem;
  align-items:end;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(21,21,21,.16);
}
.inner-title {
  max-width: 880px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: .98;
  text-transform: none;
}
.intro-mark {
  width: 130px;
  height: 130px;
  border: 18px solid var(--burnt);
  border-left-color: transparent;
  border-radius: 50%;
  justify-self:end;
  opacity:.9;
}
.section-gap { margin-top: 4rem; }
.books-page .books-shelf {
  gap: 2.5rem 4rem;
}
.book-full-card {
  min-height: 180px;
  border-bottom: 1px solid rgba(21,21,21,.11);
  padding-bottom: 1.5rem;
}
.book-full-cover {
  width: 116px;
  height: 170px;
}
.compact-books .book-full-cover {
  width: 102px;
  height: 150px;
}
.fiction-featured {
  border: 1px solid rgba(21,21,21,.16);
  background: rgba(255,252,246,.62);
  padding: 2rem;
}
.fiction-featured-img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  object-position: center;
  background: #F7F2E8;
  border: 1px solid rgba(21,21,21,.14);
}
@media (max-width: 760px) {
  .inner-intro { grid-template-columns:1fr; }
  .intro-mark { justify-self:start; width:90px; height:90px; border-width:13px; }
  .book-full-card { min-height: unset; }
}
