:root {
  --ink: #f8f4ed;
  --muted: #d7c9ba;
  --accent: #d1252d;
  --accent-bright: #ef3e41;
  --shade: #120d0e;
  --panel: rgba(16, 12, 13, 0.88);
  --line: rgba(255, 255, 255, 0.24);
  --content-width: 1050px;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #130d0e; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: #130d0e;
  background-image: linear-gradient(180deg, rgba(16, 7, 9, 0.22) 0%, rgba(12, 9, 10, 0.64) 44%, rgba(12, 10, 11, 0.96) 100%), url("rvorhang_bp.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse at 50% 5%, transparent 0 15%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.38) 100%);
  pointer-events: none;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 28px clamp(22px, 5vw, 80px) 22px;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.brand { display: inline-flex; width: min(500px, 62vw); }
.brand img { width: 100%; height: auto; object-fit: contain; }

.back-link,
.site-footer a,
.text-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.back-link {
  padding-top: 17px;
  color: var(--muted);
  font-size: 0.9rem;
}

.back-link:hover,
.back-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.text-link:hover,
.text-link:focus-visible { color: #fff; }

.home-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 345px);
  align-items: end;
  gap: clamp(34px, 7vw, 120px);
  width: min(100%, var(--content-width));
  margin: clamp(84px, 13vh, 160px) auto clamp(90px, 12vh, 160px);
}

.announcement { max-width: 660px; }

.eyebrow,
.memorial-kicker {
  margin: 0 0 13px;
  color: #f0b7aa;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
p { margin-top: 0; }

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.06;
}

.announcement h1 {
  max-width: 700px;
  margin-bottom: 21px;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(2.65rem, 5.5vw, 5.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.rule {
  width: 76px;
  height: 3px;
  margin: 0 0 25px;
  background: var(--accent-bright);
}

.lead {
  max-width: 600px;
  margin-bottom: 15px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
  line-height: 1.58;
}

.announcement-copy {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(16, 10, 10, 0.38);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--accent-bright);
  background: var(--accent);
  transform: translateY(-2px);
}

.memorial-card {
  padding: 26px 26px 25px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: rgba(13, 10, 11, 0.80);
  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(2px);
}

.memorial-card h2 {
  margin-bottom: 14px;
  font-size: 2.05rem;
}

.memorial-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.text-link {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.text-link span { padding-left: 5px; color: var(--accent-bright); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #d4c8c0;
  font-size: 0.78rem;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }

.inner-page .page-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin: clamp(52px, 9vw, 110px) auto clamp(76px, 12vw, 140px);
}

.content-card {
  width: min(100%, 790px);
  padding: clamp(29px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 3px solid var(--accent);
  background: var(--panel);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
}

.content-card > h1 {
  margin-bottom: clamp(28px, 5vw, 42px);
  font-size: clamp(2.45rem, 5vw, 4rem);
  letter-spacing: -0.035em;
}

.memorial-figure {
  width: min(100%, 620px);
  margin: 0 auto clamp(28px, 5vw, 43px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #101010;
}

.memorial-figure img { display: block; width: 100%; }

.prose {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.prose p { margin-bottom: 1.4em; }
.prose p strong { font-size: 1.12rem; }

.signature-block {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.signature-block p { margin-bottom: 1.25rem; }

.signature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.85rem;
  list-style: none;
}

.legal-content { width: min(100%, 730px); }
.legal-content section + section { margin-top: 2rem; }
.legal-content h2 { margin-bottom: 0.55rem; font-size: 1.42rem; }
.legal-content p { margin-bottom: 0; color: #eee5dc; }
.legal-content a { color: #fff; text-underline-offset: 3px; }
.legal-content a:hover,
.legal-content a:focus-visible { color: #ffc6be; }
.legal-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.45rem clamp(22px, 5vw, 56px); padding: 1.55rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.legal-roles h2 { margin-bottom: 0.32rem; font-size: 1.07rem; }
.legal-roles em { font-style: italic; }
.legal-note { padding: 19px 20px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, 0.055); }
.privacy-content { width: min(100%, 900px); }
.privacy-content h3 { margin: 1.55rem 0 0.5rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.14rem; font-weight: 400; line-height: 1.28; }
.privacy-content h4 { margin: 1.15rem 0 0.42rem; color: #f4e8de; font-size: 0.94rem; line-height: 1.45; }
.privacy-content p + p { margin-top: 1rem; }
.privacy-content ul { display: grid; gap: 0.85rem; margin: 1rem 0 0; padding-left: 1.2rem; color: #eee5dc; }
.privacy-content li { padding-left: 0.25rem; }
.privacy-content .legal-emphasis { color: #fff; font-size: 0.87rem; font-weight: 700; line-height: 1.55; }

:focus-visible {
  outline: 3px solid #ffe4c5;
  outline-offset: 4px;
}

@media (max-width: 770px) {
  body { background-size: auto 820px; }
  .page-shell { padding: 22px 21px 18px; }
  .site-header { align-items: flex-start; }
  .brand { width: min(400px, 75vw); }
  .home-main { grid-template-columns: 1fr; gap: 45px; margin-top: clamp(82px, 16vh, 130px); }
  .announcement h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .memorial-card { max-width: 460px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .site-footer nav { justify-content: flex-start; }
  .inner-page .page-main { margin-top: 65px; }
  .signature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-roles { gap: 1.25rem 30px; }
}

@media (max-width: 460px) {
  .back-link { padding-top: 4px; font-size: 0.8rem; }
  .brand { width: min(270px, 68vw); }
  .inner-page .page-main { margin: 38px auto 55px; }
  .content-card { padding: 26px 20px; }
  .content-card > h1 { margin-bottom: 27px; font-size: clamp(2.15rem, 11vw, 2.75rem); }
  .legal-content section + section { margin-top: 1.6rem; }
  .legal-content h2 { font-size: 1.25rem; }
  .legal-roles { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.35rem 0; }
  .legal-roles h2 { font-size: 1.05rem; }
  .signature-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
