/* ================================================================
   EDITORIAL HERO v4 — Magazine × Stark HUD Fusion
   ================================================================ */

/* ---- TOP TICKER / MARQUEE ---- */
.hero-ticker {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(212,168,67,0.25);
  border-bottom: 1px solid rgba(212,168,67,0.25);
  background: rgba(3,6,14,0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  height: 38px;
}
.hero-ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 28s linear infinite;
}
.hero-ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-family: var(--font-hud);
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: rgba(212,168,67,0.7);
  text-transform: uppercase;
}
.ticker-dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--arc);
  box-shadow: 0 0 8px var(--arc);
  flex-shrink: 0;
}
.ticker-item:nth-child(even) { color: rgba(0,207,255,0.65); }

/* ---- MAIN EDITORIAL HERO ---- */
.hero-editorial {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 60px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Giant background text "CREATOR" */
.hero-bg-word {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-hud);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;

  /* Behind photo but above raw bg */
  background: linear-gradient(
    180deg,
    rgba(212,168,67,0.22) 0%,
    rgba(212,168,67,0.10) 50%,
    rgba(212,168,67,0.03) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

/* Second decorative background word (arc blue, offset) */
.hero-bg-word2 {
  position: absolute;
  top: 5%;
  right: -40px;
  font-family: var(--font-hud);
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 900;
  letter-spacing: 8px;
  pointer-events: none;
  z-index: 2;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(
    180deg,
    rgba(0,207,255,0.12) 0%,
    rgba(0,207,255,0.04) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

/* ---- PHOTO AREA (editorial, not circular) ---- */
.hero-ed-photo-col {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  /* Clamp so it never exceeds viewport on any screen size */
  width: min(clamp(280px, 40vw, 560px), 100vw);
  max-width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.hero-ed-photo-frame {
  position: relative;
  width: 100%;
  height: 95%;
  overflow: hidden;
}
.hero-ed-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Cinematic gradient fade at bottom, edges */
  mask-image: 
    linear-gradient(to top, transparent 0%, rgba(0,0,0,0.7) 18%, #000 50%, #000 80%, rgba(0,0,0,0.6) 100%),
    linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: 
    linear-gradient(to top, transparent 0%, rgba(0,0,0,0.7) 18%, #000 50%, #000 80%, rgba(0,0,0,0.6) 100%),
    linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  filter: brightness(1.08) contrast(1.06) saturate(0.9);
}
/* HUD scan on photo */
.hero-ed-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0,207,255,0.05) 0%,
    transparent 30%,
    transparent 70%,
    rgba(212,168,67,0.05) 100%
  );
  pointer-events: none;
  z-index: 2;
}
/* Scan line moving over photo */
.hero-ed-photo-frame::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,207,255,0.4), transparent);
  box-shadow: 0 0 20px rgba(0,207,255,0.3);
  animation: edPhotoScan 5s linear infinite;
  z-index: 3;
  will-change: top, opacity;
}
@keyframes edPhotoScan {
  0%   { top: -2px;  opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%;  opacity: 0; }
}

/* HUD corner brackets on photo frame */
.hero-ed-hud-corner {
  position: absolute;
  width: 22px; height: 22px;
  z-index: 5;
  pointer-events: none;
}
.hero-ed-hud-corner.tl { top: 14px; left: 14px; border-top: 2px solid var(--arc); border-left: 2px solid var(--arc); box-shadow: -2px -2px 10px rgba(0,207,255,0.3); }
.hero-ed-hud-corner.tr { top: 14px; right: 14px; border-top: 2px solid var(--arc); border-right: 2px solid var(--arc); box-shadow: 2px -2px 10px rgba(0,207,255,0.3); }
.hero-ed-hud-corner.bl { bottom: 14px; left: 14px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); box-shadow: -2px 2px 10px rgba(212,168,67,0.3); }
.hero-ed-hud-corner.br { bottom: 14px; right: 14px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); box-shadow: 2px 2px 10px rgba(212,168,67,0.3); }

