/* Website reel — synced with social story language */

html .profile-section--websites .profile-section-shell {
  position: relative !important;
}

html .profile-section--websites .profile-section-heading {
  padding-bottom: var(--design-space-md, 16px) !important;
  border-bottom: 1px solid rgba(250, 249, 245, 0.08) !important;
  margin-bottom: 4px !important;
}

html .profile-section--websites .profile-section-icon {
  background: #1f1e1b !important;
  color: #faf9f5 !important;
}

html .profile-section--websites .website-reel-wrap {
  position: relative !important;
}

html .profile-section--websites .website-reel {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: minmax(210px, 240px) !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x proximity !important;
  scroll-padding-inline: 4px !important;
  scroll-behavior: smooth !important;
  padding: 8px 4px 14px !important;
  margin: 0 -4px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(204, 120, 92, 0.45) transparent !important;
  -webkit-overflow-scrolling: touch !important;
}

html .profile-section--websites .website-reel[data-count="1"] {
  grid-auto-columns: minmax(240px, 320px) !important;
  overflow-x: visible !important;
}

html .profile-section--websites .website-reel::-webkit-scrollbar {
  height: 6px !important;
}

html .profile-section--websites .website-reel::-webkit-scrollbar-thumb {
  background: rgba(204, 120, 92, 0.4) !important;
  border-radius: 999px !important;
}

html .profile-section--websites .website-reel .profile-project-cell,
html .profile-section--websites .website-reel .profile-project-cell.is-featured {
  grid-column: auto !important;
  min-width: 0 !important;
  border: 0 !important;
  scroll-snap-align: start !important;
  animation: websiteRevealIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
  animation-delay: var(--delay, 0ms) !important;
}

