/*
 * Live Him Hub — editorial cream + slate palette
 * All classes namespaced under .lh-hub to avoid theme conflicts.
 */

.lh-hub{
  /* Palette drawn from the LH logo */
  --lh-paper:         #f5efe2;   /* main background (cream from logo) */
  --lh-paper-2:       #ede6d4;   /* secondary surface */
  --lh-paper-warm:    #f9f4e8;   /* lifted surface */
  --lh-ink:           #2b363a;   /* primary ink (slate from logo) */
  --lh-ink-soft:      #4a575c;
  --lh-ink-dim:       #8a908f;
  --lh-ink-faint:     #b8b5a8;
  --lh-accent:        #b85c3a;   /* warm terracotta accent */
  --lh-accent-deep:   #913f22;
  --lh-accent-soft:   #d47c5c;
  --lh-rule:          rgba(43,54,58,0.12);
  --lh-rule-strong:   rgba(43,54,58,0.24);
  --lh-shadow-soft:   0 1px 2px rgba(43,54,58,0.04), 0 8px 24px -12px rgba(43,54,58,0.08);
  --lh-shadow-hover:  0 2px 4px rgba(43,54,58,0.06), 0 14px 32px -14px rgba(43,54,58,0.18);

  --lh-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --lh-body:    'Inter Tight', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  background: var(--lh-paper);
  color: var(--lh-ink);
  font-family: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: block;
  width: 100%;
  min-height: 100vh;

  /* subtle paper grain + warm vignette */
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(184,92,58,0.06), transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(43,54,58,0.03), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.21 0 0 0 0 0.23 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 100% 100%, 100% 100%, 180px 180px;
}

.lh-hub *,
.lh-hub *::before,
.lh-hub *::after{
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.lh-hub a{color: inherit; text-decoration: none}
.lh-hub a:hover{text-decoration: none}
.lh-hub img{display:block;max-width:100%;height:auto}

.lh-hub .lh-page{
  max-width: 500px;
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ======================================================
   HEADER
   ====================================================== */
.lh-hub .lh-header{
  text-align: center;
  margin-bottom: 44px;
}
.lh-hub .lh-logo-wrap{
  display: inline-flex;
  width: 92px;height: 92px;
  margin-bottom: 20px;
  position: relative;
}
.lh-hub .lh-logo-wrap::before{
  content:"";
  position:absolute;inset:-10px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(184,92,58,0.1), transparent 70%);
  z-index:0;
}
.lh-hub .lh-logo{
  width: 92px;height: 92px;
  position: relative;z-index: 1;
  mix-blend-mode: multiply;
}
.lh-hub .lh-brand-name{
  font-family: var(--lh-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--lh-ink);
  margin: 0 0 16px;
}
.lh-hub .lh-brand-name em{
  font-style: italic;
  font-weight: 300;
  color: var(--lh-accent);
}
.lh-hub .lh-tagline{
  font-family: var(--lh-display);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.4;
  color: var(--lh-ink-soft);
  letter-spacing: 0.005em;
  max-width: 28ch;
  margin: 0 auto;
}
.lh-hub .lh-divider{
  display: flex;align-items: center;justify-content: center;gap: 12px;
  margin-top: 28px;
  color: var(--lh-ink-faint);
}
.lh-hub .lh-divider span{
  display: block;height: 1px;width: 36px;background: var(--lh-rule-strong);
}
.lh-hub .lh-divider svg{color: var(--lh-accent)}

/* ======================================================
   STACK
   ====================================================== */
.lh-hub .lh-stack{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ======================================================
   SHARED CARD CHROME
   ====================================================== */
.lh-hub .lh-card{
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--lh-ink);
  padding: 22px 24px;
  border: 1px solid var(--lh-rule);
  border-radius: 16px;
  background: var(--lh-paper-warm);
  box-shadow: var(--lh-shadow-soft);
  transition: transform .3s cubic-bezier(.2,.6,.2,1), box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.lh-hub .lh-card:hover{
  transform: translateY(-3px);
  border-color: var(--lh-rule-strong);
  box-shadow: var(--lh-shadow-hover);
}
.lh-hub .lh-card:active{transform: translateY(-1px) scale(0.995)}

.lh-hub .lh-card-eyebrow{
  font-family: var(--lh-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lh-ink-dim);
  margin-bottom: 4px;
}
.lh-hub .lh-eyebrow-accent{color: var(--lh-accent)}

.lh-hub .lh-card-title{
  font-family: var(--lh-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  color: var(--lh-ink);
  letter-spacing: -0.008em;
}

/* ======================================================
   FEATURED: PRAYER WALL
   ====================================================== */
.lh-hub .lh-featured{
  padding: 32px 28px 30px;
  background:
    radial-gradient(ellipse 120% 80% at 20% 0%, rgba(184,92,58,0.1), transparent 60%),
    linear-gradient(165deg, var(--lh-paper-warm), var(--lh-paper-2));
  border-color: rgba(184,92,58,0.25);
}
.lh-hub .lh-featured::before{
  content:"";
  position:absolute;left:0;top:0;bottom:0;width:3px;
  background: linear-gradient(180deg, var(--lh-accent-soft), var(--lh-accent) 50%, var(--lh-accent-deep));
}
.lh-hub .lh-featured-inner{position:relative;z-index:1}
.lh-hub .lh-featured-title{
  font-family: var(--lh-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--lh-ink);
  margin: 8px 0 12px;
}
.lh-hub .lh-featured-title em{
  font-style: italic;
  color: var(--lh-accent);
  font-weight: 400;
}
.lh-hub .lh-featured-sub{
  font-family: var(--lh-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: var(--lh-ink-soft);
  margin: 0 0 20px;
  max-width: 36ch;
}
.lh-hub .lh-featured-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--lh-ink);
  color: var(--lh-paper);
  border-radius: 999px;
  font-family: var(--lh-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .25s ease, transform .25s ease;
}
.lh-hub .lh-card.lh-featured:hover .lh-featured-cta{
  background: var(--lh-accent);
  transform: translateX(2px);
}

/* ======================================================
   SPLIT CARDS (app + worship)
   ====================================================== */
.lh-hub .lh-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--lh-rule);
  border-radius: 16px;
  overflow: hidden;
  background: var(--lh-paper-warm);
  box-shadow: var(--lh-shadow-soft);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.lh-hub .lh-split:hover{
  border-color: var(--lh-rule-strong);
  box-shadow: var(--lh-shadow-hover);
}
.lh-hub .lh-split-head{
  grid-column: 1/-1;
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--lh-rule);
}
.lh-hub .lh-split-head .lh-card-eyebrow{margin-bottom: 4px}
.lh-hub .lh-split-head .lh-card-title{font-size: 18px}

.lh-hub .lh-split-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 10px;
  text-decoration: none;
  color: var(--lh-ink);
  font-family: var(--lh-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background .2s ease, color .2s ease;
}
.lh-hub .lh-split-btn:first-of-type{border-right: 1px solid var(--lh-rule)}
.lh-hub .lh-split-btn:hover{
  background: var(--lh-ink);
  color: var(--lh-paper);
}
.lh-hub .lh-split-btn svg{width: 16px; height: 16px; fill: currentColor; flex-shrink: 0}

/* ======================================================
   COMPACT CARD (blog)
   ====================================================== */
.lh-hub .lh-compact{
  padding: 20px 24px;
}
.lh-hub .lh-compact-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lh-hub .lh-compact-text{flex: 1; min-width: 0}
.lh-hub .lh-compact-arrow{
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lh-paper-2);
  color: var(--lh-ink);
  flex-shrink: 0;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.lh-hub .lh-card.lh-compact:hover .lh-compact-arrow{
  transform: translateX(4px);
  background: var(--lh-accent);
  color: var(--lh-paper);
}

/* ======================================================
   SOCIALS
   ====================================================== */
.lh-hub .lh-socials-head{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px 0 8px;
}
.lh-hub .lh-mini-rule{
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--lh-rule-strong);
}
.lh-hub .lh-socials-head .lh-card-eyebrow{
  margin-bottom: 0;
  letter-spacing: 0.32em;
  color: var(--lh-ink-soft);
}
.lh-hub .lh-socials-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lh-hub .lh-social{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 8px 18px;
  border: 1px solid var(--lh-rule);
  border-radius: 14px;
  background: var(--lh-paper-warm);
  text-decoration: none;
  color: var(--lh-ink);
  transition: transform .3s cubic-bezier(.2,.6,.2,1), background .3s ease, border-color .3s ease;
  box-shadow: var(--lh-shadow-soft);
}
.lh-hub .lh-social:hover{
  transform: translateY(-3px);
  border-color: var(--lh-rule-strong);
  background: var(--lh-ink);
  color: var(--lh-paper);
}
.lh-hub .lh-social svg{
  width: 22px; height: 22px;
  fill: currentColor;
  transition: fill .3s ease;
}
.lh-hub .lh-social-handle{
  font-size: 10.5px;
  color: var(--lh-ink-dim);
  letter-spacing: 0.05em;
  transition: color .3s ease;
}
.lh-hub .lh-social:hover .lh-social-handle{color: var(--lh-ink-faint)}
.lh-hub .lh-social-name{
  font-family: var(--lh-display);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  color: inherit;
}

