:root {
  --text: #f5eee5;
  --muted: rgba(245, 238, 229, .89);
  --accent: #d9b386;
  --panel: rgba(28, 23, 19, .73);
  --border: rgba(255,255,255,.14);
  --heading: #fff9f0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body { background: #1d1916; color: var(--text); font-family: Georgia, 'Times New Roman', serif; }
.background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(21,18,16,.34) 0%, rgba(21,18,16,.63) 58%, rgba(21,18,16,.82) 100%),
    url('assets/images/hero-memoria-home.webp') center / cover no-repeat;
  transform: scale(1.01);
}
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 5vw, 72px);
}
.portal-card {
  width: min(980px, 100%);
  margin: auto;
  padding: clamp(34px, 6vw, 76px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 90px rgba(0,0,0,.36);
}
.portal-header { text-align: center; }
.brand {
  margin: 0 0 24px;
  font-size: 1.08rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow {
  margin: 0 0 18px;
  font-size: .8rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 0 auto;
  max-width: 860px;
  color: var(--heading);
  font-size: clamp(2.55rem, 6.4vw, 5.55rem);
  line-height: 1.01;
  font-weight: 500;
}
.lead {
  max-width: 810px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.78;
}
.article-body {
  max-width: 800px;
  margin: clamp(44px, 7vw, 72px) auto 0;
  padding-top: clamp(38px, 5vw, 56px);
  border-top: 1px solid var(--border);
  text-align: left;
}
.article-body h2 {
  margin: 2.2em 0 .65em;
  color: var(--heading);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.25;
  font-weight: 500;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.88;
}
@media (max-width: 700px) {
  .page { padding: 14px; }
  .portal-card { padding: 30px 22px 38px; border-radius: 22px; }
  .brand { margin-bottom: 20px; }
  .lead { line-height: 1.68; }
  .article-body { margin-top: 38px; padding-top: 32px; }
  .article-body p { line-height: 1.74; }
}
