/* ═══════════════════════════════════════
   HausParty — Dark Editorial Theme
   ═══════════════════════════════════════ */

/* --- Variables --- */
:root {
  --bg: #050507;
  --bg-2: #0c0c10;
  --bg-card: #111116;
  --fg: #f0ede8;
  --fg-muted: #7a7874;
  --accent: #FF2D78;
  --accent-dim: rgba(255, 45, 120, 0.15);
  --accent-glow: rgba(255, 45, 120, 0.4);
  --cyan: #00E5FF;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; line-height: 1.05; }

/* ═══ NAVIGATION ═══ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: linear-gradient(to bottom, rgba(5,5,7,0.95) 0%, transparent 100%);
}

.topbar-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.topbar-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,45,120,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(0,229,255,0.05) 0%, transparent 60%),
    var(--bg);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.glow-1 {
  width: 600px; height: 600px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(255,45,120,0.18) 0%, transparent 70%);
}

.glow-2 {
  width: 500px; height: 500px;
  bottom: -50px; left: -50px;
  background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 70%);
}

.glow-3 {
  width: 300px; height: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,45,120,0.06) 0%, transparent 70%);
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.92;
  color: var(--fg);
  margin-bottom: 36px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ═══ MANIFESTO ═══ */
.manifesto {
  position: relative;
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.manifesto::before {
  content: '';
  position: absolute;
  left: 40px;
  top: -1px;
  width: 80px;
  height: 2px;
  background: var(--accent);
}

.manifesto-inner {
  max-width: 820px;
  margin: 0 auto;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  color: var(--fg);
  letter-spacing: 0.01em;
}

/* ═══ WHAT ═══ */
.what {
  padding: 120px 40px;
}

.what-header {
  max-width: 700px;
  margin: 0 auto 80px;
  text-align: center;
}

.what-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--fg);
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
}

.what-card {
  background: var(--bg-card);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.what-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.what-card:hover { transform: translateY(-4px); }
.what-card:hover::after { opacity: 1; }

.what-card-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.what-card-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--fg);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.what-card-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ═══ ROOTS ═══ */
.roots {
  padding: 120px 40px;
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.roots-inner {
  max-width: 720px;
  margin: 0 auto;
}

.roots-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.roots-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--fg);
  margin-bottom: 40px;
}

.roots-body p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.roots-body p:last-child { margin-bottom: 0; }

/* ═══ CLOSING ═══ */
.closing {
  position: relative;
  padding: 140px 40px;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  width: 800px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255,45,120,0.1) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--fg);
  margin-bottom: 32px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 48px;
}

.closing-signoff {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  color: var(--accent);
}

/* ═══ FOOTER ═══ */
.footer {
  padding: 60px 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(122,120,116,0.5);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .topbar { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .manifesto { padding: 80px 24px; }
  .what { padding: 80px 24px; }
  .roots { padding: 80px 24px; }
  .closing { padding: 100px 24px; }
  .footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .what-grid { gap: 2px; }
  .what-card { padding: 36px 28px; }
  .hero-eyebrow::before { display: none; }
}

@media (max-width: 480px) {
  .what-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(4rem, 18vw, 7rem); }
}