:root {
  --clr-black:    #000000;
  --clr-primary:  #0071e3;
  --clr-dark:     #1d1d1f;
  --clr-mid:      #6e6e73;
  --clr-muted:    #86868b;
  --clr-light:    #aeaeb2;
  --clr-bg-light: #fbfbfd;
  --clr-card-bg:  #f5f5f7;
  --clr-green:    #30d158;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { letter-spacing: -0.02em; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}
button, .btn, a.btn { min-height: 44px; }

/* HERO */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: stretch;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 120px);
  top: -60px;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay-base {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);
  z-index: 1;
  pointer-events: none;
}
.hero-overlay-dir {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #000 0%, rgba(0,0,0,0.80) 50%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8rem;
  background: linear-gradient(to top, #000, transparent);
  z-index: 20;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 7rem 1.25rem 4rem;
  max-width: 48rem;
}

/* WORD REVEAL */
.hero-word {
  display: inline-block;
  margin-right: 0.22em;
  opacity: 0;
  transform: translateY(22px);
  filter: blur(10px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
              transform 0.85s cubic-bezier(0.16,1,0.3,1),
              filter 0.85s cubic-bezier(0.16,1,0.3,1);
}
.hero-word.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s cubic-bezier(0.4,0,0.2,1),
              border-color 0.4s, backdrop-filter 0.4s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.navbar:not(.scrolled) .nav-link  { color: #fff; }
.navbar:not(.scrolled) .nav-logo  { color: #fff; }
.navbar.scrolled .nav-link  { color: #1d1d1f; }
.navbar.scrolled .nav-logo  { color: #1d1d1f; }
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: rgba(128,128,128,0.12); }

/* CARDS */
.card-lift {
  transition: box-shadow 0.3s cubic-bezier(0.23,1,0.32,1),
              transform 0.3s cubic-bezier(0.23,1,0.32,1);
  will-change: transform;
}
.card-lift:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10), 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.card-premium-light {
  background: #fff;
  border: 1px solid #e0e0e2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: border-color 0.2s, box-shadow 0.3s, transform 0.3s;
  border-radius: 12px;
}
.card-premium-light:hover {
  border-color: #0071e3;
  box-shadow: 0 4px 12px rgba(0,113,227,0.12), 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 4px; }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, .card-lift, .card-premium-light { transition: none !important; animation: none !important; }
  .hero-word { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* verified-patch: Next design-system parity additions */
.glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.glass-dark {
  background: rgba(29,29,31,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.glass-premium-dark {
  background: linear-gradient(135deg, rgba(29,29,31,0.82), rgba(0,0,0,0.72));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-section {
  background:
    radial-gradient(circle at 24% 22%, rgba(0,113,227,0.28), transparent 34%),
    linear-gradient(135deg, #000 0%, #111 48%, #1d1d1f 100%);
}
.hero-section .hero-bg {
  opacity: 0.62;
}
.hero-section .hero-bg[src$=".jpg"] {
  color: transparent;
}
footer {
  background: #1d1d1f;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
