:root {
  --bg: #F2F1EE;
  --ink: #111111;
  --muted: #333333;
  --hairline: rgba(0, 0,0, 0.12);
  --glow: rgba(255, 241, 213, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "poppins", Arial, sans-serif;
  background: var(--bg) url("../assets/background.jpg") center/cover no-repeat fixed;
  color: var(--ink);
  cursor: none;               /* hide default cursor (glow replaces it) */
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============ GLOWING CURSOR ============ */
.cursor-glow {
  position: fixed;
  top: -150px; left: -150px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.cursor-glow.active {
  width: 420px; height: 420px;
  top: -210px; left: -210px;
  opacity: 1;
}

.cursor-dot {
  position: fixed;
  top: -5px; left: -5px;
  width: 10px; height: 10px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
}

/* ============ HAIRLINE GRID OVERLAY ============ */
.grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, var(--hairline) 119px 120px),
    linear-gradient(65deg, transparent 49.9%, var(--hairline) 50%, transparent 50.2%),
    linear-gradient(-65deg, transparent 49.9%, var(--hairline) 50%, transparent 50.2%);
  opacity: 0.35;
}

/* ============ LAYOUT ============ */
.page {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ============ HEADER ============ */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  animation: fadeDown 1s ease both;
}

.logo { height: 48px; width: auto; transition: transform 0.4s ease; }
.logo:hover { transform: scale(1.05); }

.nav { display: flex; gap: clamp(20px, 4vw, 56px); }

.nav-link {
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.08em;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--ink);
  transition: width 0.35s ease;
}
.nav-link:hover::after { width: 100%; }

/* ============ HERO ============ */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 0;
}

.hero-content { max-width: 820px; }

.headline {
  font-size: clamp(1rem, 3vw, 8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

/* Staggered line reveal */
.headline .line { display: block; overflow: hidden; }
.headline .line span {
  display: block;
  transform: translateY(110%);
  animation: riseUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.headline .line:nth-child(2) span { animation-delay: 0.15s; }

.subtext {
  margin-top: 28px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--muted);
  max-width: 460px;
  line-height: 1.55;
  animation: fadeUp 1s ease 0.45s both;
}

.stay-tuned {
  margin-top: 36px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  animation: fadeUp 1s ease 0.65s both;
}

/* ============ 3D FACETED SHAPE ============ */
.hero-visual {
  position: relative;
  width: clamp(280px, 34vw, 520px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  animation: fadeScale 1.2s ease 0.5s both;
}

.shape {
  position: absolute;
  background: linear-gradient(135deg, #2a2a2a 0%, #0d0d0d 55%, #1c1c1c 100%);
  filter: drop-shadow(12px 24px 40px rgba(0, 0, 0, 0.45));
}

.shape-left {
  width: 55%; height: 78%;
  top: 0; left: 8%;
  clip-path: polygon(0 0, 100% 22%, 62% 100%, 0 82%);
  animation: floatA 6s ease-in-out infinite;
}

.shape-right {
  width: 52%; height: 72%;
  bottom: 0; right: 4%;
  clip-path: polygon(38% 0, 100% 18%, 100% 100%, 0 88%);
  animation: floatB 6s ease-in-out 0.8s infinite;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 22px 0 18px;
  animation: fadeUp 1s ease 0.8s both;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.footer-item {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.footer-item:hover { opacity: 0.55; }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  margin-top: 16px;
  padding-top: 14px;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}

/* ============ ANIMATIONS ============ */
@keyframes riseUp   { to { transform: translateY(0); } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeScale{ from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-1.5deg); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(12px) rotate(1.5deg); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; justify-content: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { width: min(70vw, 380px); order: 2; }
  .subtext { max-width: 520px; }
}

@media (max-width: 600px) {
  body {
    background-image: url("../assets/Home-page-mobile.png");
    background-position: center top;
    background-size: cover;
    background-attachment: scroll;
  }

  .header { flex-direction: column; gap: 20px; }
  .logo { height: 42px; }
  .footer-row { flex-direction: column; text-align: center; align-items: center; gap: 10px; }
  .footer-bottom { text-align: center; }
}

/* Touch devices: restore normal cursor */
@media (hover: none) {
  body { cursor: auto; }
  .cursor-glow, .cursor-dot { display: none; }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}