/* Reveal animation primitives — full styling lives in theme/rhein.css */
[data-rhein-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
[data-rhein-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* ============================================================ */
/*  FOOTER — RHEIN 1905                                          */
/*  Three-column footer hooked into displayFooter (PS classic).  */
/*  Design language: fortune-500 luxury (Hermès / Davidoff /     */
/*  Patek). Refined typography, hairline rules, generous space.  */
/* ============================================================ */

.rhein-footer {
  width: 100%;
  background: #2B1F17;
  color: #F5EFE3;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  padding: 5rem 1.5rem 2.2rem;
  margin-top: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.rhein-footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  max-width: 1180px;
  margin: 0 auto;
}

.rhein-footer__col {
  min-width: 0;
}

/* ---------- Brand column ---------- */

.rhein-footer__brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #A1885A;
  margin-bottom: 0.6rem;
  line-height: 1;
}

.rhein-footer__brand-signature {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #d8c9a9;
  margin-bottom: 1.2rem;
}

.rhein-footer__brand-rule {
  width: 38px;
  height: 1px;
  background: rgba(161, 136, 90, 0.55);
  margin: 0 0 1.2rem;
}

.rhein-footer__brand-place {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b8a98a;
  margin-bottom: 1.4rem;
}

.rhein-footer__brand-lead {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #d8c9a9;
  max-width: 36ch;
  margin: 0;
}

/* ---------- Column titles ---------- */

.rhein-footer__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A1885A;
  margin: 0 0 1.4rem;
  padding: 0;
}

.rhein-footer__title::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(161, 136, 90, 0.45);
  margin-top: 0.7rem;
}

/* ---------- Link lists ---------- */

.rhein-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  line-height: 2;
}

.rhein-footer__links li {
  color: #d8c9a9;
}

.rhein-footer__links a {
  color: #d8c9a9;
  text-decoration: none;
  transition: color 0.25s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.rhein-footer__links a:hover,
.rhein-footer__links a:focus {
  color: #A1885A;
  border-bottom-color: rgba(161, 136, 90, 0.5);
  text-decoration: none;
}

.rhein-footer__address {
  color: #b8a98a;
  font-style: italic;
  margin-bottom: 0.2rem;
}

/* ---------- Bottom bar ---------- */

.rhein-footer__bottom {
  max-width: 1180px;
  margin: 4rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(161, 136, 90, 0.18);
  text-align: center;
  font-size: 0.7rem;
  color: #a89a7c;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .rhein-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 2.8rem;
  }
  .rhein-footer__col--brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .rhein-footer__brand-rule {
    margin-left: auto;
    margin-right: auto;
  }
  .rhein-footer__brand-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .rhein-footer__title::after {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .rhein-footer {
    padding: 3.5rem 1.2rem 1.8rem;
  }
  .rhein-footer__cols {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .rhein-footer__col--brand {
    text-align: left;
  }
  .rhein-footer__brand-rule {
    margin-left: 0;
    margin-right: 0;
  }
  .rhein-footer__brand-lead {
    margin-left: 0;
    margin-right: 0;
  }
  .rhein-footer__brand-name {
    font-size: 1.6rem;
  }
}
