html {
  scroll-behavior: auto;
  overflow-x: clip;
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
/* Temporarily hide pricing (keep markup for later) */
#pricing,
nav a[href="#pricing"],
nav a[href="index.html#pricing"],
#mobile-nav-panel a[href="#pricing"],
#mobile-nav-panel a[href="index.html#pricing"] {
  display: none !important;
}
/* Keep page from growing wider than the viewport on phones/tablets */
@media (max-width: 1023px) {
  .projects-shell,
  .journal-shell,
  .article-page,
  .site-nav-wrap,
  .site-nav-wrap > nav,
  .mobile-nav-panel {
    max-width: 100%;
    min-width: 0;
  }
  .site-nav-wrap > nav {
    overflow: visible;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes pageEnter {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  body {
    animation: pageEnter 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  html.is-leaving body {
    animation: none;
    opacity: 0;
    transition: opacity 0.18s ease-out;
    pointer-events: none;
  }
  a, button, [role="button"], .section-cta, .pricing-cta, .journal-card, .journal-featured, .role-card, .social-glass {
    transition:
      color 0.2s ease,
      background 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      opacity 0.2s ease,
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.2s ease,
      box-shadow 0.22s ease,
      brightness 0.2s ease;
  }
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}
body {
  font-family: 'Manrope', sans-serif;
  overflow-x: clip;
  overflow-y: auto;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  --brand-left: #ff3131;
  --brand-right: #ff914d;
  --brand-gradient: linear-gradient(90deg, #ff3131, #ff914d);
}
.font-sans { font-family: 'Manrope', sans-serif !important; }
.brand-text {
  background-image: linear-gradient(90deg, #ff3131, #ff914d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.footer-logo-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 120% 85% at 50% 100%,
    rgba(255, 145, 77, 0.5) 0%,
    rgba(255, 145, 77, 0.28) 24%,
    rgba(255, 49, 49, 0.12) 46%,
    rgba(255, 145, 77, 0.05) 66%,
    transparent 82%
  );
  filter: blur(56px);
}
.footer-logo-wash {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 22%,
    rgba(255, 145, 77, 0.06) 48%,
    rgba(255, 145, 77, 0.16) 72%,
    rgba(255, 145, 77, 0.28) 100%
  );
  mix-blend-mode: soft-light;
}
.contact-form {
  border: 1px solid rgb(39 39 42);
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.4s ease;
}
.contact-form:hover { border-color: rgb(63 63 70); }
.form-field { position: relative; }
.form-field::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #ff3131, #ff914d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.form-field:focus-within::after { transform: scaleX(1); }
.social-glass:hover {
  --border-gradient: linear-gradient(135deg, rgba(255,145,77,0.7), rgba(255,49,49,0.15) 42%, rgba(255,145,77,0.45));
}
[style*="--border-gradient"]::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: var(--border-radius-before, inherit);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background: var(--border-gradient);
  pointer-events: none;
}
.role-card {
  border-radius: 1rem;
  border: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -28px rgba(255, 145, 77, 0.35);
}
.section-cta {
  padding: 0.7rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 145, 77, 0.35);
  background: rgba(255, 145, 77, 0.08);
  color: #fff;
  font-family: Manrope, sans-serif;
  transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.section-cta:hover {
  border-color: rgba(255, 145, 77, 0.7);
  background: rgba(255, 145, 77, 0.14);
  color: #fff;
}
.section-cta--fill {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background-color: #ff3131;
  background-image: linear-gradient(90deg, #ff3131, #ff914d);
  color: #fff;
}
.section-cta--fill:hover {
  border: none;
  background-color: #ff4a2a;
  background-image: linear-gradient(90deg, #ff4a2a, #ffa05c);
  color: #fff;
}
.pricing-cta-arrow {
  position: relative;
  width: 15px;
  height: 15px;
  display: inline-block;
  overflow: hidden;
  flex-shrink: 0;
}
.pricing-cta-arrow svg {
  position: absolute;
  inset: 0;
  width: 15px;
  height: 15px;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.pricing-cta-arrow svg:first-child { transform: translate3d(0, 0, 0); }
.pricing-cta-arrow svg:last-child { transform: translate3d(0, 120%, 0); }
.pricing-cta:hover .pricing-cta-arrow svg:first-child { transform: translate3d(0, -120%, 0); }
.pricing-cta:hover .pricing-cta-arrow svg:last-child { transform: translate3d(0, 0, 0); }
.site-nav-wrap {
  position: relative;
  align-items: center;
}
.site-nav-wrap > nav {
  position: relative;
  z-index: 2;
}
.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0.75rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s ease, transform 0.3s ease;
}
.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}
.mobile-nav-toggle__close { display: none; }
.site-nav-wrap.is-open .mobile-nav-toggle__open { display: none; }
.site-nav-wrap.is-open .mobile-nav-toggle__close { display: block; }
.mobile-nav-panel {
  display: flex;
  width: calc(100% - 2rem);
  max-width: 72rem;
  margin: 0;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  left: 50%;
  top: calc(100% + 0.5rem);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition:
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.2s;
  --border-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.06) 58%, rgba(255, 255, 255, 0.18));
  --border-radius-before: 1rem;
}
.site-nav-wrap.is-open .mobile-nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mobile-nav-panel a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  color: #a1a1aa;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: Manrope, sans-serif;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}
.mobile-nav-panel a.is-active {
  color: #fff;
}
.mobile-nav-panel a.mobile-nav-cta {
  margin-top: 0.35rem;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  background: linear-gradient(90deg, #ff3131, #ff914d);
}
.mobile-nav-panel a.mobile-nav-cta:hover,
.mobile-nav-panel a.mobile-nav-cta:focus-visible {
  background: linear-gradient(90deg, #ff4a2a, #ffa05c);
  color: #fff;
}
@media (max-width: 767px) {
  .nav-cta-hide-mobile {
    display: none !important;
  }
  body.mobile-nav-open {
    overflow: hidden;
  }
  .site-nav-wrap {
    flex-direction: column;
    width: 100%;
  }
  .site-nav-wrap > nav {
    width: 100%;
    max-width: 72rem;
  }
}
@media (min-width: 768px) {
  .site-nav-wrap {
    flex-direction: row;
    width: auto;
  }
  .site-nav-wrap > nav {
    width: auto;
    max-width: 72rem;
  }
  .mobile-nav-toggle,
  .mobile-nav-panel {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
@media (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor body * {
    cursor: none !important;
  }
  .custom-cursor {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.35s ease;
  }
  .custom-cursor.is-hidden { opacity: 0; }
  .custom-cursor__dot,
  .custom-cursor__ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    will-change: transform;
    pointer-events: none;
  }
  .custom-cursor__dot {
    width: 11px;
    height: 11px;
    background: linear-gradient(135deg, #ff3131, #ff914d);
    box-shadow: none;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .custom-cursor__ring {
    display: none;
  }
  .custom-cursor.is-hover .custom-cursor__dot {
    width: 14px;
    height: 14px;
    box-shadow: none;
  }
  .custom-cursor.is-hover .custom-cursor__ring {
    display: none;
  }
  .custom-cursor.is-clicking .custom-cursor__dot {
    width: 10px;
    height: 10px;
  }
  .custom-cursor.is-clicking .custom-cursor__ring {
    display: none;
  }
}
