/* ============================================================
   HUBRIS v4 — styles.css
   Reference image layout · Lock mechanic · Helvetica Neue
   ============================================================ */

/* ── Font: Helvetica Neue everywhere outside the logo ── */
:root {
  --hnn: "Helvetica Neue", "HelveticaNeue", "Helvetica", "Inter", "Arial", sans-serif;
  --brand: 'Outfit', var(--hnn);           /* wordmark only */
  --mono: 'JetBrains Mono', monospace;

  --bg:      #000000;
  --surface: #080808;
  --card:    #0d0d0d;
  --border:  #161616;
  --border2: #222222;

  --red:    #d93636;
  --cyan:   #00c8f0;
  --green:  #22c55e;

  --text:   #e8e0d6;     /* warm off-white */
  --text2:  #454035;
  --text3:  #222018;

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--hnn);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
img  { display: block; max-width: 100%; }
h1,h2,h3 { font-weight: inherit; }

::selection { background: rgba(217,54,54,0.18); color: var(--text); }
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Scanlines — subtle */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent 0px, transparent 3px,
    rgba(0,0,0,0.03) 3px, rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 8;
}

/* ── Top bar ── */
.hero__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 58px;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.hero__mark-link {
  display: flex;
  align-items: center;
  opacity: 0;
  animation: fade-in 1s ease 0.3s forwards;
  transition: opacity 0.4s;
}
.hero__mark-link:hover { opacity: 0.8 !important; }

/* Logo hover — gentle pulse + glow */
.hero__mark {
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1),
              filter 0.6s ease;
}
.hero__mark-link:hover .hero__mark {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.22))
          drop-shadow(0 0 20px rgba(0,200,240,0.18))
          drop-shadow(0 0 40px rgba(0,200,240,0.06));
  animation: logo-pulse 1.4s ease infinite;
}
@keyframes logo-pulse {
  0%,100% { filter: drop-shadow(0 0 8px rgba(255,255,255,0.22)) drop-shadow(0 0 20px rgba(0,200,240,0.18)); }
  50%      { filter: drop-shadow(0 0 14px rgba(255,255,255,0.32)) drop-shadow(0 0 30px rgba(0,200,240,0.28)) drop-shadow(0 0 60px rgba(217,54,54,0.1)); }
}
/* Waveform lines animate on logo hover */
.hero__mark-link:hover .hero__mark line {
  animation: wf-shimmer 0.9s ease infinite alternate;
}
@keyframes wf-shimmer {
  from { opacity: 1; }
  to   { opacity: 0.35; }
}
/* Stagger each waveform line slightly */
.hero__mark-link:hover .hero__mark line:nth-child(3)  { animation-delay: 0s; }
.hero__mark-link:hover .hero__mark line:nth-child(4)  { animation-delay: 0.08s; }
.hero__mark-link:hover .hero__mark line:nth-child(5)  { animation-delay: 0.16s; }
.hero__mark-link:hover .hero__mark line:nth-child(6)  { animation-delay: 0.24s; }
.hero__mark-link:hover .hero__mark line:nth-child(7)  { animation-delay: 0.32s; }
.hero__mark-link:hover .hero__mark line:nth-child(8)  { animation-delay: 0.24s; }
.hero__mark-link:hover .hero__mark line:nth-child(9)  { animation-delay: 0.16s; }
.hero__mark-link:hover .hero__mark line:nth-child(10) { animation-delay: 0.08s; }
.hero__mark-link:hover .hero__mark line:nth-child(11) { animation-delay: 0s; }

.hero__status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fade-in 1s ease 0.5s forwards;
}
.press-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(220,210,200,0.35);
}
.intake-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 0.3rem 0.7rem 0.3rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(220,210,200,0.55);
}
.intake-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px rgba(34,197,94,0.6);
  animation: breathe 2.5s ease infinite;
}
@keyframes breathe { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── Wordmark ── */
.hero__wordmark-wrap {
  position: relative;
  z-index: 5;
  opacity: 0;
  animation: word-rise 1.4s var(--ease) 0.6s forwards;
}
@keyframes word-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.hero__word {
  font-family: var(--brand);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  color: rgba(235,225,210,0.92);
  user-select: none;
}

/* ── Pack teaser card — bottom pill ── */
.hero__teaser {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3.5rem);
  max-width: 820px;
  background: rgba(14,14,14,0.88);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 52px;
  padding: 0.75rem 0.75rem 0.75rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 10;
  opacity: 0;
  animation: fade-in 1s ease 1.2s forwards;
}

.teaser__icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200,185,165,0.6);
}
.teaser__icon svg { width: 18px; height: 18px; }

.teaser__info {
  flex: 1;
  min-width: 0;
}
.teaser__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.teaser__desc {
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(150,140,130,0.7);
  margin-top: 0.18rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.teaser__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* Unlock button */
.btn-unlock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 0.48rem 1rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text);
  background: transparent;
  transition: border-color 0.4s, color 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}
.btn-unlock:hover { border-color: rgba(255,255,255,0.35); }
/* Unlocking state */
.btn-unlock.unlocking {
  border-color: var(--red);
  color: var(--red);
}
/* Unlocked state */
.btn-unlock.unlocked {
  border-color: var(--green);
  color: var(--green);
  background: rgba(34,197,94,0.05);
}

.lock-svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.lock-svg--open {
  position: absolute;
  right: 1rem;
  opacity: 0;
  transform: scale(0.8);
}
.btn-unlock.unlocked .lock-svg--closed { opacity: 0; transform: scale(0.8); }
.btn-unlock.unlocked .lock-svg--open   { opacity: 1; transform: scale(1); position: static; }

.btn-excerpt {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 0.48rem 1rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(180,170,155,0.7);
  background: transparent;
  transition: border-color 0.3s, color 0.3s;
}
.btn-excerpt:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }

