/* =========================================================
   PBAK Members Portal — Coming Soon
   Static page, no build step.
   Brand tokens mirror the main site's global.css theme.
   ========================================================= */
/* f6f2eb */
:root {
  /* Core palette */
  --background: #ffffff; /* Warm Ivory */
  --foreground: #1a1a1a; /* Carbon Black */
  --muted: #6b655e; /* Slate Brown */
  --card: #fffdfc; /* Soft White */
  --border: #d2ccc2; /* Dust Gray */

  /* Brand accents */
  --primary: #d62828; /* Rally Red */
  --secondary: #0b8f52; /* Forest Green */
  --secondary-strong: #087a45; /* Button green (deeper for contrast) */
  --secondary-dark: #087340; /* Deep Green (button hover) */
  --surface-dark: #111e18; /* Dark Forest */
  --hover-accent: #a54a2a; /* Burnt Copper */

  /* Type */
  --font-heading: "Russo One", "Arial Black", system-ui, sans-serif;
  --font-body: "Exo 2", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 8px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body,
h1,
p {
  margin: 0;
}

img,
svg {
  display: block;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--foreground);
  line-height: 1.6;
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Layout ---------- */
.stage {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(3.5rem, 9vh, 6rem) 1.5rem clamp(2.5rem, 7vh, 4.5rem);
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- Logo ---------- */
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.25rem);
  width: 100%;
  margin-bottom: clamp(2rem, 5vh, 2.75rem);
}

.logo {
  width: clamp(190px, 30vw, 280px);
  height: auto;
}

.rule {
  flex: 0 1 84px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--border));
}

.rule-right {
  background: linear-gradient(270deg, transparent, var(--border));
}

/* ---------- Status pill ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  margin-bottom: 1.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Headline ---------- */
h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 8.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ---------- Body copy ---------- */
.lede {
  max-width: 40ch;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.7;
  color: #4f4a44;
  text-wrap: pretty;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
  border-top: 1px solid hsl(36 14% 79% / 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary-strong);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.footer-link svg {
  width: 0.85rem;
  height: 0.85rem;
}

.footer-link:hover {
  color: var(--secondary-dark);
  border-bottom-color: currentColor;
}

.footer-link:focus-visible {
  outline: 3px solid var(--foreground);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Entrance ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}
.status {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s backwards;
}
h1 {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s backwards;
}
.lede {
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.28s backwards;
}
/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .rule {
    display: none;
  }
}

@media (max-width: 360px) {
  .status {
    padding: 0.4rem 0.8rem;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
