/* ============================================
   The Half Bakery — Modern Indie Style
   Update custom properties to re-skin.
   ============================================ */

:root {
  --color-bg: #0a0a0f;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.07);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);
  --color-text: #f0eeeb;
  --color-text-muted: #8a8a8a;
  --color-accent: #f59e42;
  --color-accent-2: #ee5a24;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --max-width: 1000px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ---- Background Effects ---- */

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

.bg-gradient {
  position: fixed;
  top: -40vh;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(245, 158, 66, 0.08) 0%, rgba(238, 90, 36, 0.04) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---- Navigation ---- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.nav-icon {
  font-size: 1.3rem;
}

/* ---- Hero ---- */

.hero {
  padding: 20vh 24px 100px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.site-footer p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
  .hero {
    padding: 15vh 24px 72px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
