:root {
  --paper: #f5f0e7;
  --paper-light: #fbf8f2;
  --ink: #282824;
  --muted: #6b675f;
  --accent: #7c5f3d;
  --accent-light: #d9c5aa;
  --line: rgba(40, 40, 36, 0.14);
  --shadow: 0 18px 45px rgba(40, 35, 28, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.75;
}

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }

.hero {
  min-height: 88vh;
  color: white;
  background:
    linear-gradient(90deg, rgba(25, 24, 21, .82), rgba(25, 24, 21, .52)),
    radial-gradient(circle at 75% 30%, #8a765c, #40392f 55%, #26231f);
  display: flex;
  flex-direction: column;
}

.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.2); }
.brand { color: white; text-decoration: none; font-family: "Cormorant Garamond", serif; font-size: 1.35rem; font-weight: 600; }
.menu { display: flex; gap: 28px; }
.menu a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .92rem; }
.menu a:hover { color: white; }
.menu-button { display: none; }

.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 120px; }
.eyebrow, .section-kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 600; }
.eyebrow { color: var(--accent-light); }
h1, h2, h3, blockquote { font-family: "Cormorant Garamond", Georgia, serif; }
h1 { max-width: 780px; margin: 10px 0; font-size: clamp(3.7rem, 9vw, 7.6rem); line-height: .92; font-weight: 600; }
.dates { margin: 15px 0 5px; font-size: 1rem; letter-spacing: .06em; }
.hero-quote { max-width: 590px; margin: 30px 0; font-family: "Cormorant Garamond", serif; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.25; }
.button { align-self: flex-start; padding: 13px 20px; border: 1px solid rgba(255,255,255,.55); color: white; text-decoration: none; font-size: .9rem; }
.button:hover { background: white; color: var(--ink); }

.section { padding: 110px 0; }
.section-kicker { color: var(--accent); margin: 0 0 16px; }
h2 { margin: 0 0 36px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; font-weight: 600; }
.prose p { margin: 0 0 24px; font-size: 1.08rem; }
.prose p:first-child::first-letter { float: left; padding: 8px 8px 0 0; font-family: "Cormorant Garamond", serif; font-size: 4.2rem; line-height: .75; color: var(--accent); }
.draft-note { margin-top: 42px; padding: 20px 24px; border-left: 3px solid var(--accent); background: var(--paper); color: var(--muted); font-size: .92rem; }

