@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --mx: 50%;
  --my: 20%;
  --ink: #111111;
  --paper: #fffafc;
  --blush: #ffd8e8;
  --soft-pink: #fff0f6;
  --pitch: #145cff; /* Electric blue */
  --volt: #ff3045;  /* Red accent */
  --steel: #5f6673;
}

* {
  box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fff0f6;
}
::-webkit-scrollbar-thumb {
  background: #ffd8e8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--pitch);
}

body {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 216, 232, 0.5), transparent 30rem),
    radial-gradient(circle at 80% 20%, rgba(20, 92, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 15% 80%, rgba(255, 48, 69, 0.08), transparent 24rem);
  background-attachment: fixed;
  color: var(--ink);
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

/* Noise texture */
.noise:before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 280 280' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* Background grid overlay */
.field-lines {
  background-image:
    linear-gradient(rgba(17,17,17,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

/* Glassmorphism containers */
.glass {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand-value-card {
  background: linear-gradient(180deg, rgba(255, 250, 252, 0.96), rgba(255, 229, 240, 0.82));
  border: 1px solid rgba(17, 17, 17, 0.09);
  box-shadow: 0 15px 40px rgba(20, 92, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.brand-value-card:hover {
  border-color: var(--pitch);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(20, 92, 255, 0.15);
}

/* Slanted button style */
.slant {
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0% 100%);
}
@media (max-width: 768px) {
  .slant {
    clip-path: none;
  }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Magnetic card transitions */
.magnetic {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.magnetic:hover {
  transform: translateY(-6px);
  border-color: var(--pitch);
  box-shadow: 0 20px 50px rgba(20,92,255,0.14);
}

/* Header blur */
header {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 216, 232, 0.42);
  color: var(--steel);
  padding: 0.72rem 1.2rem;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-pill:hover,
.nav-pill:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(20, 92, 255, 0.18);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(20, 92, 255, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.mobile-nav-scroll {
  scrollbar-width: none;
}

.mobile-nav-scroll::-webkit-scrollbar {
  display: none;
}

/* Continuous ticker */
.ticker {
  animation: ticker 30s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.dash {
  background: repeating-linear-gradient(90deg, rgba(20, 92, 255, 0.35) 0 15px, transparent 15px 30px);
}

/* Typography styles */
.hero-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(3.8rem, 11vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 16px 45px rgba(20, 92, 255, 0.12);
}

.hero-name span {
  display: block;
}

.hero-name .hero-last {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: var(--ink);
}

.hero-name .hero-last:after {
  content: '';
  position: absolute;
  left: 0.02em;
  right: 0.02em;
  bottom: -0.05em;
  height: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pitch), var(--volt));
  box-shadow: 0 0 25px rgba(20, 92, 255, 0.22);
}

/* Media Cards */
.media-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #fff0f6;
  border: 1px solid rgba(17, 17, 17, 0.1);
}
.media-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1), filter .6s ease;
}
.media-card:hover > img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}
.media-card:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.03) 0%, rgba(5, 5, 5, 0.24) 50%, rgba(5, 5, 5, 0.78) 100%);
  pointer-events: none;
}
.media-card > .caption {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  z-index: 2;
}

.image-ring {
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08), 0 20px 50px rgba(20, 92, 255, 0.12);
}

/* Custom details for sections */
.section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.95;
}
