/* Hope Inside, Limited -- holding page
   Dark / gold / purple theme (2026-05-17g).
   Palette: Midnight #0C0C1A (page) | Card #16162A | Gold #D4B36A | Purple #8E6FE0 | Cream #EDE7D8 (text)
   Typography: Georgia (display + headings), Arial/Helvetica (body), Arial letter-spaced (small caps).
*/

:root {
  --midnight: #0C0C1A;
  --card-bg: #16162A;
  --card-border: rgba(212, 179, 106, 0.18);
  --card-border-hover: rgba(142, 111, 224, 0.55);
  --gold: #D4B36A;
  --gold-deep: #B8954F;
  --purple: #8E6FE0;
  --purple-deep: #6F4FC0;
  --cream: #EDE7D8;
  --cream-dim: #B5AE9E;
  --cream-muted: #8A8478;
}

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

html, body { height: 100%; }

body {
  background: var(--midnight);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ---------- animated geometric background ---------- */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-geo {
  display: block;
  width: 150vmin;
  height: 150vmin;
  max-width: none;
  max-height: none;
}

.bg-geo .ring-1 {
  transform-origin: center;
  animation: rotate-ccw 120s linear infinite;
}
.bg-geo .ring-2 {
  transform-origin: center;
  animation: rotate-cw 90s linear infinite;
}
.bg-geo .ring-3 {
  transform-origin: center;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes rotate-cw  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotate-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.06); opacity: 0.72; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-geo .ring-1, .bg-geo .ring-2, .bg-geo .ring-3 { animation: none; }
}

/* ---------- page chrome ---------- */

.page {
  position: relative;
  z-index: 10;
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 32px 60px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1 0 auto;
  padding-bottom: 64px;
}

/* ---------- eyebrow ---------- */

.eyebrow {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 28px;
  font-weight: 600;
}

/* ---------- wordmark ---------- */

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.6vw, 3.6rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin-bottom: 18px;
  /* subtle gold-to-purple gradient text */
  background: linear-gradient(90deg, var(--gold) 0%, var(--cream) 65%, var(--purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rule {
  height: 1px;
  width: 96px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--purple) 100%);
  margin-bottom: 32px;
}

/* ---------- lead paragraph ---------- */

.lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--cream-dim);
  max-width: 620px;
  margin-bottom: 64px;
}

/* ---------- brand cards ---------- */

.brands {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 22px 26px;
  text-decoration: none;
  color: var(--cream);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  position: relative;
}

.brand-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--purple) 100%);
  opacity: 0.75;
  transition: opacity .2s ease, width .2s ease;
}

.brand-card:hover {
  border-color: var(--card-border-hover);
  background: #1B1B33;
  transform: translateX(2px);
}
.brand-card:hover::before {
  opacity: 1;
  width: 3px;
}

.brand-card.sub-brand {
  margin-left: 18px;
  background: #131325;
}

.brand-meta {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
  font-weight: 600;
}

.brand-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}

.brand-tag {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream-dim);
  margin-bottom: 14px;
}

.brand-cta {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.brand-card:hover .brand-cta {
  color: var(--purple);
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: auto;
  padding-top: 28px;
}

.footer-rule {
  height: 1px;
  width: 64px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--purple) 100%);
  margin-bottom: 18px;
  opacity: 0.6;
}

.site-footer p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
  line-height: 1.7;
}

.site-footer .line-2 {
  margin-top: 2px;
  color: var(--cream-muted);
  opacity: 0.85;
}

.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { color: var(--purple); }

/* ---------- responsive ---------- */

@media (max-width: 540px) {
  .page { padding: 64px 22px 44px; }
  .lead { font-size: 16px; margin-bottom: 48px; }
  .brand-card.sub-brand { margin-left: 0; }
  .bg-geo { width: 160vmin; height: 160vmin; }
}

/* Belt-and-braces: in case CSS partially fails / mixed-cache state,
   the bare svg element should be hidden rather than render as a giant
   in-flow block. The .bg-layer wrapper above is the canonical path. */
body > svg { display: none; }