/* ── Fade in util ── */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   PACKS SECTION
   ============================================================ */
.packs {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--border);
}
.packs__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 2rem 2.5rem;
  max-width: 1160px;
  margin: 0 auto;
}
.packs__label {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text2);
}
.packs__count {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text3);
}

.packs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: 1160px;
  margin: 0 auto;
  background: var(--border);
  border: 1px solid var(--border);
}

/* ── Individual pack card ── */
.pack-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: background 0.4s;
}
.pack-card:hover { background: var(--surface); }

.pack-card__art-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #050505;
}
.pack-card__art {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s ease;
  filter: brightness(0.82) saturate(0.8);
}
.pack-card:hover .pack-card__art {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(0.9);
}
.pack-card--depleted .pack-card__art { filter: brightness(0.55) saturate(0.3); }
.pack-card--forthcoming .pack-card__art-wrap--void { background: #060606; }

.pack-card__overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.9rem;
}
.pack-card__num {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(220,210,200,0.35);
  background: rgba(0,0,0,0.6);
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}
.pack-card__avail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(0,0,0,0.65);
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.05);
}
.pack-card__avail--out { color: rgba(180,165,145,0.4); }
.avail-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px rgba(34,197,94,0.5);
  animation: breathe 2.5s ease infinite;
}

.pack-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.pack-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.pack-card__title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.pack-card__title--dim { color: var(--text2); }
.pack-card__price {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  flex-shrink: 0;
}
.pack-card__price--dim { color: var(--text3); }
.pack-card__meta {
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(150,140,125,0.7);
  letter-spacing: 0.01em;
}
.pack-card__edition {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text2);
}
.pack-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}
.pack-card__tag {
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text3);
  text-align: right;
}
.pack-card__tag--dim { opacity: 0.4; }

/* Buttons */
.btn-acquire {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 1rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  border: 1px solid var(--red);
  color: var(--red);
  background: transparent;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn-acquire:hover { background: var(--red); color: #000; }
.btn-notify {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 1rem;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  border: 1px solid var(--border2);
  color: var(--text2);
  background: transparent;
  transition: border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn-notify:hover { border-color: var(--text2); color: var(--text); }

/* Void canvas */
.veil-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  padding: 7rem 0 8rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.manifesto::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 8%, var(--red) 35%, var(--cyan) 65%, transparent 92%);
  opacity: 0.25;
}
.manifesto__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.m-line {
  font-family: var(--hnn);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: -0.005em;
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.85s ease, transform 0.85s var(--ease);
}
.m-line.revealed { opacity: 1; transform: none; }
.m-line--red   { color: var(--red); font-weight: 400; }
.m-line--light { font-size: clamp(0.9rem, 1.6vw, 1.1rem); color: rgba(200,190,175,0.65); }
.m-line--dim   { color: rgba(180,165,145,0.38); font-size: clamp(0.88rem, 1.5vw, 1.05rem); }

/* ============================================================
   ACCESS
   ============================================================ */
.access {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.access__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.access__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.access__form {
  width: 100%;
  display: flex;
  border-bottom: 1px solid var(--border2);
  padding-bottom: 0.35rem;
  gap: 0.5rem;
}
.access__input {
  flex: 1;
  background: none; border: none; outline: none;
  font-family: var(--hnn);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  caret-color: var(--red);
  min-width: 0;
}
.access__input::placeholder { color: var(--text2); }
.access__btn {
  font-family: var(--hnn);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text2);
  border-left: 1px solid var(--border2);
  padding-left: 0.8rem;
  transition: color 0.3s;
  flex-shrink: 0;
}
.access__btn:hover { color: var(--text); }
.access__msg {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text2);
  min-height: 1.1em;
  transition: color 0.3s;
}

/* ============================================================
   EDITORIAL CARDS
   ============================================================ */
.editorial {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.editorial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1160px;
  margin: 0 auto;
  background: var(--border);
  border: 1px solid var(--border);
}

/* Single editorial card */
.ec {
  background: #0e0e0e;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-radius: 0;
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}
.ec:hover { background: #121212; }
/* Top border accent on hover */
.ec::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.ec:hover::before { opacity: 0.3; }

.ec__num {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--text3);
  display: block;
}
.ec__title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
}
.ec__body {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(170,158,142,0.75);
  flex: 1;
}
/* Highlighted words — subtle cyan accent like the image */
.ec__hi {
  font-style: normal;
  color: var(--cyan);
  opacity: 0.8;
}
.ec__tag {
  display: block;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.65;
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ============================================================
   CURSOR CANVAS — Black hole effect overlay
   ============================================================ */
.cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9990;
  mix-blend-mode: screen;  /* bright glow adds; dark areas stay transparent */
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0; }
.site-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.45rem;
  transition: opacity 0.3s;
}
.footer-brand:hover { opacity: 0.45; }
.footer-mark { width: 14px; height: auto; }
.footer-brand span {
  font-family: var(--brand);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(220,210,200,0.3);
}
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text3);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--text2); }
.footer-socials { display: flex; gap: 1rem; margin-left: auto; }
.footer-socials a {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: var(--text3);
  transition: color 0.3s;
}
.footer-socials a:hover { color: var(--text2); }
.footer-copy {
  width: 100%;
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text3);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 800px) {
  .editorial__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .packs__grid { grid-template-columns: 1fr; }
  .hero__teaser { border-radius: 24px; flex-wrap: wrap; }
  .teaser__actions { width: 100%; justify-content: flex-end; }
  .footer-socials { margin-left: 0; }
}
@media (max-width: 480px) {
  .hero__word { letter-spacing: 0.06em; }
  .teaser__desc { display: none; }
}