/* ======================================================
   FOOTER
   ====================================================== */
.lh-hub .lh-footer{
  margin-top: 56px;
  text-align: center;
  color: var(--lh-ink-dim);
  padding-top: 32px;
  border-top: 1px solid var(--lh-rule);
  width: 100%;
}
.lh-hub .lh-footer-mark{
  font-family: var(--lh-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--lh-ink);
  margin-bottom: 10px;
  opacity: 0.6;
}
.lh-hub .lh-footer-copy{
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lh-ink-dim);
}
.lh-hub .lh-footer-tag{
  margin-top: 8px;
  font-family: var(--lh-display);
  font-size: 12px;
  color: var(--lh-ink-dim);
}
.lh-hub .lh-footer-tag em{font-style: italic}

/* ======================================================
   REVEAL
   ====================================================== */
.lh-hub .lh-reveal{
  opacity: 0;
  transform: translateY(16px);
  animation: lh-in .8s cubic-bezier(.2,.6,.2,1) forwards;
}
.lh-hub .lh-reveal:nth-child(1){animation-delay: .05s}
.lh-hub .lh-reveal:nth-child(2){animation-delay: .18s}
.lh-hub .lh-reveal:nth-child(3){animation-delay: .3s}
.lh-hub .lh-reveal:nth-child(4){animation-delay: .42s}
.lh-hub .lh-reveal:nth-child(5){animation-delay: .54s}
.lh-hub .lh-reveal:nth-child(6){animation-delay: .66s}
.lh-hub .lh-reveal:nth-child(7){animation-delay: .78s}
@keyframes lh-in{
  to{opacity: 1; transform: none}
}

/* ======================================================
   SLIGHTLY LARGER SCREENS
   ====================================================== */
@media (min-width: 520px){
  .lh-hub .lh-page{padding-top: 72px}
  .lh-hub .lh-featured-title{font-size: 34px}
}