.legacy { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { min-height: 280px; padding: 32px; background: var(--paper-light); border-top: 3px solid var(--accent); box-shadow: var(--shadow); }
.card-number { color: var(--accent); font-size: .78rem; letter-spacing: .18em; }
.card h3 { margin: 42px 0 16px; font-size: 2.3rem; line-height: 1; }
.card p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.placeholder-text { padding-top: 45px; font-size: 1.08rem; }
.muted { color: var(--muted); }

.gallery { background: #2b2925; color: white; }
.gallery .section-kicker { color: var(--accent-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.photo-placeholder { aspect-ratio: 16/10; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); color: rgba(255,255,255,.6); font-family: "Cormorant Garamond", serif; font-size: 1.4rem; }


.works { background: var(--paper-light); }
.works-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.works-heading h2 { margin-bottom: 0; }
.works-heading p { margin: 0 0 8px; color: var(--muted); font-size: 1.04rem; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card { padding: 30px; border: 1px solid var(--line); background: white; }
.work-type { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 600; }
.work-card h3 { margin: 28px 0 14px; font-size: 2rem; line-height: 1.05; }
.work-card p { min-height: 110px; color: var(--muted); }
.coming-soon { display: inline-block; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent); font-size: .82rem; font-weight: 600; }
.archive-note { margin-top: 28px; padding: 22px 26px; background: var(--paper); border-left: 3px solid var(--accent); color: var(--muted); }

.closing { padding: 130px 0; text-align: center; background: var(--paper); }
blockquote { margin: 0 auto 26px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.12; }
.closing p { color: var(--muted); }
footer { padding: 28px 0; background: #1f1e1b; color: rgba(255,255,255,.68); }
.footer-content { display: flex; justify-content: space-between; font-size: .85rem; }

@media (max-width: 780px) {
  .nav { height: 72px; }
  .menu-button { display: block; color: white; background: none; border: 1px solid rgba(255,255,255,.35); padding: 8px 12px; }
  .menu { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 20px; flex-direction: column; gap: 15px; background: #292621; }
  .menu.open { display: flex; }
  .hero { min-height: 78vh; }
  .hero-content { padding: 70px 0 90px; }
  h1 { font-size: 4rem; }
  .section { padding: 80px 0; }
  .cards, .split, .gallery-grid, .works-grid, .works-heading { grid-template-columns: 1fr; }
  .split { gap: 10px; }
  .placeholder-text { padding-top: 0; }
  .footer-content { display: block; text-align: center; }
}

/* Archivo completo, integrado en el diseño clásico elegido por la familia. */
:root { --gold: var(--accent); --gold-light: var(--accent-light); }
.hero { position: relative; }
.nav { gap: 24px; }
.brand { flex-shrink: 0; }
.menu { gap: clamp(12px, 1.5vw, 24px); }
.menu a { font-size: .82rem; }
.menu a[aria-current="true"] { color: white; text-decoration: underline; text-underline-offset: 7px; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 1000; padding: 10px 16px; background: var(--paper-light); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }
html { scroll-padding-top: 20px; }
.reading-grid { max-width: 760px; }
.section-intro { margin-bottom: 36px; }
.editorial-note { margin-top: 40px; padding: 20px 24px; border-left: 3px solid var(--accent); background: var(--paper); color: var(--muted); font-size: .9rem; }
.section-heading { display: grid; grid-template-columns: 1.1fr .8fr; gap: 60px; align-items: end; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); }
.legacy-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.legacy-card { min-height: 280px; padding: 32px; background: var(--paper-light); border-top: 3px solid var(--accent); box-shadow: var(--shadow); }
.card-index { color: var(--accent); font-size: .78rem; letter-spacing: .18em; }
.legacy-card h3 { margin: 42px 0 16px; font-size: 2.3rem; line-height: 1; }
.legacy-card p { color: var(--muted); }
.featured-card { background: #e9e0d3; }
.timeline { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; padding: 0; margin: 65px 0 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { padding-top: 22px; }
.timeline time { display: block; color: var(--accent); font-family: Georgia,serif; font-size: 1.8rem; }
.timeline span { color: var(--muted); font-size: .87rem; }
.teaching-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.teaching-intro h2 { margin: 0; }
.teaching-summary p:first-child { margin-top: 0; }
.source-caveat { color: var(--muted); font-size: .86rem; }
.teaching-path { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 50px 0 65px; border: 1px solid var(--line); }
.teaching-path article { padding: 26px; }
.teaching-path article + article { border-left: 1px solid var(--line); }
.teaching-path article > span { color: var(--accent); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.teaching-path h3 { font-size: 1.7rem; line-height: 1.1; margin: 24px 0 18px; }
.teaching-path p { color: var(--muted); font-size: .88rem; }
.family-testimony { margin: 0; padding: clamp(26px,6vw,70px); background: var(--paper); border-top: 3px solid var(--accent); }
.testimony-heading { padding-bottom: 30px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.testimony-heading h3 { margin: 0 0 20px; font-size: clamp(2rem,4vw,3.6rem); line-height: 1.05; }
.testimony-heading > p:last-child { color: var(--muted); font-size: .88rem; max-width: 650px; }
.family-testimony blockquote { max-width: 780px; font-size: clamp(1.12rem,1.7vw,1.3rem); line-height: 1.9; }
.family-testimony blockquote p { margin: 0 0 24px; }
.family-testimony figcaption { margin-top: 32px; color: var(--muted); font-size: .82rem; }
.audio-archive { background: #2b2925; color: var(--paper-light); }
.audio-archive .section-kicker, .player-label { color: var(--accent-light); }
.archive-header { display: grid; grid-template-columns: 1fr 220px; gap: 60px; align-items: end; margin-bottom: 50px; }
.archive-header h2 { margin-bottom: 20px; }
.archive-subtitle { color: rgba(255,255,255,.7); font-family: Georgia,serif; font-size: 1.2rem; }
.album-cover { width: 220px; aspect-ratio: 1; object-fit: cover; border: 8px solid rgba(255,255,255,.08); }
.player-panel { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1fr); border: 1px solid rgba(255,255,255,.2); }
.now-playing { padding: clamp(24px,4vw,46px); background: rgba(255,255,255,.04); align-self: start; }
.player-label { font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; }
.track-number, .player-status { font-size: .82rem; color: rgba(255,255,255,.6); }
.now-playing h3 { margin: 30px 0; font-size: clamp(2.2rem,4vw,3.6rem); line-height: 1.05; }
.now-playing audio { width: 100%; }
.track-list { padding: 0; margin: 0; list-style: none; border-left: 1px solid rgba(255,255,255,.2); }
.track-list li + li { border-top: 1px solid rgba(255,255,255,.15); }
.track-button { width: 100%; min-height: 65px; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; padding: 13px 20px; border: 0; color: var(--paper-light); background: transparent; text-align: left; cursor: pointer; font: inherit; }
.track-button:hover, .track-button.is-current { background: rgba(217,197,170,.13); }
.track-button > span { color: rgba(255,255,255,.55); font-size: .77rem; }
.track-button strong { font-family: Georgia,serif; font-size: 1.02rem; font-weight: 400; }
.track-button em { color: var(--accent-light); font-size: .72rem; font-style: normal; }
.rights-note { margin-top: 26px; padding: 20px 24px; border-left: 3px solid var(--accent-light); background: rgba(255,255,255,.04); font-size: .82rem; color: rgba(255,255,255,.65); }
.visual-archive { background: var(--paper-light); }
.visual-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; align-items: start; }
.archive-photo { margin: 0; background: var(--paper); }
.archive-photo img { display: block; width: 100%; height: auto; }
.archive-photo figcaption { display: grid; gap: 6px; padding: 22px; }
.archive-photo figcaption strong { font-family: Georgia,serif; font-size: 1.2rem; }
.archive-photo figcaption span { color: var(--muted); font-size: .82rem; }
.preservation { padding: 80px 0; background: #40392f; color: var(--paper-light); }
.preservation-grid { max-width: 840px; }
.preservation .section-kicker { color: var(--accent-light); }
.preservation h2 { font-size: clamp(2.4rem,4vw,3.6rem); }
.preservation p:last-child { color: rgba(255,255,255,.75); }
.closing-inner { max-width: 900px; }
.closing-rule { display: block; width: 56px; height: 1px; margin: 0 auto 38px; background: var(--accent); }
@media (max-width: 980px) {
  .nav { position: relative; }
  .menu-button { display: block; color: white; background: transparent; border: 1px solid rgba(255,255,255,.4); padding: 9px 13px; font: inherit; font-size: .84rem; cursor: pointer; }
  .menu { display: none; position: absolute; z-index: 20; top: 88px; left: 0; right: 0; padding: 20px; flex-direction: column; background: #292621; }
  .menu.open { display: flex; }
  .teaching-path { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .teaching-path article:nth-child(3) { border-left: 0; }
  .teaching-path article:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 780px) {
  .menu { top: 72px; }
  .hero { min-height: 78vh; }
  .legacy-grid, .section-heading, .teaching-intro, .player-panel, .visual-grid, .archive-header { grid-template-columns: 1fr; }
  .section-heading, .teaching-intro { gap: 24px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .track-list { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .track-button { grid-template-columns: 26px 1fr; }
  .track-button em { display: none; }
  .work-card p { min-height: 0; }
  .archive-header { gap: 20px; }
  .archive-photo { max-width: 100%; }
}
@media (max-width: 430px) {
  .brand { max-width: 200px; font-size: 1.1rem; }
  .teaching-path { grid-template-columns: 1fr; }
  .teaching-path article + article { border-left: 0; border-top: 1px solid var(--line); }
  .dates { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
