/* Hide cursor */

@media (min-width: 1024px) {
  html,
  body,
  a,
  button {
    cursor: none;
  }
}

/* Blob Cursor */

#blobCursor {
  position: fixed;
  left: 0;
  top: 0;

  width: 25px;
  height: 25px;

  background: #ffffff;

  border-radius: 45% 55% 52% 48% / 55% 45% 58% 42%;

  pointer-events: none;
  z-index: 999999;

  transform: translate(-50%, -50%);

  transition:
    width 0.35s ease,
    height 0.35s ease,
    border-radius 0.35s ease;

  filter: blur(1px);

  mix-blend-mode: difference;
}

/* Hover */

#blobCursor.active {
  width: 50px;
  height: 50px;
}

/* White Cursor */

#blobCursor.white {
  background: #ffffff;
}

/* Dark sections */

.dark-section:hover ~ #blobCursor {
  mix-blend-mode: screen;
}

html,
body {
  background: #f8f7f4;
  color: #1f1f1f;
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #d86a1d;
  color: #f8f7f4;
}

/* Custom cursor accent for interactive elements */
a,
button {
  cursor: pointer;
}

/* Subtle entrance animation */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fade-up.in {
  opacity: 1;
  transform: none;
}

/* Underline animation for editorial links */
.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.link-underline:hover::after {
  transform: scaleX(1);
}

/* Pill button */
.btn-pill {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}
.btn-pill:hover {
  transform: translateY(-1px);
}

/* Image hover zoom */
.zoom-wrap {
  overflow: hidden;
}
.zoom-wrap img {
  transition:
    transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.8s ease;
}
.zoom-wrap:hover img {
  transform: scale(1.06);
}

/* Program card */
.program-card {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.program-card .pc-img {
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.program-card:hover .pc-img {
  transform: scale(1.05);
}
.program-card .pc-overlay {
  transition: opacity 0.5s ease;
  opacity: 0;
}
.program-card:hover .pc-overlay {
  opacity: 1;
}

/* Hero video tint */
.hero-tint::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(31, 31, 31, 0.25) 0%,
    rgba(31, 31, 31, 0.05) 35%,
    rgba(31, 31, 31, 0.55) 100%
  );
}

/* Masonry-like via CSS columns */
.masonry {
  column-count: 1;
  column-gap: 1.25rem;
}
@media (min-width: 640px) {
  .masonry {
    column-count: 2;
  }
}
@media (min-width: 1024px) {
  .masonry {
    column-count: 3;
    column-gap: 1.5rem;
  }
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}
@media (min-width: 1024px) {
  .masonry-item {
    margin-bottom: 1.5rem;
  }
}

/* Marquee for nav announcement (optional) */
.scroll-indicator {
  animation: drift 2.2s ease-in-out infinite;
}
@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.4;
  }
}

/* Number tickers (stat block) */
.display-num {
  font-feature-settings:
    "lnum" 1,
    "tnum" 1;
}

/* Grain overlay */
.grain {
  position: relative;
}
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Mobile menu */
.menu-drawer {
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.menu-drawer.open {
  transform: translateX(0);
}

/* Section labels */
.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
