/* ═══════════════════════════════════════════════════════════════
   JANA DIGITAL MKT — BASE CSS
   Variables · Reset · Typography · Utilities · Navbar · Hero
═══════════════════════════════════════════════════════════════ */

/* ─── 1. VARIABLES ─── */
:root {
  --orange:    #FF6B2B;
  --magenta:   #E83E8C;
  --dark:      #1F2937;
  --dark2:     #151d27;
  --offwhite:  #F9F5F0;
  --gray:      #6B7280;
  --grad:      linear-gradient(135deg, #FF6B2B 0%, #E83E8C 100%);
  --grad-h:    linear-gradient(90deg, #FF6B2B 0%, #E83E8C 100%);
  --glass-bg:  rgba(255,255,255,0.03);
  --glass-bd:  rgba(255,107,43,0.2);
  --font-d:   'Playfair Display', Georgia, serif;
  --font-e:   'Lora', Georgia, serif;
  --nav-h:     72px;
}

/* ─── 2. RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--dark);
  color: var(--offwhite);
  font-family: var(--font-d);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ─── 3. UTILITY CLASSES ─── */

/* Gradient text */
.gtext {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Lora italic accent */
.lora { font-family: var(--font-e); font-style: italic; }

/* Noise pseudo-layer */
.noise { position: relative; }
.noise::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.032;
  mix-blend-mode: overlay;
}

/* Section label / kicker */
.section-label {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}
.section-label.dark { color: rgba(31,41,55,0.45); }

/* Separator line */
.section-sep {
  width: 30%;
  height: 1px;
  background: var(--grad-h);
  margin-top: 64px;
}

/* Glass card */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-bd);
}

/* Container */
.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }

/* ─── 4. BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 100px;
  padding: 14px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.btn-grad {
  background: var(--grad);
  color: #fff;
}
.btn-grad:hover {
  box-shadow: 0 8px 32px rgba(255,107,43,0.45);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover {
  background: rgba(255,107,43,0.08);
}

.btn-wpp {
  background: #fff;
  color: var(--orange);
  font-size: 14px;
  padding: 20px 48px;
  font-weight: 800;
  letter-spacing: 0.08em;
  gap: 14px;
}
.btn-wpp:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.wpp-icon { width: 20px; height: 20px; flex-shrink: 0; }
.btn-arrow { font-size: 16px; }

/* ─── 5. CURSOR ─── */
.cursor {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255,107,43,0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.12s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
  will-change: transform;
}
.cursor.hover {
  width: 56px;
  height: 56px;
  border-color: rgba(255,107,43,0.8);
}
.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
}
@media (hover: none) {
  .cursor, .cursor-dot { display: none; }
}

/* ─── 6. NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(31,41,55,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,107,43,0.1);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
  background: rgba(21,29,39,0.92);
  border-bottom-color: rgba(255,107,43,0.18);
}
.nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 48px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 0;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 46px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  flex-shrink: 0;
}
.footer-logo .logo-img { height: 52px; }

/* Nav links */
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
  margin-right: 36px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: 14px;
  color: rgba(249,245,240,0.65);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--grad-h);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--offwhite); }
.nav-link:hover::after { width: 100%; }
.nav-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 2px; }

.nav-cta { font-size: 13px; padding: 10px 24px; text-decoration: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: 24px;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--offwhite);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.hamburger:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ─── 7. MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark2);
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 24px;
  color: var(--offwhite);
  padding: 12px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.mobile-close:hover { opacity: 1; }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; margin-bottom: 48px; }
.mobile-link {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(28px, 6vw, 40px);
  color: var(--offwhite);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--orange); }
.mobile-cta { font-size: 15px; padding: 14px 32px; text-decoration: none; }

/* ─── 8. HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Radial glows */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,107,43,0.14) 0%, transparent 38%),
    radial-gradient(circle at 88% 88%, rgba(232,62,140,0.14) 0%, transparent 38%);
  z-index: 2;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.28;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31,41,55,0.68);
  z-index: 1;
}

/* Vertical decorative line */
.hero-deco-line {
  position: absolute;
  left: 40px;
  top: calc(var(--nav-h) + 48px);
  bottom: 80px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-deco-text {
  font-family: var(--font-e);
  font-style: italic;
  font-size: 10px;
  color: rgba(255,107,43,0.55);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.hero-deco-bar {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255,107,43,0.45), transparent);
  min-height: 120px;
}

/* Hero content layout */
.hero-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 96px;
  max-width: 900px;
}

.hero-h1 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(52px, 7.5vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  color: var(--offwhite);
  margin-bottom: 32px;
  text-wrap: balance;
}

.hero-sub {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(249,245,240,0.72);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  align-self: flex-end;
  display: flex;
  justify-content: flex-end;
}
.hero-photo {
  max-height: 68vh;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 80% 88% at 50% 100%, black 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 88% at 50% 100%, black 55%, transparent 100%);
  filter: saturate(1.05) contrast(1.04);
}
.hero-photo-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232,62,140,0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Hero entrance animation (no IntersectionObserver needed — above fold) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  animation: heroFadeUp 0.85s cubic-bezier(0.4,0,0.2,1) both;
}
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-inner { padding: 0 32px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding-bottom: 64px; }
  .hero-deco-line { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .mobile-menu { padding: 60px 32px; }
}

@media (max-width: 375px) {
  .container { padding: 0 20px; }
  .hero-h1 { font-size: 44px; }
}
