*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0d1b2e;
  --gold: #b8955a;
  --ivory: #f0ece4;
  --muted: #8ea2b6;
  --card-bg: #070f1c;
}

body {
  background: var(--navy);
  font-family: 'Cormorant Garamond', serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 5rem 2.5rem 3rem;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

.card {
  background: var(--card-bg);
  border: 2px solid rgba(184, 149, 90, 0.8);
  outline: 1px solid rgba(184, 149, 90, 0.18);
  outline-offset: 7px;
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.85),
    0 8px 24px rgba(0, 0, 0, 0.65),
    0 2px 6px rgba(0, 0, 0, 0.5),
    14px 22px 36px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(184, 149, 90, 0.08);
  width: 100%;
  max-width: 520px;
  padding: 3.2rem 3.6rem 2.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 0;
  animation: riseIn 1s ease 0.3s forwards;
  transition: max-width 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 250px 250px;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}

.card::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 58px;
  height: 58px;
  background: linear-gradient(
    225deg,
    var(--navy) 42%,
    rgba(184, 149, 90, 0.45) 43%,
    rgba(0, 0, 0, 0.12) 44.5%,
    var(--card-bg) 50%
  );
  z-index: 10;
  pointer-events: none;
}

.card > * { position: relative; z-index: 1; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.top-nav {
  position: absolute;
  top: 1.8rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 2rem;
  z-index: 100;
}

.top-nav a {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.top-nav a:hover,
.top-nav .active {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(184, 149, 90, 0.4);
}

.card-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.card-label span,
.card-label a {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.card-label a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card-label span {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(184, 149, 90, 0.4);
}

.card-label-dot,
.meta-dot {
  border-radius: 50%;
  flex-shrink: 0;
}

.card-label-dot {
  width: 3px;
  height: 3px;
  background: rgba(184, 149, 90, 0.5);
}

.meta-dot {
  width: 2px;
  height: 2px;
  background: rgba(184, 149, 90, 0.4);
}

.card-heading {
  font-size: clamp(1.7rem, 3.8vw, 2.3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.18;
  color: var(--ivory);
  letter-spacing: 0.01em;
}

.card-meta {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 300;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.6rem;
}

.card-rule {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 1.8rem 0;
  opacity: 0.8;
}

.card-body {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(240, 236, 228, 0.75);
  flex: 1;
  max-width: 600px;
}

.card-body p + p,
.card-body p + ul,
.card-body ul + p {
  margin-top: 1.4rem;
}

.card-body ul {
  padding-left: 1.2rem;
}

.card-body li + li {
  margin-top: 0.45rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover { color: var(--gold); }
.back-link svg { transform: rotate(180deg); }

.card-footer {
  margin-top: 2.8rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.card-footer-tagline {
  font-size: 0.78rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(184, 149, 90, 0.75);
  letter-spacing: 0.04em;
}

.card-footer-domain {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: rgba(138, 154, 170, 0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.card-footer-domain:hover { color: var(--gold); }

.global-footer {
  width: 100%;
  max-width: 520px;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.footer-reg {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: rgba(240, 236, 228, 0.6);
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.footer-address {
  margin-top: 0.5rem;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: rgba(240, 236, 228, 0.6);
  letter-spacing: 0.07em;
  line-height: 1.9;
}

.footer-contact {
  margin-top: 0.6rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-contact a {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--gold); }

.footer-disclaimer {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: rgba(240, 236, 228, 0.6);
  letter-spacing: 0.04em;
  line-height: 1.8;
}

@media (max-width: 560px) {
  body { padding: 1.5rem 1rem 2rem; }
  .card { padding: 2rem 1.25rem 1.8rem; }
  .card-footer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .global-footer { margin-top: 2.5rem; }
  .top-nav {
    position: relative;
    top: 0;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    gap: 0.8rem 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 0.5rem;
  }
  .top-nav a {
    font-size: 0.68rem;
    padding: 0.3rem 0.5rem;
    letter-spacing: 0.14em;
  }
  .card-body p + p,
  .card-body p + ul,
  .card-body ul + p {
    margin-top: 1.1rem;
  }
  .back-link { margin-top: 2rem; }
}

@media (max-width: 600px) {
  .footer-reg span,
  .footer-address span {
    display: block;
  }
  .footer-reg .sep,
  .footer-address .sep {
    display: none;
  }
}

    /* Mannheim Capital Custom Mobile Nav overrides */
    .top-nav {
      position: absolute;
      top: 1.8rem;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      z-index: 100;
    }
    .nav-menu {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
    }
    .nav-menu a,
    .nav-menu span {
      font-family: 'Josefin Sans', sans-serif;
      font-weight: 400;
      font-size: 0.56rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s;
    }
    .nav-menu a:hover {
      color: var(--gold);
      text-decoration: underline;
      text-underline-offset: 4px;
      text-decoration-color: rgba(184, 149, 90, 0.4);
    }
    .nav-menu .active {
      color: var(--gold);
      text-decoration: underline;
      text-underline-offset: 4px;
      text-decoration-color: rgba(184, 149, 90, 0.4);
    }
    .nav-toggle,
    .nav-header {
      display: none;
    }

    @media (max-width: 768px) {
      .top-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 54px !important;
        background: rgba(7, 15, 28, 0.96) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        border-bottom: 1px solid rgba(184, 149, 90, 0.15) !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1.5rem !important;
        z-index: 1000 !important;
        gap: 0 !important;
      }
      body {
        padding-top: 6rem !important;
      }
      .nav-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
      }
      .nav-logo {
        font-family: 'Josefin Sans', sans-serif !important;
        font-weight: 400 !important;
        font-size: 0.65rem !important;
        letter-spacing: 0.22em !important;
        text-transform: uppercase !important;
        color: var(--ivory) !important;
        text-decoration: none !important;
      }
      .nav-toggle-label {
        position: relative !important;
        width: 44px !important;
        height: 44px !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: -10px !important;
      }
      .hamburger-inner {
        position: relative !important;
        width: 20px !important;
        height: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
      }
      .hamburger-line {
        display: block !important;
        height: 1.5px !important;
        width: 100% !important;
        background-color: var(--gold) !important;
        transition: all 0.3s ease !important;
      }
      .nav-toggle {
        display: none !important;
      }
      .nav-menu {
        position: fixed !important;
        top: 54px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 54px) !important;
        background: rgba(7, 15, 28, 0.98) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2.2rem !important;
        transition: transform 0.35s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.3s ease !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
      }
      .nav-toggle:checked ~ .nav-menu {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
      }
      .nav-toggle:checked ~ .nav-header .nav-toggle-label .hamburger-inner .hamburger-line:nth-child(1) {
        transform: translateY(5px) rotate(45deg) !important;
      }
      .nav-toggle:checked ~ .nav-header .nav-toggle-label .hamburger-inner .hamburger-line:nth-child(2) {
        opacity: 0 !important;
      }
      .nav-toggle:checked ~ .nav-header .nav-toggle-label .hamburger-inner .hamburger-line:nth-child(3) {
        transform: translateY(-5.5px) rotate(-45deg) !important;
      }
      .nav-menu a,
      .nav-menu span {
        font-size: 0.9rem !important;
        letter-spacing: 0.25em !important;
        color: var(--muted) !important;
      }
      .nav-menu .active,
      .nav-menu span.active {
        color: var(--gold) !important;
        text-decoration: underline !important;
        text-underline-offset: 6px !important;
      }
    }

@media (min-width: 821px) {
  .card {
    max-width: 880px;
  }
}