/* ---- CONTENT LAYOUT ---- */
.hero-ed-content {
  position: relative;
  z-index: 5;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr auto auto;
  padding: 24px 50px 30px;
  gap: 0;
}

/* Row 1, Col 1: Status pill + Name */
.hero-ed-left-top {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8px;
}
.hero-ed-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 3px;
  color: var(--arc);
  border: 1px solid rgba(0,207,255,0.2);
  background: rgba(0,207,255,0.05);
  backdrop-filter: blur(10px);
  padding: 5px 14px;
  margin-bottom: 22px;
  width: fit-content;
  animation: fadeUp 0.6s ease 0.2s both;
}
.hero-ed-status-dot {
  width: 6px; height: 6px;
  background: #00ff88;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff88, 0 0 16px rgba(0,255,136,0.4);
  animation: blink 1s steps(1) infinite;
}

.hero-ed-name {
  font-family: var(--font-hud);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: 2px;
  background: linear-gradient(130deg, #fff 0%, var(--gold-light) 35%, var(--gold) 65%, #a07020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(212,168,67,0.4));
  margin-bottom: 10px;
  animation: fadeUp 0.6s ease 0.3s both;
}
.hero-ed-meta {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: rgba(0,207,255,0.6);
  margin-bottom: 30px;
  animation: fadeUp 0.6s ease 0.4s both;
}

/* Stark terminal in new layout */
.hero-ed-terminal {
  animation: fadeUp 0.6s ease 0.5s both;
  max-width: 360px;
}

/* Row 1, Col 3: Tagline + HEX badge */
.hero-ed-right-top {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 8px;
  gap: 14px;
  animation: fadeUp 0.6s ease 0.4s both;
}
.hero-ed-hex {
  padding: 7px 14px;
  background: rgba(7,12,24,0.9);
  border: 1px solid var(--gold);
  font-family: var(--font-hud);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold);
  text-shadow: 0 0 15px var(--gold-glow);
  box-shadow: 0 0 20px rgba(212,168,67,0.15);
  backdrop-filter: blur(10px);
}
.hero-ed-tagline {
  text-align: right;
  font-family: var(--font-hud);
  font-size: clamp(0.8rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}
.hero-ed-tagline strong {
  display: block;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(212,168,67,0.4);
}

/* Row 2, Col 3: HUD data floaters */
.hero-ed-right-mid {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px;
  padding-bottom: 14px;
}
.hero-ed-data {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: rgba(0,207,255,0.5);
  background: rgba(3,6,14,0.7);
  border: 1px solid rgba(0,207,255,0.15);
  padding: 4px 10px;
  backdrop-filter: blur(8px);
}

/* ---- BOTTOM BAR — overlays the photo, transparent ---- */
.hero-ed-bottom {
  position: relative;
  z-index: 6;
  width: 100%;
  padding: 16px 50px 20px;
  /* NO solid background — stays transparent so photo shows through */
  background: linear-gradient(to top, rgba(3,6,14,0.85) 0%, rgba(3,6,14,0.4) 60%, transparent 100%);
  border-top: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  margin-top: auto; /* push to bottom of the flex column */
}

/* Bottom left: Social handles */
.hero-ed-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.6s ease 0.7s both;
  flex-wrap: wrap;
}
.hero-ed-soc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(3,6,14,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s var(--ease);
}
.hero-ed-soc:hover {
  color: #fff;
  border-color: var(--arc);
  background: rgba(0,207,255,0.1);
  box-shadow: 0 0 14px rgba(0,207,255,0.2);
  transform: translateY(-2px);
}
.hero-ed-soc:nth-child(1):hover { border-color: #ff5555; }
.hero-ed-soc:nth-child(2):hover { border-color: #e040a0; }

.hero-ed-soc-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Bottom center: Stats strip */
.hero-ed-stats {
  display: flex;
  gap: 0;
  animation: fadeUp 0.6s ease 0.75s both;
}
.hero-ed-stat {
  padding: 12px 24px;
  border: 1px solid rgba(212,168,67,0.22);
  background: rgba(3,6,14,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
  transition: var(--t3);
  position: relative;
}
.hero-ed-stat + .hero-ed-stat { border-left: none; }
.hero-ed-stat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--arc));
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-ed-stat:hover { background: rgba(212,168,67,0.08); transform: translateY(-3px); }
.hero-ed-stat:hover::after { opacity: 1; }
.hero-ed-stat-n {
  display: block;
  font-family: var(--font-hud);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 24px var(--gold-glow), 0 0 48px rgba(212,168,67,0.15);
  line-height: 1;
}
.hero-ed-stat-l {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 2.5px;
  color: rgba(0,207,255,0.55);
  margin-top: 5px;
  text-transform: uppercase;
}

/* Bottom right: Big role title */
.hero-ed-role-title {
  text-align: right;
  animation: fadeUp 0.6s ease 0.8s both;
}
.hero-ed-role-big {
  font-family: var(--font-hud);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1.0;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 40%, var(--gold) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(212,168,67,0.45));
}
.hero-ed-role-big span {
  display: block;
  font-size: 0.5em;
  background: linear-gradient(90deg, var(--arc), rgba(0,207,255,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 5px;
  filter: drop-shadow(0 0 8px var(--arc));
  margin-top: 3px;
}

/* ---- BIO STRIP — overlays bottom of photo, NO opaque background ---- */
.hero-ed-bio-strip {
  position: relative;
  z-index: 6;
  padding: 12px 50px 22px;
  background: linear-gradient(to top, rgba(3,6,14,0.88) 0%, rgba(3,6,14,0.3) 100%);
}
.hero-ed-bio {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.8;
  letter-spacing: 0.3px;
  max-width: 820px;
  padding-left: 14px;
  border-left: 2px solid rgba(212,168,67,0.25);
}
.hero-ed-bio em { color: var(--gold-light); font-style: normal; font-weight: 500; }
.hero-ed-bio .bio-arc { color: var(--arc); text-decoration: none; }
.hero-ed-bio .bio-arc:hover { text-shadow: 0 0 10px var(--arc); }

/* ---- ACTION BUTTONS ---- */
.hero-ed-btns {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.6s both;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .hero-ed-content { grid-template-columns: 1fr 1fr; padding: 22px 30px 20px; }
  .hero-ed-right-top { grid-column: 2; }
  .hero-ed-right-mid { grid-column: 2; }
  .hero-ed-photo-col { width: 42vw; left: 45%; }
  .hero-bg-word { font-size: clamp(90px, 14vw, 160px); }
  .hero-ed-bottom { padding: 14px 30px 16px; }
  .hero-ed-bio-strip { padding: 10px 30px 18px; }
  .hero-ed-stat { padding: 10px 18px; }
  .hero-ed-stat-n { font-size: 1.6rem; }
}
@media (max-width: 900px) {
  .hero-ed-bottom { grid-template-columns: 1fr 1fr; }
  .hero-ed-role-title { grid-column: 1 / -1; text-align: left; }
  .hero-ed-stats { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 768px) {
  .hero-editorial { min-height: auto; }
  .hero-ed-photo-col { position: relative; width: 100%; left: 0; transform: none; height: 55vw; }
  .hero-ed-content { grid-template-columns: 1fr; padding: 18px 20px 16px; }
  .hero-ed-left-top { grid-column: 1; grid-row: auto; }
  .hero-ed-right-top { display: none; }
  .hero-ed-right-mid { display: none; }
  .hero-bg-word { font-size: 18vw; }
  .hero-bg-word2 { display: none; }
  .hero-ed-bottom { grid-template-columns: 1fr; gap: 14px; padding: 12px 20px 14px; }
  .hero-ed-stats { justify-content: center; }
  .hero-ed-role-title { text-align: left; }
  .hero-ed-bio-strip { padding: 10px 20px 14px; }
  .hero-ed-socials { gap: 8px; }
  .hero-ed-soc { font-size: 0.56rem; padding: 5px 10px; }
}
