/* beiras.gal — provisional memorial landing.
   Plain CSS, no frameworks, no external resources. */

:root {
  --ink: #2b2b2b;
  --ink-soft: #5f5f5f;
  --ink-muted: #6d6d6d;
  --paper: #faf9f7;
  --rule: #e4e1dc;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 3rem 1.25rem;
  background-color: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.site-header,
.memorial,
.site-footer {
  width: 100%;
  max-width: 26rem;
}

.name {
  margin: 0;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.dates {
  margin: 0.75rem 0 0;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.portrait {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.portrait img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  background-color: #fff;
}

.tagline {
  margin: 0;
  font-size: 1rem;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.credit {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.credit a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.credit a:hover,
.credit a:focus-visible {
  color: var(--ink-soft);
}

a:focus-visible {
  outline: 2px solid var(--ink-soft);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 400px) {
  body {
    gap: 2rem;
    padding: 2.25rem 1rem;
  }
}
