/* ==========================================================================
   PAGE-HERO.CSS — Gibeon-inspired inner page hero (all sub-pages)
   ========================================================================== */

/* ---- Container ---- */
.page-hero {
  position: relative;
  min-height: 65vh;
  background: #0a0a0a;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px 0 60px 80px;
}

/* Grain / noise overlay */
.page-hero::after {
  content: '';
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
  animation: grain 0.5s steps(1) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -3%); }
  20% { transform: translate(3%, 2%); }
  30% { transform: translate(-1%, 4%); }
  40% { transform: translate(2%, -1%); }
  50% { transform: translate(-3%, 3%); }
  60% { transform: translate(1%, -2%); }
  70% { transform: translate(-2%, 1%); }
  80% { transform: translate(3%, -3%); }
  90% { transform: translate(-1%, 2%); }
}

/* ---- Background ghost text ---- */
.page-hero__bg-text {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-heading);
  font-size: clamp(120px, 18vw, 220px);
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 8px;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  line-height: 0.85;
}

/* ---- Content wrapper ---- */
.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
}

/* ---- Breadcrumb ---- */
.page-hero__breadcrumb {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.page-hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-hero__breadcrumb a:hover {
  color: #c9a84c;
}

.breadcrumb-separator {
  margin: 0 10px;
  opacity: 0.3;
}

.breadcrumb-current {
  color: #c9a84c;
}

/* ---- Label with gold dash ---- */
.page-hero__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 20px;
  position: relative;
  padding-left: 24px;
}

.page-hero__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 1px;
  background: #c9a84c;
}

/* ---- Heading ---- */
.page-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(56px, 8vw, 110px);
  line-height: 0.95;
  color: #f0f0f0;
  margin: 0 0 24px 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.page-hero__heading .line {
  display: block;
  overflow: hidden;
}

.page-hero__heading em {
  font-family: var(--font-serif);
  font-style: italic;
  color: #c9a84c;
  font-size: 1.05em;
  text-transform: none;
  letter-spacing: 1px;
}

/* ---- Subtext ---- */
.page-hero__subtext {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ---- Meta badge ---- */
.page-hero__meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 4px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.03);
}

/* ---- Gold divider with dot ---- */
.page-hero__divider {
  width: 60px;
  height: 2px;
  background: #c9a84c;
  margin-top: 40px;
  position: relative;
}

.page-hero__divider::after {
  content: '';
  position: absolute;
  left: 70px;
  top: 0;
  width: 6px;
  height: 2px;
  background: rgba(201, 168, 76, 0.4);
}


/* ==========================================================================
   RESPONSIVE — Tablet & Mobile
   ========================================================================== */
@media (max-width: 768px) {
  .page-hero {
    min-height: 55vh;
    padding: 100px 24px 40px 24px;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
  }

  .page-hero__bg-text {
    font-size: clamp(80px, 22vw, 130px);
    color: rgba(255, 255, 255, 0.025);
    right: -10px;
    bottom: -10px;
  }

  .page-hero__heading {
    font-size: clamp(44px, 10vw, 72px);
  }

  .page-hero__meta {
    font-size: 9px;
    padding: 8px 14px;
  }

  .page-hero__subtext {
    font-size: 13px;
  }

  .page-hero__label {
    font-size: 9px;
  }

  .page-hero__breadcrumb {
    font-size: 10px;
  }
}

@media (max-width: 479px) {
  .page-hero {
    min-height: 50vh;
    padding: 96px 20px 32px 20px;
  }

  .page-hero__heading {
    font-size: clamp(36px, 12vw, 56px);
  }

  .page-hero__bg-text {
    font-size: clamp(60px, 20vw, 100px);
  }

  .page-hero__subtext {
    font-size: 12px;
    margin-bottom: 24px;
  }

  .page-hero__divider {
    margin-top: 28px;
  }
}