@keyframes websiteRevealIn {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

html .profile-section--websites .website-reel-nav {
  position: absolute !important;
  top: 50% !important;
  z-index: 3 !important;
  width: 40px !important;
  height: 40px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(250, 249, 245, 0.14) !important;
  border-radius: 50% !important;
  background: rgba(24, 23, 21, 0.82) !important;
  color: #faf9f5 !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease !important;
}

html .profile-section--websites .website-reel-nav:hover {
  background: rgba(204, 120, 92, 0.9) !important;
  border-color: rgba(204, 120, 92, 0.5) !important;
}

html .profile-section--websites .website-reel-nav--prev { left: -6px !important; }
html .profile-section--websites .website-reel-nav--next { right: -6px !important; }

html .profile-section--websites .website-reel-nav[hidden] {
  display: none !important;
}

html .profile-section--websites .website-story,
html .profile-section--websites a.website-card.website-story {
  display: block !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html .profile-section--websites .website-story-inner,
html .profile-section--websites .website-card.website-story .website-card-inner {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  min-height: 292px !important;
  height: 100% !important;
  padding: 14px 12px 12px !important;
  border-radius: 26px !important;
  border: 1px solid rgba(250, 249, 245, 0.12) !important;
  background: #1f1e1b !important;
  box-shadow: none !important;
  isolation: isolate !important;
  transform: translate3d(0, 0, 0) !important;
  transition:
    transform 340ms cubic-bezier(0.22, 1.25, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease !important;
}

html .profile-section--websites .website-story--featured .website-story-inner,
html .profile-section--websites .profile-project-cell.is-featured .website-story-inner {
  border-color: rgba(204, 120, 92, 0.35) !important;
  box-shadow: 0 0 0 1px rgba(204, 120, 92, 0.12) inset !important;
}

html .profile-section--websites .website-story-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

html .profile-section--websites .website-story-bg img {
  width: 100% !important;
  height: 58% !important;
  object-fit: cover !important;
  filter: blur(22px) saturate(1.25) brightness(0.82) !important;
  transform: scale(1.28) !important;
  opacity: 0.5 !important;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease !important;
}

html .profile-section--websites .website-story-bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(180deg, rgba(24, 23, 21, 0.12) 0%, rgba(24, 23, 21, 0.58) 40%, rgba(24, 23, 21, 0.97) 76%),
    radial-gradient(circle at 50% 16%, rgba(204, 120, 92, 0.2), transparent 52%) !important;
}

html .profile-section--websites .website-story-top {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

html .profile-section--websites .website-story-index {
  color: rgba(250, 249, 245, 0.45) !important;
  font: 700 11px/1 "JetBrains Mono", ui-monospace, monospace !important;
  letter-spacing: 0.06em !important;
}

html .profile-section--websites .website-story-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-height: 24px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(84, 168, 118, 0.16) !important;
  border: 1px solid rgba(84, 168, 118, 0.28) !important;
  color: #9fd4b0 !important;
  font: 600 11px/1 "Quicksand", sans-serif !important;
  letter-spacing: 0.02em !important;
}

html .profile-section--websites .website-story-status i {
  font-size: 8px !important;
  color: #62c484 !important;
  animation: websiteLivePulse 1.8s ease-in-out infinite !important;
}

@keyframes websiteLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

html .profile-section--websites .website-story-logo,
html .profile-section--websites .website-card.website-story .website-logo {
  position: relative !important;
  z-index: 1 !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  margin: 6px auto 0 !important;
  border-radius: 22px !important;
  background: rgba(250, 249, 245, 0.1) !important;
  border: 1px solid rgba(250, 249, 245, 0.16) !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: transform 280ms cubic-bezier(0.22, 1.25, 0.36, 1), border-color 220ms ease !important;
}

html .profile-section--websites .website-story-logo img,
html .profile-section--websites .website-card.website-story .website-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 320ms ease !important;
}

html .profile-section--websites .website-story-copy {
  position: relative !important;
  z-index: 1 !important;
  text-align: center !important;
  padding: 0 4px !important;
}

html .profile-section--websites .website-card.website-story .website-domain {
  margin: 0 !important;
  color: #faf9f5 !important;
  font: 600 17px/1.25 "Fredoka", sans-serif !important;
  letter-spacing: -0.01em !important;
  word-break: break-word !important;
}

html .profile-section--websites .website-card.website-story .website-provide {
  margin: 6px 0 0 !important;
  color: rgba(250, 249, 245, 0.58) !important;
  font: 500 13px/1.4 "Quicksand", sans-serif !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

html .profile-section--websites .website-story-meta {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  justify-content: center !important;
  margin-top: auto !important;
}

html .profile-section--websites .website-story-meta > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  max-width: 100% !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: rgba(250, 249, 245, 0.06) !important;
  border: 1px solid rgba(250, 249, 245, 0.08) !important;
  color: rgba(250, 249, 245, 0.62) !important;
  font: 500 12px/1 "Quicksand", sans-serif !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html .profile-section--websites .website-story-meta i {
  color: #e0a48d !important;
  font-size: 13px !important;
  flex: none !important;
}

html .profile-section--websites .website-story-cta,
html .profile-section--websites .website-card.website-story .website-btn {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  min-height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(204, 120, 92, 0.35) !important;
  background: rgba(204, 120, 92, 0.92) !important;
  color: #faf9f5 !important;
  font: 600 13px/1 "Quicksand", sans-serif !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease !important;
}

html .profile-section--websites .website-story-cta i {
  font-size: 14px !important;
  transition: transform 220ms cubic-bezier(0.22, 1.25, 0.36, 1) !important;
}

html .profile-section--websites .website-story:hover .website-story-inner,
html .profile-section--websites .website-story:focus-visible .website-story-inner {
  transform: translate3d(0, -4px, 0) !important;
  border-color: rgba(204, 120, 92, 0.45) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28) !important;
}

html .profile-section--websites .website-story:hover .website-story-bg img,
html .profile-section--websites .website-story:focus-visible .website-story-bg img {
  transform: scale(1.38) !important;
  opacity: 0.62 !important;
}

html .profile-section--websites .website-story:hover .website-story-logo,
html .profile-section--websites .website-story:focus-visible .website-story-logo {
  transform: translateY(-2px) scale(1.04) !important;
  border-color: rgba(204, 120, 92, 0.4) !important;
}

html .profile-section--websites .website-story:hover .website-story-logo img,
html .profile-section--websites .website-story:focus-visible .website-story-logo img {
  transform: scale(1.06) !important;
}

html .profile-section--websites .website-story:hover .website-story-cta,
html .profile-section--websites .website-story:focus-visible .website-story-cta {
  background: rgba(224, 140, 108, 0.98) !important;
  border-color: rgba(224, 140, 108, 0.55) !important;
}

html .profile-section--websites .website-story:hover .website-story-cta i,
html .profile-section--websites .website-story:focus-visible .website-story-cta i {
  transform: translate(2px, -2px) !important;
}

@media (max-width: 767px) {
  html .profile-section--websites .website-reel {
    grid-auto-columns: minmax(168px, 78vw) !important;
    gap: 12px !important;
    scroll-snap-type: x mandatory !important;
    padding-bottom: 10px !important;
  }

  html .profile-section--websites .website-story-inner,
  html .profile-section--websites .website-card.website-story .website-card-inner {
    min-height: 268px !important;
    border-radius: 22px !important;
    padding: 12px 11px 11px !important;
  }

  html .profile-section--websites .website-reel-nav {
    display: none !important;
  }

  html .profile-section--websites .website-story:hover .website-story-inner {
    transform: none !important;
    box-shadow: none !important;
  }

  html .profile-section--websites .website-story:hover .website-story-bg img,
  html .profile-section--websites .website-story:hover .website-story-logo,
  html .profile-section--websites .website-story:hover .website-story-logo img {
    transform: none !important;
  }

  html .profile-section--websites .website-story-bg img {
    filter: blur(14px) saturate(1.15) brightness(0.88) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html .profile-section--websites .website-reel .profile-project-cell,
  html .profile-section--websites .website-story-inner,
  html .profile-section--websites .website-story-bg img,
  html .profile-section--websites .website-story-logo,
  html .profile-section--websites .website-story-status i {
    animation: none !important;
    transition: none !important;
  }
}
